kruby 1.35.0.6 → 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 +46 -20
  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
@@ -19,37 +19,37 @@ module Kubernetes
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # create a MutatingAdmissionPolicy
23
- # @param body [V1alpha1MutatingAdmissionPolicy]
22
+ # create a MutatingAdmissionPolicyBinding
23
+ # @param body [V1alpha1MutatingAdmissionPolicyBinding]
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @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).
26
26
  # @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
27
27
  # @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.
28
28
  # @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.
29
- # @return [V1alpha1MutatingAdmissionPolicy]
30
- def create_mutating_admission_policy_admissionregistration_v1alpha1(body, opts = {})
31
- data, _status_code, _headers = create_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(body, opts)
29
+ # @return [V1alpha1MutatingAdmissionPolicyBinding]
30
+ def create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings(body, opts = {})
31
+ data, _status_code, _headers = create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(body, opts)
32
32
  data
33
33
  end
34
34
 
35
- # create a MutatingAdmissionPolicy
36
- # @param body [V1alpha1MutatingAdmissionPolicy]
35
+ # create a MutatingAdmissionPolicyBinding
36
+ # @param body [V1alpha1MutatingAdmissionPolicyBinding]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @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).
39
39
  # @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
40
40
  # @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.
41
41
  # @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.
42
- # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
43
- def create_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(body, opts = {})
42
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
43
+ def create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(body, opts = {})
44
44
  if @api_client.config.debugging
45
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_admissionregistration_v1alpha1 ...'
45
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings ...'
46
46
  end
47
47
  # verify the required parameter 'body' is set
48
48
  if @api_client.config.client_side_validation && body.nil?
49
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_admissionregistration_v1alpha1"
49
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
52
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -70,13 +70,13 @@ module Kubernetes
70
70
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
71
71
 
72
72
  # return_type
73
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
73
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
74
74
 
75
75
  # auth_names
76
76
  auth_names = opts[:debug_auth_names] || ['BearerToken']
77
77
 
78
78
  new_options = opts.merge(
79
- :operation => :"AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_admissionregistration_v1alpha1",
79
+ :operation => :"AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings",
80
80
  :header_params => header_params,
81
81
  :query_params => query_params,
82
82
  :form_params => form_params,
@@ -87,42 +87,42 @@ module Kubernetes
87
87
 
88
88
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
89
89
  if @api_client.config.debugging
90
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#create_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#create_mutating_admission_policy_binding_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
91
  end
92
92
  return data, status_code, headers
93
93
  end
94
94
 
95
- # create a MutatingAdmissionPolicyBinding
96
- # @param body [V1alpha1MutatingAdmissionPolicyBinding]
95
+ # create a MutatingAdmissionPolicy
96
+ # @param body [V1alpha1MutatingAdmissionPolicy]
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @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).
99
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
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
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 [V1alpha1MutatingAdmissionPolicyBinding]
103
- def create_mutating_admission_policy_binding_admissionregistration_v1alpha1(body, opts = {})
104
- data, _status_code, _headers = create_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(body, opts)
102
+ # @return [V1alpha1MutatingAdmissionPolicy]
103
+ def create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies(body, opts = {})
104
+ data, _status_code, _headers = create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(body, opts)
105
105
  data
106
106
  end
107
107
 
108
- # create a MutatingAdmissionPolicyBinding
109
- # @param body [V1alpha1MutatingAdmissionPolicyBinding]
108
+ # create a MutatingAdmissionPolicy
109
+ # @param body [V1alpha1MutatingAdmissionPolicy]
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @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).
112
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
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
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<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
116
- def create_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(body, opts = {})
115
+ # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
116
+ def create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(body, opts = {})
117
117
  if @api_client.config.debugging
118
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
118
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies ...'
119
119
  end
120
120
  # verify the required parameter 'body' is set
121
121
  if @api_client.config.client_side_validation && body.nil?
122
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_admissionregistration_v1alpha1"
122
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies"
123
123
  end
124
124
  # resource path
125
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
125
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
126
126
 
127
127
  # query parameters
128
128
  query_params = opts[:query_params] || {}
@@ -143,13 +143,13 @@ module Kubernetes
143
143
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
144
144
 
145
145
  # return_type
146
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
146
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
147
147
 
148
148
  # auth_names
149
149
  auth_names = opts[:debug_auth_names] || ['BearerToken']
150
150
 
151
151
  new_options = opts.merge(
152
- :operation => :"AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_binding_admissionregistration_v1alpha1",
152
+ :operation => :"AdmissionregistrationV1alpha1Api.create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies",
153
153
  :header_params => header_params,
154
154
  :query_params => query_params,
155
155
  :form_params => form_params,
@@ -160,12 +160,12 @@ module Kubernetes
160
160
 
161
161
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
162
162
  if @api_client.config.debugging
163
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#create_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
163
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#create_mutating_admission_policy_post_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
164
164
  end
165
165
  return data, status_code, headers
166
166
  end
167
167
 
168
- # delete collection of MutatingAdmissionPolicy
168
+ # delete collection of MutatingAdmissionPolicyBinding
169
169
  # @param [Hash] opts the optional parameters
170
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).
171
171
  # @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.
@@ -180,15 +180,16 @@ module Kubernetes
180
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
181
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
182
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.
183
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.
184
185
  # @option opts [V1DeleteOptions] :body
185
186
  # @return [V1Status]
186
- def delete_collection_mutating_admission_policy_admissionregistration_v1alpha1(opts = {})
187
- data, _status_code, _headers = delete_collection_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(opts)
187
+ def delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings(opts = {})
188
+ data, _status_code, _headers = delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(opts)
188
189
  data
189
190
  end
190
191
 
191
- # delete collection of MutatingAdmissionPolicy
192
+ # delete collection of MutatingAdmissionPolicyBinding
192
193
  # @param [Hash] opts the optional parameters
193
194
  # @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).
194
195
  # @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.
@@ -203,15 +204,16 @@ module Kubernetes
203
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
204
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
205
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.
206
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.
207
209
  # @option opts [V1DeleteOptions] :body
208
210
  # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
209
- def delete_collection_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(opts = {})
211
+ def delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(opts = {})
210
212
  if @api_client.config.debugging
211
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_admissionregistration_v1alpha1 ...'
213
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings ...'
212
214
  end
213
215
  # resource path
214
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
216
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
215
217
 
216
218
  # query parameters
217
219
  query_params = opts[:query_params] || {}
@@ -228,6 +230,7 @@ module Kubernetes
228
230
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
229
231
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
230
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?
231
234
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
232
235
 
233
236
  # header parameters
@@ -248,7 +251,7 @@ module Kubernetes
248
251
  auth_names = opts[:debug_auth_names] || ['BearerToken']
249
252
 
250
253
  new_options = opts.merge(
251
- :operation => :"AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_admissionregistration_v1alpha1",
254
+ :operation => :"AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings",
252
255
  :header_params => header_params,
253
256
  :query_params => query_params,
254
257
  :form_params => form_params,
@@ -259,12 +262,12 @@ module Kubernetes
259
262
 
260
263
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
261
264
  if @api_client.config.debugging
262
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_collection_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
265
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_collection_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
263
266
  end
264
267
  return data, status_code, headers
265
268
  end
266
269
 
267
- # delete collection of MutatingAdmissionPolicyBinding
270
+ # delete collection of MutatingAdmissionPolicy
268
271
  # @param [Hash] opts the optional parameters
269
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).
270
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.
@@ -279,15 +282,16 @@ module Kubernetes
279
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
280
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
281
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.
282
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.
283
287
  # @option opts [V1DeleteOptions] :body
284
288
  # @return [V1Status]
285
- def delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1(opts = {})
286
- data, _status_code, _headers = delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(opts)
289
+ def delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies(opts = {})
290
+ data, _status_code, _headers = delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(opts)
287
291
  data
288
292
  end
289
293
 
290
- # delete collection of MutatingAdmissionPolicyBinding
294
+ # delete collection of MutatingAdmissionPolicy
291
295
  # @param [Hash] opts the optional parameters
292
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).
293
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.
@@ -302,15 +306,16 @@ module Kubernetes
302
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
303
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
304
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.
305
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.
306
311
  # @option opts [V1DeleteOptions] :body
307
312
  # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
308
- def delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(opts = {})
313
+ def delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(opts = {})
309
314
  if @api_client.config.debugging
310
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
315
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies ...'
311
316
  end
312
317
  # resource path
313
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
318
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
314
319
 
315
320
  # query parameters
316
321
  query_params = opts[:query_params] || {}
@@ -327,6 +332,7 @@ module Kubernetes
327
332
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
328
333
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
329
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?
330
336
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
331
337
 
332
338
  # header parameters
@@ -347,7 +353,7 @@ module Kubernetes
347
353
  auth_names = opts[:debug_auth_names] || ['BearerToken']
348
354
 
349
355
  new_options = opts.merge(
350
- :operation => :"AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1",
356
+ :operation => :"AdmissionregistrationV1alpha1Api.delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies",
351
357
  :header_params => header_params,
352
358
  :query_params => query_params,
353
359
  :form_params => form_params,
@@ -358,13 +364,13 @@ module Kubernetes
358
364
 
359
365
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
360
366
  if @api_client.config.debugging
361
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_collection_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
367
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_collection_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
362
368
  end
363
369
  return data, status_code, headers
364
370
  end
365
371
 
366
- # delete a MutatingAdmissionPolicy
367
- # @param name [String] name of the MutatingAdmissionPolicy
372
+ # delete a MutatingAdmissionPolicyBinding
373
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
368
374
  # @param [Hash] opts the optional parameters
369
375
  # @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).
370
376
  # @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
@@ -374,13 +380,13 @@ module Kubernetes
374
380
  # @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.
375
381
  # @option opts [V1DeleteOptions] :body
376
382
  # @return [V1Status]
377
- def delete_mutating_admission_policy_admissionregistration_v1alpha1(name, opts = {})
378
- data, _status_code, _headers = delete_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, opts)
383
+ def delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name(name, opts = {})
384
+ data, _status_code, _headers = delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, opts)
379
385
  data
380
386
  end
381
387
 
382
- # delete a MutatingAdmissionPolicy
383
- # @param name [String] name of the MutatingAdmissionPolicy
388
+ # delete a MutatingAdmissionPolicyBinding
389
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
384
390
  # @param [Hash] opts the optional parameters
385
391
  # @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).
386
392
  # @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
@@ -390,16 +396,16 @@ module Kubernetes
390
396
  # @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.
391
397
  # @option opts [V1DeleteOptions] :body
392
398
  # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
393
- def delete_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, opts = {})
399
+ def delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, opts = {})
394
400
  if @api_client.config.debugging
395
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_admissionregistration_v1alpha1 ...'
401
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name ...'
396
402
  end
397
403
  # verify the required parameter 'name' is set
398
404
  if @api_client.config.client_side_validation && name.nil?
399
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_admissionregistration_v1alpha1"
405
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
400
406
  end
401
407
  # resource path
402
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
408
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
403
409
 
404
410
  # query parameters
405
411
  query_params = opts[:query_params] || {}
@@ -428,7 +434,7 @@ module Kubernetes
428
434
  auth_names = opts[:debug_auth_names] || ['BearerToken']
429
435
 
430
436
  new_options = opts.merge(
431
- :operation => :"AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_admissionregistration_v1alpha1",
437
+ :operation => :"AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name",
432
438
  :header_params => header_params,
433
439
  :query_params => query_params,
434
440
  :form_params => form_params,
@@ -439,13 +445,13 @@ module Kubernetes
439
445
 
440
446
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
441
447
  if @api_client.config.debugging
442
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
448
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_mutating_admission_policy_binding_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
443
449
  end
444
450
  return data, status_code, headers
445
451
  end
446
452
 
447
- # delete a MutatingAdmissionPolicyBinding
448
- # @param name [String] name of the MutatingAdmissionPolicyBinding
453
+ # delete a MutatingAdmissionPolicy
454
+ # @param name [String] name of the MutatingAdmissionPolicy
449
455
  # @param [Hash] opts the optional parameters
450
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).
451
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
@@ -455,13 +461,13 @@ module Kubernetes
455
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.
456
462
  # @option opts [V1DeleteOptions] :body
457
463
  # @return [V1Status]
458
- def delete_mutating_admission_policy_binding_admissionregistration_v1alpha1(name, opts = {})
459
- data, _status_code, _headers = delete_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, opts)
464
+ def delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name(name, opts = {})
465
+ data, _status_code, _headers = delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, opts)
460
466
  data
461
467
  end
462
468
 
463
- # delete a MutatingAdmissionPolicyBinding
464
- # @param name [String] name of the MutatingAdmissionPolicyBinding
469
+ # delete a MutatingAdmissionPolicy
470
+ # @param name [String] name of the MutatingAdmissionPolicy
465
471
  # @param [Hash] opts the optional parameters
466
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).
467
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
@@ -471,16 +477,16 @@ module Kubernetes
471
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.
472
478
  # @option opts [V1DeleteOptions] :body
473
479
  # @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
474
- def delete_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, opts = {})
480
+ def delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, opts = {})
475
481
  if @api_client.config.debugging
476
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
482
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name ...'
477
483
  end
478
484
  # verify the required parameter 'name' is set
479
485
  if @api_client.config.client_side_validation && name.nil?
480
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_admissionregistration_v1alpha1"
486
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
481
487
  end
482
488
  # resource path
483
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
489
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
484
490
 
485
491
  # query parameters
486
492
  query_params = opts[:query_params] || {}
@@ -509,7 +515,7 @@ module Kubernetes
509
515
  auth_names = opts[:debug_auth_names] || ['BearerToken']
510
516
 
511
517
  new_options = opts.merge(
512
- :operation => :"AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_binding_admissionregistration_v1alpha1",
518
+ :operation => :"AdmissionregistrationV1alpha1Api.delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name",
513
519
  :header_params => header_params,
514
520
  :query_params => query_params,
515
521
  :form_params => form_params,
@@ -520,7 +526,7 @@ module Kubernetes
520
526
 
521
527
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
522
528
  if @api_client.config.debugging
523
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
529
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_mutating_admission_policy_delete_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
524
530
  end
525
531
  return data, status_code, headers
526
532
  end
@@ -528,17 +534,17 @@ module Kubernetes
528
534
  # get available resources
529
535
  # @param [Hash] opts the optional parameters
530
536
  # @return [V1APIResourceList]
531
- def get_api_resources_admissionregistration_v1alpha1(opts = {})
532
- data, _status_code, _headers = get_api_resources_admissionregistration_v1alpha1_with_http_info(opts)
537
+ def get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1(opts = {})
538
+ data, _status_code, _headers = get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1_with_http_info(opts)
533
539
  data
534
540
  end
535
541
 
536
542
  # get available resources
537
543
  # @param [Hash] opts the optional parameters
538
544
  # @return [Array<(V1APIResourceList, Integer, Hash)>] V1APIResourceList data, response status code and response headers
539
- def get_api_resources_admissionregistration_v1alpha1_with_http_info(opts = {})
545
+ def get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1_with_http_info(opts = {})
540
546
  if @api_client.config.debugging
541
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.get_api_resources_admissionregistration_v1alpha1 ...'
547
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1 ...'
542
548
  end
543
549
  # resource path
544
550
  local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/'
@@ -564,7 +570,7 @@ module Kubernetes
564
570
  auth_names = opts[:debug_auth_names] || ['BearerToken']
565
571
 
566
572
  new_options = opts.merge(
567
- :operation => :"AdmissionregistrationV1alpha1Api.get_api_resources_admissionregistration_v1alpha1",
573
+ :operation => :"AdmissionregistrationV1alpha1Api.get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1",
568
574
  :header_params => header_params,
569
575
  :query_params => query_params,
570
576
  :form_params => form_params,
@@ -575,12 +581,12 @@ module Kubernetes
575
581
 
576
582
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
577
583
  if @api_client.config.debugging
578
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#get_api_resources_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
584
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#get_api_resources_get_apis_admissionregistration_k8s_io_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
579
585
  end
580
586
  return data, status_code, headers
581
587
  end
582
588
 
583
- # list or watch objects of kind MutatingAdmissionPolicy
589
+ # list or watch objects of kind MutatingAdmissionPolicyBinding
584
590
  # @param [Hash] opts the optional parameters
585
591
  # @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).
586
592
  # @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.
@@ -591,15 +597,16 @@ module Kubernetes
591
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
592
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
593
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.
594
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.
595
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.
596
- # @return [V1alpha1MutatingAdmissionPolicyList]
597
- def list_mutating_admission_policy_admissionregistration_v1alpha1(opts = {})
598
- data, _status_code, _headers = list_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(opts)
603
+ # @return [V1alpha1MutatingAdmissionPolicyBindingList]
604
+ def list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings(opts = {})
605
+ data, _status_code, _headers = list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(opts)
599
606
  data
600
607
  end
601
608
 
602
- # list or watch objects of kind MutatingAdmissionPolicy
609
+ # list or watch objects of kind MutatingAdmissionPolicyBinding
603
610
  # @param [Hash] opts the optional parameters
604
611
  # @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).
605
612
  # @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.
@@ -610,15 +617,16 @@ module Kubernetes
610
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
611
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
612
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.
613
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.
614
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.
615
- # @return [Array<(V1alpha1MutatingAdmissionPolicyList, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyList data, response status code and response headers
616
- def list_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(opts = {})
623
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyBindingList, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBindingList data, response status code and response headers
624
+ def list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_with_http_info(opts = {})
617
625
  if @api_client.config.debugging
618
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_admissionregistration_v1alpha1 ...'
626
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings ...'
619
627
  end
620
628
  # resource path
621
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
629
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
622
630
 
623
631
  # query parameters
624
632
  query_params = opts[:query_params] || {}
@@ -631,6 +639,7 @@ module Kubernetes
631
639
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
632
640
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
633
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?
634
643
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
635
644
  query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
636
645
 
@@ -646,13 +655,13 @@ module Kubernetes
646
655
  post_body = opts[:debug_body]
647
656
 
648
657
  # return_type
649
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyList'
658
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBindingList'
650
659
 
651
660
  # auth_names
652
661
  auth_names = opts[:debug_auth_names] || ['BearerToken']
653
662
 
654
663
  new_options = opts.merge(
655
- :operation => :"AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_admissionregistration_v1alpha1",
664
+ :operation => :"AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings",
656
665
  :header_params => header_params,
657
666
  :query_params => query_params,
658
667
  :form_params => form_params,
@@ -663,12 +672,12 @@ module Kubernetes
663
672
 
664
673
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
665
674
  if @api_client.config.debugging
666
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#list_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
675
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#list_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
667
676
  end
668
677
  return data, status_code, headers
669
678
  end
670
679
 
671
- # list or watch objects of kind MutatingAdmissionPolicyBinding
680
+ # list or watch objects of kind MutatingAdmissionPolicy
672
681
  # @param [Hash] opts the optional parameters
673
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).
674
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.
@@ -679,15 +688,16 @@ module Kubernetes
679
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
680
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
681
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.
682
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.
683
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.
684
- # @return [V1alpha1MutatingAdmissionPolicyBindingList]
685
- def list_mutating_admission_policy_binding_admissionregistration_v1alpha1(opts = {})
686
- data, _status_code, _headers = list_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(opts)
694
+ # @return [V1alpha1MutatingAdmissionPolicyList]
695
+ def list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies(opts = {})
696
+ data, _status_code, _headers = list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(opts)
687
697
  data
688
698
  end
689
699
 
690
- # list or watch objects of kind MutatingAdmissionPolicyBinding
700
+ # list or watch objects of kind MutatingAdmissionPolicy
691
701
  # @param [Hash] opts the optional parameters
692
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).
693
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.
@@ -698,15 +708,16 @@ module Kubernetes
698
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
699
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
700
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.
701
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.
702
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.
703
- # @return [Array<(V1alpha1MutatingAdmissionPolicyBindingList, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBindingList data, response status code and response headers
704
- def list_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(opts = {})
714
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyList, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyList data, response status code and response headers
715
+ def list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_with_http_info(opts = {})
705
716
  if @api_client.config.debugging
706
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
717
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies ...'
707
718
  end
708
719
  # resource path
709
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'
720
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'
710
721
 
711
722
  # query parameters
712
723
  query_params = opts[:query_params] || {}
@@ -719,6 +730,7 @@ module Kubernetes
719
730
  query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
720
731
  query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
721
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?
722
734
  query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
723
735
  query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
724
736
 
@@ -734,13 +746,13 @@ module Kubernetes
734
746
  post_body = opts[:debug_body]
735
747
 
736
748
  # return_type
737
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBindingList'
749
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyList'
738
750
 
739
751
  # auth_names
740
752
  auth_names = opts[:debug_auth_names] || ['BearerToken']
741
753
 
742
754
  new_options = opts.merge(
743
- :operation => :"AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_binding_admissionregistration_v1alpha1",
755
+ :operation => :"AdmissionregistrationV1alpha1Api.list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies",
744
756
  :header_params => header_params,
745
757
  :query_params => query_params,
746
758
  :form_params => form_params,
@@ -751,13 +763,13 @@ module Kubernetes
751
763
 
752
764
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
753
765
  if @api_client.config.debugging
754
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#list_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
766
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#list_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
755
767
  end
756
768
  return data, status_code, headers
757
769
  end
758
770
 
759
- # partially update the specified MutatingAdmissionPolicy
760
- # @param name [String] name of the MutatingAdmissionPolicy
771
+ # partially update the specified MutatingAdmissionPolicyBinding
772
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
761
773
  # @param body [Object]
762
774
  # @param [Hash] opts the optional parameters
763
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).
@@ -765,14 +777,14 @@ module Kubernetes
765
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).
766
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.
767
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.
768
- # @return [V1alpha1MutatingAdmissionPolicy]
769
- def patch_mutating_admission_policy_admissionregistration_v1alpha1(name, body, opts = {})
770
- data, _status_code, _headers = patch_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, body, opts)
780
+ # @return [V1alpha1MutatingAdmissionPolicyBinding]
781
+ def patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name(name, body, opts = {})
782
+ data, _status_code, _headers = patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, body, opts)
771
783
  data
772
784
  end
773
785
 
774
- # partially update the specified MutatingAdmissionPolicy
775
- # @param name [String] name of the MutatingAdmissionPolicy
786
+ # partially update the specified MutatingAdmissionPolicyBinding
787
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
776
788
  # @param body [Object]
777
789
  # @param [Hash] opts the optional parameters
778
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).
@@ -780,21 +792,21 @@ module Kubernetes
780
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).
781
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.
782
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.
783
- # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
784
- def patch_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, body, opts = {})
795
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
796
+ def patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, body, opts = {})
785
797
  if @api_client.config.debugging
786
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_admissionregistration_v1alpha1 ...'
798
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name ...'
787
799
  end
788
800
  # verify the required parameter 'name' is set
789
801
  if @api_client.config.client_side_validation && name.nil?
790
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_admissionregistration_v1alpha1"
802
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
791
803
  end
792
804
  # verify the required parameter 'body' is set
793
805
  if @api_client.config.client_side_validation && body.nil?
794
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_admissionregistration_v1alpha1"
806
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
795
807
  end
796
808
  # resource path
797
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
809
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
798
810
 
799
811
  # query parameters
800
812
  query_params = opts[:query_params] || {}
@@ -818,13 +830,13 @@ module Kubernetes
818
830
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
819
831
 
820
832
  # return_type
821
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
833
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
822
834
 
823
835
  # auth_names
824
836
  auth_names = opts[:debug_auth_names] || ['BearerToken']
825
837
 
826
838
  new_options = opts.merge(
827
- :operation => :"AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_admissionregistration_v1alpha1",
839
+ :operation => :"AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name",
828
840
  :header_params => header_params,
829
841
  :query_params => query_params,
830
842
  :form_params => form_params,
@@ -835,13 +847,13 @@ module Kubernetes
835
847
 
836
848
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
837
849
  if @api_client.config.debugging
838
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#patch_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
850
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#patch_mutating_admission_policy_binding_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
839
851
  end
840
852
  return data, status_code, headers
841
853
  end
842
854
 
843
- # partially update the specified MutatingAdmissionPolicyBinding
844
- # @param name [String] name of the MutatingAdmissionPolicyBinding
855
+ # partially update the specified MutatingAdmissionPolicy
856
+ # @param name [String] name of the MutatingAdmissionPolicy
845
857
  # @param body [Object]
846
858
  # @param [Hash] opts the optional parameters
847
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).
@@ -849,14 +861,14 @@ module Kubernetes
849
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).
850
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.
851
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.
852
- # @return [V1alpha1MutatingAdmissionPolicyBinding]
853
- def patch_mutating_admission_policy_binding_admissionregistration_v1alpha1(name, body, opts = {})
854
- data, _status_code, _headers = patch_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, body, opts)
864
+ # @return [V1alpha1MutatingAdmissionPolicy]
865
+ def patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name(name, body, opts = {})
866
+ data, _status_code, _headers = patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, body, opts)
855
867
  data
856
868
  end
857
869
 
858
- # partially update the specified MutatingAdmissionPolicyBinding
859
- # @param name [String] name of the MutatingAdmissionPolicyBinding
870
+ # partially update the specified MutatingAdmissionPolicy
871
+ # @param name [String] name of the MutatingAdmissionPolicy
860
872
  # @param body [Object]
861
873
  # @param [Hash] opts the optional parameters
862
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).
@@ -864,21 +876,21 @@ module Kubernetes
864
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).
865
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.
866
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.
867
- # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
868
- def patch_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, body, opts = {})
879
+ # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
880
+ def patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, body, opts = {})
869
881
  if @api_client.config.debugging
870
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
882
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name ...'
871
883
  end
872
884
  # verify the required parameter 'name' is set
873
885
  if @api_client.config.client_side_validation && name.nil?
874
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_admissionregistration_v1alpha1"
886
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
875
887
  end
876
888
  # verify the required parameter 'body' is set
877
889
  if @api_client.config.client_side_validation && body.nil?
878
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_admissionregistration_v1alpha1"
890
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
879
891
  end
880
892
  # resource path
881
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
893
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
882
894
 
883
895
  # query parameters
884
896
  query_params = opts[:query_params] || {}
@@ -902,13 +914,13 @@ module Kubernetes
902
914
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
903
915
 
904
916
  # return_type
905
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
917
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
906
918
 
907
919
  # auth_names
908
920
  auth_names = opts[:debug_auth_names] || ['BearerToken']
909
921
 
910
922
  new_options = opts.merge(
911
- :operation => :"AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_binding_admissionregistration_v1alpha1",
923
+ :operation => :"AdmissionregistrationV1alpha1Api.patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name",
912
924
  :header_params => header_params,
913
925
  :query_params => query_params,
914
926
  :form_params => form_params,
@@ -919,36 +931,36 @@ module Kubernetes
919
931
 
920
932
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
921
933
  if @api_client.config.debugging
922
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#patch_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
934
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#patch_mutating_admission_policy_patch_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
923
935
  end
924
936
  return data, status_code, headers
925
937
  end
926
938
 
927
- # read the specified MutatingAdmissionPolicy
928
- # @param name [String] name of the MutatingAdmissionPolicy
939
+ # read the specified MutatingAdmissionPolicyBinding
940
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
929
941
  # @param [Hash] opts the optional parameters
930
942
  # @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).
931
- # @return [V1alpha1MutatingAdmissionPolicy]
932
- def read_mutating_admission_policy_admissionregistration_v1alpha1(name, opts = {})
933
- data, _status_code, _headers = read_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, opts)
943
+ # @return [V1alpha1MutatingAdmissionPolicyBinding]
944
+ def read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name(name, opts = {})
945
+ data, _status_code, _headers = read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, opts)
934
946
  data
935
947
  end
936
948
 
937
- # read the specified MutatingAdmissionPolicy
938
- # @param name [String] name of the MutatingAdmissionPolicy
949
+ # read the specified MutatingAdmissionPolicyBinding
950
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
939
951
  # @param [Hash] opts the optional parameters
940
952
  # @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).
941
- # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
942
- def read_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, opts = {})
953
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
954
+ def read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, opts = {})
943
955
  if @api_client.config.debugging
944
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_admissionregistration_v1alpha1 ...'
956
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name ...'
945
957
  end
946
958
  # verify the required parameter 'name' is set
947
959
  if @api_client.config.client_side_validation && name.nil?
948
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_admissionregistration_v1alpha1"
960
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
949
961
  end
950
962
  # resource path
951
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
963
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
952
964
 
953
965
  # query parameters
954
966
  query_params = opts[:query_params] || {}
@@ -966,13 +978,13 @@ module Kubernetes
966
978
  post_body = opts[:debug_body]
967
979
 
968
980
  # return_type
969
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
981
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
970
982
 
971
983
  # auth_names
972
984
  auth_names = opts[:debug_auth_names] || ['BearerToken']
973
985
 
974
986
  new_options = opts.merge(
975
- :operation => :"AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_admissionregistration_v1alpha1",
987
+ :operation => :"AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name",
976
988
  :header_params => header_params,
977
989
  :query_params => query_params,
978
990
  :form_params => form_params,
@@ -983,36 +995,36 @@ module Kubernetes
983
995
 
984
996
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
985
997
  if @api_client.config.debugging
986
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#read_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
998
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#read_mutating_admission_policy_binding_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
987
999
  end
988
1000
  return data, status_code, headers
989
1001
  end
990
1002
 
991
- # read the specified MutatingAdmissionPolicyBinding
992
- # @param name [String] name of the MutatingAdmissionPolicyBinding
1003
+ # read the specified MutatingAdmissionPolicy
1004
+ # @param name [String] name of the MutatingAdmissionPolicy
993
1005
  # @param [Hash] opts the optional parameters
994
1006
  # @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).
995
- # @return [V1alpha1MutatingAdmissionPolicyBinding]
996
- def read_mutating_admission_policy_binding_admissionregistration_v1alpha1(name, opts = {})
997
- data, _status_code, _headers = read_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, opts)
1007
+ # @return [V1alpha1MutatingAdmissionPolicy]
1008
+ def read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name(name, opts = {})
1009
+ data, _status_code, _headers = read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, opts)
998
1010
  data
999
1011
  end
1000
1012
 
1001
- # read the specified MutatingAdmissionPolicyBinding
1002
- # @param name [String] name of the MutatingAdmissionPolicyBinding
1013
+ # read the specified MutatingAdmissionPolicy
1014
+ # @param name [String] name of the MutatingAdmissionPolicy
1003
1015
  # @param [Hash] opts the optional parameters
1004
1016
  # @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).
1005
- # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
1006
- def read_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, opts = {})
1017
+ # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
1018
+ def read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, opts = {})
1007
1019
  if @api_client.config.debugging
1008
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
1020
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name ...'
1009
1021
  end
1010
1022
  # verify the required parameter 'name' is set
1011
1023
  if @api_client.config.client_side_validation && name.nil?
1012
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_admissionregistration_v1alpha1"
1024
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
1013
1025
  end
1014
1026
  # resource path
1015
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1027
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1016
1028
 
1017
1029
  # query parameters
1018
1030
  query_params = opts[:query_params] || {}
@@ -1030,13 +1042,13 @@ module Kubernetes
1030
1042
  post_body = opts[:debug_body]
1031
1043
 
1032
1044
  # return_type
1033
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
1045
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
1034
1046
 
1035
1047
  # auth_names
1036
1048
  auth_names = opts[:debug_auth_names] || ['BearerToken']
1037
1049
 
1038
1050
  new_options = opts.merge(
1039
- :operation => :"AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_binding_admissionregistration_v1alpha1",
1051
+ :operation => :"AdmissionregistrationV1alpha1Api.read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name",
1040
1052
  :header_params => header_params,
1041
1053
  :query_params => query_params,
1042
1054
  :form_params => form_params,
@@ -1047,48 +1059,48 @@ module Kubernetes
1047
1059
 
1048
1060
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1049
1061
  if @api_client.config.debugging
1050
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#read_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1062
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#read_mutating_admission_policy_get_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1051
1063
  end
1052
1064
  return data, status_code, headers
1053
1065
  end
1054
1066
 
1055
- # replace the specified MutatingAdmissionPolicy
1056
- # @param name [String] name of the MutatingAdmissionPolicy
1057
- # @param body [V1alpha1MutatingAdmissionPolicy]
1067
+ # replace the specified MutatingAdmissionPolicyBinding
1068
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
1069
+ # @param body [V1alpha1MutatingAdmissionPolicyBinding]
1058
1070
  # @param [Hash] opts the optional parameters
1059
1071
  # @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).
1060
1072
  # @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
1061
1073
  # @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.
1062
1074
  # @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.
1063
- # @return [V1alpha1MutatingAdmissionPolicy]
1064
- def replace_mutating_admission_policy_admissionregistration_v1alpha1(name, body, opts = {})
1065
- data, _status_code, _headers = replace_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, body, opts)
1075
+ # @return [V1alpha1MutatingAdmissionPolicyBinding]
1076
+ def replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name(name, body, opts = {})
1077
+ data, _status_code, _headers = replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, body, opts)
1066
1078
  data
1067
1079
  end
1068
1080
 
1069
- # replace the specified MutatingAdmissionPolicy
1070
- # @param name [String] name of the MutatingAdmissionPolicy
1071
- # @param body [V1alpha1MutatingAdmissionPolicy]
1081
+ # replace the specified MutatingAdmissionPolicyBinding
1082
+ # @param name [String] name of the MutatingAdmissionPolicyBinding
1083
+ # @param body [V1alpha1MutatingAdmissionPolicyBinding]
1072
1084
  # @param [Hash] opts the optional parameters
1073
1085
  # @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).
1074
1086
  # @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
1075
1087
  # @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.
1076
1088
  # @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.
1077
- # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
1078
- def replace_mutating_admission_policy_admissionregistration_v1alpha1_with_http_info(name, body, opts = {})
1089
+ # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
1090
+ def replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name_with_http_info(name, body, opts = {})
1079
1091
  if @api_client.config.debugging
1080
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_admissionregistration_v1alpha1 ...'
1092
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name ...'
1081
1093
  end
1082
1094
  # verify the required parameter 'name' is set
1083
1095
  if @api_client.config.client_side_validation && name.nil?
1084
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_admissionregistration_v1alpha1"
1096
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
1085
1097
  end
1086
1098
  # verify the required parameter 'body' is set
1087
1099
  if @api_client.config.client_side_validation && body.nil?
1088
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_admissionregistration_v1alpha1"
1100
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name"
1089
1101
  end
1090
1102
  # resource path
1091
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1103
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1092
1104
 
1093
1105
  # query parameters
1094
1106
  query_params = opts[:query_params] || {}
@@ -1109,13 +1121,13 @@ module Kubernetes
1109
1121
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1110
1122
 
1111
1123
  # return_type
1112
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
1124
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
1113
1125
 
1114
1126
  # auth_names
1115
1127
  auth_names = opts[:debug_auth_names] || ['BearerToken']
1116
1128
 
1117
1129
  new_options = opts.merge(
1118
- :operation => :"AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_admissionregistration_v1alpha1",
1130
+ :operation => :"AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name",
1119
1131
  :header_params => header_params,
1120
1132
  :query_params => query_params,
1121
1133
  :form_params => form_params,
@@ -1126,48 +1138,48 @@ module Kubernetes
1126
1138
 
1127
1139
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1128
1140
  if @api_client.config.debugging
1129
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#replace_mutating_admission_policy_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1141
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#replace_mutating_admission_policy_binding_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicybindings_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1130
1142
  end
1131
1143
  return data, status_code, headers
1132
1144
  end
1133
1145
 
1134
- # replace the specified MutatingAdmissionPolicyBinding
1135
- # @param name [String] name of the MutatingAdmissionPolicyBinding
1136
- # @param body [V1alpha1MutatingAdmissionPolicyBinding]
1146
+ # replace the specified MutatingAdmissionPolicy
1147
+ # @param name [String] name of the MutatingAdmissionPolicy
1148
+ # @param body [V1alpha1MutatingAdmissionPolicy]
1137
1149
  # @param [Hash] opts the optional parameters
1138
1150
  # @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).
1139
1151
  # @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
1140
1152
  # @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.
1141
1153
  # @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.
1142
- # @return [V1alpha1MutatingAdmissionPolicyBinding]
1143
- def replace_mutating_admission_policy_binding_admissionregistration_v1alpha1(name, body, opts = {})
1144
- data, _status_code, _headers = replace_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, body, opts)
1154
+ # @return [V1alpha1MutatingAdmissionPolicy]
1155
+ def replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name(name, body, opts = {})
1156
+ data, _status_code, _headers = replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, body, opts)
1145
1157
  data
1146
1158
  end
1147
1159
 
1148
- # replace the specified MutatingAdmissionPolicyBinding
1149
- # @param name [String] name of the MutatingAdmissionPolicyBinding
1150
- # @param body [V1alpha1MutatingAdmissionPolicyBinding]
1160
+ # replace the specified MutatingAdmissionPolicy
1161
+ # @param name [String] name of the MutatingAdmissionPolicy
1162
+ # @param body [V1alpha1MutatingAdmissionPolicy]
1151
1163
  # @param [Hash] opts the optional parameters
1152
1164
  # @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).
1153
1165
  # @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
1154
1166
  # @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.
1155
1167
  # @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.
1156
- # @return [Array<(V1alpha1MutatingAdmissionPolicyBinding, Integer, Hash)>] V1alpha1MutatingAdmissionPolicyBinding data, response status code and response headers
1157
- def replace_mutating_admission_policy_binding_admissionregistration_v1alpha1_with_http_info(name, body, opts = {})
1168
+ # @return [Array<(V1alpha1MutatingAdmissionPolicy, Integer, Hash)>] V1alpha1MutatingAdmissionPolicy data, response status code and response headers
1169
+ def replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name_with_http_info(name, body, opts = {})
1158
1170
  if @api_client.config.debugging
1159
- @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_admissionregistration_v1alpha1 ...'
1171
+ @api_client.config.logger.debug 'Calling API: AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name ...'
1160
1172
  end
1161
1173
  # verify the required parameter 'name' is set
1162
1174
  if @api_client.config.client_side_validation && name.nil?
1163
- fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_admissionregistration_v1alpha1"
1175
+ fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
1164
1176
  end
1165
1177
  # verify the required parameter 'body' is set
1166
1178
  if @api_client.config.client_side_validation && body.nil?
1167
- fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_admissionregistration_v1alpha1"
1179
+ fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name"
1168
1180
  end
1169
1181
  # resource path
1170
- local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1182
+ local_var_path = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
1171
1183
 
1172
1184
  # query parameters
1173
1185
  query_params = opts[:query_params] || {}
@@ -1188,13 +1200,13 @@ module Kubernetes
1188
1200
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1189
1201
 
1190
1202
  # return_type
1191
- return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicyBinding'
1203
+ return_type = opts[:debug_return_type] || 'V1alpha1MutatingAdmissionPolicy'
1192
1204
 
1193
1205
  # auth_names
1194
1206
  auth_names = opts[:debug_auth_names] || ['BearerToken']
1195
1207
 
1196
1208
  new_options = opts.merge(
1197
- :operation => :"AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_binding_admissionregistration_v1alpha1",
1209
+ :operation => :"AdmissionregistrationV1alpha1Api.replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name",
1198
1210
  :header_params => header_params,
1199
1211
  :query_params => query_params,
1200
1212
  :form_params => form_params,
@@ -1205,7 +1217,7 @@ module Kubernetes
1205
1217
 
1206
1218
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1207
1219
  if @api_client.config.debugging
1208
- @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#replace_mutating_admission_policy_binding_admissionregistration_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1220
+ @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#replace_mutating_admission_policy_put_apis_admissionregistration_k8s_io_v1alpha1_mutatingadmissionpolicies_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1209
1221
  end
1210
1222
  return data, status_code, headers
1211
1223
  end