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
|
|
@@ -100,8 +100,8 @@ module Kubernetes
|
|
|
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
102
|
# @return [V1IPAddress]
|
|
103
|
-
def
|
|
104
|
-
data, _status_code, _headers =
|
|
103
|
+
def create_ip_address(body, opts = {})
|
|
104
|
+
data, _status_code, _headers = create_ip_address_with_http_info(body, opts)
|
|
105
105
|
data
|
|
106
106
|
end
|
|
107
107
|
|
|
@@ -113,13 +113,13 @@ module Kubernetes
|
|
|
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
115
|
# @return [Array<(V1IPAddress, Integer, Hash)>] V1IPAddress data, response status code and response headers
|
|
116
|
-
def
|
|
116
|
+
def create_ip_address_with_http_info(body, opts = {})
|
|
117
117
|
if @api_client.config.debugging
|
|
118
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
118
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.create_ip_address ...'
|
|
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 NetworkingV1Api.
|
|
122
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.create_ip_address"
|
|
123
123
|
end
|
|
124
124
|
# resource path
|
|
125
125
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses'
|
|
@@ -149,7 +149,7 @@ module Kubernetes
|
|
|
149
149
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
150
150
|
|
|
151
151
|
new_options = opts.merge(
|
|
152
|
-
:operation => :"NetworkingV1Api.
|
|
152
|
+
:operation => :"NetworkingV1Api.create_ip_address",
|
|
153
153
|
:header_params => header_params,
|
|
154
154
|
:query_params => query_params,
|
|
155
155
|
:form_params => form_params,
|
|
@@ -160,7 +160,7 @@ 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: NetworkingV1Api#
|
|
163
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#create_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
164
164
|
end
|
|
165
165
|
return data, status_code, headers
|
|
166
166
|
end
|
|
@@ -331,8 +331,8 @@ module Kubernetes
|
|
|
331
331
|
# @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.
|
|
332
332
|
# @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.
|
|
333
333
|
# @return [V1ServiceCIDR]
|
|
334
|
-
def
|
|
335
|
-
data, _status_code, _headers =
|
|
334
|
+
def create_service_cidr(body, opts = {})
|
|
335
|
+
data, _status_code, _headers = create_service_cidr_with_http_info(body, opts)
|
|
336
336
|
data
|
|
337
337
|
end
|
|
338
338
|
|
|
@@ -344,13 +344,13 @@ module Kubernetes
|
|
|
344
344
|
# @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.
|
|
345
345
|
# @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.
|
|
346
346
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
347
|
-
def
|
|
347
|
+
def create_service_cidr_with_http_info(body, opts = {})
|
|
348
348
|
if @api_client.config.debugging
|
|
349
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
349
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.create_service_cidr ...'
|
|
350
350
|
end
|
|
351
351
|
# verify the required parameter 'body' is set
|
|
352
352
|
if @api_client.config.client_side_validation && body.nil?
|
|
353
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
353
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.create_service_cidr"
|
|
354
354
|
end
|
|
355
355
|
# resource path
|
|
356
356
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs'
|
|
@@ -380,7 +380,7 @@ module Kubernetes
|
|
|
380
380
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
381
381
|
|
|
382
382
|
new_options = opts.merge(
|
|
383
|
-
:operation => :"NetworkingV1Api.
|
|
383
|
+
:operation => :"NetworkingV1Api.create_service_cidr",
|
|
384
384
|
:header_params => header_params,
|
|
385
385
|
:query_params => query_params,
|
|
386
386
|
:form_params => form_params,
|
|
@@ -391,7 +391,7 @@ module Kubernetes
|
|
|
391
391
|
|
|
392
392
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
393
393
|
if @api_client.config.debugging
|
|
394
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
394
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#create_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
395
395
|
end
|
|
396
396
|
return data, status_code, headers
|
|
397
397
|
end
|
|
@@ -411,6 +411,7 @@ module Kubernetes
|
|
|
411
411
|
# @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
|
|
412
412
|
# @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
|
|
413
413
|
# @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.
|
|
414
|
+
# @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.
|
|
414
415
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
415
416
|
# @option opts [V1DeleteOptions] :body
|
|
416
417
|
# @return [V1Status]
|
|
@@ -434,6 +435,7 @@ module Kubernetes
|
|
|
434
435
|
# @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
|
|
435
436
|
# @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
|
|
436
437
|
# @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.
|
|
438
|
+
# @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.
|
|
437
439
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
438
440
|
# @option opts [V1DeleteOptions] :body
|
|
439
441
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -459,6 +461,7 @@ module Kubernetes
|
|
|
459
461
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
460
462
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
461
463
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
464
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
462
465
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
463
466
|
|
|
464
467
|
# header parameters
|
|
@@ -510,11 +513,12 @@ module Kubernetes
|
|
|
510
513
|
# @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
|
|
511
514
|
# @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
|
|
512
515
|
# @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.
|
|
516
|
+
# @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.
|
|
513
517
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
514
518
|
# @option opts [V1DeleteOptions] :body
|
|
515
519
|
# @return [V1Status]
|
|
516
|
-
def
|
|
517
|
-
data, _status_code, _headers =
|
|
520
|
+
def delete_collection_ip_address(opts = {})
|
|
521
|
+
data, _status_code, _headers = delete_collection_ip_address_with_http_info(opts)
|
|
518
522
|
data
|
|
519
523
|
end
|
|
520
524
|
|
|
@@ -533,12 +537,13 @@ module Kubernetes
|
|
|
533
537
|
# @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
|
|
534
538
|
# @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
|
|
535
539
|
# @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.
|
|
540
|
+
# @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.
|
|
536
541
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
537
542
|
# @option opts [V1DeleteOptions] :body
|
|
538
543
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
539
|
-
def
|
|
544
|
+
def delete_collection_ip_address_with_http_info(opts = {})
|
|
540
545
|
if @api_client.config.debugging
|
|
541
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
546
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.delete_collection_ip_address ...'
|
|
542
547
|
end
|
|
543
548
|
# resource path
|
|
544
549
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses'
|
|
@@ -558,6 +563,7 @@ module Kubernetes
|
|
|
558
563
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
559
564
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
560
565
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
566
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
561
567
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
562
568
|
|
|
563
569
|
# header parameters
|
|
@@ -578,7 +584,7 @@ module Kubernetes
|
|
|
578
584
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
579
585
|
|
|
580
586
|
new_options = opts.merge(
|
|
581
|
-
:operation => :"NetworkingV1Api.
|
|
587
|
+
:operation => :"NetworkingV1Api.delete_collection_ip_address",
|
|
582
588
|
:header_params => header_params,
|
|
583
589
|
:query_params => query_params,
|
|
584
590
|
:form_params => form_params,
|
|
@@ -589,7 +595,7 @@ module Kubernetes
|
|
|
589
595
|
|
|
590
596
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
591
597
|
if @api_client.config.debugging
|
|
592
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
598
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#delete_collection_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
593
599
|
end
|
|
594
600
|
return data, status_code, headers
|
|
595
601
|
end
|
|
@@ -610,6 +616,7 @@ module Kubernetes
|
|
|
610
616
|
# @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
617
|
# @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
618
|
# @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.
|
|
619
|
+
# @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
620
|
# @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
621
|
# @option opts [V1DeleteOptions] :body
|
|
615
622
|
# @return [V1Status]
|
|
@@ -634,6 +641,7 @@ module Kubernetes
|
|
|
634
641
|
# @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
|
|
635
642
|
# @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
|
|
636
643
|
# @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.
|
|
644
|
+
# @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.
|
|
637
645
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
638
646
|
# @option opts [V1DeleteOptions] :body
|
|
639
647
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -663,6 +671,7 @@ module Kubernetes
|
|
|
663
671
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
664
672
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
665
673
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
674
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
666
675
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
667
676
|
|
|
668
677
|
# header parameters
|
|
@@ -715,6 +724,7 @@ module Kubernetes
|
|
|
715
724
|
# @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
|
|
716
725
|
# @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
|
|
717
726
|
# @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.
|
|
727
|
+
# @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.
|
|
718
728
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
719
729
|
# @option opts [V1DeleteOptions] :body
|
|
720
730
|
# @return [V1Status]
|
|
@@ -739,6 +749,7 @@ module Kubernetes
|
|
|
739
749
|
# @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
|
|
740
750
|
# @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
|
|
741
751
|
# @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.
|
|
752
|
+
# @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.
|
|
742
753
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
743
754
|
# @option opts [V1DeleteOptions] :body
|
|
744
755
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -768,6 +779,7 @@ module Kubernetes
|
|
|
768
779
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
769
780
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
770
781
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
782
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
771
783
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
772
784
|
|
|
773
785
|
# header parameters
|
|
@@ -819,11 +831,12 @@ module Kubernetes
|
|
|
819
831
|
# @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
|
|
820
832
|
# @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
|
|
821
833
|
# @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.
|
|
834
|
+
# @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.
|
|
822
835
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
823
836
|
# @option opts [V1DeleteOptions] :body
|
|
824
837
|
# @return [V1Status]
|
|
825
|
-
def
|
|
826
|
-
data, _status_code, _headers =
|
|
838
|
+
def delete_collection_service_cidr(opts = {})
|
|
839
|
+
data, _status_code, _headers = delete_collection_service_cidr_with_http_info(opts)
|
|
827
840
|
data
|
|
828
841
|
end
|
|
829
842
|
|
|
@@ -842,12 +855,13 @@ module Kubernetes
|
|
|
842
855
|
# @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
|
|
843
856
|
# @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
|
|
844
857
|
# @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.
|
|
858
|
+
# @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.
|
|
845
859
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
846
860
|
# @option opts [V1DeleteOptions] :body
|
|
847
861
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
848
|
-
def
|
|
862
|
+
def delete_collection_service_cidr_with_http_info(opts = {})
|
|
849
863
|
if @api_client.config.debugging
|
|
850
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
864
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.delete_collection_service_cidr ...'
|
|
851
865
|
end
|
|
852
866
|
# resource path
|
|
853
867
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs'
|
|
@@ -867,6 +881,7 @@ module Kubernetes
|
|
|
867
881
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
868
882
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
869
883
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
884
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
870
885
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
871
886
|
|
|
872
887
|
# header parameters
|
|
@@ -887,7 +902,7 @@ module Kubernetes
|
|
|
887
902
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
888
903
|
|
|
889
904
|
new_options = opts.merge(
|
|
890
|
-
:operation => :"NetworkingV1Api.
|
|
905
|
+
:operation => :"NetworkingV1Api.delete_collection_service_cidr",
|
|
891
906
|
:header_params => header_params,
|
|
892
907
|
:query_params => query_params,
|
|
893
908
|
:form_params => form_params,
|
|
@@ -898,7 +913,7 @@ module Kubernetes
|
|
|
898
913
|
|
|
899
914
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
900
915
|
if @api_client.config.debugging
|
|
901
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
916
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#delete_collection_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
902
917
|
end
|
|
903
918
|
return data, status_code, headers
|
|
904
919
|
end
|
|
@@ -995,8 +1010,8 @@ module Kubernetes
|
|
|
995
1010
|
# @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.
|
|
996
1011
|
# @option opts [V1DeleteOptions] :body
|
|
997
1012
|
# @return [V1Status]
|
|
998
|
-
def
|
|
999
|
-
data, _status_code, _headers =
|
|
1013
|
+
def delete_ip_address(name, opts = {})
|
|
1014
|
+
data, _status_code, _headers = delete_ip_address_with_http_info(name, opts)
|
|
1000
1015
|
data
|
|
1001
1016
|
end
|
|
1002
1017
|
|
|
@@ -1011,13 +1026,13 @@ module Kubernetes
|
|
|
1011
1026
|
# @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.
|
|
1012
1027
|
# @option opts [V1DeleteOptions] :body
|
|
1013
1028
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
1014
|
-
def
|
|
1029
|
+
def delete_ip_address_with_http_info(name, opts = {})
|
|
1015
1030
|
if @api_client.config.debugging
|
|
1016
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
1031
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.delete_ip_address ...'
|
|
1017
1032
|
end
|
|
1018
1033
|
# verify the required parameter 'name' is set
|
|
1019
1034
|
if @api_client.config.client_side_validation && name.nil?
|
|
1020
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
1035
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.delete_ip_address"
|
|
1021
1036
|
end
|
|
1022
1037
|
# resource path
|
|
1023
1038
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -1049,7 +1064,7 @@ module Kubernetes
|
|
|
1049
1064
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
1050
1065
|
|
|
1051
1066
|
new_options = opts.merge(
|
|
1052
|
-
:operation => :"NetworkingV1Api.
|
|
1067
|
+
:operation => :"NetworkingV1Api.delete_ip_address",
|
|
1053
1068
|
:header_params => header_params,
|
|
1054
1069
|
:query_params => query_params,
|
|
1055
1070
|
:form_params => form_params,
|
|
@@ -1060,7 +1075,7 @@ module Kubernetes
|
|
|
1060
1075
|
|
|
1061
1076
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1062
1077
|
if @api_client.config.debugging
|
|
1063
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
1078
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#delete_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1064
1079
|
end
|
|
1065
1080
|
return data, status_code, headers
|
|
1066
1081
|
end
|
|
@@ -1250,8 +1265,8 @@ module Kubernetes
|
|
|
1250
1265
|
# @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.
|
|
1251
1266
|
# @option opts [V1DeleteOptions] :body
|
|
1252
1267
|
# @return [V1Status]
|
|
1253
|
-
def
|
|
1254
|
-
data, _status_code, _headers =
|
|
1268
|
+
def delete_service_cidr(name, opts = {})
|
|
1269
|
+
data, _status_code, _headers = delete_service_cidr_with_http_info(name, opts)
|
|
1255
1270
|
data
|
|
1256
1271
|
end
|
|
1257
1272
|
|
|
@@ -1266,13 +1281,13 @@ module Kubernetes
|
|
|
1266
1281
|
# @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.
|
|
1267
1282
|
# @option opts [V1DeleteOptions] :body
|
|
1268
1283
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
1269
|
-
def
|
|
1284
|
+
def delete_service_cidr_with_http_info(name, opts = {})
|
|
1270
1285
|
if @api_client.config.debugging
|
|
1271
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
1286
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.delete_service_cidr ...'
|
|
1272
1287
|
end
|
|
1273
1288
|
# verify the required parameter 'name' is set
|
|
1274
1289
|
if @api_client.config.client_side_validation && name.nil?
|
|
1275
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
1290
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.delete_service_cidr"
|
|
1276
1291
|
end
|
|
1277
1292
|
# resource path
|
|
1278
1293
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -1304,7 +1319,7 @@ module Kubernetes
|
|
|
1304
1319
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
1305
1320
|
|
|
1306
1321
|
new_options = opts.merge(
|
|
1307
|
-
:operation => :"NetworkingV1Api.
|
|
1322
|
+
:operation => :"NetworkingV1Api.delete_service_cidr",
|
|
1308
1323
|
:header_params => header_params,
|
|
1309
1324
|
:query_params => query_params,
|
|
1310
1325
|
:form_params => form_params,
|
|
@@ -1315,7 +1330,7 @@ module Kubernetes
|
|
|
1315
1330
|
|
|
1316
1331
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1317
1332
|
if @api_client.config.debugging
|
|
1318
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
1333
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#delete_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1319
1334
|
end
|
|
1320
1335
|
return data, status_code, headers
|
|
1321
1336
|
end
|
|
@@ -1323,17 +1338,17 @@ module Kubernetes
|
|
|
1323
1338
|
# get available resources
|
|
1324
1339
|
# @param [Hash] opts the optional parameters
|
|
1325
1340
|
# @return [V1APIResourceList]
|
|
1326
|
-
def
|
|
1327
|
-
data, _status_code, _headers =
|
|
1341
|
+
def get_api_resources_get_apis_networking_k8s_io_v1(opts = {})
|
|
1342
|
+
data, _status_code, _headers = get_api_resources_get_apis_networking_k8s_io_v1_with_http_info(opts)
|
|
1328
1343
|
data
|
|
1329
1344
|
end
|
|
1330
1345
|
|
|
1331
1346
|
# get available resources
|
|
1332
1347
|
# @param [Hash] opts the optional parameters
|
|
1333
1348
|
# @return [Array<(V1APIResourceList, Integer, Hash)>] V1APIResourceList data, response status code and response headers
|
|
1334
|
-
def
|
|
1349
|
+
def get_api_resources_get_apis_networking_k8s_io_v1_with_http_info(opts = {})
|
|
1335
1350
|
if @api_client.config.debugging
|
|
1336
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
1351
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.get_api_resources_get_apis_networking_k8s_io_v1 ...'
|
|
1337
1352
|
end
|
|
1338
1353
|
# resource path
|
|
1339
1354
|
local_var_path = '/apis/networking.k8s.io/v1/'
|
|
@@ -1359,7 +1374,7 @@ module Kubernetes
|
|
|
1359
1374
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
1360
1375
|
|
|
1361
1376
|
new_options = opts.merge(
|
|
1362
|
-
:operation => :"NetworkingV1Api.
|
|
1377
|
+
:operation => :"NetworkingV1Api.get_api_resources_get_apis_networking_k8s_io_v1",
|
|
1363
1378
|
:header_params => header_params,
|
|
1364
1379
|
:query_params => query_params,
|
|
1365
1380
|
:form_params => form_params,
|
|
@@ -1370,7 +1385,7 @@ module Kubernetes
|
|
|
1370
1385
|
|
|
1371
1386
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1372
1387
|
if @api_client.config.debugging
|
|
1373
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
1388
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#get_api_resources_get_apis_networking_k8s_io_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1374
1389
|
end
|
|
1375
1390
|
return data, status_code, headers
|
|
1376
1391
|
end
|
|
@@ -1386,6 +1401,7 @@ module Kubernetes
|
|
|
1386
1401
|
# @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
|
|
1387
1402
|
# @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
|
|
1388
1403
|
# @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.
|
|
1404
|
+
# @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.
|
|
1389
1405
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1390
1406
|
# @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.
|
|
1391
1407
|
# @return [V1IngressClassList]
|
|
@@ -1405,6 +1421,7 @@ module Kubernetes
|
|
|
1405
1421
|
# @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
|
|
1406
1422
|
# @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
|
|
1407
1423
|
# @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.
|
|
1424
|
+
# @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.
|
|
1408
1425
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1409
1426
|
# @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.
|
|
1410
1427
|
# @return [Array<(V1IngressClassList, Integer, Hash)>] V1IngressClassList data, response status code and response headers
|
|
@@ -1426,6 +1443,7 @@ module Kubernetes
|
|
|
1426
1443
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1427
1444
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1428
1445
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1446
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1429
1447
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1430
1448
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1431
1449
|
|
|
@@ -1474,6 +1492,7 @@ module Kubernetes
|
|
|
1474
1492
|
# @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
|
|
1475
1493
|
# @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
|
|
1476
1494
|
# @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.
|
|
1495
|
+
# @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.
|
|
1477
1496
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1478
1497
|
# @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.
|
|
1479
1498
|
# @return [V1IngressList]
|
|
@@ -1493,6 +1512,7 @@ module Kubernetes
|
|
|
1493
1512
|
# @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
|
|
1494
1513
|
# @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
|
|
1495
1514
|
# @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.
|
|
1515
|
+
# @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.
|
|
1496
1516
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1497
1517
|
# @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.
|
|
1498
1518
|
# @return [Array<(V1IngressList, Integer, Hash)>] V1IngressList data, response status code and response headers
|
|
@@ -1514,6 +1534,7 @@ module Kubernetes
|
|
|
1514
1534
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1515
1535
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1516
1536
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1537
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1517
1538
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1518
1539
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1519
1540
|
|
|
@@ -1562,11 +1583,12 @@ module Kubernetes
|
|
|
1562
1583
|
# @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
|
|
1563
1584
|
# @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
|
|
1564
1585
|
# @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.
|
|
1586
|
+
# @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.
|
|
1565
1587
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1566
1588
|
# @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.
|
|
1567
1589
|
# @return [V1IPAddressList]
|
|
1568
|
-
def
|
|
1569
|
-
data, _status_code, _headers =
|
|
1590
|
+
def list_ip_address(opts = {})
|
|
1591
|
+
data, _status_code, _headers = list_ip_address_with_http_info(opts)
|
|
1570
1592
|
data
|
|
1571
1593
|
end
|
|
1572
1594
|
|
|
@@ -1581,12 +1603,13 @@ module Kubernetes
|
|
|
1581
1603
|
# @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
|
|
1582
1604
|
# @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
|
|
1583
1605
|
# @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.
|
|
1606
|
+
# @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.
|
|
1584
1607
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1585
1608
|
# @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.
|
|
1586
1609
|
# @return [Array<(V1IPAddressList, Integer, Hash)>] V1IPAddressList data, response status code and response headers
|
|
1587
|
-
def
|
|
1610
|
+
def list_ip_address_with_http_info(opts = {})
|
|
1588
1611
|
if @api_client.config.debugging
|
|
1589
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
1612
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.list_ip_address ...'
|
|
1590
1613
|
end
|
|
1591
1614
|
# resource path
|
|
1592
1615
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses'
|
|
@@ -1602,6 +1625,7 @@ module Kubernetes
|
|
|
1602
1625
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1603
1626
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1604
1627
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1628
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1605
1629
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1606
1630
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1607
1631
|
|
|
@@ -1623,7 +1647,7 @@ module Kubernetes
|
|
|
1623
1647
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
1624
1648
|
|
|
1625
1649
|
new_options = opts.merge(
|
|
1626
|
-
:operation => :"NetworkingV1Api.
|
|
1650
|
+
:operation => :"NetworkingV1Api.list_ip_address",
|
|
1627
1651
|
:header_params => header_params,
|
|
1628
1652
|
:query_params => query_params,
|
|
1629
1653
|
:form_params => form_params,
|
|
@@ -1634,7 +1658,7 @@ module Kubernetes
|
|
|
1634
1658
|
|
|
1635
1659
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1636
1660
|
if @api_client.config.debugging
|
|
1637
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
1661
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#list_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1638
1662
|
end
|
|
1639
1663
|
return data, status_code, headers
|
|
1640
1664
|
end
|
|
@@ -1651,6 +1675,7 @@ module Kubernetes
|
|
|
1651
1675
|
# @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
|
|
1652
1676
|
# @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
|
|
1653
1677
|
# @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.
|
|
1678
|
+
# @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.
|
|
1654
1679
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1655
1680
|
# @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.
|
|
1656
1681
|
# @return [V1IngressList]
|
|
@@ -1671,6 +1696,7 @@ module Kubernetes
|
|
|
1671
1696
|
# @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
|
|
1672
1697
|
# @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
|
|
1673
1698
|
# @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.
|
|
1699
|
+
# @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.
|
|
1674
1700
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1675
1701
|
# @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.
|
|
1676
1702
|
# @return [Array<(V1IngressList, Integer, Hash)>] V1IngressList data, response status code and response headers
|
|
@@ -1696,6 +1722,7 @@ module Kubernetes
|
|
|
1696
1722
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1697
1723
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1698
1724
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1725
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1699
1726
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1700
1727
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1701
1728
|
|
|
@@ -1745,6 +1772,7 @@ module Kubernetes
|
|
|
1745
1772
|
# @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
|
|
1746
1773
|
# @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
|
|
1747
1774
|
# @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.
|
|
1775
|
+
# @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.
|
|
1748
1776
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1749
1777
|
# @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.
|
|
1750
1778
|
# @return [V1NetworkPolicyList]
|
|
@@ -1765,6 +1793,7 @@ module Kubernetes
|
|
|
1765
1793
|
# @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
|
|
1766
1794
|
# @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
|
|
1767
1795
|
# @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.
|
|
1796
|
+
# @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.
|
|
1768
1797
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1769
1798
|
# @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.
|
|
1770
1799
|
# @return [Array<(V1NetworkPolicyList, Integer, Hash)>] V1NetworkPolicyList data, response status code and response headers
|
|
@@ -1790,6 +1819,7 @@ module Kubernetes
|
|
|
1790
1819
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1791
1820
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1792
1821
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1822
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1793
1823
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1794
1824
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1795
1825
|
|
|
@@ -1838,6 +1868,7 @@ module Kubernetes
|
|
|
1838
1868
|
# @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
|
|
1839
1869
|
# @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
|
|
1840
1870
|
# @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.
|
|
1871
|
+
# @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.
|
|
1841
1872
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1842
1873
|
# @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.
|
|
1843
1874
|
# @return [V1NetworkPolicyList]
|
|
@@ -1857,6 +1888,7 @@ module Kubernetes
|
|
|
1857
1888
|
# @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
|
|
1858
1889
|
# @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
|
|
1859
1890
|
# @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.
|
|
1891
|
+
# @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.
|
|
1860
1892
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1861
1893
|
# @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.
|
|
1862
1894
|
# @return [Array<(V1NetworkPolicyList, Integer, Hash)>] V1NetworkPolicyList data, response status code and response headers
|
|
@@ -1878,6 +1910,7 @@ module Kubernetes
|
|
|
1878
1910
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1879
1911
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1880
1912
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
1913
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1881
1914
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1882
1915
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1883
1916
|
|
|
@@ -1926,11 +1959,12 @@ module Kubernetes
|
|
|
1926
1959
|
# @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
|
|
1927
1960
|
# @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
|
|
1928
1961
|
# @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.
|
|
1962
|
+
# @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.
|
|
1929
1963
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1930
1964
|
# @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.
|
|
1931
1965
|
# @return [V1ServiceCIDRList]
|
|
1932
|
-
def
|
|
1933
|
-
data, _status_code, _headers =
|
|
1966
|
+
def list_service_cidr(opts = {})
|
|
1967
|
+
data, _status_code, _headers = list_service_cidr_with_http_info(opts)
|
|
1934
1968
|
data
|
|
1935
1969
|
end
|
|
1936
1970
|
|
|
@@ -1945,12 +1979,13 @@ module Kubernetes
|
|
|
1945
1979
|
# @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
|
|
1946
1980
|
# @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
|
|
1947
1981
|
# @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.
|
|
1982
|
+
# @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.
|
|
1948
1983
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
1949
1984
|
# @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.
|
|
1950
1985
|
# @return [Array<(V1ServiceCIDRList, Integer, Hash)>] V1ServiceCIDRList data, response status code and response headers
|
|
1951
|
-
def
|
|
1986
|
+
def list_service_cidr_with_http_info(opts = {})
|
|
1952
1987
|
if @api_client.config.debugging
|
|
1953
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
1988
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.list_service_cidr ...'
|
|
1954
1989
|
end
|
|
1955
1990
|
# resource path
|
|
1956
1991
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs'
|
|
@@ -1966,6 +2001,7 @@ module Kubernetes
|
|
|
1966
2001
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1967
2002
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
1968
2003
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
2004
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
1969
2005
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1970
2006
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1971
2007
|
|
|
@@ -1987,7 +2023,7 @@ module Kubernetes
|
|
|
1987
2023
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
1988
2024
|
|
|
1989
2025
|
new_options = opts.merge(
|
|
1990
|
-
:operation => :"NetworkingV1Api.
|
|
2026
|
+
:operation => :"NetworkingV1Api.list_service_cidr",
|
|
1991
2027
|
:header_params => header_params,
|
|
1992
2028
|
:query_params => query_params,
|
|
1993
2029
|
:form_params => form_params,
|
|
@@ -1998,7 +2034,7 @@ module Kubernetes
|
|
|
1998
2034
|
|
|
1999
2035
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2000
2036
|
if @api_client.config.debugging
|
|
2001
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
2037
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#list_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2002
2038
|
end
|
|
2003
2039
|
return data, status_code, headers
|
|
2004
2040
|
end
|
|
@@ -2097,8 +2133,8 @@ module Kubernetes
|
|
|
2097
2133
|
# @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.
|
|
2098
2134
|
# @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.
|
|
2099
2135
|
# @return [V1IPAddress]
|
|
2100
|
-
def
|
|
2101
|
-
data, _status_code, _headers =
|
|
2136
|
+
def patch_ip_address(name, body, opts = {})
|
|
2137
|
+
data, _status_code, _headers = patch_ip_address_with_http_info(name, body, opts)
|
|
2102
2138
|
data
|
|
2103
2139
|
end
|
|
2104
2140
|
|
|
@@ -2112,17 +2148,17 @@ module Kubernetes
|
|
|
2112
2148
|
# @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.
|
|
2113
2149
|
# @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.
|
|
2114
2150
|
# @return [Array<(V1IPAddress, Integer, Hash)>] V1IPAddress data, response status code and response headers
|
|
2115
|
-
def
|
|
2151
|
+
def patch_ip_address_with_http_info(name, body, opts = {})
|
|
2116
2152
|
if @api_client.config.debugging
|
|
2117
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
2153
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.patch_ip_address ...'
|
|
2118
2154
|
end
|
|
2119
2155
|
# verify the required parameter 'name' is set
|
|
2120
2156
|
if @api_client.config.client_side_validation && name.nil?
|
|
2121
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
2157
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.patch_ip_address"
|
|
2122
2158
|
end
|
|
2123
2159
|
# verify the required parameter 'body' is set
|
|
2124
2160
|
if @api_client.config.client_side_validation && body.nil?
|
|
2125
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
2161
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.patch_ip_address"
|
|
2126
2162
|
end
|
|
2127
2163
|
# resource path
|
|
2128
2164
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -2155,7 +2191,7 @@ module Kubernetes
|
|
|
2155
2191
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
2156
2192
|
|
|
2157
2193
|
new_options = opts.merge(
|
|
2158
|
-
:operation => :"NetworkingV1Api.
|
|
2194
|
+
:operation => :"NetworkingV1Api.patch_ip_address",
|
|
2159
2195
|
:header_params => header_params,
|
|
2160
2196
|
:query_params => query_params,
|
|
2161
2197
|
:form_params => form_params,
|
|
@@ -2166,7 +2202,7 @@ module Kubernetes
|
|
|
2166
2202
|
|
|
2167
2203
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2168
2204
|
if @api_client.config.debugging
|
|
2169
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
2205
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#patch_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2170
2206
|
end
|
|
2171
2207
|
return data, status_code, headers
|
|
2172
2208
|
end
|
|
@@ -2451,8 +2487,8 @@ module Kubernetes
|
|
|
2451
2487
|
# @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.
|
|
2452
2488
|
# @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.
|
|
2453
2489
|
# @return [V1ServiceCIDR]
|
|
2454
|
-
def
|
|
2455
|
-
data, _status_code, _headers =
|
|
2490
|
+
def patch_service_cidr(name, body, opts = {})
|
|
2491
|
+
data, _status_code, _headers = patch_service_cidr_with_http_info(name, body, opts)
|
|
2456
2492
|
data
|
|
2457
2493
|
end
|
|
2458
2494
|
|
|
@@ -2466,17 +2502,17 @@ module Kubernetes
|
|
|
2466
2502
|
# @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.
|
|
2467
2503
|
# @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.
|
|
2468
2504
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
2469
|
-
def
|
|
2505
|
+
def patch_service_cidr_with_http_info(name, body, opts = {})
|
|
2470
2506
|
if @api_client.config.debugging
|
|
2471
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
2507
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.patch_service_cidr ...'
|
|
2472
2508
|
end
|
|
2473
2509
|
# verify the required parameter 'name' is set
|
|
2474
2510
|
if @api_client.config.client_side_validation && name.nil?
|
|
2475
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
2511
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.patch_service_cidr"
|
|
2476
2512
|
end
|
|
2477
2513
|
# verify the required parameter 'body' is set
|
|
2478
2514
|
if @api_client.config.client_side_validation && body.nil?
|
|
2479
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
2515
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.patch_service_cidr"
|
|
2480
2516
|
end
|
|
2481
2517
|
# resource path
|
|
2482
2518
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -2509,7 +2545,7 @@ module Kubernetes
|
|
|
2509
2545
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
2510
2546
|
|
|
2511
2547
|
new_options = opts.merge(
|
|
2512
|
-
:operation => :"NetworkingV1Api.
|
|
2548
|
+
:operation => :"NetworkingV1Api.patch_service_cidr",
|
|
2513
2549
|
:header_params => header_params,
|
|
2514
2550
|
:query_params => query_params,
|
|
2515
2551
|
:form_params => form_params,
|
|
@@ -2520,7 +2556,7 @@ module Kubernetes
|
|
|
2520
2556
|
|
|
2521
2557
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2522
2558
|
if @api_client.config.debugging
|
|
2523
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
2559
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#patch_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2524
2560
|
end
|
|
2525
2561
|
return data, status_code, headers
|
|
2526
2562
|
end
|
|
@@ -2535,8 +2571,8 @@ module Kubernetes
|
|
|
2535
2571
|
# @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.
|
|
2536
2572
|
# @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.
|
|
2537
2573
|
# @return [V1ServiceCIDR]
|
|
2538
|
-
def
|
|
2539
|
-
data, _status_code, _headers =
|
|
2574
|
+
def patch_service_cidr_status(name, body, opts = {})
|
|
2575
|
+
data, _status_code, _headers = patch_service_cidr_status_with_http_info(name, body, opts)
|
|
2540
2576
|
data
|
|
2541
2577
|
end
|
|
2542
2578
|
|
|
@@ -2550,17 +2586,17 @@ module Kubernetes
|
|
|
2550
2586
|
# @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.
|
|
2551
2587
|
# @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.
|
|
2552
2588
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
2553
|
-
def
|
|
2589
|
+
def patch_service_cidr_status_with_http_info(name, body, opts = {})
|
|
2554
2590
|
if @api_client.config.debugging
|
|
2555
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
2591
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.patch_service_cidr_status ...'
|
|
2556
2592
|
end
|
|
2557
2593
|
# verify the required parameter 'name' is set
|
|
2558
2594
|
if @api_client.config.client_side_validation && name.nil?
|
|
2559
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
2595
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.patch_service_cidr_status"
|
|
2560
2596
|
end
|
|
2561
2597
|
# verify the required parameter 'body' is set
|
|
2562
2598
|
if @api_client.config.client_side_validation && body.nil?
|
|
2563
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
2599
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.patch_service_cidr_status"
|
|
2564
2600
|
end
|
|
2565
2601
|
# resource path
|
|
2566
2602
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -2593,7 +2629,7 @@ module Kubernetes
|
|
|
2593
2629
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
2594
2630
|
|
|
2595
2631
|
new_options = opts.merge(
|
|
2596
|
-
:operation => :"NetworkingV1Api.
|
|
2632
|
+
:operation => :"NetworkingV1Api.patch_service_cidr_status",
|
|
2597
2633
|
:header_params => header_params,
|
|
2598
2634
|
:query_params => query_params,
|
|
2599
2635
|
:form_params => form_params,
|
|
@@ -2604,7 +2640,7 @@ module Kubernetes
|
|
|
2604
2640
|
|
|
2605
2641
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2606
2642
|
if @api_client.config.debugging
|
|
2607
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
2643
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#patch_service_cidr_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2608
2644
|
end
|
|
2609
2645
|
return data, status_code, headers
|
|
2610
2646
|
end
|
|
@@ -2678,8 +2714,8 @@ module Kubernetes
|
|
|
2678
2714
|
# @param [Hash] opts the optional parameters
|
|
2679
2715
|
# @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).
|
|
2680
2716
|
# @return [V1IPAddress]
|
|
2681
|
-
def
|
|
2682
|
-
data, _status_code, _headers =
|
|
2717
|
+
def read_ip_address(name, opts = {})
|
|
2718
|
+
data, _status_code, _headers = read_ip_address_with_http_info(name, opts)
|
|
2683
2719
|
data
|
|
2684
2720
|
end
|
|
2685
2721
|
|
|
@@ -2688,13 +2724,13 @@ module Kubernetes
|
|
|
2688
2724
|
# @param [Hash] opts the optional parameters
|
|
2689
2725
|
# @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).
|
|
2690
2726
|
# @return [Array<(V1IPAddress, Integer, Hash)>] V1IPAddress data, response status code and response headers
|
|
2691
|
-
def
|
|
2727
|
+
def read_ip_address_with_http_info(name, opts = {})
|
|
2692
2728
|
if @api_client.config.debugging
|
|
2693
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
2729
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.read_ip_address ...'
|
|
2694
2730
|
end
|
|
2695
2731
|
# verify the required parameter 'name' is set
|
|
2696
2732
|
if @api_client.config.client_side_validation && name.nil?
|
|
2697
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
2733
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.read_ip_address"
|
|
2698
2734
|
end
|
|
2699
2735
|
# resource path
|
|
2700
2736
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -2721,7 +2757,7 @@ module Kubernetes
|
|
|
2721
2757
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
2722
2758
|
|
|
2723
2759
|
new_options = opts.merge(
|
|
2724
|
-
:operation => :"NetworkingV1Api.
|
|
2760
|
+
:operation => :"NetworkingV1Api.read_ip_address",
|
|
2725
2761
|
:header_params => header_params,
|
|
2726
2762
|
:query_params => query_params,
|
|
2727
2763
|
:form_params => form_params,
|
|
@@ -2732,7 +2768,7 @@ module Kubernetes
|
|
|
2732
2768
|
|
|
2733
2769
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2734
2770
|
if @api_client.config.debugging
|
|
2735
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
2771
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#read_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2736
2772
|
end
|
|
2737
2773
|
return data, status_code, headers
|
|
2738
2774
|
end
|
|
@@ -2952,8 +2988,8 @@ module Kubernetes
|
|
|
2952
2988
|
# @param [Hash] opts the optional parameters
|
|
2953
2989
|
# @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).
|
|
2954
2990
|
# @return [V1ServiceCIDR]
|
|
2955
|
-
def
|
|
2956
|
-
data, _status_code, _headers =
|
|
2991
|
+
def read_service_cidr(name, opts = {})
|
|
2992
|
+
data, _status_code, _headers = read_service_cidr_with_http_info(name, opts)
|
|
2957
2993
|
data
|
|
2958
2994
|
end
|
|
2959
2995
|
|
|
@@ -2962,13 +2998,13 @@ module Kubernetes
|
|
|
2962
2998
|
# @param [Hash] opts the optional parameters
|
|
2963
2999
|
# @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).
|
|
2964
3000
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
2965
|
-
def
|
|
3001
|
+
def read_service_cidr_with_http_info(name, opts = {})
|
|
2966
3002
|
if @api_client.config.debugging
|
|
2967
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
3003
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.read_service_cidr ...'
|
|
2968
3004
|
end
|
|
2969
3005
|
# verify the required parameter 'name' is set
|
|
2970
3006
|
if @api_client.config.client_side_validation && name.nil?
|
|
2971
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
3007
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.read_service_cidr"
|
|
2972
3008
|
end
|
|
2973
3009
|
# resource path
|
|
2974
3010
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -2995,7 +3031,7 @@ module Kubernetes
|
|
|
2995
3031
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
2996
3032
|
|
|
2997
3033
|
new_options = opts.merge(
|
|
2998
|
-
:operation => :"NetworkingV1Api.
|
|
3034
|
+
:operation => :"NetworkingV1Api.read_service_cidr",
|
|
2999
3035
|
:header_params => header_params,
|
|
3000
3036
|
:query_params => query_params,
|
|
3001
3037
|
:form_params => form_params,
|
|
@@ -3006,7 +3042,7 @@ module Kubernetes
|
|
|
3006
3042
|
|
|
3007
3043
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3008
3044
|
if @api_client.config.debugging
|
|
3009
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
3045
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#read_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3010
3046
|
end
|
|
3011
3047
|
return data, status_code, headers
|
|
3012
3048
|
end
|
|
@@ -3016,8 +3052,8 @@ module Kubernetes
|
|
|
3016
3052
|
# @param [Hash] opts the optional parameters
|
|
3017
3053
|
# @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).
|
|
3018
3054
|
# @return [V1ServiceCIDR]
|
|
3019
|
-
def
|
|
3020
|
-
data, _status_code, _headers =
|
|
3055
|
+
def read_service_cidr_status(name, opts = {})
|
|
3056
|
+
data, _status_code, _headers = read_service_cidr_status_with_http_info(name, opts)
|
|
3021
3057
|
data
|
|
3022
3058
|
end
|
|
3023
3059
|
|
|
@@ -3026,13 +3062,13 @@ module Kubernetes
|
|
|
3026
3062
|
# @param [Hash] opts the optional parameters
|
|
3027
3063
|
# @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).
|
|
3028
3064
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
3029
|
-
def
|
|
3065
|
+
def read_service_cidr_status_with_http_info(name, opts = {})
|
|
3030
3066
|
if @api_client.config.debugging
|
|
3031
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
3067
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.read_service_cidr_status ...'
|
|
3032
3068
|
end
|
|
3033
3069
|
# verify the required parameter 'name' is set
|
|
3034
3070
|
if @api_client.config.client_side_validation && name.nil?
|
|
3035
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
3071
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.read_service_cidr_status"
|
|
3036
3072
|
end
|
|
3037
3073
|
# resource path
|
|
3038
3074
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -3059,7 +3095,7 @@ module Kubernetes
|
|
|
3059
3095
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
3060
3096
|
|
|
3061
3097
|
new_options = opts.merge(
|
|
3062
|
-
:operation => :"NetworkingV1Api.
|
|
3098
|
+
:operation => :"NetworkingV1Api.read_service_cidr_status",
|
|
3063
3099
|
:header_params => header_params,
|
|
3064
3100
|
:query_params => query_params,
|
|
3065
3101
|
:form_params => form_params,
|
|
@@ -3070,7 +3106,7 @@ module Kubernetes
|
|
|
3070
3106
|
|
|
3071
3107
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3072
3108
|
if @api_client.config.debugging
|
|
3073
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
3109
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#read_service_cidr_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3074
3110
|
end
|
|
3075
3111
|
return data, status_code, headers
|
|
3076
3112
|
end
|
|
@@ -3163,8 +3199,8 @@ module Kubernetes
|
|
|
3163
3199
|
# @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.
|
|
3164
3200
|
# @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.
|
|
3165
3201
|
# @return [V1IPAddress]
|
|
3166
|
-
def
|
|
3167
|
-
data, _status_code, _headers =
|
|
3202
|
+
def replace_ip_address(name, body, opts = {})
|
|
3203
|
+
data, _status_code, _headers = replace_ip_address_with_http_info(name, body, opts)
|
|
3168
3204
|
data
|
|
3169
3205
|
end
|
|
3170
3206
|
|
|
@@ -3177,17 +3213,17 @@ module Kubernetes
|
|
|
3177
3213
|
# @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.
|
|
3178
3214
|
# @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.
|
|
3179
3215
|
# @return [Array<(V1IPAddress, Integer, Hash)>] V1IPAddress data, response status code and response headers
|
|
3180
|
-
def
|
|
3216
|
+
def replace_ip_address_with_http_info(name, body, opts = {})
|
|
3181
3217
|
if @api_client.config.debugging
|
|
3182
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
3218
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.replace_ip_address ...'
|
|
3183
3219
|
end
|
|
3184
3220
|
# verify the required parameter 'name' is set
|
|
3185
3221
|
if @api_client.config.client_side_validation && name.nil?
|
|
3186
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
3222
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.replace_ip_address"
|
|
3187
3223
|
end
|
|
3188
3224
|
# verify the required parameter 'body' is set
|
|
3189
3225
|
if @api_client.config.client_side_validation && body.nil?
|
|
3190
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
3226
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.replace_ip_address"
|
|
3191
3227
|
end
|
|
3192
3228
|
# resource path
|
|
3193
3229
|
local_var_path = '/apis/networking.k8s.io/v1/ipaddresses/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -3217,7 +3253,7 @@ module Kubernetes
|
|
|
3217
3253
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
3218
3254
|
|
|
3219
3255
|
new_options = opts.merge(
|
|
3220
|
-
:operation => :"NetworkingV1Api.
|
|
3256
|
+
:operation => :"NetworkingV1Api.replace_ip_address",
|
|
3221
3257
|
:header_params => header_params,
|
|
3222
3258
|
:query_params => query_params,
|
|
3223
3259
|
:form_params => form_params,
|
|
@@ -3228,7 +3264,7 @@ module Kubernetes
|
|
|
3228
3264
|
|
|
3229
3265
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3230
3266
|
if @api_client.config.debugging
|
|
3231
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
3267
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#replace_ip_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3232
3268
|
end
|
|
3233
3269
|
return data, status_code, headers
|
|
3234
3270
|
end
|
|
@@ -3497,8 +3533,8 @@ module Kubernetes
|
|
|
3497
3533
|
# @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.
|
|
3498
3534
|
# @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.
|
|
3499
3535
|
# @return [V1ServiceCIDR]
|
|
3500
|
-
def
|
|
3501
|
-
data, _status_code, _headers =
|
|
3536
|
+
def replace_service_cidr(name, body, opts = {})
|
|
3537
|
+
data, _status_code, _headers = replace_service_cidr_with_http_info(name, body, opts)
|
|
3502
3538
|
data
|
|
3503
3539
|
end
|
|
3504
3540
|
|
|
@@ -3511,17 +3547,17 @@ module Kubernetes
|
|
|
3511
3547
|
# @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.
|
|
3512
3548
|
# @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.
|
|
3513
3549
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
3514
|
-
def
|
|
3550
|
+
def replace_service_cidr_with_http_info(name, body, opts = {})
|
|
3515
3551
|
if @api_client.config.debugging
|
|
3516
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
3552
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.replace_service_cidr ...'
|
|
3517
3553
|
end
|
|
3518
3554
|
# verify the required parameter 'name' is set
|
|
3519
3555
|
if @api_client.config.client_side_validation && name.nil?
|
|
3520
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
3556
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.replace_service_cidr"
|
|
3521
3557
|
end
|
|
3522
3558
|
# verify the required parameter 'body' is set
|
|
3523
3559
|
if @api_client.config.client_side_validation && body.nil?
|
|
3524
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
3560
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.replace_service_cidr"
|
|
3525
3561
|
end
|
|
3526
3562
|
# resource path
|
|
3527
3563
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -3551,7 +3587,7 @@ module Kubernetes
|
|
|
3551
3587
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
3552
3588
|
|
|
3553
3589
|
new_options = opts.merge(
|
|
3554
|
-
:operation => :"NetworkingV1Api.
|
|
3590
|
+
:operation => :"NetworkingV1Api.replace_service_cidr",
|
|
3555
3591
|
:header_params => header_params,
|
|
3556
3592
|
:query_params => query_params,
|
|
3557
3593
|
:form_params => form_params,
|
|
@@ -3562,7 +3598,7 @@ module Kubernetes
|
|
|
3562
3598
|
|
|
3563
3599
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3564
3600
|
if @api_client.config.debugging
|
|
3565
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
3601
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#replace_service_cidr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3566
3602
|
end
|
|
3567
3603
|
return data, status_code, headers
|
|
3568
3604
|
end
|
|
@@ -3576,8 +3612,8 @@ module Kubernetes
|
|
|
3576
3612
|
# @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.
|
|
3577
3613
|
# @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.
|
|
3578
3614
|
# @return [V1ServiceCIDR]
|
|
3579
|
-
def
|
|
3580
|
-
data, _status_code, _headers =
|
|
3615
|
+
def replace_service_cidr_status(name, body, opts = {})
|
|
3616
|
+
data, _status_code, _headers = replace_service_cidr_status_with_http_info(name, body, opts)
|
|
3581
3617
|
data
|
|
3582
3618
|
end
|
|
3583
3619
|
|
|
@@ -3590,17 +3626,17 @@ module Kubernetes
|
|
|
3590
3626
|
# @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.
|
|
3591
3627
|
# @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.
|
|
3592
3628
|
# @return [Array<(V1ServiceCIDR, Integer, Hash)>] V1ServiceCIDR data, response status code and response headers
|
|
3593
|
-
def
|
|
3629
|
+
def replace_service_cidr_status_with_http_info(name, body, opts = {})
|
|
3594
3630
|
if @api_client.config.debugging
|
|
3595
|
-
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.
|
|
3631
|
+
@api_client.config.logger.debug 'Calling API: NetworkingV1Api.replace_service_cidr_status ...'
|
|
3596
3632
|
end
|
|
3597
3633
|
# verify the required parameter 'name' is set
|
|
3598
3634
|
if @api_client.config.client_side_validation && name.nil?
|
|
3599
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.
|
|
3635
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling NetworkingV1Api.replace_service_cidr_status"
|
|
3600
3636
|
end
|
|
3601
3637
|
# verify the required parameter 'body' is set
|
|
3602
3638
|
if @api_client.config.client_side_validation && body.nil?
|
|
3603
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.
|
|
3639
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.replace_service_cidr_status"
|
|
3604
3640
|
end
|
|
3605
3641
|
# resource path
|
|
3606
3642
|
local_var_path = '/apis/networking.k8s.io/v1/servicecidrs/{name}/status'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
@@ -3630,7 +3666,7 @@ module Kubernetes
|
|
|
3630
3666
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
3631
3667
|
|
|
3632
3668
|
new_options = opts.merge(
|
|
3633
|
-
:operation => :"NetworkingV1Api.
|
|
3669
|
+
:operation => :"NetworkingV1Api.replace_service_cidr_status",
|
|
3634
3670
|
:header_params => header_params,
|
|
3635
3671
|
:query_params => query_params,
|
|
3636
3672
|
:form_params => form_params,
|
|
@@ -3641,7 +3677,7 @@ module Kubernetes
|
|
|
3641
3677
|
|
|
3642
3678
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3643
3679
|
if @api_client.config.debugging
|
|
3644
|
-
@api_client.config.logger.debug "API called: NetworkingV1Api#
|
|
3680
|
+
@api_client.config.logger.debug "API called: NetworkingV1Api#replace_service_cidr_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3645
3681
|
end
|
|
3646
3682
|
return data, status_code, headers
|
|
3647
3683
|
end
|