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.
- checksums.yaml +4 -4
- data/README.md +410 -339
- data/lib/kubernetes/api/admissionregistration_api.rb +7 -7
- data/lib/kubernetes/api/admissionregistration_v1_api.rb +1311 -139
- data/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +213 -201
- data/lib/kubernetes/api/admissionregistration_v1beta1_api.rb +213 -201
- data/lib/kubernetes/api/apiextensions_api.rb +7 -7
- data/lib/kubernetes/api/apiextensions_v1_api.rb +13 -7
- data/lib/kubernetes/api/apiregistration_api.rb +7 -7
- data/lib/kubernetes/api/apiregistration_v1_api.rb +13 -7
- data/lib/kubernetes/api/apis_api.rb +7 -7
- data/lib/kubernetes/api/apps_api.rb +7 -7
- data/lib/kubernetes/api/apps_v1_api.rb +52 -7
- data/lib/kubernetes/api/authentication_api.rb +7 -7
- data/lib/kubernetes/api/authentication_v1_api.rb +7 -7
- data/lib/kubernetes/api/authorization_api.rb +7 -7
- data/lib/kubernetes/api/authorization_v1_api.rb +7 -7
- data/lib/kubernetes/api/autoscaling_api.rb +7 -7
- data/lib/kubernetes/api/autoscaling_v1_api.rb +104 -95
- data/lib/kubernetes/api/autoscaling_v2_api.rb +104 -95
- data/lib/kubernetes/api/batch_api.rb +7 -7
- data/lib/kubernetes/api/batch_v1_api.rb +25 -7
- data/lib/kubernetes/api/certificates_api.rb +7 -7
- data/lib/kubernetes/api/certificates_v1_api.rb +13 -7
- data/lib/kubernetes/api/certificates_v1alpha1_api.rb +62 -56
- data/lib/kubernetes/api/certificates_v1beta1_api.rb +71 -56
- data/lib/kubernetes/api/coordination_api.rb +7 -7
- data/lib/kubernetes/api/coordination_v1_api.rb +16 -7
- data/lib/kubernetes/api/coordination_v1alpha2_api.rb +78 -69
- data/lib/kubernetes/api/coordination_v1beta1_api.rb +78 -69
- data/lib/kubernetes/api/core_api.rb +7 -7
- data/lib/kubernetes/api/core_v1_api.rb +195 -69
- data/lib/kubernetes/api/custom_objects_api.rb +18 -18
- data/lib/kubernetes/api/discovery_api.rb +7 -7
- data/lib/kubernetes/api/discovery_v1_api.rb +16 -7
- data/lib/kubernetes/api/events_api.rb +7 -7
- data/lib/kubernetes/api/events_v1_api.rb +78 -69
- data/lib/kubernetes/api/flowcontrol_apiserver_api.rb +7 -7
- data/lib/kubernetes/api/flowcontrol_apiserver_v1_api.rb +19 -7
- data/lib/kubernetes/api/internal_apiserver_api.rb +7 -7
- data/lib/kubernetes/api/internal_apiserver_v1alpha1_api.rb +13 -7
- data/lib/kubernetes/api/logs_api.rb +1 -1
- data/lib/kubernetes/api/networking_api.rb +7 -7
- data/lib/kubernetes/api/networking_v1_api.rb +164 -128
- data/lib/kubernetes/api/networking_v1beta1_api.rb +140 -128
- data/lib/kubernetes/api/node_api.rb +7 -7
- data/lib/kubernetes/api/node_v1_api.rb +13 -7
- data/lib/kubernetes/api/openid_api.rb +1 -1
- data/lib/kubernetes/api/policy_api.rb +7 -7
- data/lib/kubernetes/api/policy_v1_api.rb +16 -7
- data/lib/kubernetes/api/rbac_authorization_api.rb +7 -7
- data/lib/kubernetes/api/rbac_authorization_v1_api.rb +37 -7
- data/lib/kubernetes/api/resource_api.rb +7 -7
- data/lib/kubernetes/api/resource_v1_api.rb +285 -255
- data/lib/kubernetes/api/resource_v1alpha3_api.rb +848 -41
- data/lib/kubernetes/api/resource_v1beta1_api.rb +285 -255
- data/lib/kubernetes/api/resource_v1beta2_api.rb +1110 -279
- data/lib/kubernetes/api/scheduling_api.rb +7 -7
- data/lib/kubernetes/api/scheduling_v1_api.rb +13 -7
- data/lib/kubernetes/api/scheduling_v1alpha2_api.rb +1736 -0
- data/lib/kubernetes/api/storage_api.rb +7 -7
- data/lib/kubernetes/api/storage_v1_api.rb +95 -56
- data/lib/kubernetes/api/storage_v1beta1_api.rb +62 -56
- data/lib/kubernetes/api/storagemigration_api.rb +7 -7
- data/lib/kubernetes/api/storagemigration_v1beta1_api.rb +13 -7
- data/lib/kubernetes/api/version_api.rb +1 -1
- data/lib/kubernetes/api/well_known_api.rb +1 -1
- data/lib/kubernetes/api_client.rb +1 -1
- data/lib/kubernetes/api_error.rb +1 -1
- data/lib/kubernetes/configuration.rb +1 -1
- data/lib/kubernetes/models/admissionregistration_v1_service_reference.rb +5 -5
- data/lib/kubernetes/models/admissionregistration_v1_webhook_client_config.rb +3 -3
- data/lib/kubernetes/models/apiextensions_v1_service_reference.rb +1 -1
- data/lib/kubernetes/models/apiextensions_v1_webhook_client_config.rb +1 -1
- data/lib/kubernetes/models/apiregistration_v1_service_reference.rb +1 -1
- data/lib/kubernetes/models/authentication_v1_token_request.rb +1 -6
- data/lib/kubernetes/models/core_v1_endpoint_port.rb +1 -1
- data/lib/kubernetes/models/core_v1_event.rb +1 -1
- data/lib/kubernetes/models/core_v1_event_list.rb +1 -1
- data/lib/kubernetes/models/core_v1_event_series.rb +1 -1
- data/lib/kubernetes/models/core_v1_resource_claim.rb +1 -1
- data/lib/kubernetes/models/discovery_v1_endpoint_port.rb +1 -1
- data/lib/kubernetes/models/events_v1_event.rb +1 -1
- data/lib/kubernetes/models/events_v1_event_list.rb +1 -1
- data/lib/kubernetes/models/events_v1_event_series.rb +1 -1
- data/lib/kubernetes/models/flowcontrol_v1_subject.rb +1 -1
- data/lib/kubernetes/models/rbac_v1_subject.rb +1 -1
- data/lib/kubernetes/models/resource_v1_resource_claim.rb +2 -2
- data/lib/kubernetes/models/storage_v1_token_request.rb +1 -1
- data/lib/kubernetes/models/v1_affinity.rb +1 -1
- data/lib/kubernetes/models/v1_aggregation_rule.rb +1 -1
- data/lib/kubernetes/models/v1_allocated_device_status.rb +1 -1
- data/lib/kubernetes/models/v1_allocation_result.rb +2 -2
- data/lib/kubernetes/models/v1_api_group.rb +1 -1
- data/lib/kubernetes/models/v1_api_group_list.rb +1 -1
- data/lib/kubernetes/models/v1_api_resource.rb +1 -1
- data/lib/kubernetes/models/v1_api_resource_list.rb +1 -1
- data/lib/kubernetes/models/v1_api_service.rb +1 -1
- data/lib/kubernetes/models/v1_api_service_condition.rb +1 -1
- data/lib/kubernetes/models/v1_api_service_list.rb +1 -1
- data/lib/kubernetes/models/v1_api_service_spec.rb +1 -1
- data/lib/kubernetes/models/v1_api_service_status.rb +1 -1
- data/lib/kubernetes/models/v1_api_versions.rb +1 -1
- data/lib/kubernetes/models/v1_app_armor_profile.rb +1 -1
- data/lib/kubernetes/models/v1_apply_configuration.rb +220 -0
- data/lib/kubernetes/models/v1_attached_volume.rb +1 -1
- data/lib/kubernetes/models/v1_audit_annotation.rb +1 -1
- data/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_azure_disk_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_azure_file_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_binding.rb +1 -1
- data/lib/kubernetes/models/v1_bound_object_reference.rb +5 -5
- data/lib/kubernetes/models/v1_capabilities.rb +1 -1
- data/lib/kubernetes/models/v1_capacity_request_policy.rb +1 -1
- data/lib/kubernetes/models/v1_capacity_request_policy_range.rb +1 -1
- data/lib/kubernetes/models/v1_capacity_requirements.rb +1 -1
- data/lib/kubernetes/models/v1_cel_device_selector.rb +2 -2
- data/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_certificate_signing_request.rb +1 -1
- data/lib/kubernetes/models/v1_certificate_signing_request_condition.rb +1 -1
- data/lib/kubernetes/models/v1_certificate_signing_request_list.rb +1 -1
- data/lib/kubernetes/models/v1_certificate_signing_request_spec.rb +1 -1
- data/lib/kubernetes/models/v1_certificate_signing_request_status.rb +1 -1
- data/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_cinder_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_client_ip_config.rb +1 -1
- data/lib/kubernetes/models/v1_cluster_role.rb +1 -1
- data/lib/kubernetes/models/v1_cluster_role_binding.rb +1 -1
- data/lib/kubernetes/models/v1_cluster_role_binding_list.rb +1 -1
- data/lib/kubernetes/models/v1_cluster_role_list.rb +1 -1
- data/lib/kubernetes/models/v1_cluster_trust_bundle_projection.rb +1 -1
- data/lib/kubernetes/models/v1_component_condition.rb +1 -1
- data/lib/kubernetes/models/v1_component_status.rb +1 -1
- data/lib/kubernetes/models/v1_component_status_list.rb +1 -1
- data/lib/kubernetes/models/v1_condition.rb +1 -1
- data/lib/kubernetes/models/v1_config_map.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_env_source.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_key_selector.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_list.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_node_config_source.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_projection.rb +1 -1
- data/lib/kubernetes/models/v1_config_map_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_container.rb +1 -1
- data/lib/kubernetes/models/v1_container_extended_resource_request.rb +1 -1
- data/lib/kubernetes/models/v1_container_image.rb +1 -1
- data/lib/kubernetes/models/v1_container_port.rb +1 -1
- data/lib/kubernetes/models/v1_container_resize_policy.rb +1 -1
- data/lib/kubernetes/models/v1_container_restart_rule.rb +1 -1
- data/lib/kubernetes/models/v1_container_restart_rule_on_exit_codes.rb +1 -1
- data/lib/kubernetes/models/v1_container_state.rb +1 -1
- data/lib/kubernetes/models/v1_container_state_running.rb +1 -1
- data/lib/kubernetes/models/v1_container_state_terminated.rb +1 -1
- data/lib/kubernetes/models/v1_container_state_waiting.rb +1 -1
- data/lib/kubernetes/models/v1_container_status.rb +1 -1
- data/lib/kubernetes/models/v1_container_user.rb +1 -1
- data/lib/kubernetes/models/v1_controller_revision.rb +1 -1
- data/lib/kubernetes/models/v1_controller_revision_list.rb +1 -1
- data/lib/kubernetes/models/v1_counter.rb +1 -1
- data/lib/kubernetes/models/v1_counter_set.rb +1 -1
- data/lib/kubernetes/models/v1_cron_job.rb +6 -1
- data/lib/kubernetes/models/v1_cron_job_list.rb +1 -1
- data/lib/kubernetes/models/v1_cron_job_spec.rb +1 -1
- data/lib/kubernetes/models/v1_cron_job_status.rb +1 -1
- data/lib/kubernetes/models/v1_cross_version_object_reference.rb +1 -1
- data/lib/kubernetes/models/v1_csi_driver.rb +1 -1
- data/lib/kubernetes/models/v1_csi_driver_list.rb +1 -1
- data/lib/kubernetes/models/v1_csi_driver_spec.rb +13 -3
- data/lib/kubernetes/models/v1_csi_node.rb +1 -1
- data/lib/kubernetes/models/v1_csi_node_driver.rb +1 -1
- data/lib/kubernetes/models/v1_csi_node_list.rb +1 -1
- data/lib/kubernetes/models/v1_csi_node_spec.rb +1 -1
- data/lib/kubernetes/models/v1_csi_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_csi_storage_capacity.rb +1 -1
- data/lib/kubernetes/models/v1_csi_storage_capacity_list.rb +1 -1
- data/lib/kubernetes/models/v1_csi_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_column_definition.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_conversion.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_condition.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_list.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_names.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_spec.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_status.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_definition_version.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_subresource_scale.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_subresources.rb +1 -1
- data/lib/kubernetes/models/v1_custom_resource_validation.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_endpoint.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set_condition.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set_list.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set_spec.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set_status.rb +1 -1
- data/lib/kubernetes/models/v1_daemon_set_update_strategy.rb +1 -1
- data/lib/kubernetes/models/v1_delete_options.rb +1 -1
- data/lib/kubernetes/models/v1_deployment.rb +1 -1
- data/lib/kubernetes/models/v1_deployment_condition.rb +1 -1
- data/lib/kubernetes/models/v1_deployment_list.rb +1 -1
- data/lib/kubernetes/models/v1_deployment_spec.rb +1 -1
- data/lib/kubernetes/models/v1_deployment_status.rb +1 -1
- data/lib/kubernetes/models/v1_deployment_strategy.rb +1 -1
- data/lib/kubernetes/models/v1_device.rb +18 -6
- data/lib/kubernetes/models/v1_device_allocation_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_device_allocation_result.rb +1 -1
- data/lib/kubernetes/models/v1_device_attribute.rb +53 -5
- data/lib/kubernetes/models/v1_device_capacity.rb +1 -1
- data/lib/kubernetes/models/v1_device_claim.rb +1 -1
- data/lib/kubernetes/models/v1_device_claim_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_device_class.rb +2 -2
- data/lib/kubernetes/models/v1_device_class_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_device_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_device_class_spec.rb +2 -2
- data/lib/kubernetes/models/v1_device_constraint.rb +3 -3
- data/lib/kubernetes/models/v1_device_counter_consumption.rb +1 -1
- data/lib/kubernetes/models/v1_device_request.rb +1 -1
- data/lib/kubernetes/models/v1_device_request_allocation_result.rb +5 -5
- data/lib/kubernetes/models/v1_device_selector.rb +1 -1
- data/lib/kubernetes/models/v1_device_sub_request.rb +2 -2
- data/lib/kubernetes/models/v1_device_taint.rb +2 -2
- data/lib/kubernetes/models/v1_device_toleration.rb +1 -1
- data/lib/kubernetes/models/v1_downward_api_projection.rb +1 -1
- data/lib/kubernetes/models/v1_downward_api_volume_file.rb +1 -1
- data/lib/kubernetes/models/v1_downward_api_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_empty_dir_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint_address.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint_conditions.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint_hints.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint_slice.rb +1 -6
- data/lib/kubernetes/models/v1_endpoint_slice_list.rb +1 -1
- data/lib/kubernetes/models/v1_endpoint_subset.rb +1 -1
- data/lib/kubernetes/models/v1_endpoints.rb +1 -1
- data/lib/kubernetes/models/v1_endpoints_list.rb +1 -1
- data/lib/kubernetes/models/v1_env_from_source.rb +1 -1
- data/lib/kubernetes/models/v1_env_var.rb +1 -1
- data/lib/kubernetes/models/v1_env_var_source.rb +1 -1
- data/lib/kubernetes/models/v1_ephemeral_container.rb +1 -1
- data/lib/kubernetes/models/v1_ephemeral_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_event_source.rb +1 -1
- data/lib/kubernetes/models/v1_eviction.rb +1 -1
- data/lib/kubernetes/models/v1_exact_device_request.rb +3 -3
- data/lib/kubernetes/models/v1_exec_action.rb +1 -1
- data/lib/kubernetes/models/v1_exempt_priority_level_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_expression_warning.rb +3 -3
- data/lib/kubernetes/models/v1_external_documentation.rb +1 -1
- data/lib/kubernetes/models/v1_fc_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_field_selector_attributes.rb +1 -1
- data/lib/kubernetes/models/v1_field_selector_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_file_key_selector.rb +1 -1
- data/lib/kubernetes/models/v1_flex_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_flex_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_flocker_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_flow_distinguisher_method.rb +1 -1
- data/lib/kubernetes/models/v1_flow_schema.rb +1 -1
- data/lib/kubernetes/models/v1_flow_schema_condition.rb +1 -1
- data/lib/kubernetes/models/v1_flow_schema_list.rb +1 -1
- data/lib/kubernetes/models/v1_flow_schema_spec.rb +1 -1
- data/lib/kubernetes/models/v1_flow_schema_status.rb +1 -1
- data/lib/kubernetes/models/v1_for_node.rb +1 -1
- data/lib/kubernetes/models/v1_for_zone.rb +1 -1
- data/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_git_repo_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_glusterfs_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_group_resource.rb +1 -1
- data/lib/kubernetes/models/v1_group_subject.rb +1 -1
- data/lib/kubernetes/models/v1_group_version_for_discovery.rb +1 -1
- data/lib/kubernetes/models/v1_grpc_action.rb +1 -1
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +6 -1
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +1 -1
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +1 -1
- data/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +1 -1
- data/lib/kubernetes/models/v1_host_alias.rb +1 -1
- data/lib/kubernetes/models/v1_host_ip.rb +1 -1
- data/lib/kubernetes/models/v1_host_path_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_http_get_action.rb +1 -1
- data/lib/kubernetes/models/v1_http_header.rb +1 -1
- data/lib/kubernetes/models/v1_http_ingress_path.rb +1 -1
- data/lib/kubernetes/models/v1_http_ingress_rule_value.rb +1 -1
- data/lib/kubernetes/models/v1_image_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_image_volume_status.rb +225 -0
- data/lib/kubernetes/models/v1_ingress.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_backend.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_class.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_class_parameters_reference.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_class_spec.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_list.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_load_balancer_ingress.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_load_balancer_status.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_port_status.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_rule.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_service_backend.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_spec.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_status.rb +1 -1
- data/lib/kubernetes/models/v1_ingress_tls.rb +1 -1
- data/lib/kubernetes/models/v1_ip_address.rb +6 -1
- data/lib/kubernetes/models/v1_ip_address_list.rb +1 -1
- data/lib/kubernetes/models/v1_ip_address_spec.rb +1 -1
- data/lib/kubernetes/models/v1_ip_block.rb +1 -1
- data/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_iscsi_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_job.rb +1 -1
- data/lib/kubernetes/models/v1_job_condition.rb +1 -1
- data/lib/kubernetes/models/v1_job_list.rb +1 -1
- data/lib/kubernetes/models/v1_job_spec.rb +1 -1
- data/lib/kubernetes/models/v1_job_status.rb +1 -1
- data/lib/kubernetes/models/v1_job_template_spec.rb +1 -1
- data/lib/kubernetes/models/{v2_api_resource_discovery.rb → v1_json_patch.rb} +13 -109
- data/lib/kubernetes/models/v1_json_schema_props.rb +1 -1
- data/lib/kubernetes/models/v1_key_to_path.rb +1 -1
- data/lib/kubernetes/models/v1_label_selector.rb +1 -1
- data/lib/kubernetes/models/v1_label_selector_attributes.rb +1 -1
- data/lib/kubernetes/models/v1_label_selector_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_lease.rb +1 -1
- data/lib/kubernetes/models/v1_lease_list.rb +1 -1
- data/lib/kubernetes/models/v1_lease_spec.rb +1 -1
- data/lib/kubernetes/models/v1_lifecycle.rb +1 -1
- data/lib/kubernetes/models/v1_lifecycle_handler.rb +1 -1
- data/lib/kubernetes/models/v1_limit_range.rb +1 -1
- data/lib/kubernetes/models/v1_limit_range_item.rb +1 -1
- data/lib/kubernetes/models/v1_limit_range_list.rb +1 -1
- data/lib/kubernetes/models/v1_limit_range_spec.rb +1 -1
- data/lib/kubernetes/models/v1_limit_response.rb +1 -1
- data/lib/kubernetes/models/v1_limited_priority_level_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_linux_container_user.rb +1 -1
- data/lib/kubernetes/models/v1_list_meta.rb +14 -5
- data/lib/kubernetes/models/v1_load_balancer_ingress.rb +1 -1
- data/lib/kubernetes/models/v1_load_balancer_status.rb +1 -1
- data/lib/kubernetes/models/v1_local_object_reference.rb +1 -1
- data/lib/kubernetes/models/v1_local_subject_access_review.rb +1 -1
- data/lib/kubernetes/models/v1_local_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_managed_fields_entry.rb +1 -1
- data/lib/kubernetes/models/v1_match_condition.rb +3 -3
- data/lib/kubernetes/models/v1_match_resources.rb +3 -3
- data/lib/kubernetes/models/v1_modify_volume_status.rb +1 -1
- data/lib/kubernetes/models/{v2beta1_api_group_discovery.rb → v1_mutating_admission_policy.rb} +14 -14
- data/lib/kubernetes/models/v1_mutating_admission_policy_binding.rb +248 -0
- data/lib/kubernetes/models/v1_mutating_admission_policy_binding_list.rb +256 -0
- data/lib/kubernetes/models/v1_mutating_admission_policy_binding_spec.rb +238 -0
- data/lib/kubernetes/models/v1_mutating_admission_policy_list.rb +256 -0
- data/lib/kubernetes/models/v1_mutating_admission_policy_spec.rb +284 -0
- data/lib/kubernetes/models/v1_mutating_webhook.rb +8 -8
- data/lib/kubernetes/models/v1_mutating_webhook_configuration.rb +2 -2
- data/lib/kubernetes/models/v1_mutating_webhook_configuration_list.rb +1 -1
- data/lib/kubernetes/models/{v2_api_version_discovery.rb → v1_mutation.rb} +28 -31
- data/lib/kubernetes/models/v1_named_rule_with_operations.rb +6 -6
- data/lib/kubernetes/models/v1_namespace.rb +1 -1
- data/lib/kubernetes/models/v1_namespace_condition.rb +1 -1
- data/lib/kubernetes/models/v1_namespace_list.rb +1 -1
- data/lib/kubernetes/models/v1_namespace_spec.rb +1 -1
- data/lib/kubernetes/models/v1_namespace_status.rb +1 -1
- data/lib/kubernetes/models/v1_network_device_data.rb +3 -3
- data/lib/kubernetes/models/v1_network_policy.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_egress_rule.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_list.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_peer.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_port.rb +1 -1
- data/lib/kubernetes/models/v1_network_policy_spec.rb +1 -1
- data/lib/kubernetes/models/v1_nfs_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_node.rb +1 -1
- data/lib/kubernetes/models/v1_node_address.rb +1 -1
- data/lib/kubernetes/models/v1_node_affinity.rb +1 -1
- data/lib/kubernetes/models/{v2beta1_api_subresource_discovery.rb → v1_node_allocatable_resource_claim_status.rb} +36 -44
- data/lib/kubernetes/models/v1_node_allocatable_resource_mapping.rb +230 -0
- data/lib/kubernetes/models/v1_node_condition.rb +1 -1
- data/lib/kubernetes/models/v1_node_config_source.rb +1 -1
- data/lib/kubernetes/models/v1_node_config_status.rb +1 -1
- data/lib/kubernetes/models/v1_node_daemon_endpoints.rb +1 -1
- data/lib/kubernetes/models/v1_node_features.rb +1 -1
- data/lib/kubernetes/models/v1_node_list.rb +1 -1
- data/lib/kubernetes/models/v1_node_runtime_handler.rb +1 -1
- data/lib/kubernetes/models/v1_node_runtime_handler_features.rb +1 -1
- data/lib/kubernetes/models/v1_node_selector.rb +1 -1
- data/lib/kubernetes/models/v1_node_selector_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_node_selector_term.rb +1 -1
- data/lib/kubernetes/models/v1_node_spec.rb +1 -1
- data/lib/kubernetes/models/v1_node_status.rb +1 -1
- data/lib/kubernetes/models/v1_node_swap_status.rb +1 -1
- data/lib/kubernetes/models/v1_node_system_info.rb +1 -1
- data/lib/kubernetes/models/v1_non_resource_attributes.rb +3 -3
- data/lib/kubernetes/models/v1_non_resource_policy_rule.rb +1 -1
- data/lib/kubernetes/models/v1_non_resource_rule.rb +3 -3
- data/lib/kubernetes/models/v1_object_field_selector.rb +1 -1
- data/lib/kubernetes/models/v1_object_meta.rb +1 -1
- data/lib/kubernetes/models/v1_object_reference.rb +1 -1
- data/lib/kubernetes/models/v1_opaque_device_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_overhead.rb +1 -1
- data/lib/kubernetes/models/v1_owner_reference.rb +1 -1
- data/lib/kubernetes/models/v1_param_kind.rb +3 -3
- data/lib/kubernetes/models/v1_param_ref.rb +2 -2
- data/lib/kubernetes/models/v1_parent_reference.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_template.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_list.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_spec.rb +1 -1
- data/lib/kubernetes/models/v1_persistent_volume_status.rb +1 -1
- data/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_pod.rb +1 -1
- data/lib/kubernetes/models/v1_pod_affinity.rb +1 -1
- data/lib/kubernetes/models/v1_pod_affinity_term.rb +1 -1
- data/lib/kubernetes/models/v1_pod_anti_affinity.rb +1 -1
- data/lib/kubernetes/models/v1_pod_certificate_projection.rb +1 -1
- data/lib/kubernetes/models/v1_pod_condition.rb +2 -2
- data/lib/kubernetes/models/v1_pod_disruption_budget.rb +1 -1
- data/lib/kubernetes/models/v1_pod_disruption_budget_list.rb +1 -1
- data/lib/kubernetes/models/v1_pod_disruption_budget_spec.rb +1 -1
- data/lib/kubernetes/models/v1_pod_disruption_budget_status.rb +1 -21
- data/lib/kubernetes/models/v1_pod_dns_config.rb +1 -1
- data/lib/kubernetes/models/v1_pod_dns_config_option.rb +1 -1
- data/lib/kubernetes/models/v1_pod_extended_resource_claim_status.rb +1 -1
- data/lib/kubernetes/models/v1_pod_failure_policy.rb +1 -1
- data/lib/kubernetes/models/v1_pod_failure_policy_on_exit_codes_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_pod_failure_policy_on_pod_conditions_pattern.rb +1 -1
- data/lib/kubernetes/models/v1_pod_failure_policy_rule.rb +1 -1
- data/lib/kubernetes/models/v1_pod_ip.rb +1 -1
- data/lib/kubernetes/models/v1_pod_list.rb +1 -1
- data/lib/kubernetes/models/v1_pod_os.rb +1 -1
- data/lib/kubernetes/models/v1_pod_readiness_gate.rb +1 -1
- data/lib/kubernetes/models/v1_pod_resource_claim.rb +3 -3
- data/lib/kubernetes/models/v1_pod_resource_claim_status.rb +2 -2
- data/lib/kubernetes/models/v1_pod_scheduling_gate.rb +1 -1
- data/lib/kubernetes/models/v1_pod_scheduling_group.rb +220 -0
- data/lib/kubernetes/models/v1_pod_security_context.rb +1 -1
- data/lib/kubernetes/models/v1_pod_spec.rb +15 -15
- data/lib/kubernetes/models/v1_pod_status.rb +14 -2
- data/lib/kubernetes/models/v1_pod_template.rb +1 -1
- data/lib/kubernetes/models/v1_pod_template_list.rb +1 -1
- data/lib/kubernetes/models/v1_pod_template_spec.rb +1 -1
- data/lib/kubernetes/models/v1_policy_rule.rb +1 -1
- data/lib/kubernetes/models/v1_policy_rules_with_subjects.rb +1 -1
- data/lib/kubernetes/models/v1_port_status.rb +1 -1
- data/lib/kubernetes/models/v1_portworx_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_preconditions.rb +1 -1
- data/lib/kubernetes/models/v1_preferred_scheduling_term.rb +1 -1
- data/lib/kubernetes/models/v1_priority_class.rb +1 -6
- data/lib/kubernetes/models/v1_priority_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration_condition.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration_list.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration_reference.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration_spec.rb +1 -1
- data/lib/kubernetes/models/v1_priority_level_configuration_status.rb +1 -1
- data/lib/kubernetes/models/v1_probe.rb +1 -1
- data/lib/kubernetes/models/v1_projected_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_queuing_configuration.rb +1 -1
- data/lib/kubernetes/models/v1_quobyte_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_rbd_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_replica_set.rb +1 -1
- data/lib/kubernetes/models/v1_replica_set_condition.rb +1 -1
- data/lib/kubernetes/models/v1_replica_set_list.rb +1 -1
- data/lib/kubernetes/models/v1_replica_set_spec.rb +1 -1
- data/lib/kubernetes/models/v1_replica_set_status.rb +1 -1
- data/lib/kubernetes/models/v1_replication_controller.rb +1 -1
- data/lib/kubernetes/models/v1_replication_controller_condition.rb +1 -1
- data/lib/kubernetes/models/v1_replication_controller_list.rb +1 -1
- data/lib/kubernetes/models/v1_replication_controller_spec.rb +1 -1
- data/lib/kubernetes/models/v1_replication_controller_status.rb +1 -1
- data/lib/kubernetes/models/v1_resource_attributes.rb +8 -8
- data/lib/kubernetes/models/v1_resource_claim_consumer_reference.rb +1 -1
- data/lib/kubernetes/models/v1_resource_claim_list.rb +1 -1
- data/lib/kubernetes/models/v1_resource_claim_spec.rb +1 -1
- data/lib/kubernetes/models/v1_resource_claim_status.rb +1 -1
- data/lib/kubernetes/models/v1_resource_claim_template.rb +2 -2
- data/lib/kubernetes/models/v1_resource_claim_template_list.rb +1 -1
- data/lib/kubernetes/models/v1_resource_claim_template_spec.rb +1 -1
- data/lib/kubernetes/models/v1_resource_field_selector.rb +1 -1
- data/lib/kubernetes/models/v1_resource_health.rb +12 -2
- data/lib/kubernetes/models/v1_resource_policy_rule.rb +1 -1
- data/lib/kubernetes/models/v1_resource_pool.rb +1 -1
- data/lib/kubernetes/models/v1_resource_quota.rb +1 -1
- data/lib/kubernetes/models/v1_resource_quota_list.rb +1 -1
- data/lib/kubernetes/models/v1_resource_quota_spec.rb +1 -1
- data/lib/kubernetes/models/v1_resource_quota_status.rb +1 -1
- data/lib/kubernetes/models/v1_resource_requirements.rb +1 -1
- data/lib/kubernetes/models/v1_resource_rule.rb +5 -5
- data/lib/kubernetes/models/v1_resource_slice.rb +2 -2
- data/lib/kubernetes/models/v1_resource_slice_list.rb +1 -1
- data/lib/kubernetes/models/v1_resource_slice_spec.rb +1 -1
- data/lib/kubernetes/models/v1_resource_status.rb +1 -1
- data/lib/kubernetes/models/v1_role.rb +1 -1
- data/lib/kubernetes/models/v1_role_binding.rb +1 -1
- data/lib/kubernetes/models/v1_role_binding_list.rb +1 -1
- data/lib/kubernetes/models/v1_role_list.rb +1 -1
- data/lib/kubernetes/models/v1_role_ref.rb +1 -6
- data/lib/kubernetes/models/v1_rolling_update_daemon_set.rb +1 -1
- data/lib/kubernetes/models/v1_rolling_update_deployment.rb +1 -1
- data/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb +1 -1
- data/lib/kubernetes/models/v1_rule_with_operations.rb +5 -5
- data/lib/kubernetes/models/v1_runtime_class.rb +1 -1
- data/lib/kubernetes/models/v1_runtime_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_scale.rb +1 -1
- data/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_scale_io_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_scale_spec.rb +1 -1
- data/lib/kubernetes/models/v1_scale_status.rb +1 -1
- data/lib/kubernetes/models/v1_scheduling.rb +1 -1
- data/lib/kubernetes/models/v1_scope_selector.rb +1 -1
- data/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_se_linux_options.rb +1 -1
- data/lib/kubernetes/models/v1_seccomp_profile.rb +1 -1
- data/lib/kubernetes/models/v1_secret.rb +1 -1
- data/lib/kubernetes/models/v1_secret_env_source.rb +1 -1
- data/lib/kubernetes/models/v1_secret_key_selector.rb +1 -1
- data/lib/kubernetes/models/v1_secret_list.rb +1 -1
- data/lib/kubernetes/models/v1_secret_projection.rb +1 -1
- data/lib/kubernetes/models/v1_secret_reference.rb +1 -1
- data/lib/kubernetes/models/v1_secret_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_security_context.rb +2 -2
- data/lib/kubernetes/models/v1_selectable_field.rb +1 -1
- data/lib/kubernetes/models/v1_self_subject_access_review.rb +1 -1
- data/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +2 -2
- data/lib/kubernetes/models/v1_self_subject_review.rb +1 -1
- data/lib/kubernetes/models/v1_self_subject_review_status.rb +1 -1
- data/lib/kubernetes/models/v1_self_subject_rules_review.rb +1 -1
- data/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +2 -2
- data/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +1 -1
- data/lib/kubernetes/models/v1_service.rb +1 -1
- data/lib/kubernetes/models/v1_service_account.rb +1 -1
- data/lib/kubernetes/models/v1_service_account_list.rb +1 -1
- data/lib/kubernetes/models/v1_service_account_subject.rb +1 -1
- data/lib/kubernetes/models/v1_service_account_token_projection.rb +1 -1
- data/lib/kubernetes/models/v1_service_backend_port.rb +1 -1
- data/lib/kubernetes/models/v1_service_cidr.rb +1 -1
- data/lib/kubernetes/models/v1_service_cidr_list.rb +1 -1
- data/lib/kubernetes/models/v1_service_cidr_spec.rb +1 -1
- data/lib/kubernetes/models/v1_service_cidr_status.rb +1 -1
- data/lib/kubernetes/models/v1_service_list.rb +1 -1
- data/lib/kubernetes/models/v1_service_port.rb +1 -1
- data/lib/kubernetes/models/v1_service_spec.rb +1 -1
- data/lib/kubernetes/models/v1_service_status.rb +1 -1
- data/lib/kubernetes/models/v1_session_affinity_config.rb +1 -1
- data/lib/kubernetes/models/v1_shard_info.rb +225 -0
- data/lib/kubernetes/models/v1_sleep_action.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_condition.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_list.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_ordinals.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_persistent_volume_claim_retention_policy.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_spec.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_status.rb +1 -1
- data/lib/kubernetes/models/v1_stateful_set_update_strategy.rb +1 -1
- data/lib/kubernetes/models/v1_status.rb +1 -1
- data/lib/kubernetes/models/v1_status_cause.rb +1 -1
- data/lib/kubernetes/models/v1_status_details.rb +1 -1
- data/lib/kubernetes/models/v1_storage_class.rb +1 -1
- data/lib/kubernetes/models/v1_storage_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_storage_os_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_subject_access_review.rb +1 -1
- data/lib/kubernetes/models/v1_subject_access_review_spec.rb +6 -6
- data/lib/kubernetes/models/v1_subject_access_review_status.rb +5 -5
- data/lib/kubernetes/models/v1_subject_rules_review_status.rb +5 -5
- data/lib/kubernetes/models/v1_success_policy.rb +1 -1
- data/lib/kubernetes/models/v1_success_policy_rule.rb +1 -1
- data/lib/kubernetes/models/v1_sysctl.rb +1 -1
- data/lib/kubernetes/models/v1_taint.rb +1 -1
- data/lib/kubernetes/models/v1_tcp_socket_action.rb +1 -1
- data/lib/kubernetes/models/v1_token_request_spec.rb +3 -8
- data/lib/kubernetes/models/v1_token_request_status.rb +3 -13
- data/lib/kubernetes/models/v1_token_review.rb +1 -1
- data/lib/kubernetes/models/v1_token_review_spec.rb +8 -3
- data/lib/kubernetes/models/v1_token_review_status.rb +4 -4
- data/lib/kubernetes/models/v1_toleration.rb +1 -1
- data/lib/kubernetes/models/v1_topology_selector_label_requirement.rb +1 -1
- data/lib/kubernetes/models/v1_topology_selector_term.rb +1 -1
- data/lib/kubernetes/models/v1_topology_spread_constraint.rb +1 -1
- data/lib/kubernetes/models/v1_type_checking.rb +2 -2
- data/lib/kubernetes/models/v1_typed_local_object_reference.rb +1 -1
- data/lib/kubernetes/models/v1_typed_object_reference.rb +1 -1
- data/lib/kubernetes/models/v1_uncounted_terminated_pods.rb +1 -1
- data/lib/kubernetes/models/v1_user_info.rb +5 -5
- data/lib/kubernetes/models/v1_user_subject.rb +1 -1
- data/lib/kubernetes/models/v1_validating_admission_policy.rb +1 -1
- data/lib/kubernetes/models/v1_validating_admission_policy_binding.rb +6 -1
- data/lib/kubernetes/models/v1_validating_admission_policy_binding_list.rb +1 -1
- data/lib/kubernetes/models/v1_validating_admission_policy_binding_spec.rb +12 -2
- data/lib/kubernetes/models/v1_validating_admission_policy_list.rb +1 -1
- data/lib/kubernetes/models/v1_validating_admission_policy_spec.rb +4 -4
- data/lib/kubernetes/models/v1_validating_admission_policy_status.rb +3 -3
- data/lib/kubernetes/models/v1_validating_webhook.rb +8 -8
- data/lib/kubernetes/models/v1_validating_webhook_configuration.rb +2 -2
- data/lib/kubernetes/models/v1_validating_webhook_configuration_list.rb +1 -1
- data/lib/kubernetes/models/v1_validation.rb +4 -4
- data/lib/kubernetes/models/v1_validation_rule.rb +1 -1
- data/lib/kubernetes/models/v1_variable.rb +3 -3
- data/lib/kubernetes/models/v1_volume.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attachment.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attachment_list.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attachment_source.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attachment_spec.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attachment_status.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attributes_class.rb +1 -1
- data/lib/kubernetes/models/v1_volume_attributes_class_list.rb +1 -1
- data/lib/kubernetes/models/v1_volume_device.rb +1 -1
- data/lib/kubernetes/models/v1_volume_error.rb +2 -2
- data/lib/kubernetes/models/v1_volume_mount.rb +1 -1
- data/lib/kubernetes/models/v1_volume_mount_status.rb +14 -5
- data/lib/kubernetes/models/v1_volume_node_affinity.rb +1 -1
- data/lib/kubernetes/models/v1_volume_node_resources.rb +1 -1
- data/lib/kubernetes/models/v1_volume_projection.rb +1 -1
- data/lib/kubernetes/models/v1_volume_resource_requirements.rb +1 -1
- data/lib/kubernetes/models/v1_volume_status.rb +219 -0
- data/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +1 -1
- data/lib/kubernetes/models/v1_watch_event.rb +1 -1
- data/lib/kubernetes/models/v1_webhook_conversion.rb +1 -1
- data/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +1 -1
- data/lib/kubernetes/models/v1_windows_security_context_options.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_apply_configuration.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_cluster_trust_bundle_spec.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_json_patch.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_match_condition.rb +3 -3
- data/lib/kubernetes/models/v1alpha1_match_resources.rb +3 -3
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_binding_spec.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutating_admission_policy_spec.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_mutation.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_named_rule_with_operations.rb +6 -6
- data/lib/kubernetes/models/v1alpha1_param_kind.rb +3 -3
- data/lib/kubernetes/models/v1alpha1_param_ref.rb +3 -3
- data/lib/kubernetes/models/v1alpha1_server_storage_version.rb +20 -5
- data/lib/kubernetes/models/v1alpha1_storage_version.rb +5 -10
- data/lib/kubernetes/models/v1alpha1_storage_version_condition.rb +7 -7
- data/lib/kubernetes/models/v1alpha1_storage_version_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha1_storage_version_status.rb +4 -4
- data/lib/kubernetes/models/v1alpha1_variable.rb +3 -3
- data/lib/kubernetes/models/{v1alpha1_gang_scheduling_policy.rb → v1alpha2_gang_scheduling_policy.rb} +4 -4
- data/lib/kubernetes/models/v1alpha2_lease_candidate.rb +6 -1
- data/lib/kubernetes/models/v1alpha2_lease_candidate_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha2_lease_candidate_spec.rb +1 -1
- data/lib/kubernetes/models/v1alpha2_pod_group.rb +262 -0
- data/lib/kubernetes/models/{v2_api_group_discovery_list.rb → v1alpha2_pod_group_list.rb} +23 -20
- data/lib/kubernetes/models/{v1_workload_reference.rb → v1alpha2_pod_group_resource_claim.rb} +21 -26
- data/lib/kubernetes/models/v1alpha2_pod_group_resource_claim_status.rb +235 -0
- data/lib/kubernetes/models/v1alpha2_pod_group_scheduling_constraints.rb +222 -0
- data/lib/kubernetes/models/{v1alpha1_pod_group_policy.rb → v1alpha2_pod_group_scheduling_policy.rb} +6 -6
- data/lib/kubernetes/models/{v2beta1_api_resource_discovery.rb → v1alpha2_pod_group_spec.rb} +56 -88
- data/lib/kubernetes/models/v1alpha2_pod_group_status.rb +234 -0
- data/lib/kubernetes/models/v1alpha2_pod_group_template.rb +290 -0
- data/lib/kubernetes/models/v1alpha2_pod_group_template_reference.rb +219 -0
- data/lib/kubernetes/models/v1alpha2_topology_constraint.rb +225 -0
- data/lib/kubernetes/models/{v1alpha1_typed_local_object_reference.rb → v1alpha2_typed_local_object_reference.rb} +4 -4
- data/lib/kubernetes/models/{v1alpha1_workload.rb → v1alpha2_workload.rb} +6 -6
- data/lib/kubernetes/models/{v1alpha1_workload_list.rb → v1alpha2_workload_list.rb} +5 -5
- data/lib/kubernetes/models/v1alpha2_workload_pod_group_template_reference.rb +240 -0
- data/lib/kubernetes/models/{v1alpha1_workload_spec.rb → v1alpha2_workload_spec.rb} +17 -17
- data/lib/kubernetes/models/v1alpha3_device_taint.rb +2 -2
- data/lib/kubernetes/models/v1alpha3_device_taint_rule.rb +1 -1
- data/lib/kubernetes/models/v1alpha3_device_taint_rule_list.rb +1 -1
- data/lib/kubernetes/models/v1alpha3_device_taint_rule_spec.rb +1 -1
- data/lib/kubernetes/models/v1alpha3_device_taint_rule_status.rb +1 -1
- data/lib/kubernetes/models/v1alpha3_device_taint_selector.rb +1 -1
- data/lib/kubernetes/models/v1alpha3_pool_status.rb +325 -0
- data/lib/kubernetes/models/v1alpha3_resource_pool_status_request.rb +267 -0
- data/lib/kubernetes/models/v1alpha3_resource_pool_status_request_list.rb +256 -0
- data/lib/kubernetes/models/v1alpha3_resource_pool_status_request_spec.rb +245 -0
- data/lib/kubernetes/models/{v2_api_subresource_discovery.rb → v1alpha3_resource_pool_status_request_status.rb} +33 -46
- data/lib/kubernetes/models/v1beta1_allocated_device_status.rb +1 -1
- data/lib/kubernetes/models/v1beta1_allocation_result.rb +2 -2
- data/lib/kubernetes/models/v1beta1_apply_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_basic_device.rb +18 -6
- data/lib/kubernetes/models/v1beta1_capacity_request_policy.rb +1 -1
- data/lib/kubernetes/models/v1beta1_capacity_request_policy_range.rb +1 -1
- data/lib/kubernetes/models/v1beta1_capacity_requirements.rb +1 -1
- data/lib/kubernetes/models/v1beta1_cel_device_selector.rb +2 -2
- data/lib/kubernetes/models/v1beta1_cluster_trust_bundle.rb +1 -1
- data/lib/kubernetes/models/v1beta1_cluster_trust_bundle_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_cluster_trust_bundle_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_counter.rb +1 -1
- data/lib/kubernetes/models/v1beta1_counter_set.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_allocation_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_allocation_result.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_attribute.rb +53 -5
- data/lib/kubernetes/models/v1beta1_device_capacity.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_claim.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_claim_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_class.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_class_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_class_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_class_spec.rb +2 -2
- data/lib/kubernetes/models/v1beta1_device_constraint.rb +3 -3
- data/lib/kubernetes/models/v1beta1_device_counter_consumption.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_request.rb +2 -2
- data/lib/kubernetes/models/v1beta1_device_request_allocation_result.rb +4 -4
- data/lib/kubernetes/models/v1beta1_device_selector.rb +1 -1
- data/lib/kubernetes/models/v1beta1_device_sub_request.rb +2 -2
- data/lib/kubernetes/models/v1beta1_device_taint.rb +2 -2
- data/lib/kubernetes/models/v1beta1_device_toleration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_ip_address.rb +6 -1
- data/lib/kubernetes/models/v1beta1_ip_address_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_ip_address_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_json_patch.rb +1 -1
- data/lib/kubernetes/models/v1beta1_lease_candidate.rb +6 -1
- data/lib/kubernetes/models/v1beta1_lease_candidate_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_lease_candidate_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_match_condition.rb +3 -3
- data/lib/kubernetes/models/v1beta1_match_resources.rb +3 -3
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy_binding_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutating_admission_policy_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_mutation.rb +1 -1
- data/lib/kubernetes/models/v1beta1_named_rule_with_operations.rb +6 -6
- data/lib/kubernetes/models/v1beta1_network_device_data.rb +3 -3
- data/lib/kubernetes/models/v1beta1_node_allocatable_resource_mapping.rb +230 -0
- data/lib/kubernetes/models/v1beta1_opaque_device_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_param_kind.rb +3 -3
- data/lib/kubernetes/models/v1beta1_param_ref.rb +2 -2
- data/lib/kubernetes/models/v1beta1_parent_reference.rb +1 -1
- data/lib/kubernetes/models/v1beta1_pod_certificate_request.rb +1 -1
- data/lib/kubernetes/models/v1beta1_pod_certificate_request_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_pod_certificate_request_spec.rb +46 -28
- data/lib/kubernetes/models/v1beta1_pod_certificate_request_status.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_consumer_reference.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_status.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_template.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_template_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_claim_template_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_pool.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_slice.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_slice_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_resource_slice_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_service_cidr.rb +1 -1
- data/lib/kubernetes/models/v1beta1_service_cidr_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_service_cidr_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_service_cidr_status.rb +1 -1
- data/lib/kubernetes/models/v1beta1_storage_version_migration.rb +1 -1
- data/lib/kubernetes/models/v1beta1_storage_version_migration_list.rb +1 -1
- data/lib/kubernetes/models/v1beta1_storage_version_migration_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta1_storage_version_migration_status.rb +1 -1
- data/lib/kubernetes/models/v1beta1_variable.rb +3 -3
- data/lib/kubernetes/models/v1beta1_volume_attributes_class.rb +1 -1
- data/lib/kubernetes/models/v1beta1_volume_attributes_class_list.rb +1 -1
- data/lib/kubernetes/models/v1beta2_allocated_device_status.rb +1 -1
- data/lib/kubernetes/models/v1beta2_allocation_result.rb +2 -2
- data/lib/kubernetes/models/v1beta2_capacity_request_policy.rb +1 -1
- data/lib/kubernetes/models/v1beta2_capacity_request_policy_range.rb +1 -1
- data/lib/kubernetes/models/v1beta2_capacity_requirements.rb +1 -1
- data/lib/kubernetes/models/v1beta2_cel_device_selector.rb +2 -2
- data/lib/kubernetes/models/v1beta2_counter.rb +1 -1
- data/lib/kubernetes/models/v1beta2_counter_set.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device.rb +18 -6
- data/lib/kubernetes/models/v1beta2_device_allocation_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_allocation_result.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_attribute.rb +53 -5
- data/lib/kubernetes/models/v1beta2_device_capacity.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_claim.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_claim_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_class.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_class_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_class_list.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_class_spec.rb +2 -2
- data/lib/kubernetes/models/v1beta2_device_constraint.rb +3 -3
- data/lib/kubernetes/models/v1beta2_device_counter_consumption.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_request.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_request_allocation_result.rb +4 -4
- data/lib/kubernetes/models/v1beta2_device_selector.rb +1 -1
- data/lib/kubernetes/models/v1beta2_device_sub_request.rb +2 -2
- data/lib/kubernetes/models/v1beta2_device_taint.rb +2 -2
- data/lib/kubernetes/models/{v2_api_group_discovery.rb → v1beta2_device_taint_rule.rb} +28 -14
- data/lib/kubernetes/models/{v2beta1_api_group_discovery_list.rb → v1beta2_device_taint_rule_list.rb} +23 -20
- data/lib/kubernetes/models/{v1alpha1_pod_group.rb → v1beta2_device_taint_rule_spec.rb} +21 -27
- data/lib/kubernetes/models/v1beta2_device_taint_rule_status.rb +222 -0
- data/lib/kubernetes/models/{v2beta1_api_version_discovery.rb → v1beta2_device_taint_selector.rb} +27 -33
- data/lib/kubernetes/models/v1beta2_device_toleration.rb +1 -1
- data/lib/kubernetes/models/v1beta2_exact_device_request.rb +2 -2
- data/lib/kubernetes/models/v1beta2_network_device_data.rb +3 -3
- data/lib/kubernetes/models/v1beta2_node_allocatable_resource_mapping.rb +230 -0
- data/lib/kubernetes/models/v1beta2_opaque_device_configuration.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_consumer_reference.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_list.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_status.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_template.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_template_list.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_claim_template_spec.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_pool.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_slice.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_slice_list.rb +1 -1
- data/lib/kubernetes/models/v1beta2_resource_slice_spec.rb +1 -1
- data/lib/kubernetes/models/v2_container_resource_metric_source.rb +1 -1
- data/lib/kubernetes/models/v2_container_resource_metric_status.rb +1 -1
- data/lib/kubernetes/models/v2_cross_version_object_reference.rb +1 -1
- data/lib/kubernetes/models/v2_external_metric_source.rb +1 -1
- data/lib/kubernetes/models/v2_external_metric_status.rb +1 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler.rb +6 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_behavior.rb +1 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_condition.rb +1 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_list.rb +1 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_spec.rb +1 -1
- data/lib/kubernetes/models/v2_horizontal_pod_autoscaler_status.rb +1 -1
- data/lib/kubernetes/models/v2_hpa_scaling_policy.rb +1 -1
- data/lib/kubernetes/models/v2_hpa_scaling_rules.rb +1 -1
- data/lib/kubernetes/models/v2_metric_identifier.rb +1 -1
- data/lib/kubernetes/models/v2_metric_spec.rb +1 -1
- data/lib/kubernetes/models/v2_metric_status.rb +1 -1
- data/lib/kubernetes/models/v2_metric_target.rb +1 -1
- data/lib/kubernetes/models/v2_metric_value_status.rb +1 -1
- data/lib/kubernetes/models/v2_object_metric_source.rb +1 -1
- data/lib/kubernetes/models/v2_object_metric_status.rb +1 -1
- data/lib/kubernetes/models/v2_pods_metric_source.rb +1 -1
- data/lib/kubernetes/models/v2_pods_metric_status.rb +1 -1
- data/lib/kubernetes/models/v2_resource_metric_source.rb +1 -1
- data/lib/kubernetes/models/v2_resource_metric_status.rb +1 -1
- data/lib/kubernetes/models/version_info.rb +1 -1
- data/lib/kubernetes/utils.rb +2 -2
- data/lib/kubernetes/version.rb +2 -2
- data/lib/kubernetes.rb +46 -20
- metadata +46 -20
- 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.
|
|
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
|
|
23
|
-
# @param body [
|
|
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 [
|
|
30
|
-
def
|
|
31
|
-
data, _status_code, _headers =
|
|
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
|
|
36
|
-
# @param body [
|
|
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<(
|
|
43
|
-
def
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
96
|
-
# @param body [
|
|
95
|
+
# create a MutatingAdmissionPolicy
|
|
96
|
+
# @param body [V1alpha1MutatingAdmissionPolicy]
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @option opts [String] :pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
99
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 [
|
|
103
|
-
def
|
|
104
|
-
data, _status_code, _headers =
|
|
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
|
|
109
|
-
# @param body [
|
|
108
|
+
# create a MutatingAdmissionPolicy
|
|
109
|
+
# @param body [V1alpha1MutatingAdmissionPolicy]
|
|
110
110
|
# @param [Hash] opts the optional parameters
|
|
111
111
|
# @option opts [String] :pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
112
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<(
|
|
116
|
-
def
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
168
|
+
# delete collection of MutatingAdmissionPolicyBinding
|
|
169
169
|
# @param [Hash] opts the optional parameters
|
|
170
170
|
# @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).
|
|
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 \"next key\". This field is not 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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
|
|
187
|
-
data, _status_code, _headers =
|
|
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
|
|
192
|
+
# delete collection of MutatingAdmissionPolicyBinding
|
|
192
193
|
# @param [Hash] opts the optional parameters
|
|
193
194
|
# @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).
|
|
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 \"next key\". This field is not 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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
|
|
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.
|
|
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/
|
|
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.
|
|
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#
|
|
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
|
|
270
|
+
# delete collection of MutatingAdmissionPolicy
|
|
268
271
|
# @param [Hash] opts the optional parameters
|
|
269
272
|
# @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).
|
|
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 \"next key\". This field is not 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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
|
|
286
|
-
data, _status_code, _headers =
|
|
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
|
|
294
|
+
# delete collection of MutatingAdmissionPolicy
|
|
291
295
|
# @param [Hash] opts the optional parameters
|
|
292
296
|
# @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).
|
|
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 \"next key\". This field is not 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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
|
|
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.
|
|
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/
|
|
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.
|
|
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#
|
|
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
|
|
367
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
375
381
|
# @option opts [V1DeleteOptions] :body
|
|
376
382
|
# @return [V1Status]
|
|
377
|
-
def
|
|
378
|
-
data, _status_code, _headers =
|
|
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
|
|
383
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - 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
|
|
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.
|
|
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.
|
|
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/
|
|
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.
|
|
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#
|
|
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
|
|
448
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
456
462
|
# @option opts [V1DeleteOptions] :body
|
|
457
463
|
# @return [V1Status]
|
|
458
|
-
def
|
|
459
|
-
data, _status_code, _headers =
|
|
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
|
|
464
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - 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
|
|
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.
|
|
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.
|
|
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/
|
|
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.
|
|
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#
|
|
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
|
|
532
|
-
data, _status_code, _headers =
|
|
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
|
|
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.
|
|
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.
|
|
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#
|
|
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
|
|
589
|
+
# list or watch objects of kind MutatingAdmissionPolicyBinding
|
|
584
590
|
# @param [Hash] opts the optional parameters
|
|
585
591
|
# @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).
|
|
586
592
|
# @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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 [
|
|
597
|
-
def
|
|
598
|
-
data, _status_code, _headers =
|
|
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
|
|
609
|
+
# list or watch objects of kind MutatingAdmissionPolicyBinding
|
|
603
610
|
# @param [Hash] opts the optional parameters
|
|
604
611
|
# @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).
|
|
605
612
|
# @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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<(
|
|
616
|
-
def
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
680
|
+
# list or watch objects of kind MutatingAdmissionPolicy
|
|
672
681
|
# @param [Hash] opts the optional parameters
|
|
673
682
|
# @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).
|
|
674
683
|
# @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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 [
|
|
685
|
-
def
|
|
686
|
-
data, _status_code, _headers =
|
|
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
|
|
700
|
+
# list or watch objects of kind MutatingAdmissionPolicy
|
|
691
701
|
# @param [Hash] opts the optional parameters
|
|
692
702
|
# @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).
|
|
693
703
|
# @option opts [Boolean] :allow_watch_bookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, 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 `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (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, '0x0', '0x8000000000000000') shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') Field paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths: - object.metadata.uid - object.metadata.namespace hexStart and hexEnd are single-quoted CEL string literals with a '0x' 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, '0x0000000000000000', '0x8000000000000000') shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000') 4-shard split: shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000') shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000') shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000') shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000') 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<(
|
|
704
|
-
def
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
760
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 \"force\" 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 [
|
|
769
|
-
def
|
|
770
|
-
data, _status_code, _headers =
|
|
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
|
|
775
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 \"force\" 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<(
|
|
784
|
-
def
|
|
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.
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
844
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 \"force\" 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 [
|
|
853
|
-
def
|
|
854
|
-
data, _status_code, _headers =
|
|
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
|
|
859
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 \"force\" 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<(
|
|
868
|
-
def
|
|
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.
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
928
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
931
|
-
# @return [
|
|
932
|
-
def
|
|
933
|
-
data, _status_code, _headers =
|
|
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
|
|
938
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
941
|
-
# @return [Array<(
|
|
942
|
-
def
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
992
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
995
|
-
# @return [
|
|
996
|
-
def
|
|
997
|
-
data, _status_code, _headers =
|
|
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
|
|
1002
|
-
# @param name [String] name of the
|
|
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 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
|
|
1005
|
-
# @return [Array<(
|
|
1006
|
-
def
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
1056
|
-
# @param name [String] name of the
|
|
1057
|
-
# @param body [
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 [
|
|
1064
|
-
def
|
|
1065
|
-
data, _status_code, _headers =
|
|
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
|
|
1070
|
-
# @param name [String] name of the
|
|
1071
|
-
# @param body [
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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<(
|
|
1078
|
-
def
|
|
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.
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|
|
1135
|
-
# @param name [String] name of the
|
|
1136
|
-
# @param body [
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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 [
|
|
1143
|
-
def
|
|
1144
|
-
data, _status_code, _headers =
|
|
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
|
|
1149
|
-
# @param name [String] name of the
|
|
1150
|
-
# @param body [
|
|
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 'true', then the output is pretty printed. Defaults to 'false' 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<(
|
|
1157
|
-
def
|
|
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.
|
|
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.
|
|
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.
|
|
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/
|
|
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] || '
|
|
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.
|
|
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#
|
|
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
|