kruby 1.35.0.5 → 1.36.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (832) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +410 -339
  3. data/lib/kubernetes/api/admissionregistration_api.rb +7 -7
  4. data/lib/kubernetes/api/admissionregistration_v1_api.rb +1311 -139
  5. data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +213 -201
  6. data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +213 -201
  7. data/lib/kubernetes/api/apiextensions_api.rb +7 -7
  8. data/lib/kubernetes/api/apiextensions_v1_api.rb +13 -7
  9. data/lib/kubernetes/api/apiregistration_api.rb +7 -7
  10. data/lib/kubernetes/api/apiregistration_v1_api.rb +13 -7
  11. data/lib/kubernetes/api/apis_api.rb +7 -7
  12. data/lib/kubernetes/api/apps_api.rb +7 -7
  13. data/lib/kubernetes/api/apps_v1_api.rb +52 -7
  14. data/lib/kubernetes/api/authentication_api.rb +7 -7
  15. data/lib/kubernetes/api/authentication_v1_api.rb +7 -7
  16. data/lib/kubernetes/api/authorization_api.rb +7 -7
  17. data/lib/kubernetes/api/authorization_v1_api.rb +7 -7
  18. data/lib/kubernetes/api/autoscaling_api.rb +7 -7
  19. data/lib/kubernetes/api/autoscaling_v1_api.rb +104 -95
  20. data/lib/kubernetes/api/autoscaling_v2_api.rb +104 -95
  21. data/lib/kubernetes/api/batch_api.rb +7 -7
  22. data/lib/kubernetes/api/batch_v1_api.rb +25 -7
  23. data/lib/kubernetes/api/certificates_api.rb +7 -7
  24. data/lib/kubernetes/api/certificates_v1_api.rb +13 -7
  25. data/lib/kubernetes/api/certificates_v1alpha1_api.rb +62 -56
  26. data/lib/kubernetes/api/certificates_v1beta1_api.rb +71 -56
  27. data/lib/kubernetes/api/coordination_api.rb +7 -7
  28. data/lib/kubernetes/api/coordination_v1_api.rb +16 -7
  29. data/lib/kubernetes/api/coordination_v1alpha2_api.rb +78 -69
  30. data/lib/kubernetes/api/coordination_v1beta1_api.rb +78 -69
  31. data/lib/kubernetes/api/core_api.rb +7 -7
  32. data/lib/kubernetes/api/core_v1_api.rb +195 -69
  33. data/lib/kubernetes/api/custom_objects_api.rb +18 -18
  34. data/lib/kubernetes/api/discovery_api.rb +7 -7
  35. data/lib/kubernetes/api/discovery_v1_api.rb +16 -7
  36. data/lib/kubernetes/api/events_api.rb +7 -7
  37. data/lib/kubernetes/api/events_v1_api.rb +78 -69
  38. data/lib/kubernetes/api/flowcontrol_apiserver_api.rb +7 -7
  39. data/lib/kubernetes/api/flowcontrol_apiserver_v1_api.rb +19 -7
  40. data/lib/kubernetes/api/internal_apiserver_api.rb +7 -7
  41. data/lib/kubernetes/api/internal_apiserver_v1alpha1_api.rb +13 -7
  42. data/lib/kubernetes/api/logs_api.rb +1 -1
  43. data/lib/kubernetes/api/networking_api.rb +7 -7
  44. data/lib/kubernetes/api/networking_v1_api.rb +164 -128
  45. data/lib/kubernetes/api/networking_v1beta1_api.rb +140 -128
  46. data/lib/kubernetes/api/node_api.rb +7 -7
  47. data/lib/kubernetes/api/node_v1_api.rb +13 -7
  48. data/lib/kubernetes/api/openid_api.rb +1 -1
  49. data/lib/kubernetes/api/policy_api.rb +7 -7
  50. data/lib/kubernetes/api/policy_v1_api.rb +16 -7
  51. data/lib/kubernetes/api/rbac_authorization_api.rb +7 -7
  52. data/lib/kubernetes/api/rbac_authorization_v1_api.rb +37 -7
  53. data/lib/kubernetes/api/resource_api.rb +7 -7
  54. data/lib/kubernetes/api/resource_v1_api.rb +285 -255
  55. data/lib/kubernetes/api/resource_v1alpha3_api.rb +848 -41
  56. data/lib/kubernetes/api/resource_v1beta1_api.rb +285 -255
  57. data/lib/kubernetes/api/resource_v1beta2_api.rb +1110 -279
  58. data/lib/kubernetes/api/scheduling_api.rb +7 -7
  59. data/lib/kubernetes/api/scheduling_v1_api.rb +13 -7
  60. data/lib/kubernetes/api/scheduling_v1alpha2_api.rb +1736 -0
  61. data/lib/kubernetes/api/storage_api.rb +7 -7
  62. data/lib/kubernetes/api/storage_v1_api.rb +95 -56
  63. data/lib/kubernetes/api/storage_v1beta1_api.rb +62 -56
  64. data/lib/kubernetes/api/storagemigration_api.rb +7 -7
  65. data/lib/kubernetes/api/storagemigration_v1beta1_api.rb +13 -7
  66. data/lib/kubernetes/api/version_api.rb +1 -1
  67. data/lib/kubernetes/api/well_known_api.rb +1 -1
  68. data/lib/kubernetes/api_client.rb +1 -1
  69. data/lib/kubernetes/api_error.rb +1 -1
  70. data/lib/kubernetes/configuration.rb +1 -1
  71. data/lib/kubernetes/models/admissionregistration_v1_service_reference.rb +5 -5
  72. data/lib/kubernetes/models/admissionregistration_v1_webhook_client_config.rb +3 -3
  73. data/lib/kubernetes/models/apiextensions_v1_service_reference.rb +1 -1
  74. data/lib/kubernetes/models/apiextensions_v1_webhook_client_config.rb +1 -1
  75. data/lib/kubernetes/models/apiregistration_v1_service_reference.rb +1 -1
  76. data/lib/kubernetes/models/authentication_v1_token_request.rb +1 -6
  77. data/lib/kubernetes/models/core_v1_endpoint_port.rb +1 -1
  78. data/lib/kubernetes/models/core_v1_event.rb +1 -1
  79. data/lib/kubernetes/models/core_v1_event_list.rb +1 -1
  80. data/lib/kubernetes/models/core_v1_event_series.rb +1 -1
  81. data/lib/kubernetes/models/core_v1_resource_claim.rb +1 -1
  82. data/lib/kubernetes/models/discovery_v1_endpoint_port.rb +1 -1
  83. data/lib/kubernetes/models/events_v1_event.rb +1 -1
  84. data/lib/kubernetes/models/events_v1_event_list.rb +1 -1
  85. data/lib/kubernetes/models/events_v1_event_series.rb +1 -1
  86. data/lib/kubernetes/models/flowcontrol_v1_subject.rb +1 -1
  87. data/lib/kubernetes/models/rbac_v1_subject.rb +1 -1
  88. data/lib/kubernetes/models/resource_v1_resource_claim.rb +2 -2
  89. data/lib/kubernetes/models/storage_v1_token_request.rb +1 -1
  90. data/lib/kubernetes/models/v1_affinity.rb +1 -1
  91. data/lib/kubernetes/models/v1_aggregation_rule.rb +1 -1
  92. data/lib/kubernetes/models/v1_allocated_device_status.rb +1 -1
  93. data/lib/kubernetes/models/v1_allocation_result.rb +2 -2
  94. data/lib/kubernetes/models/v1_api_group.rb +1 -1
  95. data/lib/kubernetes/models/v1_api_group_list.rb +1 -1
  96. data/lib/kubernetes/models/v1_api_resource.rb +1 -1
  97. data/lib/kubernetes/models/v1_api_resource_list.rb +1 -1
  98. data/lib/kubernetes/models/v1_api_service.rb +1 -1
  99. data/lib/kubernetes/models/v1_api_service_condition.rb +1 -1
  100. data/lib/kubernetes/models/v1_api_service_list.rb +1 -1
  101. data/lib/kubernetes/models/v1_api_service_spec.rb +1 -1
  102. data/lib/kubernetes/models/v1_api_service_status.rb +1 -1
  103. data/lib/kubernetes/models/v1_api_versions.rb +1 -1
  104. data/lib/kubernetes/models/v1_app_armor_profile.rb +1 -1
  105. data/lib/kubernetes/models/v1_apply_configuration.rb +220 -0
  106. data/lib/kubernetes/models/v1_attached_volume.rb +1 -1
  107. data/lib/kubernetes/models/v1_audit_annotation.rb +1 -1
  108. data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +1 -1
  109. data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +1 -1
  110. data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +1 -1
  111. data/lib/kubernetes/models/v1_azure_file_volume_source.rb +1 -1
  112. data/lib/kubernetes/models/v1_binding.rb +1 -1
  113. data/lib/kubernetes/models/v1_bound_object_reference.rb +5 -5
  114. data/lib/kubernetes/models/v1_capabilities.rb +1 -1
  115. data/lib/kubernetes/models/v1_capacity_request_policy.rb +1 -1
  116. data/lib/kubernetes/models/v1_capacity_request_policy_range.rb +1 -1
  117. data/lib/kubernetes/models/v1_capacity_requirements.rb +1 -1
  118. data/lib/kubernetes/models/v1_cel_device_selector.rb +2 -2
  119. data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +1 -1
  120. data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +1 -1
  121. data/lib/kubernetes/models/v1_certificate_signing_request.rb +1 -1
  122. data/lib/kubernetes/models/v1_certificate_signing_request_condition.rb +1 -1
  123. data/lib/kubernetes/models/v1_certificate_signing_request_list.rb +1 -1
  124. data/lib/kubernetes/models/v1_certificate_signing_request_spec.rb +1 -1
  125. data/lib/kubernetes/models/v1_certificate_signing_request_status.rb +1 -1
  126. data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +1 -1
  127. data/lib/kubernetes/models/v1_cinder_volume_source.rb +1 -1
  128. data/lib/kubernetes/models/v1_client_ip_config.rb +1 -1
  129. data/lib/kubernetes/models/v1_cluster_role.rb +1 -1
  130. data/lib/kubernetes/models/v1_cluster_role_binding.rb +1 -1
  131. data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +1 -1
  132. data/lib/kubernetes/models/v1_cluster_role_list.rb +1 -1
  133. data/lib/kubernetes/models/v1_cluster_trust_bundle_projection.rb +1 -1
  134. data/lib/kubernetes/models/v1_component_condition.rb +1 -1
  135. data/lib/kubernetes/models/v1_component_status.rb +1 -1
  136. data/lib/kubernetes/models/v1_component_status_list.rb +1 -1
  137. data/lib/kubernetes/models/v1_condition.rb +1 -1
  138. data/lib/kubernetes/models/v1_config_map.rb +1 -1
  139. data/lib/kubernetes/models/v1_config_map_env_source.rb +1 -1
  140. data/lib/kubernetes/models/v1_config_map_key_selector.rb +1 -1
  141. data/lib/kubernetes/models/v1_config_map_list.rb +1 -1
  142. data/lib/kubernetes/models/v1_config_map_node_config_source.rb +1 -1
  143. data/lib/kubernetes/models/v1_config_map_projection.rb +1 -1
  144. data/lib/kubernetes/models/v1_config_map_volume_source.rb +1 -1
  145. data/lib/kubernetes/models/v1_container.rb +1 -1
  146. data/lib/kubernetes/models/v1_container_extended_resource_request.rb +1 -1
  147. data/lib/kubernetes/models/v1_container_image.rb +1 -1
  148. data/lib/kubernetes/models/v1_container_port.rb +1 -1
  149. data/lib/kubernetes/models/v1_container_resize_policy.rb +1 -1
  150. data/lib/kubernetes/models/v1_container_restart_rule.rb +1 -1
  151. data/lib/kubernetes/models/v1_container_restart_rule_on_exit_codes.rb +1 -1
  152. data/lib/kubernetes/models/v1_container_state.rb +1 -1
  153. data/lib/kubernetes/models/v1_container_state_running.rb +1 -1
  154. data/lib/kubernetes/models/v1_container_state_terminated.rb +1 -1
  155. data/lib/kubernetes/models/v1_container_state_waiting.rb +1 -1
  156. data/lib/kubernetes/models/v1_container_status.rb +1 -1
  157. data/lib/kubernetes/models/v1_container_user.rb +1 -1
  158. data/lib/kubernetes/models/v1_controller_revision.rb +1 -1
  159. data/lib/kubernetes/models/v1_controller_revision_list.rb +1 -1
  160. data/lib/kubernetes/models/v1_counter.rb +1 -1
  161. data/lib/kubernetes/models/v1_counter_set.rb +1 -1
  162. data/lib/kubernetes/models/v1_cron_job.rb +6 -1
  163. data/lib/kubernetes/models/v1_cron_job_list.rb +1 -1
  164. data/lib/kubernetes/models/v1_cron_job_spec.rb +1 -1
  165. data/lib/kubernetes/models/v1_cron_job_status.rb +1 -1
  166. data/lib/kubernetes/models/v1_cross_version_object_reference.rb +1 -1
  167. data/lib/kubernetes/models/v1_csi_driver.rb +1 -1
  168. data/lib/kubernetes/models/v1_csi_driver_list.rb +1 -1
  169. data/lib/kubernetes/models/v1_csi_driver_spec.rb +13 -3
  170. data/lib/kubernetes/models/v1_csi_node.rb +1 -1
  171. data/lib/kubernetes/models/v1_csi_node_driver.rb +1 -1
  172. data/lib/kubernetes/models/v1_csi_node_list.rb +1 -1
  173. data/lib/kubernetes/models/v1_csi_node_spec.rb +1 -1
  174. data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +1 -1
  175. data/lib/kubernetes/models/v1_csi_storage_capacity.rb +1 -1
  176. data/lib/kubernetes/models/v1_csi_storage_capacity_list.rb +1 -1
  177. data/lib/kubernetes/models/v1_csi_volume_source.rb +1 -1
  178. data/lib/kubernetes/models/v1_custom_resource_column_definition.rb +1 -1
  179. data/lib/kubernetes/models/v1_custom_resource_conversion.rb +1 -1
  180. data/lib/kubernetes/models/v1_custom_resource_definition.rb +1 -1
  181. data/lib/kubernetes/models/v1_custom_resource_definition_condition.rb +1 -1
  182. data/lib/kubernetes/models/v1_custom_resource_definition_list.rb +1 -1
  183. data/lib/kubernetes/models/v1_custom_resource_definition_names.rb +1 -1
  184. data/lib/kubernetes/models/v1_custom_resource_definition_spec.rb +1 -1
  185. data/lib/kubernetes/models/v1_custom_resource_definition_status.rb +1 -1
  186. data/lib/kubernetes/models/v1_custom_resource_definition_version.rb +1 -1
  187. data/lib/kubernetes/models/v1_custom_resource_subresource_scale.rb +1 -1
  188. data/lib/kubernetes/models/v1_custom_resource_subresources.rb +1 -1
  189. data/lib/kubernetes/models/v1_custom_resource_validation.rb +1 -1
  190. data/lib/kubernetes/models/v1_daemon_endpoint.rb +1 -1
  191. data/lib/kubernetes/models/v1_daemon_set.rb +1 -1
  192. data/lib/kubernetes/models/v1_daemon_set_condition.rb +1 -1
  193. data/lib/kubernetes/models/v1_daemon_set_list.rb +1 -1
  194. data/lib/kubernetes/models/v1_daemon_set_spec.rb +1 -1
  195. data/lib/kubernetes/models/v1_daemon_set_status.rb +1 -1
  196. data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +1 -1
  197. data/lib/kubernetes/models/v1_delete_options.rb +1 -1
  198. data/lib/kubernetes/models/v1_deployment.rb +1 -1
  199. data/lib/kubernetes/models/v1_deployment_condition.rb +1 -1
  200. data/lib/kubernetes/models/v1_deployment_list.rb +1 -1
  201. data/lib/kubernetes/models/v1_deployment_spec.rb +1 -1
  202. data/lib/kubernetes/models/v1_deployment_status.rb +1 -1
  203. data/lib/kubernetes/models/v1_deployment_strategy.rb +1 -1
  204. data/lib/kubernetes/models/v1_device.rb +18 -6
  205. data/lib/kubernetes/models/v1_device_allocation_configuration.rb +1 -1
  206. data/lib/kubernetes/models/v1_device_allocation_result.rb +1 -1
  207. data/lib/kubernetes/models/v1_device_attribute.rb +53 -5
  208. data/lib/kubernetes/models/v1_device_capacity.rb +1 -1
  209. data/lib/kubernetes/models/v1_device_claim.rb +1 -1
  210. data/lib/kubernetes/models/v1_device_claim_configuration.rb +1 -1
  211. data/lib/kubernetes/models/v1_device_class.rb +2 -2
  212. data/lib/kubernetes/models/v1_device_class_configuration.rb +1 -1
  213. data/lib/kubernetes/models/v1_device_class_list.rb +1 -1
  214. data/lib/kubernetes/models/v1_device_class_spec.rb +2 -2
  215. data/lib/kubernetes/models/v1_device_constraint.rb +3 -3
  216. data/lib/kubernetes/models/v1_device_counter_consumption.rb +1 -1
  217. data/lib/kubernetes/models/v1_device_request.rb +1 -1
  218. data/lib/kubernetes/models/v1_device_request_allocation_result.rb +5 -5
  219. data/lib/kubernetes/models/v1_device_selector.rb +1 -1
  220. data/lib/kubernetes/models/v1_device_sub_request.rb +2 -2
  221. data/lib/kubernetes/models/v1_device_taint.rb +2 -2
  222. data/lib/kubernetes/models/v1_device_toleration.rb +1 -1
  223. data/lib/kubernetes/models/v1_downward_api_projection.rb +1 -1
  224. data/lib/kubernetes/models/v1_downward_api_volume_file.rb +1 -1
  225. data/lib/kubernetes/models/v1_downward_api_volume_source.rb +1 -1
  226. data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +1 -1
  227. data/lib/kubernetes/models/v1_endpoint.rb +1 -1
  228. data/lib/kubernetes/models/v1_endpoint_address.rb +1 -1
  229. data/lib/kubernetes/models/v1_endpoint_conditions.rb +1 -1
  230. data/lib/kubernetes/models/v1_endpoint_hints.rb +1 -1
  231. data/lib/kubernetes/models/v1_endpoint_slice.rb +1 -6
  232. data/lib/kubernetes/models/v1_endpoint_slice_list.rb +1 -1
  233. data/lib/kubernetes/models/v1_endpoint_subset.rb +1 -1
  234. data/lib/kubernetes/models/v1_endpoints.rb +1 -1
  235. data/lib/kubernetes/models/v1_endpoints_list.rb +1 -1
  236. data/lib/kubernetes/models/v1_env_from_source.rb +1 -1
  237. data/lib/kubernetes/models/v1_env_var.rb +1 -1
  238. data/lib/kubernetes/models/v1_env_var_source.rb +1 -1
  239. data/lib/kubernetes/models/v1_ephemeral_container.rb +1 -1
  240. data/lib/kubernetes/models/v1_ephemeral_volume_source.rb +1 -1
  241. data/lib/kubernetes/models/v1_event_source.rb +1 -1
  242. data/lib/kubernetes/models/v1_eviction.rb +1 -1
  243. data/lib/kubernetes/models/v1_exact_device_request.rb +3 -3
  244. data/lib/kubernetes/models/v1_exec_action.rb +1 -1
  245. data/lib/kubernetes/models/v1_exempt_priority_level_configuration.rb +1 -1
  246. data/lib/kubernetes/models/v1_expression_warning.rb +3 -3
  247. data/lib/kubernetes/models/v1_external_documentation.rb +1 -1
  248. data/lib/kubernetes/models/v1_fc_volume_source.rb +1 -1
  249. data/lib/kubernetes/models/v1_field_selector_attributes.rb +1 -1
  250. data/lib/kubernetes/models/v1_field_selector_requirement.rb +1 -1
  251. data/lib/kubernetes/models/v1_file_key_selector.rb +1 -1
  252. data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +1 -1
  253. data/lib/kubernetes/models/v1_flex_volume_source.rb +1 -1
  254. data/lib/kubernetes/models/v1_flocker_volume_source.rb +1 -1
  255. data/lib/kubernetes/models/v1_flow_distinguisher_method.rb +1 -1
  256. data/lib/kubernetes/models/v1_flow_schema.rb +1 -1
  257. data/lib/kubernetes/models/v1_flow_schema_condition.rb +1 -1
  258. data/lib/kubernetes/models/v1_flow_schema_list.rb +1 -1
  259. data/lib/kubernetes/models/v1_flow_schema_spec.rb +1 -1
  260. data/lib/kubernetes/models/v1_flow_schema_status.rb +1 -1
  261. data/lib/kubernetes/models/v1_for_node.rb +1 -1
  262. data/lib/kubernetes/models/v1_for_zone.rb +1 -1
  263. data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +1 -1
  264. data/lib/kubernetes/models/v1_git_repo_volume_source.rb +1 -1
  265. data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +1 -1
  266. data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +1 -1
  267. data/lib/kubernetes/models/v1_group_resource.rb +1 -1
  268. data/lib/kubernetes/models/v1_group_subject.rb +1 -1
  269. data/lib/kubernetes/models/v1_group_version_for_discovery.rb +1 -1
  270. data/lib/kubernetes/models/v1_grpc_action.rb +1 -1
  271. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +6 -1
  272. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +1 -1
  273. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +1 -1
  274. data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +1 -1
  275. data/lib/kubernetes/models/v1_host_alias.rb +1 -1
  276. data/lib/kubernetes/models/v1_host_ip.rb +1 -1
  277. data/lib/kubernetes/models/v1_host_path_volume_source.rb +1 -1
  278. data/lib/kubernetes/models/v1_http_get_action.rb +1 -1
  279. data/lib/kubernetes/models/v1_http_header.rb +1 -1
  280. data/lib/kubernetes/models/v1_http_ingress_path.rb +1 -1
  281. data/lib/kubernetes/models/v1_http_ingress_rule_value.rb +1 -1
  282. data/lib/kubernetes/models/v1_image_volume_source.rb +1 -1
  283. data/lib/kubernetes/models/v1_image_volume_status.rb +225 -0
  284. data/lib/kubernetes/models/v1_ingress.rb +1 -1
  285. data/lib/kubernetes/models/v1_ingress_backend.rb +1 -1
  286. data/lib/kubernetes/models/v1_ingress_class.rb +1 -1
  287. data/lib/kubernetes/models/v1_ingress_class_list.rb +1 -1
  288. data/lib/kubernetes/models/v1_ingress_class_parameters_reference.rb +1 -1
  289. data/lib/kubernetes/models/v1_ingress_class_spec.rb +1 -1
  290. data/lib/kubernetes/models/v1_ingress_list.rb +1 -1
  291. data/lib/kubernetes/models/v1_ingress_load_balancer_ingress.rb +1 -1
  292. data/lib/kubernetes/models/v1_ingress_load_balancer_status.rb +1 -1
  293. data/lib/kubernetes/models/v1_ingress_port_status.rb +1 -1
  294. data/lib/kubernetes/models/v1_ingress_rule.rb +1 -1
  295. data/lib/kubernetes/models/v1_ingress_service_backend.rb +1 -1
  296. data/lib/kubernetes/models/v1_ingress_spec.rb +1 -1
  297. data/lib/kubernetes/models/v1_ingress_status.rb +1 -1
  298. data/lib/kubernetes/models/v1_ingress_tls.rb +1 -1
  299. data/lib/kubernetes/models/v1_ip_address.rb +6 -1
  300. data/lib/kubernetes/models/v1_ip_address_list.rb +1 -1
  301. data/lib/kubernetes/models/v1_ip_address_spec.rb +1 -1
  302. data/lib/kubernetes/models/v1_ip_block.rb +1 -1
  303. data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +1 -1
  304. data/lib/kubernetes/models/v1_iscsi_volume_source.rb +1 -1
  305. data/lib/kubernetes/models/v1_job.rb +1 -1
  306. data/lib/kubernetes/models/v1_job_condition.rb +1 -1
  307. data/lib/kubernetes/models/v1_job_list.rb +1 -1
  308. data/lib/kubernetes/models/v1_job_spec.rb +1 -1
  309. data/lib/kubernetes/models/v1_job_status.rb +1 -1
  310. data/lib/kubernetes/models/v1_job_template_spec.rb +1 -1
  311. data/lib/kubernetes/models/{v2_api_resource_discovery.rb → v1_json_patch.rb} +13 -109
  312. data/lib/kubernetes/models/v1_json_schema_props.rb +1 -1
  313. data/lib/kubernetes/models/v1_key_to_path.rb +1 -1
  314. data/lib/kubernetes/models/v1_label_selector.rb +1 -1
  315. data/lib/kubernetes/models/v1_label_selector_attributes.rb +1 -1
  316. data/lib/kubernetes/models/v1_label_selector_requirement.rb +1 -1
  317. data/lib/kubernetes/models/v1_lease.rb +1 -1
  318. data/lib/kubernetes/models/v1_lease_list.rb +1 -1
  319. data/lib/kubernetes/models/v1_lease_spec.rb +1 -1
  320. data/lib/kubernetes/models/v1_lifecycle.rb +1 -1
  321. data/lib/kubernetes/models/v1_lifecycle_handler.rb +1 -1
  322. data/lib/kubernetes/models/v1_limit_range.rb +1 -1
  323. data/lib/kubernetes/models/v1_limit_range_item.rb +1 -1
  324. data/lib/kubernetes/models/v1_limit_range_list.rb +1 -1
  325. data/lib/kubernetes/models/v1_limit_range_spec.rb +1 -1
  326. data/lib/kubernetes/models/v1_limit_response.rb +1 -1
  327. data/lib/kubernetes/models/v1_limited_priority_level_configuration.rb +1 -1
  328. data/lib/kubernetes/models/v1_linux_container_user.rb +1 -1
  329. data/lib/kubernetes/models/v1_list_meta.rb +14 -5
  330. data/lib/kubernetes/models/v1_load_balancer_ingress.rb +1 -1
  331. data/lib/kubernetes/models/v1_load_balancer_status.rb +1 -1
  332. data/lib/kubernetes/models/v1_local_object_reference.rb +1 -1
  333. data/lib/kubernetes/models/v1_local_subject_access_review.rb +1 -1
  334. data/lib/kubernetes/models/v1_local_volume_source.rb +1 -1
  335. data/lib/kubernetes/models/v1_managed_fields_entry.rb +1 -1
  336. data/lib/kubernetes/models/v1_match_condition.rb +3 -3
  337. data/lib/kubernetes/models/v1_match_resources.rb +3 -3
  338. data/lib/kubernetes/models/v1_modify_volume_status.rb +1 -1
  339. data/lib/kubernetes/models/{v2beta1_api_group_discovery.rb → v1_mutating_admission_policy.rb} +14 -14
  340. data/lib/kubernetes/models/v1_mutating_admission_policy_binding.rb +248 -0
  341. data/lib/kubernetes/models/v1_mutating_admission_policy_binding_list.rb +256 -0
  342. data/lib/kubernetes/models/v1_mutating_admission_policy_binding_spec.rb +238 -0
  343. data/lib/kubernetes/models/v1_mutating_admission_policy_list.rb +256 -0
  344. data/lib/kubernetes/models/v1_mutating_admission_policy_spec.rb +284 -0
  345. data/lib/kubernetes/models/v1_mutating_webhook.rb +8 -8
  346. data/lib/kubernetes/models/v1_mutating_webhook_configuration.rb +2 -2
  347. data/lib/kubernetes/models/v1_mutating_webhook_configuration_list.rb +1 -1
  348. data/lib/kubernetes/models/{v2_api_version_discovery.rb → v1_mutation.rb} +28 -31
  349. data/lib/kubernetes/models/v1_named_rule_with_operations.rb +6 -6
  350. data/lib/kubernetes/models/v1_namespace.rb +1 -1
  351. data/lib/kubernetes/models/v1_namespace_condition.rb +1 -1
  352. data/lib/kubernetes/models/v1_namespace_list.rb +1 -1
  353. data/lib/kubernetes/models/v1_namespace_spec.rb +1 -1
  354. data/lib/kubernetes/models/v1_namespace_status.rb +1 -1
  355. data/lib/kubernetes/models/v1_network_device_data.rb +3 -3
  356. data/lib/kubernetes/models/v1_network_policy.rb +1 -1
  357. data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +1 -1
  358. data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +1 -1
  359. data/lib/kubernetes/models/v1_network_policy_list.rb +1 -1
  360. data/lib/kubernetes/models/v1_network_policy_peer.rb +1 -1
  361. data/lib/kubernetes/models/v1_network_policy_port.rb +1 -1
  362. data/lib/kubernetes/models/v1_network_policy_spec.rb +1 -1
  363. data/lib/kubernetes/models/v1_nfs_volume_source.rb +1 -1
  364. data/lib/kubernetes/models/v1_node.rb +1 -1
  365. data/lib/kubernetes/models/v1_node_address.rb +1 -1
  366. data/lib/kubernetes/models/v1_node_affinity.rb +1 -1
  367. data/lib/kubernetes/models/{v2beta1_api_subresource_discovery.rb → v1_node_allocatable_resource_claim_status.rb} +36 -44
  368. data/lib/kubernetes/models/v1_node_allocatable_resource_mapping.rb +230 -0
  369. data/lib/kubernetes/models/v1_node_condition.rb +1 -1
  370. data/lib/kubernetes/models/v1_node_config_source.rb +1 -1
  371. data/lib/kubernetes/models/v1_node_config_status.rb +1 -1
  372. data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +1 -1
  373. data/lib/kubernetes/models/v1_node_features.rb +1 -1
  374. data/lib/kubernetes/models/v1_node_list.rb +1 -1
  375. data/lib/kubernetes/models/v1_node_runtime_handler.rb +1 -1
  376. data/lib/kubernetes/models/v1_node_runtime_handler_features.rb +1 -1
  377. data/lib/kubernetes/models/v1_node_selector.rb +1 -1
  378. data/lib/kubernetes/models/v1_node_selector_requirement.rb +1 -1
  379. data/lib/kubernetes/models/v1_node_selector_term.rb +1 -1
  380. data/lib/kubernetes/models/v1_node_spec.rb +1 -1
  381. data/lib/kubernetes/models/v1_node_status.rb +1 -1
  382. data/lib/kubernetes/models/v1_node_swap_status.rb +1 -1
  383. data/lib/kubernetes/models/v1_node_system_info.rb +1 -1
  384. data/lib/kubernetes/models/v1_non_resource_attributes.rb +3 -3
  385. data/lib/kubernetes/models/v1_non_resource_policy_rule.rb +1 -1
  386. data/lib/kubernetes/models/v1_non_resource_rule.rb +3 -3
  387. data/lib/kubernetes/models/v1_object_field_selector.rb +1 -1
  388. data/lib/kubernetes/models/v1_object_meta.rb +1 -1
  389. data/lib/kubernetes/models/v1_object_reference.rb +1 -1
  390. data/lib/kubernetes/models/v1_opaque_device_configuration.rb +1 -1
  391. data/lib/kubernetes/models/v1_overhead.rb +1 -1
  392. data/lib/kubernetes/models/v1_owner_reference.rb +1 -1
  393. data/lib/kubernetes/models/v1_param_kind.rb +3 -3
  394. data/lib/kubernetes/models/v1_param_ref.rb +2 -2
  395. data/lib/kubernetes/models/v1_parent_reference.rb +1 -1
  396. data/lib/kubernetes/models/v1_persistent_volume.rb +1 -1
  397. data/lib/kubernetes/models/v1_persistent_volume_claim.rb +1 -1
  398. data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +1 -1
  399. data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +1 -1
  400. data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +1 -1
  401. data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +1 -1
  402. data/lib/kubernetes/models/v1_persistent_volume_claim_template.rb +1 -1
  403. data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +1 -1
  404. data/lib/kubernetes/models/v1_persistent_volume_list.rb +1 -1
  405. data/lib/kubernetes/models/v1_persistent_volume_spec.rb +1 -1
  406. data/lib/kubernetes/models/v1_persistent_volume_status.rb +1 -1
  407. data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +1 -1
  408. data/lib/kubernetes/models/v1_pod.rb +1 -1
  409. data/lib/kubernetes/models/v1_pod_affinity.rb +1 -1
  410. data/lib/kubernetes/models/v1_pod_affinity_term.rb +1 -1
  411. data/lib/kubernetes/models/v1_pod_anti_affinity.rb +1 -1
  412. data/lib/kubernetes/models/v1_pod_certificate_projection.rb +1 -1
  413. data/lib/kubernetes/models/v1_pod_condition.rb +2 -2
  414. data/lib/kubernetes/models/v1_pod_disruption_budget.rb +1 -1
  415. data/lib/kubernetes/models/v1_pod_disruption_budget_list.rb +1 -1
  416. data/lib/kubernetes/models/v1_pod_disruption_budget_spec.rb +1 -1
  417. data/lib/kubernetes/models/v1_pod_disruption_budget_status.rb +1 -21
  418. data/lib/kubernetes/models/v1_pod_dns_config.rb +1 -1
  419. data/lib/kubernetes/models/v1_pod_dns_config_option.rb +1 -1
  420. data/lib/kubernetes/models/v1_pod_extended_resource_claim_status.rb +1 -1
  421. data/lib/kubernetes/models/v1_pod_failure_policy.rb +1 -1
  422. data/lib/kubernetes/models/v1_pod_failure_policy_on_exit_codes_requirement.rb +1 -1
  423. data/lib/kubernetes/models/v1_pod_failure_policy_on_pod_conditions_pattern.rb +1 -1
  424. data/lib/kubernetes/models/v1_pod_failure_policy_rule.rb +1 -1
  425. data/lib/kubernetes/models/v1_pod_ip.rb +1 -1
  426. data/lib/kubernetes/models/v1_pod_list.rb +1 -1
  427. data/lib/kubernetes/models/v1_pod_os.rb +1 -1
  428. data/lib/kubernetes/models/v1_pod_readiness_gate.rb +1 -1
  429. data/lib/kubernetes/models/v1_pod_resource_claim.rb +3 -3
  430. data/lib/kubernetes/models/v1_pod_resource_claim_status.rb +2 -2
  431. data/lib/kubernetes/models/v1_pod_scheduling_gate.rb +1 -1
  432. data/lib/kubernetes/models/v1_pod_scheduling_group.rb +220 -0
  433. data/lib/kubernetes/models/v1_pod_security_context.rb +1 -1
  434. data/lib/kubernetes/models/v1_pod_spec.rb +15 -15
  435. data/lib/kubernetes/models/v1_pod_status.rb +14 -2
  436. data/lib/kubernetes/models/v1_pod_template.rb +1 -1
  437. data/lib/kubernetes/models/v1_pod_template_list.rb +1 -1
  438. data/lib/kubernetes/models/v1_pod_template_spec.rb +1 -1
  439. data/lib/kubernetes/models/v1_policy_rule.rb +1 -1
  440. data/lib/kubernetes/models/v1_policy_rules_with_subjects.rb +1 -1
  441. data/lib/kubernetes/models/v1_port_status.rb +1 -1
  442. data/lib/kubernetes/models/v1_portworx_volume_source.rb +1 -1
  443. data/lib/kubernetes/models/v1_preconditions.rb +1 -1
  444. data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +1 -1
  445. data/lib/kubernetes/models/v1_priority_class.rb +1 -6
  446. data/lib/kubernetes/models/v1_priority_class_list.rb +1 -1
  447. data/lib/kubernetes/models/v1_priority_level_configuration.rb +1 -1
  448. data/lib/kubernetes/models/v1_priority_level_configuration_condition.rb +1 -1
  449. data/lib/kubernetes/models/v1_priority_level_configuration_list.rb +1 -1
  450. data/lib/kubernetes/models/v1_priority_level_configuration_reference.rb +1 -1
  451. data/lib/kubernetes/models/v1_priority_level_configuration_spec.rb +1 -1
  452. data/lib/kubernetes/models/v1_priority_level_configuration_status.rb +1 -1
  453. data/lib/kubernetes/models/v1_probe.rb +1 -1
  454. data/lib/kubernetes/models/v1_projected_volume_source.rb +1 -1
  455. data/lib/kubernetes/models/v1_queuing_configuration.rb +1 -1
  456. data/lib/kubernetes/models/v1_quobyte_volume_source.rb +1 -1
  457. data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +1 -1
  458. data/lib/kubernetes/models/v1_rbd_volume_source.rb +1 -1
  459. data/lib/kubernetes/models/v1_replica_set.rb +1 -1
  460. data/lib/kubernetes/models/v1_replica_set_condition.rb +1 -1
  461. data/lib/kubernetes/models/v1_replica_set_list.rb +1 -1
  462. data/lib/kubernetes/models/v1_replica_set_spec.rb +1 -1
  463. data/lib/kubernetes/models/v1_replica_set_status.rb +1 -1
  464. data/lib/kubernetes/models/v1_replication_controller.rb +1 -1
  465. data/lib/kubernetes/models/v1_replication_controller_condition.rb +1 -1
  466. data/lib/kubernetes/models/v1_replication_controller_list.rb +1 -1
  467. data/lib/kubernetes/models/v1_replication_controller_spec.rb +1 -1
  468. data/lib/kubernetes/models/v1_replication_controller_status.rb +1 -1
  469. data/lib/kubernetes/models/v1_resource_attributes.rb +8 -8
  470. data/lib/kubernetes/models/v1_resource_claim_consumer_reference.rb +1 -1
  471. data/lib/kubernetes/models/v1_resource_claim_list.rb +1 -1
  472. data/lib/kubernetes/models/v1_resource_claim_spec.rb +1 -1
  473. data/lib/kubernetes/models/v1_resource_claim_status.rb +1 -1
  474. data/lib/kubernetes/models/v1_resource_claim_template.rb +2 -2
  475. data/lib/kubernetes/models/v1_resource_claim_template_list.rb +1 -1
  476. data/lib/kubernetes/models/v1_resource_claim_template_spec.rb +1 -1
  477. data/lib/kubernetes/models/v1_resource_field_selector.rb +1 -1
  478. data/lib/kubernetes/models/v1_resource_health.rb +12 -2
  479. data/lib/kubernetes/models/v1_resource_policy_rule.rb +1 -1
  480. data/lib/kubernetes/models/v1_resource_pool.rb +1 -1
  481. data/lib/kubernetes/models/v1_resource_quota.rb +1 -1
  482. data/lib/kubernetes/models/v1_resource_quota_list.rb +1 -1
  483. data/lib/kubernetes/models/v1_resource_quota_spec.rb +1 -1
  484. data/lib/kubernetes/models/v1_resource_quota_status.rb +1 -1
  485. data/lib/kubernetes/models/v1_resource_requirements.rb +1 -1
  486. data/lib/kubernetes/models/v1_resource_rule.rb +5 -5
  487. data/lib/kubernetes/models/v1_resource_slice.rb +2 -2
  488. data/lib/kubernetes/models/v1_resource_slice_list.rb +1 -1
  489. data/lib/kubernetes/models/v1_resource_slice_spec.rb +1 -1
  490. data/lib/kubernetes/models/v1_resource_status.rb +1 -1
  491. data/lib/kubernetes/models/v1_role.rb +1 -1
  492. data/lib/kubernetes/models/v1_role_binding.rb +1 -1
  493. data/lib/kubernetes/models/v1_role_binding_list.rb +1 -1
  494. data/lib/kubernetes/models/v1_role_list.rb +1 -1
  495. data/lib/kubernetes/models/v1_role_ref.rb +1 -6
  496. data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +1 -1
  497. data/lib/kubernetes/models/v1_rolling_update_deployment.rb +1 -1
  498. data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +1 -1
  499. data/lib/kubernetes/models/v1_rule_with_operations.rb +5 -5
  500. data/lib/kubernetes/models/v1_runtime_class.rb +1 -1
  501. data/lib/kubernetes/models/v1_runtime_class_list.rb +1 -1
  502. data/lib/kubernetes/models/v1_scale.rb +1 -1
  503. data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +1 -1
  504. data/lib/kubernetes/models/v1_scale_io_volume_source.rb +1 -1
  505. data/lib/kubernetes/models/v1_scale_spec.rb +1 -1
  506. data/lib/kubernetes/models/v1_scale_status.rb +1 -1
  507. data/lib/kubernetes/models/v1_scheduling.rb +1 -1
  508. data/lib/kubernetes/models/v1_scope_selector.rb +1 -1
  509. data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +1 -1
  510. data/lib/kubernetes/models/v1_se_linux_options.rb +1 -1
  511. data/lib/kubernetes/models/v1_seccomp_profile.rb +1 -1
  512. data/lib/kubernetes/models/v1_secret.rb +1 -1
  513. data/lib/kubernetes/models/v1_secret_env_source.rb +1 -1
  514. data/lib/kubernetes/models/v1_secret_key_selector.rb +1 -1
  515. data/lib/kubernetes/models/v1_secret_list.rb +1 -1
  516. data/lib/kubernetes/models/v1_secret_projection.rb +1 -1
  517. data/lib/kubernetes/models/v1_secret_reference.rb +1 -1
  518. data/lib/kubernetes/models/v1_secret_volume_source.rb +1 -1
  519. data/lib/kubernetes/models/v1_security_context.rb +2 -2
  520. data/lib/kubernetes/models/v1_selectable_field.rb +1 -1
  521. data/lib/kubernetes/models/v1_self_subject_access_review.rb +1 -1
  522. data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +2 -2
  523. data/lib/kubernetes/models/v1_self_subject_review.rb +1 -1
  524. data/lib/kubernetes/models/v1_self_subject_review_status.rb +1 -1
  525. data/lib/kubernetes/models/v1_self_subject_rules_review.rb +1 -1
  526. data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +2 -2
  527. data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +1 -1
  528. data/lib/kubernetes/models/v1_service.rb +1 -1
  529. data/lib/kubernetes/models/v1_service_account.rb +1 -1
  530. data/lib/kubernetes/models/v1_service_account_list.rb +1 -1
  531. data/lib/kubernetes/models/v1_service_account_subject.rb +1 -1
  532. data/lib/kubernetes/models/v1_service_account_token_projection.rb +1 -1
  533. data/lib/kubernetes/models/v1_service_backend_port.rb +1 -1
  534. data/lib/kubernetes/models/v1_service_cidr.rb +1 -1
  535. data/lib/kubernetes/models/v1_service_cidr_list.rb +1 -1
  536. data/lib/kubernetes/models/v1_service_cidr_spec.rb +1 -1
  537. data/lib/kubernetes/models/v1_service_cidr_status.rb +1 -1
  538. data/lib/kubernetes/models/v1_service_list.rb +1 -1
  539. data/lib/kubernetes/models/v1_service_port.rb +1 -1
  540. data/lib/kubernetes/models/v1_service_spec.rb +1 -1
  541. data/lib/kubernetes/models/v1_service_status.rb +1 -1
  542. data/lib/kubernetes/models/v1_session_affinity_config.rb +1 -1
  543. data/lib/kubernetes/models/v1_shard_info.rb +225 -0
  544. data/lib/kubernetes/models/v1_sleep_action.rb +1 -1
  545. data/lib/kubernetes/models/v1_stateful_set.rb +1 -1
  546. data/lib/kubernetes/models/v1_stateful_set_condition.rb +1 -1
  547. data/lib/kubernetes/models/v1_stateful_set_list.rb +1 -1
  548. data/lib/kubernetes/models/v1_stateful_set_ordinals.rb +1 -1
  549. data/lib/kubernetes/models/v1_stateful_set_persistent_volume_claim_retention_policy.rb +1 -1
  550. data/lib/kubernetes/models/v1_stateful_set_spec.rb +1 -1
  551. data/lib/kubernetes/models/v1_stateful_set_status.rb +1 -1
  552. data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +1 -1
  553. data/lib/kubernetes/models/v1_status.rb +1 -1
  554. data/lib/kubernetes/models/v1_status_cause.rb +1 -1
  555. data/lib/kubernetes/models/v1_status_details.rb +1 -1
  556. data/lib/kubernetes/models/v1_storage_class.rb +1 -1
  557. data/lib/kubernetes/models/v1_storage_class_list.rb +1 -1
  558. data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +1 -1
  559. data/lib/kubernetes/models/v1_storage_os_volume_source.rb +1 -1
  560. data/lib/kubernetes/models/v1_subject_access_review.rb +1 -1
  561. data/lib/kubernetes/models/v1_subject_access_review_spec.rb +6 -6
  562. data/lib/kubernetes/models/v1_subject_access_review_status.rb +5 -5
  563. data/lib/kubernetes/models/v1_subject_rules_review_status.rb +5 -5
  564. data/lib/kubernetes/models/v1_success_policy.rb +1 -1
  565. data/lib/kubernetes/models/v1_success_policy_rule.rb +1 -1
  566. data/lib/kubernetes/models/v1_sysctl.rb +1 -1
  567. data/lib/kubernetes/models/v1_taint.rb +1 -1
  568. data/lib/kubernetes/models/v1_tcp_socket_action.rb +1 -1
  569. data/lib/kubernetes/models/v1_token_request_spec.rb +3 -8
  570. data/lib/kubernetes/models/v1_token_request_status.rb +3 -13
  571. data/lib/kubernetes/models/v1_token_review.rb +1 -1
  572. data/lib/kubernetes/models/v1_token_review_spec.rb +8 -3
  573. data/lib/kubernetes/models/v1_token_review_status.rb +4 -4
  574. data/lib/kubernetes/models/v1_toleration.rb +1 -1
  575. data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +1 -1
  576. data/lib/kubernetes/models/v1_topology_selector_term.rb +1 -1
  577. data/lib/kubernetes/models/v1_topology_spread_constraint.rb +1 -1
  578. data/lib/kubernetes/models/v1_type_checking.rb +2 -2
  579. data/lib/kubernetes/models/v1_typed_local_object_reference.rb +1 -1
  580. data/lib/kubernetes/models/v1_typed_object_reference.rb +1 -1
  581. data/lib/kubernetes/models/v1_uncounted_terminated_pods.rb +1 -1
  582. data/lib/kubernetes/models/v1_user_info.rb +5 -5
  583. data/lib/kubernetes/models/v1_user_subject.rb +1 -1
  584. data/lib/kubernetes/models/v1_validating_admission_policy.rb +1 -1
  585. data/lib/kubernetes/models/v1_validating_admission_policy_binding.rb +6 -1
  586. data/lib/kubernetes/models/v1_validating_admission_policy_binding_list.rb +1 -1
  587. data/lib/kubernetes/models/v1_validating_admission_policy_binding_spec.rb +12 -2
  588. data/lib/kubernetes/models/v1_validating_admission_policy_list.rb +1 -1
  589. data/lib/kubernetes/models/v1_validating_admission_policy_spec.rb +4 -4
  590. data/lib/kubernetes/models/v1_validating_admission_policy_status.rb +3 -3
  591. data/lib/kubernetes/models/v1_validating_webhook.rb +8 -8
  592. data/lib/kubernetes/models/v1_validating_webhook_configuration.rb +2 -2
  593. data/lib/kubernetes/models/v1_validating_webhook_configuration_list.rb +1 -1
  594. data/lib/kubernetes/models/v1_validation.rb +4 -4
  595. data/lib/kubernetes/models/v1_validation_rule.rb +1 -1
  596. data/lib/kubernetes/models/v1_variable.rb +3 -3
  597. data/lib/kubernetes/models/v1_volume.rb +1 -1
  598. data/lib/kubernetes/models/v1_volume_attachment.rb +1 -1
  599. data/lib/kubernetes/models/v1_volume_attachment_list.rb +1 -1
  600. data/lib/kubernetes/models/v1_volume_attachment_source.rb +1 -1
  601. data/lib/kubernetes/models/v1_volume_attachment_spec.rb +1 -1
  602. data/lib/kubernetes/models/v1_volume_attachment_status.rb +1 -1
  603. data/lib/kubernetes/models/v1_volume_attributes_class.rb +1 -1
  604. data/lib/kubernetes/models/v1_volume_attributes_class_list.rb +1 -1
  605. data/lib/kubernetes/models/v1_volume_device.rb +1 -1
  606. data/lib/kubernetes/models/v1_volume_error.rb +2 -2
  607. data/lib/kubernetes/models/v1_volume_mount.rb +1 -1
  608. data/lib/kubernetes/models/v1_volume_mount_status.rb +14 -5
  609. data/lib/kubernetes/models/v1_volume_node_affinity.rb +1 -1
  610. data/lib/kubernetes/models/v1_volume_node_resources.rb +1 -1
  611. data/lib/kubernetes/models/v1_volume_projection.rb +1 -1
  612. data/lib/kubernetes/models/v1_volume_resource_requirements.rb +1 -1
  613. data/lib/kubernetes/models/v1_volume_status.rb +219 -0
  614. data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +1 -1
  615. data/lib/kubernetes/models/v1_watch_event.rb +1 -1
  616. data/lib/kubernetes/models/v1_webhook_conversion.rb +1 -1
  617. data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +1 -1
  618. data/lib/kubernetes/models/v1_windows_security_context_options.rb +1 -1
  619. data/lib/kubernetes/models/v1alpha1_apply_configuration.rb +1 -1
  620. data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle.rb +1 -1
  621. data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle_list.rb +1 -1
  622. data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle_spec.rb +1 -1
  623. data/lib/kubernetes/models/v1alpha1_json_patch.rb +1 -1
  624. data/lib/kubernetes/models/v1alpha1_match_condition.rb +3 -3
  625. data/lib/kubernetes/models/v1alpha1_match_resources.rb +3 -3
  626. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy.rb +1 -1
  627. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding.rb +1 -1
  628. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding_list.rb +1 -1
  629. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding_spec.rb +1 -1
  630. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_list.rb +1 -1
  631. data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_spec.rb +1 -1
  632. data/lib/kubernetes/models/v1alpha1_mutation.rb +1 -1
  633. data/lib/kubernetes/models/v1alpha1_named_rule_with_operations.rb +6 -6
  634. data/lib/kubernetes/models/v1alpha1_param_kind.rb +3 -3
  635. data/lib/kubernetes/models/v1alpha1_param_ref.rb +3 -3
  636. data/lib/kubernetes/models/v1alpha1_server_storage_version.rb +20 -5
  637. data/lib/kubernetes/models/v1alpha1_storage_version.rb +5 -10
  638. data/lib/kubernetes/models/v1alpha1_storage_version_condition.rb +7 -7
  639. data/lib/kubernetes/models/v1alpha1_storage_version_list.rb +1 -1
  640. data/lib/kubernetes/models/v1alpha1_storage_version_status.rb +4 -4
  641. data/lib/kubernetes/models/v1alpha1_variable.rb +3 -3
  642. data/lib/kubernetes/models/{v1alpha1_gang_scheduling_policy.rb → v1alpha2_gang_scheduling_policy.rb} +4 -4
  643. data/lib/kubernetes/models/v1alpha2_lease_candidate.rb +6 -1
  644. data/lib/kubernetes/models/v1alpha2_lease_candidate_list.rb +1 -1
  645. data/lib/kubernetes/models/v1alpha2_lease_candidate_spec.rb +1 -1
  646. data/lib/kubernetes/models/v1alpha2_pod_group.rb +262 -0
  647. data/lib/kubernetes/models/{v2_api_group_discovery_list.rb → v1alpha2_pod_group_list.rb} +23 -20
  648. data/lib/kubernetes/models/{v1_workload_reference.rb → v1alpha2_pod_group_resource_claim.rb} +21 -26
  649. data/lib/kubernetes/models/v1alpha2_pod_group_resource_claim_status.rb +235 -0
  650. data/lib/kubernetes/models/v1alpha2_pod_group_scheduling_constraints.rb +222 -0
  651. data/lib/kubernetes/models/{v1alpha1_pod_group_policy.rb → v1alpha2_pod_group_scheduling_policy.rb} +6 -6
  652. data/lib/kubernetes/models/{v2beta1_api_resource_discovery.rb → v1alpha2_pod_group_spec.rb} +56 -88
  653. data/lib/kubernetes/models/v1alpha2_pod_group_status.rb +234 -0
  654. data/lib/kubernetes/models/v1alpha2_pod_group_template.rb +290 -0
  655. data/lib/kubernetes/models/v1alpha2_pod_group_template_reference.rb +219 -0
  656. data/lib/kubernetes/models/v1alpha2_topology_constraint.rb +225 -0
  657. data/lib/kubernetes/models/{v1alpha1_typed_local_object_reference.rb → v1alpha2_typed_local_object_reference.rb} +4 -4
  658. data/lib/kubernetes/models/{v1alpha1_workload.rb → v1alpha2_workload.rb} +6 -6
  659. data/lib/kubernetes/models/{v1alpha1_workload_list.rb → v1alpha2_workload_list.rb} +5 -5
  660. data/lib/kubernetes/models/v1alpha2_workload_pod_group_template_reference.rb +240 -0
  661. data/lib/kubernetes/models/{v1alpha1_workload_spec.rb → v1alpha2_workload_spec.rb} +17 -17
  662. data/lib/kubernetes/models/v1alpha3_device_taint.rb +2 -2
  663. data/lib/kubernetes/models/v1alpha3_device_taint_rule.rb +1 -1
  664. data/lib/kubernetes/models/v1alpha3_device_taint_rule_list.rb +1 -1
  665. data/lib/kubernetes/models/v1alpha3_device_taint_rule_spec.rb +1 -1
  666. data/lib/kubernetes/models/v1alpha3_device_taint_rule_status.rb +1 -1
  667. data/lib/kubernetes/models/v1alpha3_device_taint_selector.rb +1 -1
  668. data/lib/kubernetes/models/v1alpha3_pool_status.rb +325 -0
  669. data/lib/kubernetes/models/v1alpha3_resource_pool_status_request.rb +267 -0
  670. data/lib/kubernetes/models/v1alpha3_resource_pool_status_request_list.rb +256 -0
  671. data/lib/kubernetes/models/v1alpha3_resource_pool_status_request_spec.rb +245 -0
  672. data/lib/kubernetes/models/{v2_api_subresource_discovery.rb → v1alpha3_resource_pool_status_request_status.rb} +33 -46
  673. data/lib/kubernetes/models/v1beta1_allocated_device_status.rb +1 -1
  674. data/lib/kubernetes/models/v1beta1_allocation_result.rb +2 -2
  675. data/lib/kubernetes/models/v1beta1_apply_configuration.rb +1 -1
  676. data/lib/kubernetes/models/v1beta1_basic_device.rb +18 -6
  677. data/lib/kubernetes/models/v1beta1_capacity_request_policy.rb +1 -1
  678. data/lib/kubernetes/models/v1beta1_capacity_request_policy_range.rb +1 -1
  679. data/lib/kubernetes/models/v1beta1_capacity_requirements.rb +1 -1
  680. data/lib/kubernetes/models/v1beta1_cel_device_selector.rb +2 -2
  681. data/lib/kubernetes/models/v1beta1_cluster_trust_bundle.rb +1 -1
  682. data/lib/kubernetes/models/v1beta1_cluster_trust_bundle_list.rb +1 -1
  683. data/lib/kubernetes/models/v1beta1_cluster_trust_bundle_spec.rb +1 -1
  684. data/lib/kubernetes/models/v1beta1_counter.rb +1 -1
  685. data/lib/kubernetes/models/v1beta1_counter_set.rb +1 -1
  686. data/lib/kubernetes/models/v1beta1_device.rb +1 -1
  687. data/lib/kubernetes/models/v1beta1_device_allocation_configuration.rb +1 -1
  688. data/lib/kubernetes/models/v1beta1_device_allocation_result.rb +1 -1
  689. data/lib/kubernetes/models/v1beta1_device_attribute.rb +53 -5
  690. data/lib/kubernetes/models/v1beta1_device_capacity.rb +1 -1
  691. data/lib/kubernetes/models/v1beta1_device_claim.rb +1 -1
  692. data/lib/kubernetes/models/v1beta1_device_claim_configuration.rb +1 -1
  693. data/lib/kubernetes/models/v1beta1_device_class.rb +1 -1
  694. data/lib/kubernetes/models/v1beta1_device_class_configuration.rb +1 -1
  695. data/lib/kubernetes/models/v1beta1_device_class_list.rb +1 -1
  696. data/lib/kubernetes/models/v1beta1_device_class_spec.rb +2 -2
  697. data/lib/kubernetes/models/v1beta1_device_constraint.rb +3 -3
  698. data/lib/kubernetes/models/v1beta1_device_counter_consumption.rb +1 -1
  699. data/lib/kubernetes/models/v1beta1_device_request.rb +2 -2
  700. data/lib/kubernetes/models/v1beta1_device_request_allocation_result.rb +4 -4
  701. data/lib/kubernetes/models/v1beta1_device_selector.rb +1 -1
  702. data/lib/kubernetes/models/v1beta1_device_sub_request.rb +2 -2
  703. data/lib/kubernetes/models/v1beta1_device_taint.rb +2 -2
  704. data/lib/kubernetes/models/v1beta1_device_toleration.rb +1 -1
  705. data/lib/kubernetes/models/v1beta1_ip_address.rb +6 -1
  706. data/lib/kubernetes/models/v1beta1_ip_address_list.rb +1 -1
  707. data/lib/kubernetes/models/v1beta1_ip_address_spec.rb +1 -1
  708. data/lib/kubernetes/models/v1beta1_json_patch.rb +1 -1
  709. data/lib/kubernetes/models/v1beta1_lease_candidate.rb +6 -1
  710. data/lib/kubernetes/models/v1beta1_lease_candidate_list.rb +1 -1
  711. data/lib/kubernetes/models/v1beta1_lease_candidate_spec.rb +1 -1
  712. data/lib/kubernetes/models/v1beta1_match_condition.rb +3 -3
  713. data/lib/kubernetes/models/v1beta1_match_resources.rb +3 -3
  714. data/lib/kubernetes/models/v1beta1_mutating_admission_policy.rb +1 -1
  715. data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding.rb +1 -1
  716. data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding_list.rb +1 -1
  717. data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding_spec.rb +1 -1
  718. data/lib/kubernetes/models/v1beta1_mutating_admission_policy_list.rb +1 -1
  719. data/lib/kubernetes/models/v1beta1_mutating_admission_policy_spec.rb +1 -1
  720. data/lib/kubernetes/models/v1beta1_mutation.rb +1 -1
  721. data/lib/kubernetes/models/v1beta1_named_rule_with_operations.rb +6 -6
  722. data/lib/kubernetes/models/v1beta1_network_device_data.rb +3 -3
  723. data/lib/kubernetes/models/v1beta1_node_allocatable_resource_mapping.rb +230 -0
  724. data/lib/kubernetes/models/v1beta1_opaque_device_configuration.rb +1 -1
  725. data/lib/kubernetes/models/v1beta1_param_kind.rb +3 -3
  726. data/lib/kubernetes/models/v1beta1_param_ref.rb +2 -2
  727. data/lib/kubernetes/models/v1beta1_parent_reference.rb +1 -1
  728. data/lib/kubernetes/models/v1beta1_pod_certificate_request.rb +1 -1
  729. data/lib/kubernetes/models/v1beta1_pod_certificate_request_list.rb +1 -1
  730. data/lib/kubernetes/models/v1beta1_pod_certificate_request_spec.rb +46 -28
  731. data/lib/kubernetes/models/v1beta1_pod_certificate_request_status.rb +1 -1
  732. data/lib/kubernetes/models/v1beta1_resource_claim.rb +1 -1
  733. data/lib/kubernetes/models/v1beta1_resource_claim_consumer_reference.rb +1 -1
  734. data/lib/kubernetes/models/v1beta1_resource_claim_list.rb +1 -1
  735. data/lib/kubernetes/models/v1beta1_resource_claim_spec.rb +1 -1
  736. data/lib/kubernetes/models/v1beta1_resource_claim_status.rb +1 -1
  737. data/lib/kubernetes/models/v1beta1_resource_claim_template.rb +1 -1
  738. data/lib/kubernetes/models/v1beta1_resource_claim_template_list.rb +1 -1
  739. data/lib/kubernetes/models/v1beta1_resource_claim_template_spec.rb +1 -1
  740. data/lib/kubernetes/models/v1beta1_resource_pool.rb +1 -1
  741. data/lib/kubernetes/models/v1beta1_resource_slice.rb +1 -1
  742. data/lib/kubernetes/models/v1beta1_resource_slice_list.rb +1 -1
  743. data/lib/kubernetes/models/v1beta1_resource_slice_spec.rb +1 -1
  744. data/lib/kubernetes/models/v1beta1_service_cidr.rb +1 -1
  745. data/lib/kubernetes/models/v1beta1_service_cidr_list.rb +1 -1
  746. data/lib/kubernetes/models/v1beta1_service_cidr_spec.rb +1 -1
  747. data/lib/kubernetes/models/v1beta1_service_cidr_status.rb +1 -1
  748. data/lib/kubernetes/models/v1beta1_storage_version_migration.rb +1 -1
  749. data/lib/kubernetes/models/v1beta1_storage_version_migration_list.rb +1 -1
  750. data/lib/kubernetes/models/v1beta1_storage_version_migration_spec.rb +1 -1
  751. data/lib/kubernetes/models/v1beta1_storage_version_migration_status.rb +1 -1
  752. data/lib/kubernetes/models/v1beta1_variable.rb +3 -3
  753. data/lib/kubernetes/models/v1beta1_volume_attributes_class.rb +1 -1
  754. data/lib/kubernetes/models/v1beta1_volume_attributes_class_list.rb +1 -1
  755. data/lib/kubernetes/models/v1beta2_allocated_device_status.rb +1 -1
  756. data/lib/kubernetes/models/v1beta2_allocation_result.rb +2 -2
  757. data/lib/kubernetes/models/v1beta2_capacity_request_policy.rb +1 -1
  758. data/lib/kubernetes/models/v1beta2_capacity_request_policy_range.rb +1 -1
  759. data/lib/kubernetes/models/v1beta2_capacity_requirements.rb +1 -1
  760. data/lib/kubernetes/models/v1beta2_cel_device_selector.rb +2 -2
  761. data/lib/kubernetes/models/v1beta2_counter.rb +1 -1
  762. data/lib/kubernetes/models/v1beta2_counter_set.rb +1 -1
  763. data/lib/kubernetes/models/v1beta2_device.rb +18 -6
  764. data/lib/kubernetes/models/v1beta2_device_allocation_configuration.rb +1 -1
  765. data/lib/kubernetes/models/v1beta2_device_allocation_result.rb +1 -1
  766. data/lib/kubernetes/models/v1beta2_device_attribute.rb +53 -5
  767. data/lib/kubernetes/models/v1beta2_device_capacity.rb +1 -1
  768. data/lib/kubernetes/models/v1beta2_device_claim.rb +1 -1
  769. data/lib/kubernetes/models/v1beta2_device_claim_configuration.rb +1 -1
  770. data/lib/kubernetes/models/v1beta2_device_class.rb +1 -1
  771. data/lib/kubernetes/models/v1beta2_device_class_configuration.rb +1 -1
  772. data/lib/kubernetes/models/v1beta2_device_class_list.rb +1 -1
  773. data/lib/kubernetes/models/v1beta2_device_class_spec.rb +2 -2
  774. data/lib/kubernetes/models/v1beta2_device_constraint.rb +3 -3
  775. data/lib/kubernetes/models/v1beta2_device_counter_consumption.rb +1 -1
  776. data/lib/kubernetes/models/v1beta2_device_request.rb +1 -1
  777. data/lib/kubernetes/models/v1beta2_device_request_allocation_result.rb +4 -4
  778. data/lib/kubernetes/models/v1beta2_device_selector.rb +1 -1
  779. data/lib/kubernetes/models/v1beta2_device_sub_request.rb +2 -2
  780. data/lib/kubernetes/models/v1beta2_device_taint.rb +2 -2
  781. data/lib/kubernetes/models/{v2_api_group_discovery.rb → v1beta2_device_taint_rule.rb} +28 -14
  782. data/lib/kubernetes/models/{v2beta1_api_group_discovery_list.rb → v1beta2_device_taint_rule_list.rb} +23 -20
  783. data/lib/kubernetes/models/{v1alpha1_pod_group.rb → v1beta2_device_taint_rule_spec.rb} +21 -27
  784. data/lib/kubernetes/models/v1beta2_device_taint_rule_status.rb +222 -0
  785. data/lib/kubernetes/models/{v2beta1_api_version_discovery.rb → v1beta2_device_taint_selector.rb} +27 -33
  786. data/lib/kubernetes/models/v1beta2_device_toleration.rb +1 -1
  787. data/lib/kubernetes/models/v1beta2_exact_device_request.rb +2 -2
  788. data/lib/kubernetes/models/v1beta2_network_device_data.rb +3 -3
  789. data/lib/kubernetes/models/v1beta2_node_allocatable_resource_mapping.rb +230 -0
  790. data/lib/kubernetes/models/v1beta2_opaque_device_configuration.rb +1 -1
  791. data/lib/kubernetes/models/v1beta2_resource_claim.rb +1 -1
  792. data/lib/kubernetes/models/v1beta2_resource_claim_consumer_reference.rb +1 -1
  793. data/lib/kubernetes/models/v1beta2_resource_claim_list.rb +1 -1
  794. data/lib/kubernetes/models/v1beta2_resource_claim_spec.rb +1 -1
  795. data/lib/kubernetes/models/v1beta2_resource_claim_status.rb +1 -1
  796. data/lib/kubernetes/models/v1beta2_resource_claim_template.rb +1 -1
  797. data/lib/kubernetes/models/v1beta2_resource_claim_template_list.rb +1 -1
  798. data/lib/kubernetes/models/v1beta2_resource_claim_template_spec.rb +1 -1
  799. data/lib/kubernetes/models/v1beta2_resource_pool.rb +1 -1
  800. data/lib/kubernetes/models/v1beta2_resource_slice.rb +1 -1
  801. data/lib/kubernetes/models/v1beta2_resource_slice_list.rb +1 -1
  802. data/lib/kubernetes/models/v1beta2_resource_slice_spec.rb +1 -1
  803. data/lib/kubernetes/models/v2_container_resource_metric_source.rb +1 -1
  804. data/lib/kubernetes/models/v2_container_resource_metric_status.rb +1 -1
  805. data/lib/kubernetes/models/v2_cross_version_object_reference.rb +1 -1
  806. data/lib/kubernetes/models/v2_external_metric_source.rb +1 -1
  807. data/lib/kubernetes/models/v2_external_metric_status.rb +1 -1
  808. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler.rb +6 -1
  809. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_behavior.rb +1 -1
  810. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_condition.rb +1 -1
  811. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_list.rb +1 -1
  812. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_spec.rb +1 -1
  813. data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_status.rb +1 -1
  814. data/lib/kubernetes/models/v2_hpa_scaling_policy.rb +1 -1
  815. data/lib/kubernetes/models/v2_hpa_scaling_rules.rb +1 -1
  816. data/lib/kubernetes/models/v2_metric_identifier.rb +1 -1
  817. data/lib/kubernetes/models/v2_metric_spec.rb +1 -1
  818. data/lib/kubernetes/models/v2_metric_status.rb +1 -1
  819. data/lib/kubernetes/models/v2_metric_target.rb +1 -1
  820. data/lib/kubernetes/models/v2_metric_value_status.rb +1 -1
  821. data/lib/kubernetes/models/v2_object_metric_source.rb +1 -1
  822. data/lib/kubernetes/models/v2_object_metric_status.rb +1 -1
  823. data/lib/kubernetes/models/v2_pods_metric_source.rb +1 -1
  824. data/lib/kubernetes/models/v2_pods_metric_status.rb +1 -1
  825. data/lib/kubernetes/models/v2_resource_metric_source.rb +1 -1
  826. data/lib/kubernetes/models/v2_resource_metric_status.rb +1 -1
  827. data/lib/kubernetes/models/version_info.rb +1 -1
  828. data/lib/kubernetes/utils.rb +2 -2
  829. data/lib/kubernetes/version.rb +2 -2
  830. data/lib/kubernetes.rb +46 -20
  831. metadata +54 -32
  832. data/lib/kubernetes/api/scheduling_v1alpha1_api.rb +0 -775
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: release-1.35
6
+ The version of the OpenAPI document: release-1.36
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.1.0
@@ -92,6 +92,79 @@ module Kubernetes
92
92
  return data, status_code, headers
93
93
  end
94
94
 
95
+ # create a ResourcePoolStatusRequest
96
+ # @param body [V1alpha3ResourcePoolStatusRequest]
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
99
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
100
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
101
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
102
+ # @return [V1alpha3ResourcePoolStatusRequest]
103
+ def create_resource_pool_status_request(body, opts = {})
104
+ data, _status_code, _headers = create_resource_pool_status_request_with_http_info(body, opts)
105
+ data
106
+ end
107
+
108
+ # create a ResourcePoolStatusRequest
109
+ # @param body [V1alpha3ResourcePoolStatusRequest]
110
+ # @param [Hash] opts the optional parameters
111
+ # @option opts [String] :pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
112
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
113
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
114
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
115
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
116
+ def create_resource_pool_status_request_with_http_info(body, opts = {})
117
+ if @api_client.config.debugging
118
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.create_resource_pool_status_request ...'
119
+ end
120
+ # verify the required parameter 'body' is set
121
+ if @api_client.config.client_side_validation && body.nil?
122
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.create_resource_pool_status_request"
123
+ end
124
+ # resource path
125
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests'
126
+
127
+ # query parameters
128
+ query_params = opts[:query_params] || {}
129
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
130
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
131
+ query_params[:'fieldManager'] = opts[:'field_manager'] if !opts[:'field_manager'].nil?
132
+ query_params[:'fieldValidation'] = opts[:'field_validation'] if !opts[:'field_validation'].nil?
133
+
134
+ # header parameters
135
+ header_params = opts[:header_params] || {}
136
+ # HTTP header 'Accept' (if needed)
137
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
138
+
139
+ # form parameters
140
+ form_params = opts[:form_params] || {}
141
+
142
+ # http body (model)
143
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
144
+
145
+ # return_type
146
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
147
+
148
+ # auth_names
149
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
150
+
151
+ new_options = opts.merge(
152
+ :operation => :"ResourceV1alpha3Api.create_resource_pool_status_request",
153
+ :header_params => header_params,
154
+ :query_params => query_params,
155
+ :form_params => form_params,
156
+ :body => post_body,
157
+ :auth_names => auth_names,
158
+ :return_type => return_type
159
+ )
160
+
161
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
162
+ if @api_client.config.debugging
163
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#create_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
164
+ end
165
+ return data, status_code, headers
166
+ end
167
+
95
168
  # delete collection of DeviceTaintRule
96
169
  # @param [Hash] opts the optional parameters
97
170
  # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
@@ -107,6 +180,7 @@ module Kubernetes
107
180
  # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
108
181
  # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
109
182
  # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
183
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
110
184
  # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
111
185
  # @option opts [V1DeleteOptions] :body
112
186
  # @return [V1Status]
@@ -130,6 +204,7 @@ module Kubernetes
130
204
  # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
131
205
  # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
132
206
  # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
207
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
133
208
  # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
134
209
  # @option opts [V1DeleteOptions] :body
135
210
  # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
@@ -155,6 +230,7 @@ module Kubernetes
155
230
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
156
231
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
157
232
  query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
233
+ query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
158
234
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
159
235
 
160
236
  # header parameters
@@ -191,6 +267,108 @@ module Kubernetes
191
267
  return data, status_code, headers
192
268
  end
193
269
 
270
+ # delete collection of ResourcePoolStatusRequest
271
+ # @param [Hash] opts the optional parameters
272
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
273
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
274
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
275
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
276
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
277
+ # @option opts [Boolean] :ignore_store_read_error_with_cluster_breaking_potential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
278
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
279
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
280
+ # @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
281
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
282
+ # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
283
+ # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
284
+ # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
285
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
286
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
287
+ # @option opts [V1DeleteOptions] :body
288
+ # @return [V1Status]
289
+ def delete_collection_resource_pool_status_request(opts = {})
290
+ data, _status_code, _headers = delete_collection_resource_pool_status_request_with_http_info(opts)
291
+ data
292
+ end
293
+
294
+ # delete collection of ResourcePoolStatusRequest
295
+ # @param [Hash] opts the optional parameters
296
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
297
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
298
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
299
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
300
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
301
+ # @option opts [Boolean] :ignore_store_read_error_with_cluster_breaking_potential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
302
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
303
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
304
+ # @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
305
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
306
+ # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
307
+ # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
308
+ # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
309
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
310
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
311
+ # @option opts [V1DeleteOptions] :body
312
+ # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
313
+ def delete_collection_resource_pool_status_request_with_http_info(opts = {})
314
+ if @api_client.config.debugging
315
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.delete_collection_resource_pool_status_request ...'
316
+ end
317
+ # resource path
318
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests'
319
+
320
+ # query parameters
321
+ query_params = opts[:query_params] || {}
322
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
323
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
324
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
325
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
326
+ query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
327
+ query_params[:'ignoreStoreReadErrorWithClusterBreakingPotential'] = opts[:'ignore_store_read_error_with_cluster_breaking_potential'] if !opts[:'ignore_store_read_error_with_cluster_breaking_potential'].nil?
328
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
329
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
330
+ query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
331
+ query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
332
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
333
+ query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
334
+ query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
335
+ query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
336
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
337
+
338
+ # header parameters
339
+ header_params = opts[:header_params] || {}
340
+ # HTTP header 'Accept' (if needed)
341
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
342
+
343
+ # form parameters
344
+ form_params = opts[:form_params] || {}
345
+
346
+ # http body (model)
347
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
348
+
349
+ # return_type
350
+ return_type = opts[:debug_return_type] || 'V1Status'
351
+
352
+ # auth_names
353
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
354
+
355
+ new_options = opts.merge(
356
+ :operation => :"ResourceV1alpha3Api.delete_collection_resource_pool_status_request",
357
+ :header_params => header_params,
358
+ :query_params => query_params,
359
+ :form_params => form_params,
360
+ :body => post_body,
361
+ :auth_names => auth_names,
362
+ :return_type => return_type
363
+ )
364
+
365
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
366
+ if @api_client.config.debugging
367
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#delete_collection_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
368
+ end
369
+ return data, status_code, headers
370
+ end
371
+
194
372
  # delete a DeviceTaintRule
195
373
  # @param name [String] name of the DeviceTaintRule
196
374
  # @param [Hash] opts the optional parameters
@@ -272,20 +450,101 @@ module Kubernetes
272
450
  return data, status_code, headers
273
451
  end
274
452
 
453
+ # delete a ResourcePoolStatusRequest
454
+ # @param name [String] name of the ResourcePoolStatusRequest
455
+ # @param [Hash] opts the optional parameters
456
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
457
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
458
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
459
+ # @option opts [Boolean] :ignore_store_read_error_with_cluster_breaking_potential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
460
+ # @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
461
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
462
+ # @option opts [V1DeleteOptions] :body
463
+ # @return [V1alpha3ResourcePoolStatusRequest]
464
+ def delete_resource_pool_status_request(name, opts = {})
465
+ data, _status_code, _headers = delete_resource_pool_status_request_with_http_info(name, opts)
466
+ data
467
+ end
468
+
469
+ # delete a ResourcePoolStatusRequest
470
+ # @param name [String] name of the ResourcePoolStatusRequest
471
+ # @param [Hash] opts the optional parameters
472
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
473
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
474
+ # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
475
+ # @option opts [Boolean] :ignore_store_read_error_with_cluster_breaking_potential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
476
+ # @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.
477
+ # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.
478
+ # @option opts [V1DeleteOptions] :body
479
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
480
+ def delete_resource_pool_status_request_with_http_info(name, opts = {})
481
+ if @api_client.config.debugging
482
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.delete_resource_pool_status_request ...'
483
+ end
484
+ # verify the required parameter 'name' is set
485
+ if @api_client.config.client_side_validation && name.nil?
486
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.delete_resource_pool_status_request"
487
+ end
488
+ # resource path
489
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
490
+
491
+ # query parameters
492
+ query_params = opts[:query_params] || {}
493
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
494
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
495
+ query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
496
+ query_params[:'ignoreStoreReadErrorWithClusterBreakingPotential'] = opts[:'ignore_store_read_error_with_cluster_breaking_potential'] if !opts[:'ignore_store_read_error_with_cluster_breaking_potential'].nil?
497
+ query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
498
+ query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
499
+
500
+ # header parameters
501
+ header_params = opts[:header_params] || {}
502
+ # HTTP header 'Accept' (if needed)
503
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
504
+
505
+ # form parameters
506
+ form_params = opts[:form_params] || {}
507
+
508
+ # http body (model)
509
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
510
+
511
+ # return_type
512
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
513
+
514
+ # auth_names
515
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
516
+
517
+ new_options = opts.merge(
518
+ :operation => :"ResourceV1alpha3Api.delete_resource_pool_status_request",
519
+ :header_params => header_params,
520
+ :query_params => query_params,
521
+ :form_params => form_params,
522
+ :body => post_body,
523
+ :auth_names => auth_names,
524
+ :return_type => return_type
525
+ )
526
+
527
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
528
+ if @api_client.config.debugging
529
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#delete_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
530
+ end
531
+ return data, status_code, headers
532
+ end
533
+
275
534
  # get available resources
276
535
  # @param [Hash] opts the optional parameters
277
536
  # @return [V1APIResourceList]
278
- def get_api_resources_resource_v1alpha3(opts = {})
279
- data, _status_code, _headers = get_api_resources_resource_v1alpha3_with_http_info(opts)
537
+ def get_api_resources_get_apis_resource_k8s_io_v1alpha3(opts = {})
538
+ data, _status_code, _headers = get_api_resources_get_apis_resource_k8s_io_v1alpha3_with_http_info(opts)
280
539
  data
281
540
  end
282
541
 
283
542
  # get available resources
284
543
  # @param [Hash] opts the optional parameters
285
544
  # @return [Array<(V1APIResourceList, Integer, Hash)>] V1APIResourceList data, response status code and response headers
286
- def get_api_resources_resource_v1alpha3_with_http_info(opts = {})
545
+ def get_api_resources_get_apis_resource_k8s_io_v1alpha3_with_http_info(opts = {})
287
546
  if @api_client.config.debugging
288
- @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.get_api_resources_resource_v1alpha3 ...'
547
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.get_api_resources_get_apis_resource_k8s_io_v1alpha3 ...'
289
548
  end
290
549
  # resource path
291
550
  local_var_path = '/apis/resource.k8s.io/v1alpha3/'
@@ -311,7 +570,7 @@ module Kubernetes
311
570
  auth_names = opts[:debug_auth_names] || ['BearerToken']
312
571
 
313
572
  new_options = opts.merge(
314
- :operation => :"ResourceV1alpha3Api.get_api_resources_resource_v1alpha3",
573
+ :operation => :"ResourceV1alpha3Api.get_api_resources_get_apis_resource_k8s_io_v1alpha3",
315
574
  :header_params => header_params,
316
575
  :query_params => query_params,
317
576
  :form_params => form_params,
@@ -322,7 +581,7 @@ module Kubernetes
322
581
 
323
582
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
324
583
  if @api_client.config.debugging
325
- @api_client.config.logger.debug "API called: ResourceV1alpha3Api#get_api_resources_resource_v1alpha3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
584
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#get_api_resources_get_apis_resource_k8s_io_v1alpha3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
326
585
  end
327
586
  return data, status_code, headers
328
587
  end
@@ -338,6 +597,7 @@ module Kubernetes
338
597
  # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
339
598
  # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
340
599
  # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
600
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
341
601
  # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
342
602
  # @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
343
603
  # @return [V1alpha3DeviceTaintRuleList]
@@ -357,6 +617,7 @@ module Kubernetes
357
617
  # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
358
618
  # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
359
619
  # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
620
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
360
621
  # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
361
622
  # @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
362
623
  # @return [Array<(V1alpha3DeviceTaintRuleList, Integer, Hash)>] V1alpha3DeviceTaintRuleList data, response status code and response headers
@@ -378,6 +639,7 @@ module Kubernetes
378
639
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
379
640
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
380
641
  query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
642
+ query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
381
643
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
382
644
  query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
383
645
 
@@ -408,15 +670,274 @@ module Kubernetes
408
670
  :return_type => return_type
409
671
  )
410
672
 
411
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
673
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
674
+ if @api_client.config.debugging
675
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#list_device_taint_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
676
+ end
677
+ return data, status_code, headers
678
+ end
679
+
680
+ # list or watch objects of kind ResourcePoolStatusRequest
681
+ # @param [Hash] opts the optional parameters
682
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
683
+ # @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \&quot;BOOKMARK\&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
684
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
685
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
686
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
687
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
688
+ # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
689
+ # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
690
+ # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
691
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
692
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
693
+ # @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
694
+ # @return [V1alpha3ResourcePoolStatusRequestList]
695
+ def list_resource_pool_status_request(opts = {})
696
+ data, _status_code, _headers = list_resource_pool_status_request_with_http_info(opts)
697
+ data
698
+ end
699
+
700
+ # list or watch objects of kind ResourcePoolStatusRequest
701
+ # @param [Hash] opts the optional parameters
702
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
703
+ # @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \&quot;BOOKMARK\&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
704
+ # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
705
+ # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
706
+ # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything.
707
+ # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
708
+ # @option opts [String] :resource_version resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
709
+ # @option opts [String] :resource_version_match resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
710
+ # @option opts [Boolean] :send_initial_events &#x60;sendInitialEvents&#x3D;true&#x60; may be set together with &#x60;watch&#x3D;true&#x60;. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \&quot;Bookmark\&quot; event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with &#x60;\&quot;k8s.io/initial-events-end\&quot;: \&quot;true\&quot;&#x60; annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When &#x60;sendInitialEvents&#x60; option is set, we require &#x60;resourceVersionMatch&#x60; option to also be set. The semantic of the watch request is as following: - &#x60;resourceVersionMatch&#x60; &#x3D; NotOlderThan is interpreted as \&quot;data at least as new as the provided &#x60;resourceVersion&#x60;\&quot; and the bookmark event is send when the state is synced to a &#x60;resourceVersion&#x60; at least as fresh as the one provided by the ListOptions. If &#x60;resourceVersion&#x60; is unset, this is interpreted as \&quot;consistent read\&quot; and the bookmark event is send when the state is synced at least to the moment when request started being processed. - &#x60;resourceVersionMatch&#x60; set to any other value or unset Invalid error is returned. Defaults to true if &#x60;resourceVersion&#x3D;\&quot;\&quot;&#x60; or &#x60;resourceVersion&#x3D;\&quot;0\&quot;&#x60; (for backward compatibility reasons) and to false otherwise.
711
+ # @option opts [String] :shard_selector shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges: shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) shardRange(object.metadata.uid, &#39;0x0&#39;, &#39;0x8000000000000000&#39;) || shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) Field paths use CEL-style object-rooted syntax (e.g. \&quot;object.metadata.uid\&quot;), NOT the fieldSelector format (\&quot;metadata.uid\&quot;). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a &#39;0x&#39; prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64. Examples: 2-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0x10000000000000000&#39;) 4-shard split: shard 0: shardRange(object.metadata.uid, &#39;0x0000000000000000&#39;, &#39;0x4000000000000000&#39;) shard 1: shardRange(object.metadata.uid, &#39;0x4000000000000000&#39;, &#39;0x8000000000000000&#39;) shard 2: shardRange(object.metadata.uid, &#39;0x8000000000000000&#39;, &#39;0xc000000000000000&#39;) shard 3: shardRange(object.metadata.uid, &#39;0xc000000000000000&#39;, &#39;0x10000000000000000&#39;) This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
712
+ # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
713
+ # @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
714
+ # @return [Array<(V1alpha3ResourcePoolStatusRequestList, Integer, Hash)>] V1alpha3ResourcePoolStatusRequestList data, response status code and response headers
715
+ def list_resource_pool_status_request_with_http_info(opts = {})
716
+ if @api_client.config.debugging
717
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.list_resource_pool_status_request ...'
718
+ end
719
+ # resource path
720
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests'
721
+
722
+ # query parameters
723
+ query_params = opts[:query_params] || {}
724
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
725
+ query_params[:'allowWatchBookmarks'] = opts[:'allow_watch_bookmarks'] if !opts[:'allow_watch_bookmarks'].nil?
726
+ query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
727
+ query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
728
+ query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
729
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
730
+ query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
731
+ query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
732
+ query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
733
+ query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
734
+ query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
735
+ query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
736
+
737
+ # header parameters
738
+ header_params = opts[:header_params] || {}
739
+ # HTTP header 'Accept' (if needed)
740
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq'])
741
+
742
+ # form parameters
743
+ form_params = opts[:form_params] || {}
744
+
745
+ # http body (model)
746
+ post_body = opts[:debug_body]
747
+
748
+ # return_type
749
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequestList'
750
+
751
+ # auth_names
752
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
753
+
754
+ new_options = opts.merge(
755
+ :operation => :"ResourceV1alpha3Api.list_resource_pool_status_request",
756
+ :header_params => header_params,
757
+ :query_params => query_params,
758
+ :form_params => form_params,
759
+ :body => post_body,
760
+ :auth_names => auth_names,
761
+ :return_type => return_type
762
+ )
763
+
764
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
765
+ if @api_client.config.debugging
766
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#list_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
767
+ end
768
+ return data, status_code, headers
769
+ end
770
+
771
+ # partially update the specified DeviceTaintRule
772
+ # @param name [String] name of the DeviceTaintRule
773
+ # @param body [Object]
774
+ # @param [Hash] opts the optional parameters
775
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
776
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
777
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
778
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
779
+ # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
780
+ # @return [V1alpha3DeviceTaintRule]
781
+ def patch_device_taint_rule(name, body, opts = {})
782
+ data, _status_code, _headers = patch_device_taint_rule_with_http_info(name, body, opts)
783
+ data
784
+ end
785
+
786
+ # partially update the specified DeviceTaintRule
787
+ # @param name [String] name of the DeviceTaintRule
788
+ # @param body [Object]
789
+ # @param [Hash] opts the optional parameters
790
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
791
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
792
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
793
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
794
+ # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
795
+ # @return [Array<(V1alpha3DeviceTaintRule, Integer, Hash)>] V1alpha3DeviceTaintRule data, response status code and response headers
796
+ def patch_device_taint_rule_with_http_info(name, body, opts = {})
797
+ if @api_client.config.debugging
798
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_device_taint_rule ...'
799
+ end
800
+ # verify the required parameter 'name' is set
801
+ if @api_client.config.client_side_validation && name.nil?
802
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_device_taint_rule"
803
+ end
804
+ # verify the required parameter 'body' is set
805
+ if @api_client.config.client_side_validation && body.nil?
806
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_device_taint_rule"
807
+ end
808
+ # resource path
809
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
810
+
811
+ # query parameters
812
+ query_params = opts[:query_params] || {}
813
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
814
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
815
+ query_params[:'fieldManager'] = opts[:'field_manager'] if !opts[:'field_manager'].nil?
816
+ query_params[:'fieldValidation'] = opts[:'field_validation'] if !opts[:'field_validation'].nil?
817
+ query_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
818
+
819
+ # header parameters
820
+ header_params = opts[:header_params] || {}
821
+ # HTTP header 'Accept' (if needed)
822
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
823
+ # HTTP header 'Content-Type'
824
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'])
825
+
826
+ # form parameters
827
+ form_params = opts[:form_params] || {}
828
+
829
+ # http body (model)
830
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
831
+
832
+ # return_type
833
+ return_type = opts[:debug_return_type] || 'V1alpha3DeviceTaintRule'
834
+
835
+ # auth_names
836
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
837
+
838
+ new_options = opts.merge(
839
+ :operation => :"ResourceV1alpha3Api.patch_device_taint_rule",
840
+ :header_params => header_params,
841
+ :query_params => query_params,
842
+ :form_params => form_params,
843
+ :body => post_body,
844
+ :auth_names => auth_names,
845
+ :return_type => return_type
846
+ )
847
+
848
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
849
+ if @api_client.config.debugging
850
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_device_taint_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
851
+ end
852
+ return data, status_code, headers
853
+ end
854
+
855
+ # partially update status of the specified DeviceTaintRule
856
+ # @param name [String] name of the DeviceTaintRule
857
+ # @param body [Object]
858
+ # @param [Hash] opts the optional parameters
859
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
860
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
861
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
862
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
863
+ # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
864
+ # @return [V1alpha3DeviceTaintRule]
865
+ def patch_device_taint_rule_status(name, body, opts = {})
866
+ data, _status_code, _headers = patch_device_taint_rule_status_with_http_info(name, body, opts)
867
+ data
868
+ end
869
+
870
+ # partially update status of the specified DeviceTaintRule
871
+ # @param name [String] name of the DeviceTaintRule
872
+ # @param body [Object]
873
+ # @param [Hash] opts the optional parameters
874
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
875
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
876
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
877
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
878
+ # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
879
+ # @return [Array<(V1alpha3DeviceTaintRule, Integer, Hash)>] V1alpha3DeviceTaintRule data, response status code and response headers
880
+ def patch_device_taint_rule_status_with_http_info(name, body, opts = {})
881
+ if @api_client.config.debugging
882
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_device_taint_rule_status ...'
883
+ end
884
+ # verify the required parameter 'name' is set
885
+ if @api_client.config.client_side_validation && name.nil?
886
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_device_taint_rule_status"
887
+ end
888
+ # verify the required parameter 'body' is set
889
+ if @api_client.config.client_side_validation && body.nil?
890
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_device_taint_rule_status"
891
+ end
892
+ # resource path
893
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
894
+
895
+ # query parameters
896
+ query_params = opts[:query_params] || {}
897
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
898
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
899
+ query_params[:'fieldManager'] = opts[:'field_manager'] if !opts[:'field_manager'].nil?
900
+ query_params[:'fieldValidation'] = opts[:'field_validation'] if !opts[:'field_validation'].nil?
901
+ query_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
902
+
903
+ # header parameters
904
+ header_params = opts[:header_params] || {}
905
+ # HTTP header 'Accept' (if needed)
906
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
907
+ # HTTP header 'Content-Type'
908
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'])
909
+
910
+ # form parameters
911
+ form_params = opts[:form_params] || {}
912
+
913
+ # http body (model)
914
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
915
+
916
+ # return_type
917
+ return_type = opts[:debug_return_type] || 'V1alpha3DeviceTaintRule'
918
+
919
+ # auth_names
920
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
921
+
922
+ new_options = opts.merge(
923
+ :operation => :"ResourceV1alpha3Api.patch_device_taint_rule_status",
924
+ :header_params => header_params,
925
+ :query_params => query_params,
926
+ :form_params => form_params,
927
+ :body => post_body,
928
+ :auth_names => auth_names,
929
+ :return_type => return_type
930
+ )
931
+
932
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
412
933
  if @api_client.config.debugging
413
- @api_client.config.logger.debug "API called: ResourceV1alpha3Api#list_device_taint_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
934
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_device_taint_rule_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
414
935
  end
415
936
  return data, status_code, headers
416
937
  end
417
938
 
418
- # partially update the specified DeviceTaintRule
419
- # @param name [String] name of the DeviceTaintRule
939
+ # partially update the specified ResourcePoolStatusRequest
940
+ # @param name [String] name of the ResourcePoolStatusRequest
420
941
  # @param body [Object]
421
942
  # @param [Hash] opts the optional parameters
422
943
  # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
@@ -424,14 +945,14 @@ module Kubernetes
424
945
  # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
425
946
  # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
426
947
  # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
427
- # @return [V1alpha3DeviceTaintRule]
428
- def patch_device_taint_rule(name, body, opts = {})
429
- data, _status_code, _headers = patch_device_taint_rule_with_http_info(name, body, opts)
948
+ # @return [V1alpha3ResourcePoolStatusRequest]
949
+ def patch_resource_pool_status_request(name, body, opts = {})
950
+ data, _status_code, _headers = patch_resource_pool_status_request_with_http_info(name, body, opts)
430
951
  data
431
952
  end
432
953
 
433
- # partially update the specified DeviceTaintRule
434
- # @param name [String] name of the DeviceTaintRule
954
+ # partially update the specified ResourcePoolStatusRequest
955
+ # @param name [String] name of the ResourcePoolStatusRequest
435
956
  # @param body [Object]
436
957
  # @param [Hash] opts the optional parameters
437
958
  # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
@@ -439,21 +960,21 @@ module Kubernetes
439
960
  # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
440
961
  # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
441
962
  # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
442
- # @return [Array<(V1alpha3DeviceTaintRule, Integer, Hash)>] V1alpha3DeviceTaintRule data, response status code and response headers
443
- def patch_device_taint_rule_with_http_info(name, body, opts = {})
963
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
964
+ def patch_resource_pool_status_request_with_http_info(name, body, opts = {})
444
965
  if @api_client.config.debugging
445
- @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_device_taint_rule ...'
966
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_resource_pool_status_request ...'
446
967
  end
447
968
  # verify the required parameter 'name' is set
448
969
  if @api_client.config.client_side_validation && name.nil?
449
- fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_device_taint_rule"
970
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_resource_pool_status_request"
450
971
  end
451
972
  # verify the required parameter 'body' is set
452
973
  if @api_client.config.client_side_validation && body.nil?
453
- fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_device_taint_rule"
974
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_resource_pool_status_request"
454
975
  end
455
976
  # resource path
456
- local_var_path = '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
977
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
457
978
 
458
979
  # query parameters
459
980
  query_params = opts[:query_params] || {}
@@ -477,13 +998,13 @@ module Kubernetes
477
998
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
478
999
 
479
1000
  # return_type
480
- return_type = opts[:debug_return_type] || 'V1alpha3DeviceTaintRule'
1001
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
481
1002
 
482
1003
  # auth_names
483
1004
  auth_names = opts[:debug_auth_names] || ['BearerToken']
484
1005
 
485
1006
  new_options = opts.merge(
486
- :operation => :"ResourceV1alpha3Api.patch_device_taint_rule",
1007
+ :operation => :"ResourceV1alpha3Api.patch_resource_pool_status_request",
487
1008
  :header_params => header_params,
488
1009
  :query_params => query_params,
489
1010
  :form_params => form_params,
@@ -494,13 +1015,13 @@ module Kubernetes
494
1015
 
495
1016
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
496
1017
  if @api_client.config.debugging
497
- @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_device_taint_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1018
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
498
1019
  end
499
1020
  return data, status_code, headers
500
1021
  end
501
1022
 
502
- # partially update status of the specified DeviceTaintRule
503
- # @param name [String] name of the DeviceTaintRule
1023
+ # partially update status of the specified ResourcePoolStatusRequest
1024
+ # @param name [String] name of the ResourcePoolStatusRequest
504
1025
  # @param body [Object]
505
1026
  # @param [Hash] opts the optional parameters
506
1027
  # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
@@ -508,14 +1029,14 @@ module Kubernetes
508
1029
  # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
509
1030
  # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
510
1031
  # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
511
- # @return [V1alpha3DeviceTaintRule]
512
- def patch_device_taint_rule_status(name, body, opts = {})
513
- data, _status_code, _headers = patch_device_taint_rule_status_with_http_info(name, body, opts)
1032
+ # @return [V1alpha3ResourcePoolStatusRequest]
1033
+ def patch_resource_pool_status_request_status(name, body, opts = {})
1034
+ data, _status_code, _headers = patch_resource_pool_status_request_status_with_http_info(name, body, opts)
514
1035
  data
515
1036
  end
516
1037
 
517
- # partially update status of the specified DeviceTaintRule
518
- # @param name [String] name of the DeviceTaintRule
1038
+ # partially update status of the specified ResourcePoolStatusRequest
1039
+ # @param name [String] name of the ResourcePoolStatusRequest
519
1040
  # @param body [Object]
520
1041
  # @param [Hash] opts the optional parameters
521
1042
  # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
@@ -523,21 +1044,21 @@ module Kubernetes
523
1044
  # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
524
1045
  # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
525
1046
  # @option opts [Boolean] :force Force is going to \&quot;force\&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
526
- # @return [Array<(V1alpha3DeviceTaintRule, Integer, Hash)>] V1alpha3DeviceTaintRule data, response status code and response headers
527
- def patch_device_taint_rule_status_with_http_info(name, body, opts = {})
1047
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
1048
+ def patch_resource_pool_status_request_status_with_http_info(name, body, opts = {})
528
1049
  if @api_client.config.debugging
529
- @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_device_taint_rule_status ...'
1050
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.patch_resource_pool_status_request_status ...'
530
1051
  end
531
1052
  # verify the required parameter 'name' is set
532
1053
  if @api_client.config.client_side_validation && name.nil?
533
- fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_device_taint_rule_status"
1054
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.patch_resource_pool_status_request_status"
534
1055
  end
535
1056
  # verify the required parameter 'body' is set
536
1057
  if @api_client.config.client_side_validation && body.nil?
537
- fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_device_taint_rule_status"
1058
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.patch_resource_pool_status_request_status"
538
1059
  end
539
1060
  # resource path
540
- local_var_path = '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1061
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
541
1062
 
542
1063
  # query parameters
543
1064
  query_params = opts[:query_params] || {}
@@ -561,13 +1082,13 @@ module Kubernetes
561
1082
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
562
1083
 
563
1084
  # return_type
564
- return_type = opts[:debug_return_type] || 'V1alpha3DeviceTaintRule'
1085
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
565
1086
 
566
1087
  # auth_names
567
1088
  auth_names = opts[:debug_auth_names] || ['BearerToken']
568
1089
 
569
1090
  new_options = opts.merge(
570
- :operation => :"ResourceV1alpha3Api.patch_device_taint_rule_status",
1091
+ :operation => :"ResourceV1alpha3Api.patch_resource_pool_status_request_status",
571
1092
  :header_params => header_params,
572
1093
  :query_params => query_params,
573
1094
  :form_params => form_params,
@@ -578,7 +1099,7 @@ module Kubernetes
578
1099
 
579
1100
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
580
1101
  if @api_client.config.debugging
581
- @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_device_taint_rule_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1102
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#patch_resource_pool_status_request_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
582
1103
  end
583
1104
  return data, status_code, headers
584
1105
  end
@@ -711,6 +1232,134 @@ module Kubernetes
711
1232
  return data, status_code, headers
712
1233
  end
713
1234
 
1235
+ # read the specified ResourcePoolStatusRequest
1236
+ # @param name [String] name of the ResourcePoolStatusRequest
1237
+ # @param [Hash] opts the optional parameters
1238
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1239
+ # @return [V1alpha3ResourcePoolStatusRequest]
1240
+ def read_resource_pool_status_request(name, opts = {})
1241
+ data, _status_code, _headers = read_resource_pool_status_request_with_http_info(name, opts)
1242
+ data
1243
+ end
1244
+
1245
+ # read the specified ResourcePoolStatusRequest
1246
+ # @param name [String] name of the ResourcePoolStatusRequest
1247
+ # @param [Hash] opts the optional parameters
1248
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1249
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
1250
+ def read_resource_pool_status_request_with_http_info(name, opts = {})
1251
+ if @api_client.config.debugging
1252
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.read_resource_pool_status_request ...'
1253
+ end
1254
+ # verify the required parameter 'name' is set
1255
+ if @api_client.config.client_side_validation && name.nil?
1256
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.read_resource_pool_status_request"
1257
+ end
1258
+ # resource path
1259
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1260
+
1261
+ # query parameters
1262
+ query_params = opts[:query_params] || {}
1263
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1264
+
1265
+ # header parameters
1266
+ header_params = opts[:header_params] || {}
1267
+ # HTTP header 'Accept' (if needed)
1268
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
1269
+
1270
+ # form parameters
1271
+ form_params = opts[:form_params] || {}
1272
+
1273
+ # http body (model)
1274
+ post_body = opts[:debug_body]
1275
+
1276
+ # return_type
1277
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
1278
+
1279
+ # auth_names
1280
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
1281
+
1282
+ new_options = opts.merge(
1283
+ :operation => :"ResourceV1alpha3Api.read_resource_pool_status_request",
1284
+ :header_params => header_params,
1285
+ :query_params => query_params,
1286
+ :form_params => form_params,
1287
+ :body => post_body,
1288
+ :auth_names => auth_names,
1289
+ :return_type => return_type
1290
+ )
1291
+
1292
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1293
+ if @api_client.config.debugging
1294
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#read_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1295
+ end
1296
+ return data, status_code, headers
1297
+ end
1298
+
1299
+ # read status of the specified ResourcePoolStatusRequest
1300
+ # @param name [String] name of the ResourcePoolStatusRequest
1301
+ # @param [Hash] opts the optional parameters
1302
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1303
+ # @return [V1alpha3ResourcePoolStatusRequest]
1304
+ def read_resource_pool_status_request_status(name, opts = {})
1305
+ data, _status_code, _headers = read_resource_pool_status_request_status_with_http_info(name, opts)
1306
+ data
1307
+ end
1308
+
1309
+ # read status of the specified ResourcePoolStatusRequest
1310
+ # @param name [String] name of the ResourcePoolStatusRequest
1311
+ # @param [Hash] opts the optional parameters
1312
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1313
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
1314
+ def read_resource_pool_status_request_status_with_http_info(name, opts = {})
1315
+ if @api_client.config.debugging
1316
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.read_resource_pool_status_request_status ...'
1317
+ end
1318
+ # verify the required parameter 'name' is set
1319
+ if @api_client.config.client_side_validation && name.nil?
1320
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.read_resource_pool_status_request_status"
1321
+ end
1322
+ # resource path
1323
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1324
+
1325
+ # query parameters
1326
+ query_params = opts[:query_params] || {}
1327
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1328
+
1329
+ # header parameters
1330
+ header_params = opts[:header_params] || {}
1331
+ # HTTP header 'Accept' (if needed)
1332
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
1333
+
1334
+ # form parameters
1335
+ form_params = opts[:form_params] || {}
1336
+
1337
+ # http body (model)
1338
+ post_body = opts[:debug_body]
1339
+
1340
+ # return_type
1341
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
1342
+
1343
+ # auth_names
1344
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
1345
+
1346
+ new_options = opts.merge(
1347
+ :operation => :"ResourceV1alpha3Api.read_resource_pool_status_request_status",
1348
+ :header_params => header_params,
1349
+ :query_params => query_params,
1350
+ :form_params => form_params,
1351
+ :body => post_body,
1352
+ :auth_names => auth_names,
1353
+ :return_type => return_type
1354
+ )
1355
+
1356
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1357
+ if @api_client.config.debugging
1358
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#read_resource_pool_status_request_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1359
+ end
1360
+ return data, status_code, headers
1361
+ end
1362
+
714
1363
  # replace the specified DeviceTaintRule
715
1364
  # @param name [String] name of the DeviceTaintRule
716
1365
  # @param body [V1alpha3DeviceTaintRule]
@@ -868,5 +1517,163 @@ module Kubernetes
868
1517
  end
869
1518
  return data, status_code, headers
870
1519
  end
1520
+
1521
+ # replace the specified ResourcePoolStatusRequest
1522
+ # @param name [String] name of the ResourcePoolStatusRequest
1523
+ # @param body [V1alpha3ResourcePoolStatusRequest]
1524
+ # @param [Hash] opts the optional parameters
1525
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1526
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1527
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
1528
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1529
+ # @return [V1alpha3ResourcePoolStatusRequest]
1530
+ def replace_resource_pool_status_request(name, body, opts = {})
1531
+ data, _status_code, _headers = replace_resource_pool_status_request_with_http_info(name, body, opts)
1532
+ data
1533
+ end
1534
+
1535
+ # replace the specified ResourcePoolStatusRequest
1536
+ # @param name [String] name of the ResourcePoolStatusRequest
1537
+ # @param body [V1alpha3ResourcePoolStatusRequest]
1538
+ # @param [Hash] opts the optional parameters
1539
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1540
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1541
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
1542
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1543
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
1544
+ def replace_resource_pool_status_request_with_http_info(name, body, opts = {})
1545
+ if @api_client.config.debugging
1546
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.replace_resource_pool_status_request ...'
1547
+ end
1548
+ # verify the required parameter 'name' is set
1549
+ if @api_client.config.client_side_validation && name.nil?
1550
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.replace_resource_pool_status_request"
1551
+ end
1552
+ # verify the required parameter 'body' is set
1553
+ if @api_client.config.client_side_validation && body.nil?
1554
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.replace_resource_pool_status_request"
1555
+ end
1556
+ # resource path
1557
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1558
+
1559
+ # query parameters
1560
+ query_params = opts[:query_params] || {}
1561
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1562
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1563
+ query_params[:'fieldManager'] = opts[:'field_manager'] if !opts[:'field_manager'].nil?
1564
+ query_params[:'fieldValidation'] = opts[:'field_validation'] if !opts[:'field_validation'].nil?
1565
+
1566
+ # header parameters
1567
+ header_params = opts[:header_params] || {}
1568
+ # HTTP header 'Accept' (if needed)
1569
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
1570
+
1571
+ # form parameters
1572
+ form_params = opts[:form_params] || {}
1573
+
1574
+ # http body (model)
1575
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1576
+
1577
+ # return_type
1578
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
1579
+
1580
+ # auth_names
1581
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
1582
+
1583
+ new_options = opts.merge(
1584
+ :operation => :"ResourceV1alpha3Api.replace_resource_pool_status_request",
1585
+ :header_params => header_params,
1586
+ :query_params => query_params,
1587
+ :form_params => form_params,
1588
+ :body => post_body,
1589
+ :auth_names => auth_names,
1590
+ :return_type => return_type
1591
+ )
1592
+
1593
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1594
+ if @api_client.config.debugging
1595
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#replace_resource_pool_status_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1596
+ end
1597
+ return data, status_code, headers
1598
+ end
1599
+
1600
+ # replace status of the specified ResourcePoolStatusRequest
1601
+ # @param name [String] name of the ResourcePoolStatusRequest
1602
+ # @param body [V1alpha3ResourcePoolStatusRequest]
1603
+ # @param [Hash] opts the optional parameters
1604
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1605
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1606
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
1607
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1608
+ # @return [V1alpha3ResourcePoolStatusRequest]
1609
+ def replace_resource_pool_status_request_status(name, body, opts = {})
1610
+ data, _status_code, _headers = replace_resource_pool_status_request_status_with_http_info(name, body, opts)
1611
+ data
1612
+ end
1613
+
1614
+ # replace status of the specified ResourcePoolStatusRequest
1615
+ # @param name [String] name of the ResourcePoolStatusRequest
1616
+ # @param body [V1alpha3ResourcePoolStatusRequest]
1617
+ # @param [Hash] opts the optional parameters
1618
+ # @option opts [String] :pretty If &#39;true&#39;, then the output is pretty printed. Defaults to &#39;false&#39; unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
1619
+ # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1620
+ # @option opts [String] :field_manager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
1621
+ # @option opts [String] :field_validation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1622
+ # @return [Array<(V1alpha3ResourcePoolStatusRequest, Integer, Hash)>] V1alpha3ResourcePoolStatusRequest data, response status code and response headers
1623
+ def replace_resource_pool_status_request_status_with_http_info(name, body, opts = {})
1624
+ if @api_client.config.debugging
1625
+ @api_client.config.logger.debug 'Calling API: ResourceV1alpha3Api.replace_resource_pool_status_request_status ...'
1626
+ end
1627
+ # verify the required parameter 'name' is set
1628
+ if @api_client.config.client_side_validation && name.nil?
1629
+ fail ArgumentError, "Missing the required parameter 'name' when calling ResourceV1alpha3Api.replace_resource_pool_status_request_status"
1630
+ end
1631
+ # verify the required parameter 'body' is set
1632
+ if @api_client.config.client_side_validation && body.nil?
1633
+ fail ArgumentError, "Missing the required parameter 'body' when calling ResourceV1alpha3Api.replace_resource_pool_status_request_status"
1634
+ end
1635
+ # resource path
1636
+ local_var_path = '/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1637
+
1638
+ # query parameters
1639
+ query_params = opts[:query_params] || {}
1640
+ query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
1641
+ query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
1642
+ query_params[:'fieldManager'] = opts[:'field_manager'] if !opts[:'field_manager'].nil?
1643
+ query_params[:'fieldValidation'] = opts[:'field_validation'] if !opts[:'field_validation'].nil?
1644
+
1645
+ # header parameters
1646
+ header_params = opts[:header_params] || {}
1647
+ # HTTP header 'Accept' (if needed)
1648
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor'])
1649
+
1650
+ # form parameters
1651
+ form_params = opts[:form_params] || {}
1652
+
1653
+ # http body (model)
1654
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1655
+
1656
+ # return_type
1657
+ return_type = opts[:debug_return_type] || 'V1alpha3ResourcePoolStatusRequest'
1658
+
1659
+ # auth_names
1660
+ auth_names = opts[:debug_auth_names] || ['BearerToken']
1661
+
1662
+ new_options = opts.merge(
1663
+ :operation => :"ResourceV1alpha3Api.replace_resource_pool_status_request_status",
1664
+ :header_params => header_params,
1665
+ :query_params => query_params,
1666
+ :form_params => form_params,
1667
+ :body => post_body,
1668
+ :auth_names => auth_names,
1669
+ :return_type => return_type
1670
+ )
1671
+
1672
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1673
+ if @api_client.config.debugging
1674
+ @api_client.config.logger.debug "API called: ResourceV1alpha3Api#replace_resource_pool_status_request_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1675
+ end
1676
+ return data, status_code, headers
1677
+ end
871
1678
  end
872
1679
  end