kruby 1.35.0.5 → 1.36.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +54 -32
- 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
|
|
@@ -3794,8 +3794,8 @@ module Kubernetes
|
|
|
3794
3794
|
# @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.
|
|
3795
3795
|
# @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.
|
|
3796
3796
|
# @return [CoreV1Event]
|
|
3797
|
-
def
|
|
3798
|
-
data, _status_code, _headers =
|
|
3797
|
+
def create_namespaced_event(namespace, body, opts = {})
|
|
3798
|
+
data, _status_code, _headers = create_namespaced_event_with_http_info(namespace, body, opts)
|
|
3799
3799
|
data
|
|
3800
3800
|
end
|
|
3801
3801
|
|
|
@@ -3808,17 +3808,17 @@ module Kubernetes
|
|
|
3808
3808
|
# @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.
|
|
3809
3809
|
# @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.
|
|
3810
3810
|
# @return [Array<(CoreV1Event, Integer, Hash)>] CoreV1Event data, response status code and response headers
|
|
3811
|
-
def
|
|
3811
|
+
def create_namespaced_event_with_http_info(namespace, body, opts = {})
|
|
3812
3812
|
if @api_client.config.debugging
|
|
3813
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
3813
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.create_namespaced_event ...'
|
|
3814
3814
|
end
|
|
3815
3815
|
# verify the required parameter 'namespace' is set
|
|
3816
3816
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
3817
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
3817
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.create_namespaced_event"
|
|
3818
3818
|
end
|
|
3819
3819
|
# verify the required parameter 'body' is set
|
|
3820
3820
|
if @api_client.config.client_side_validation && body.nil?
|
|
3821
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.
|
|
3821
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.create_namespaced_event"
|
|
3822
3822
|
end
|
|
3823
3823
|
# resource path
|
|
3824
3824
|
local_var_path = '/api/v1/namespaces/{namespace}/events'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -3848,7 +3848,7 @@ module Kubernetes
|
|
|
3848
3848
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
3849
3849
|
|
|
3850
3850
|
new_options = opts.merge(
|
|
3851
|
-
:operation => :"CoreV1Api.
|
|
3851
|
+
:operation => :"CoreV1Api.create_namespaced_event",
|
|
3852
3852
|
:header_params => header_params,
|
|
3853
3853
|
:query_params => query_params,
|
|
3854
3854
|
:form_params => form_params,
|
|
@@ -3859,7 +3859,7 @@ module Kubernetes
|
|
|
3859
3859
|
|
|
3860
3860
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
3861
3861
|
if @api_client.config.debugging
|
|
3862
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
3862
|
+
@api_client.config.logger.debug "API called: CoreV1Api#create_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3863
3863
|
end
|
|
3864
3864
|
return data, status_code, headers
|
|
3865
3865
|
end
|
|
@@ -4992,6 +4992,7 @@ module Kubernetes
|
|
|
4992
4992
|
# @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
|
|
4993
4993
|
# @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
|
|
4994
4994
|
# @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.
|
|
4995
|
+
# @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.
|
|
4995
4996
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
4996
4997
|
# @option opts [V1DeleteOptions] :body
|
|
4997
4998
|
# @return [V1Status]
|
|
@@ -5016,6 +5017,7 @@ module Kubernetes
|
|
|
5016
5017
|
# @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
|
|
5017
5018
|
# @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
|
|
5018
5019
|
# @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.
|
|
5020
|
+
# @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.
|
|
5019
5021
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5020
5022
|
# @option opts [V1DeleteOptions] :body
|
|
5021
5023
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5045,6 +5047,7 @@ module Kubernetes
|
|
|
5045
5047
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5046
5048
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5047
5049
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5050
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5048
5051
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5049
5052
|
|
|
5050
5053
|
# header parameters
|
|
@@ -5097,6 +5100,7 @@ module Kubernetes
|
|
|
5097
5100
|
# @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
|
|
5098
5101
|
# @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
|
|
5099
5102
|
# @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.
|
|
5103
|
+
# @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.
|
|
5100
5104
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5101
5105
|
# @option opts [V1DeleteOptions] :body
|
|
5102
5106
|
# @return [V1Status]
|
|
@@ -5121,6 +5125,7 @@ module Kubernetes
|
|
|
5121
5125
|
# @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
|
|
5122
5126
|
# @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
|
|
5123
5127
|
# @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.
|
|
5128
|
+
# @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.
|
|
5124
5129
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5125
5130
|
# @option opts [V1DeleteOptions] :body
|
|
5126
5131
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5150,6 +5155,7 @@ module Kubernetes
|
|
|
5150
5155
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5151
5156
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5152
5157
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5158
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5153
5159
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5154
5160
|
|
|
5155
5161
|
# header parameters
|
|
@@ -5202,11 +5208,12 @@ module Kubernetes
|
|
|
5202
5208
|
# @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
|
|
5203
5209
|
# @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
|
|
5204
5210
|
# @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.
|
|
5211
|
+
# @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.
|
|
5205
5212
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5206
5213
|
# @option opts [V1DeleteOptions] :body
|
|
5207
5214
|
# @return [V1Status]
|
|
5208
|
-
def
|
|
5209
|
-
data, _status_code, _headers =
|
|
5215
|
+
def delete_collection_namespaced_event(namespace, opts = {})
|
|
5216
|
+
data, _status_code, _headers = delete_collection_namespaced_event_with_http_info(namespace, opts)
|
|
5210
5217
|
data
|
|
5211
5218
|
end
|
|
5212
5219
|
|
|
@@ -5226,16 +5233,17 @@ module Kubernetes
|
|
|
5226
5233
|
# @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
|
|
5227
5234
|
# @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
|
|
5228
5235
|
# @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.
|
|
5236
|
+
# @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.
|
|
5229
5237
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5230
5238
|
# @option opts [V1DeleteOptions] :body
|
|
5231
5239
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
5232
|
-
def
|
|
5240
|
+
def delete_collection_namespaced_event_with_http_info(namespace, opts = {})
|
|
5233
5241
|
if @api_client.config.debugging
|
|
5234
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
5242
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.delete_collection_namespaced_event ...'
|
|
5235
5243
|
end
|
|
5236
5244
|
# verify the required parameter 'namespace' is set
|
|
5237
5245
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
5238
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
5246
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_collection_namespaced_event"
|
|
5239
5247
|
end
|
|
5240
5248
|
# resource path
|
|
5241
5249
|
local_var_path = '/api/v1/namespaces/{namespace}/events'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -5255,6 +5263,7 @@ module Kubernetes
|
|
|
5255
5263
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5256
5264
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5257
5265
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5266
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5258
5267
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5259
5268
|
|
|
5260
5269
|
# header parameters
|
|
@@ -5275,7 +5284,7 @@ module Kubernetes
|
|
|
5275
5284
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
5276
5285
|
|
|
5277
5286
|
new_options = opts.merge(
|
|
5278
|
-
:operation => :"CoreV1Api.
|
|
5287
|
+
:operation => :"CoreV1Api.delete_collection_namespaced_event",
|
|
5279
5288
|
:header_params => header_params,
|
|
5280
5289
|
:query_params => query_params,
|
|
5281
5290
|
:form_params => form_params,
|
|
@@ -5286,7 +5295,7 @@ module Kubernetes
|
|
|
5286
5295
|
|
|
5287
5296
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
5288
5297
|
if @api_client.config.debugging
|
|
5289
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
5298
|
+
@api_client.config.logger.debug "API called: CoreV1Api#delete_collection_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5290
5299
|
end
|
|
5291
5300
|
return data, status_code, headers
|
|
5292
5301
|
end
|
|
@@ -5307,6 +5316,7 @@ module Kubernetes
|
|
|
5307
5316
|
# @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
|
|
5308
5317
|
# @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
|
|
5309
5318
|
# @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.
|
|
5319
|
+
# @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.
|
|
5310
5320
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5311
5321
|
# @option opts [V1DeleteOptions] :body
|
|
5312
5322
|
# @return [V1Status]
|
|
@@ -5331,6 +5341,7 @@ module Kubernetes
|
|
|
5331
5341
|
# @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
|
|
5332
5342
|
# @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
|
|
5333
5343
|
# @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.
|
|
5344
|
+
# @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.
|
|
5334
5345
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5335
5346
|
# @option opts [V1DeleteOptions] :body
|
|
5336
5347
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5360,6 +5371,7 @@ module Kubernetes
|
|
|
5360
5371
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5361
5372
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5362
5373
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5374
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5363
5375
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5364
5376
|
|
|
5365
5377
|
# header parameters
|
|
@@ -5412,6 +5424,7 @@ module Kubernetes
|
|
|
5412
5424
|
# @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
|
|
5413
5425
|
# @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
|
|
5414
5426
|
# @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.
|
|
5427
|
+
# @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.
|
|
5415
5428
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5416
5429
|
# @option opts [V1DeleteOptions] :body
|
|
5417
5430
|
# @return [V1Status]
|
|
@@ -5436,6 +5449,7 @@ module Kubernetes
|
|
|
5436
5449
|
# @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
|
|
5437
5450
|
# @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
|
|
5438
5451
|
# @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.
|
|
5452
|
+
# @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.
|
|
5439
5453
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5440
5454
|
# @option opts [V1DeleteOptions] :body
|
|
5441
5455
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5465,6 +5479,7 @@ module Kubernetes
|
|
|
5465
5479
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5466
5480
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5467
5481
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5482
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5468
5483
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5469
5484
|
|
|
5470
5485
|
# header parameters
|
|
@@ -5517,6 +5532,7 @@ module Kubernetes
|
|
|
5517
5532
|
# @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
|
|
5518
5533
|
# @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
|
|
5519
5534
|
# @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.
|
|
5535
|
+
# @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.
|
|
5520
5536
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5521
5537
|
# @option opts [V1DeleteOptions] :body
|
|
5522
5538
|
# @return [V1Status]
|
|
@@ -5541,6 +5557,7 @@ module Kubernetes
|
|
|
5541
5557
|
# @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
|
|
5542
5558
|
# @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
|
|
5543
5559
|
# @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.
|
|
5560
|
+
# @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.
|
|
5544
5561
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5545
5562
|
# @option opts [V1DeleteOptions] :body
|
|
5546
5563
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5570,6 +5587,7 @@ module Kubernetes
|
|
|
5570
5587
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5571
5588
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5572
5589
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5590
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5573
5591
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5574
5592
|
|
|
5575
5593
|
# header parameters
|
|
@@ -5622,6 +5640,7 @@ module Kubernetes
|
|
|
5622
5640
|
# @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
|
|
5623
5641
|
# @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
|
|
5624
5642
|
# @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.
|
|
5643
|
+
# @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.
|
|
5625
5644
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5626
5645
|
# @option opts [V1DeleteOptions] :body
|
|
5627
5646
|
# @return [V1Status]
|
|
@@ -5646,6 +5665,7 @@ module Kubernetes
|
|
|
5646
5665
|
# @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
|
|
5647
5666
|
# @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
|
|
5648
5667
|
# @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.
|
|
5668
|
+
# @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.
|
|
5649
5669
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5650
5670
|
# @option opts [V1DeleteOptions] :body
|
|
5651
5671
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5675,6 +5695,7 @@ module Kubernetes
|
|
|
5675
5695
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5676
5696
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5677
5697
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5698
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5678
5699
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5679
5700
|
|
|
5680
5701
|
# header parameters
|
|
@@ -5727,6 +5748,7 @@ module Kubernetes
|
|
|
5727
5748
|
# @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
|
|
5728
5749
|
# @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
|
|
5729
5750
|
# @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.
|
|
5751
|
+
# @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.
|
|
5730
5752
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5731
5753
|
# @option opts [V1DeleteOptions] :body
|
|
5732
5754
|
# @return [V1Status]
|
|
@@ -5751,6 +5773,7 @@ module Kubernetes
|
|
|
5751
5773
|
# @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
|
|
5752
5774
|
# @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
|
|
5753
5775
|
# @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.
|
|
5776
|
+
# @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.
|
|
5754
5777
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5755
5778
|
# @option opts [V1DeleteOptions] :body
|
|
5756
5779
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5780,6 +5803,7 @@ module Kubernetes
|
|
|
5780
5803
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5781
5804
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5782
5805
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5806
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5783
5807
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5784
5808
|
|
|
5785
5809
|
# header parameters
|
|
@@ -5832,6 +5856,7 @@ module Kubernetes
|
|
|
5832
5856
|
# @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
|
|
5833
5857
|
# @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
|
|
5834
5858
|
# @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.
|
|
5859
|
+
# @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.
|
|
5835
5860
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5836
5861
|
# @option opts [V1DeleteOptions] :body
|
|
5837
5862
|
# @return [V1Status]
|
|
@@ -5856,6 +5881,7 @@ module Kubernetes
|
|
|
5856
5881
|
# @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
|
|
5857
5882
|
# @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
|
|
5858
5883
|
# @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.
|
|
5884
|
+
# @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.
|
|
5859
5885
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5860
5886
|
# @option opts [V1DeleteOptions] :body
|
|
5861
5887
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5885,6 +5911,7 @@ module Kubernetes
|
|
|
5885
5911
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5886
5912
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5887
5913
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
5914
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5888
5915
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5889
5916
|
|
|
5890
5917
|
# header parameters
|
|
@@ -5937,6 +5964,7 @@ module Kubernetes
|
|
|
5937
5964
|
# @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
|
|
5938
5965
|
# @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
|
|
5939
5966
|
# @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.
|
|
5967
|
+
# @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.
|
|
5940
5968
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5941
5969
|
# @option opts [V1DeleteOptions] :body
|
|
5942
5970
|
# @return [V1Status]
|
|
@@ -5961,6 +5989,7 @@ module Kubernetes
|
|
|
5961
5989
|
# @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
|
|
5962
5990
|
# @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
|
|
5963
5991
|
# @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.
|
|
5992
|
+
# @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.
|
|
5964
5993
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
5965
5994
|
# @option opts [V1DeleteOptions] :body
|
|
5966
5995
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -5990,6 +6019,7 @@ module Kubernetes
|
|
|
5990
6019
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
5991
6020
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
5992
6021
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
6022
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
5993
6023
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
5994
6024
|
|
|
5995
6025
|
# header parameters
|
|
@@ -6042,6 +6072,7 @@ module Kubernetes
|
|
|
6042
6072
|
# @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
|
|
6043
6073
|
# @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
|
|
6044
6074
|
# @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.
|
|
6075
|
+
# @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.
|
|
6045
6076
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6046
6077
|
# @option opts [V1DeleteOptions] :body
|
|
6047
6078
|
# @return [V1Status]
|
|
@@ -6066,6 +6097,7 @@ module Kubernetes
|
|
|
6066
6097
|
# @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
|
|
6067
6098
|
# @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
|
|
6068
6099
|
# @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.
|
|
6100
|
+
# @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.
|
|
6069
6101
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6070
6102
|
# @option opts [V1DeleteOptions] :body
|
|
6071
6103
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -6095,6 +6127,7 @@ module Kubernetes
|
|
|
6095
6127
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
6096
6128
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
6097
6129
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
6130
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
6098
6131
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
6099
6132
|
|
|
6100
6133
|
# header parameters
|
|
@@ -6147,6 +6180,7 @@ module Kubernetes
|
|
|
6147
6180
|
# @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
|
|
6148
6181
|
# @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
|
|
6149
6182
|
# @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.
|
|
6183
|
+
# @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.
|
|
6150
6184
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6151
6185
|
# @option opts [V1DeleteOptions] :body
|
|
6152
6186
|
# @return [V1Status]
|
|
@@ -6171,6 +6205,7 @@ module Kubernetes
|
|
|
6171
6205
|
# @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
|
|
6172
6206
|
# @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
|
|
6173
6207
|
# @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.
|
|
6208
|
+
# @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.
|
|
6174
6209
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6175
6210
|
# @option opts [V1DeleteOptions] :body
|
|
6176
6211
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -6200,6 +6235,7 @@ module Kubernetes
|
|
|
6200
6235
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
6201
6236
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
6202
6237
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
6238
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
6203
6239
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
6204
6240
|
|
|
6205
6241
|
# header parameters
|
|
@@ -6251,6 +6287,7 @@ module Kubernetes
|
|
|
6251
6287
|
# @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
|
|
6252
6288
|
# @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
|
|
6253
6289
|
# @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.
|
|
6290
|
+
# @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.
|
|
6254
6291
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6255
6292
|
# @option opts [V1DeleteOptions] :body
|
|
6256
6293
|
# @return [V1Status]
|
|
@@ -6274,6 +6311,7 @@ module Kubernetes
|
|
|
6274
6311
|
# @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
|
|
6275
6312
|
# @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
|
|
6276
6313
|
# @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.
|
|
6314
|
+
# @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.
|
|
6277
6315
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6278
6316
|
# @option opts [V1DeleteOptions] :body
|
|
6279
6317
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -6299,6 +6337,7 @@ module Kubernetes
|
|
|
6299
6337
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
6300
6338
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
6301
6339
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
6340
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
6302
6341
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
6303
6342
|
|
|
6304
6343
|
# header parameters
|
|
@@ -6350,6 +6389,7 @@ module Kubernetes
|
|
|
6350
6389
|
# @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
|
|
6351
6390
|
# @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
|
|
6352
6391
|
# @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.
|
|
6392
|
+
# @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.
|
|
6353
6393
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6354
6394
|
# @option opts [V1DeleteOptions] :body
|
|
6355
6395
|
# @return [V1Status]
|
|
@@ -6373,6 +6413,7 @@ module Kubernetes
|
|
|
6373
6413
|
# @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
|
|
6374
6414
|
# @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
|
|
6375
6415
|
# @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.
|
|
6416
|
+
# @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.
|
|
6376
6417
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
6377
6418
|
# @option opts [V1DeleteOptions] :body
|
|
6378
6419
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
@@ -6398,6 +6439,7 @@ module Kubernetes
|
|
|
6398
6439
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
6399
6440
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
6400
6441
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
6442
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
6401
6443
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
6402
6444
|
|
|
6403
6445
|
# header parameters
|
|
@@ -6701,8 +6743,8 @@ module Kubernetes
|
|
|
6701
6743
|
# @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.
|
|
6702
6744
|
# @option opts [V1DeleteOptions] :body
|
|
6703
6745
|
# @return [V1Status]
|
|
6704
|
-
def
|
|
6705
|
-
data, _status_code, _headers =
|
|
6746
|
+
def delete_namespaced_event(name, namespace, opts = {})
|
|
6747
|
+
data, _status_code, _headers = delete_namespaced_event_with_http_info(name, namespace, opts)
|
|
6706
6748
|
data
|
|
6707
6749
|
end
|
|
6708
6750
|
|
|
@@ -6718,17 +6760,17 @@ module Kubernetes
|
|
|
6718
6760
|
# @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.
|
|
6719
6761
|
# @option opts [V1DeleteOptions] :body
|
|
6720
6762
|
# @return [Array<(V1Status, Integer, Hash)>] V1Status data, response status code and response headers
|
|
6721
|
-
def
|
|
6763
|
+
def delete_namespaced_event_with_http_info(name, namespace, opts = {})
|
|
6722
6764
|
if @api_client.config.debugging
|
|
6723
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
6765
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.delete_namespaced_event ...'
|
|
6724
6766
|
end
|
|
6725
6767
|
# verify the required parameter 'name' is set
|
|
6726
6768
|
if @api_client.config.client_side_validation && name.nil?
|
|
6727
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.
|
|
6769
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.delete_namespaced_event"
|
|
6728
6770
|
end
|
|
6729
6771
|
# verify the required parameter 'namespace' is set
|
|
6730
6772
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
6731
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
6773
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_event"
|
|
6732
6774
|
end
|
|
6733
6775
|
# resource path
|
|
6734
6776
|
local_var_path = '/api/v1/namespaces/{namespace}/events/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -6760,7 +6802,7 @@ module Kubernetes
|
|
|
6760
6802
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
6761
6803
|
|
|
6762
6804
|
new_options = opts.merge(
|
|
6763
|
-
:operation => :"CoreV1Api.
|
|
6805
|
+
:operation => :"CoreV1Api.delete_namespaced_event",
|
|
6764
6806
|
:header_params => header_params,
|
|
6765
6807
|
:query_params => query_params,
|
|
6766
6808
|
:form_params => form_params,
|
|
@@ -6771,7 +6813,7 @@ module Kubernetes
|
|
|
6771
6813
|
|
|
6772
6814
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
6773
6815
|
if @api_client.config.debugging
|
|
6774
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
6816
|
+
@api_client.config.logger.debug "API called: CoreV1Api#delete_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6775
6817
|
end
|
|
6776
6818
|
return data, status_code, headers
|
|
6777
6819
|
end
|
|
@@ -7724,17 +7766,17 @@ module Kubernetes
|
|
|
7724
7766
|
# get available resources
|
|
7725
7767
|
# @param [Hash] opts the optional parameters
|
|
7726
7768
|
# @return [V1APIResourceList]
|
|
7727
|
-
def
|
|
7728
|
-
data, _status_code, _headers =
|
|
7769
|
+
def get_api_resources(opts = {})
|
|
7770
|
+
data, _status_code, _headers = get_api_resources_with_http_info(opts)
|
|
7729
7771
|
data
|
|
7730
7772
|
end
|
|
7731
7773
|
|
|
7732
7774
|
# get available resources
|
|
7733
7775
|
# @param [Hash] opts the optional parameters
|
|
7734
7776
|
# @return [Array<(V1APIResourceList, Integer, Hash)>] V1APIResourceList data, response status code and response headers
|
|
7735
|
-
def
|
|
7777
|
+
def get_api_resources_with_http_info(opts = {})
|
|
7736
7778
|
if @api_client.config.debugging
|
|
7737
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
7779
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.get_api_resources ...'
|
|
7738
7780
|
end
|
|
7739
7781
|
# resource path
|
|
7740
7782
|
local_var_path = '/api/v1/'
|
|
@@ -7760,7 +7802,7 @@ module Kubernetes
|
|
|
7760
7802
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
7761
7803
|
|
|
7762
7804
|
new_options = opts.merge(
|
|
7763
|
-
:operation => :"CoreV1Api.
|
|
7805
|
+
:operation => :"CoreV1Api.get_api_resources",
|
|
7764
7806
|
:header_params => header_params,
|
|
7765
7807
|
:query_params => query_params,
|
|
7766
7808
|
:form_params => form_params,
|
|
@@ -7771,7 +7813,7 @@ module Kubernetes
|
|
|
7771
7813
|
|
|
7772
7814
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7773
7815
|
if @api_client.config.debugging
|
|
7774
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
7816
|
+
@api_client.config.logger.debug "API called: CoreV1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7775
7817
|
end
|
|
7776
7818
|
return data, status_code, headers
|
|
7777
7819
|
end
|
|
@@ -7787,6 +7829,7 @@ module Kubernetes
|
|
|
7787
7829
|
# @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
|
|
7788
7830
|
# @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
|
|
7789
7831
|
# @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.
|
|
7832
|
+
# @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.
|
|
7790
7833
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7791
7834
|
# @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.
|
|
7792
7835
|
# @return [V1ComponentStatusList]
|
|
@@ -7806,6 +7849,7 @@ module Kubernetes
|
|
|
7806
7849
|
# @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
|
|
7807
7850
|
# @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
|
|
7808
7851
|
# @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.
|
|
7852
|
+
# @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.
|
|
7809
7853
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7810
7854
|
# @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.
|
|
7811
7855
|
# @return [Array<(V1ComponentStatusList, Integer, Hash)>] V1ComponentStatusList data, response status code and response headers
|
|
@@ -7827,6 +7871,7 @@ module Kubernetes
|
|
|
7827
7871
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
7828
7872
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
7829
7873
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
7874
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
7830
7875
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
7831
7876
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
7832
7877
|
|
|
@@ -7875,6 +7920,7 @@ module Kubernetes
|
|
|
7875
7920
|
# @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
|
|
7876
7921
|
# @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
|
|
7877
7922
|
# @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.
|
|
7923
|
+
# @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.
|
|
7878
7924
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7879
7925
|
# @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.
|
|
7880
7926
|
# @return [V1ConfigMapList]
|
|
@@ -7894,6 +7940,7 @@ module Kubernetes
|
|
|
7894
7940
|
# @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
|
|
7895
7941
|
# @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
|
|
7896
7942
|
# @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.
|
|
7943
|
+
# @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.
|
|
7897
7944
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7898
7945
|
# @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.
|
|
7899
7946
|
# @return [Array<(V1ConfigMapList, Integer, Hash)>] V1ConfigMapList data, response status code and response headers
|
|
@@ -7915,6 +7962,7 @@ module Kubernetes
|
|
|
7915
7962
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
7916
7963
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
7917
7964
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
7965
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
7918
7966
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
7919
7967
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
7920
7968
|
|
|
@@ -7963,6 +8011,7 @@ module Kubernetes
|
|
|
7963
8011
|
# @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
|
|
7964
8012
|
# @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
|
|
7965
8013
|
# @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.
|
|
8014
|
+
# @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.
|
|
7966
8015
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7967
8016
|
# @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.
|
|
7968
8017
|
# @return [V1EndpointsList]
|
|
@@ -7982,6 +8031,7 @@ module Kubernetes
|
|
|
7982
8031
|
# @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
|
|
7983
8032
|
# @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
|
|
7984
8033
|
# @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.
|
|
8034
|
+
# @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.
|
|
7985
8035
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
7986
8036
|
# @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.
|
|
7987
8037
|
# @return [Array<(V1EndpointsList, Integer, Hash)>] V1EndpointsList data, response status code and response headers
|
|
@@ -8003,6 +8053,7 @@ module Kubernetes
|
|
|
8003
8053
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8004
8054
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8005
8055
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8056
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8006
8057
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8007
8058
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8008
8059
|
|
|
@@ -8051,11 +8102,12 @@ module Kubernetes
|
|
|
8051
8102
|
# @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
|
|
8052
8103
|
# @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
|
|
8053
8104
|
# @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.
|
|
8105
|
+
# @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.
|
|
8054
8106
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8055
8107
|
# @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.
|
|
8056
8108
|
# @return [CoreV1EventList]
|
|
8057
|
-
def
|
|
8058
|
-
data, _status_code, _headers =
|
|
8109
|
+
def list_event_for_all_namespaces(opts = {})
|
|
8110
|
+
data, _status_code, _headers = list_event_for_all_namespaces_with_http_info(opts)
|
|
8059
8111
|
data
|
|
8060
8112
|
end
|
|
8061
8113
|
|
|
@@ -8070,12 +8122,13 @@ module Kubernetes
|
|
|
8070
8122
|
# @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
|
|
8071
8123
|
# @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
|
|
8072
8124
|
# @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.
|
|
8125
|
+
# @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.
|
|
8073
8126
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8074
8127
|
# @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.
|
|
8075
8128
|
# @return [Array<(CoreV1EventList, Integer, Hash)>] CoreV1EventList data, response status code and response headers
|
|
8076
|
-
def
|
|
8129
|
+
def list_event_for_all_namespaces_with_http_info(opts = {})
|
|
8077
8130
|
if @api_client.config.debugging
|
|
8078
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
8131
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.list_event_for_all_namespaces ...'
|
|
8079
8132
|
end
|
|
8080
8133
|
# resource path
|
|
8081
8134
|
local_var_path = '/api/v1/events'
|
|
@@ -8091,6 +8144,7 @@ module Kubernetes
|
|
|
8091
8144
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8092
8145
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8093
8146
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8147
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8094
8148
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8095
8149
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8096
8150
|
|
|
@@ -8112,7 +8166,7 @@ module Kubernetes
|
|
|
8112
8166
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
8113
8167
|
|
|
8114
8168
|
new_options = opts.merge(
|
|
8115
|
-
:operation => :"CoreV1Api.
|
|
8169
|
+
:operation => :"CoreV1Api.list_event_for_all_namespaces",
|
|
8116
8170
|
:header_params => header_params,
|
|
8117
8171
|
:query_params => query_params,
|
|
8118
8172
|
:form_params => form_params,
|
|
@@ -8123,7 +8177,7 @@ module Kubernetes
|
|
|
8123
8177
|
|
|
8124
8178
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8125
8179
|
if @api_client.config.debugging
|
|
8126
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
8180
|
+
@api_client.config.logger.debug "API called: CoreV1Api#list_event_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8127
8181
|
end
|
|
8128
8182
|
return data, status_code, headers
|
|
8129
8183
|
end
|
|
@@ -8139,6 +8193,7 @@ module Kubernetes
|
|
|
8139
8193
|
# @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
|
|
8140
8194
|
# @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
|
|
8141
8195
|
# @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.
|
|
8196
|
+
# @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.
|
|
8142
8197
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8143
8198
|
# @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.
|
|
8144
8199
|
# @return [V1LimitRangeList]
|
|
@@ -8158,6 +8213,7 @@ module Kubernetes
|
|
|
8158
8213
|
# @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
|
|
8159
8214
|
# @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
|
|
8160
8215
|
# @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.
|
|
8216
|
+
# @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.
|
|
8161
8217
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8162
8218
|
# @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.
|
|
8163
8219
|
# @return [Array<(V1LimitRangeList, Integer, Hash)>] V1LimitRangeList data, response status code and response headers
|
|
@@ -8179,6 +8235,7 @@ module Kubernetes
|
|
|
8179
8235
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8180
8236
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8181
8237
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8238
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8182
8239
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8183
8240
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8184
8241
|
|
|
@@ -8227,6 +8284,7 @@ module Kubernetes
|
|
|
8227
8284
|
# @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
|
|
8228
8285
|
# @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
|
|
8229
8286
|
# @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.
|
|
8287
|
+
# @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.
|
|
8230
8288
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8231
8289
|
# @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.
|
|
8232
8290
|
# @return [V1NamespaceList]
|
|
@@ -8246,6 +8304,7 @@ module Kubernetes
|
|
|
8246
8304
|
# @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
|
|
8247
8305
|
# @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
|
|
8248
8306
|
# @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.
|
|
8307
|
+
# @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.
|
|
8249
8308
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8250
8309
|
# @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.
|
|
8251
8310
|
# @return [Array<(V1NamespaceList, Integer, Hash)>] V1NamespaceList data, response status code and response headers
|
|
@@ -8267,6 +8326,7 @@ module Kubernetes
|
|
|
8267
8326
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8268
8327
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8269
8328
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8329
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8270
8330
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8271
8331
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8272
8332
|
|
|
@@ -8316,6 +8376,7 @@ module Kubernetes
|
|
|
8316
8376
|
# @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
|
|
8317
8377
|
# @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
|
|
8318
8378
|
# @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.
|
|
8379
|
+
# @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.
|
|
8319
8380
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8320
8381
|
# @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.
|
|
8321
8382
|
# @return [V1ConfigMapList]
|
|
@@ -8336,6 +8397,7 @@ module Kubernetes
|
|
|
8336
8397
|
# @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
|
|
8337
8398
|
# @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
|
|
8338
8399
|
# @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.
|
|
8400
|
+
# @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.
|
|
8339
8401
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8340
8402
|
# @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.
|
|
8341
8403
|
# @return [Array<(V1ConfigMapList, Integer, Hash)>] V1ConfigMapList data, response status code and response headers
|
|
@@ -8361,6 +8423,7 @@ module Kubernetes
|
|
|
8361
8423
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8362
8424
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8363
8425
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8426
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8364
8427
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8365
8428
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8366
8429
|
|
|
@@ -8410,6 +8473,7 @@ module Kubernetes
|
|
|
8410
8473
|
# @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
|
|
8411
8474
|
# @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
|
|
8412
8475
|
# @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.
|
|
8476
|
+
# @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.
|
|
8413
8477
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8414
8478
|
# @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.
|
|
8415
8479
|
# @return [V1EndpointsList]
|
|
@@ -8430,6 +8494,7 @@ module Kubernetes
|
|
|
8430
8494
|
# @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
|
|
8431
8495
|
# @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
|
|
8432
8496
|
# @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.
|
|
8497
|
+
# @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.
|
|
8433
8498
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8434
8499
|
# @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.
|
|
8435
8500
|
# @return [Array<(V1EndpointsList, Integer, Hash)>] V1EndpointsList data, response status code and response headers
|
|
@@ -8455,6 +8520,7 @@ module Kubernetes
|
|
|
8455
8520
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8456
8521
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8457
8522
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8523
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8458
8524
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8459
8525
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8460
8526
|
|
|
@@ -8504,11 +8570,12 @@ module Kubernetes
|
|
|
8504
8570
|
# @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
|
|
8505
8571
|
# @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
|
|
8506
8572
|
# @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.
|
|
8573
|
+
# @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.
|
|
8507
8574
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8508
8575
|
# @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.
|
|
8509
8576
|
# @return [CoreV1EventList]
|
|
8510
|
-
def
|
|
8511
|
-
data, _status_code, _headers =
|
|
8577
|
+
def list_namespaced_event(namespace, opts = {})
|
|
8578
|
+
data, _status_code, _headers = list_namespaced_event_with_http_info(namespace, opts)
|
|
8512
8579
|
data
|
|
8513
8580
|
end
|
|
8514
8581
|
|
|
@@ -8524,16 +8591,17 @@ module Kubernetes
|
|
|
8524
8591
|
# @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
|
|
8525
8592
|
# @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
|
|
8526
8593
|
# @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.
|
|
8594
|
+
# @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.
|
|
8527
8595
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8528
8596
|
# @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.
|
|
8529
8597
|
# @return [Array<(CoreV1EventList, Integer, Hash)>] CoreV1EventList data, response status code and response headers
|
|
8530
|
-
def
|
|
8598
|
+
def list_namespaced_event_with_http_info(namespace, opts = {})
|
|
8531
8599
|
if @api_client.config.debugging
|
|
8532
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
8600
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.list_namespaced_event ...'
|
|
8533
8601
|
end
|
|
8534
8602
|
# verify the required parameter 'namespace' is set
|
|
8535
8603
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
8536
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
8604
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.list_namespaced_event"
|
|
8537
8605
|
end
|
|
8538
8606
|
# resource path
|
|
8539
8607
|
local_var_path = '/api/v1/namespaces/{namespace}/events'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -8549,6 +8617,7 @@ module Kubernetes
|
|
|
8549
8617
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8550
8618
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8551
8619
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8620
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8552
8621
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8553
8622
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8554
8623
|
|
|
@@ -8570,7 +8639,7 @@ module Kubernetes
|
|
|
8570
8639
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
8571
8640
|
|
|
8572
8641
|
new_options = opts.merge(
|
|
8573
|
-
:operation => :"CoreV1Api.
|
|
8642
|
+
:operation => :"CoreV1Api.list_namespaced_event",
|
|
8574
8643
|
:header_params => header_params,
|
|
8575
8644
|
:query_params => query_params,
|
|
8576
8645
|
:form_params => form_params,
|
|
@@ -8581,7 +8650,7 @@ module Kubernetes
|
|
|
8581
8650
|
|
|
8582
8651
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8583
8652
|
if @api_client.config.debugging
|
|
8584
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
8653
|
+
@api_client.config.logger.debug "API called: CoreV1Api#list_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8585
8654
|
end
|
|
8586
8655
|
return data, status_code, headers
|
|
8587
8656
|
end
|
|
@@ -8598,6 +8667,7 @@ module Kubernetes
|
|
|
8598
8667
|
# @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
|
|
8599
8668
|
# @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
|
|
8600
8669
|
# @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.
|
|
8670
|
+
# @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.
|
|
8601
8671
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8602
8672
|
# @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.
|
|
8603
8673
|
# @return [V1LimitRangeList]
|
|
@@ -8618,6 +8688,7 @@ module Kubernetes
|
|
|
8618
8688
|
# @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
|
|
8619
8689
|
# @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
|
|
8620
8690
|
# @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.
|
|
8691
|
+
# @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.
|
|
8621
8692
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8622
8693
|
# @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.
|
|
8623
8694
|
# @return [Array<(V1LimitRangeList, Integer, Hash)>] V1LimitRangeList data, response status code and response headers
|
|
@@ -8643,6 +8714,7 @@ module Kubernetes
|
|
|
8643
8714
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8644
8715
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8645
8716
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8717
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8646
8718
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8647
8719
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8648
8720
|
|
|
@@ -8692,6 +8764,7 @@ module Kubernetes
|
|
|
8692
8764
|
# @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
|
|
8693
8765
|
# @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
|
|
8694
8766
|
# @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.
|
|
8767
|
+
# @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.
|
|
8695
8768
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8696
8769
|
# @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.
|
|
8697
8770
|
# @return [V1PersistentVolumeClaimList]
|
|
@@ -8712,6 +8785,7 @@ module Kubernetes
|
|
|
8712
8785
|
# @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
|
|
8713
8786
|
# @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
|
|
8714
8787
|
# @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.
|
|
8788
|
+
# @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.
|
|
8715
8789
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8716
8790
|
# @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.
|
|
8717
8791
|
# @return [Array<(V1PersistentVolumeClaimList, Integer, Hash)>] V1PersistentVolumeClaimList data, response status code and response headers
|
|
@@ -8737,6 +8811,7 @@ module Kubernetes
|
|
|
8737
8811
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8738
8812
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8739
8813
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8814
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8740
8815
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8741
8816
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8742
8817
|
|
|
@@ -8786,6 +8861,7 @@ module Kubernetes
|
|
|
8786
8861
|
# @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
|
|
8787
8862
|
# @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
|
|
8788
8863
|
# @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.
|
|
8864
|
+
# @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.
|
|
8789
8865
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8790
8866
|
# @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.
|
|
8791
8867
|
# @return [V1PodList]
|
|
@@ -8806,6 +8882,7 @@ module Kubernetes
|
|
|
8806
8882
|
# @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
|
|
8807
8883
|
# @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
|
|
8808
8884
|
# @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.
|
|
8885
|
+
# @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.
|
|
8809
8886
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8810
8887
|
# @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.
|
|
8811
8888
|
# @return [Array<(V1PodList, Integer, Hash)>] V1PodList data, response status code and response headers
|
|
@@ -8831,6 +8908,7 @@ module Kubernetes
|
|
|
8831
8908
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8832
8909
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8833
8910
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
8911
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8834
8912
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8835
8913
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8836
8914
|
|
|
@@ -8880,6 +8958,7 @@ module Kubernetes
|
|
|
8880
8958
|
# @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
|
|
8881
8959
|
# @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
|
|
8882
8960
|
# @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.
|
|
8961
|
+
# @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.
|
|
8883
8962
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8884
8963
|
# @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.
|
|
8885
8964
|
# @return [V1PodTemplateList]
|
|
@@ -8900,6 +8979,7 @@ module Kubernetes
|
|
|
8900
8979
|
# @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
|
|
8901
8980
|
# @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
|
|
8902
8981
|
# @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.
|
|
8982
|
+
# @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.
|
|
8903
8983
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8904
8984
|
# @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.
|
|
8905
8985
|
# @return [Array<(V1PodTemplateList, Integer, Hash)>] V1PodTemplateList data, response status code and response headers
|
|
@@ -8925,6 +9005,7 @@ module Kubernetes
|
|
|
8925
9005
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
8926
9006
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
8927
9007
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9008
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
8928
9009
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
8929
9010
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
8930
9011
|
|
|
@@ -8974,6 +9055,7 @@ module Kubernetes
|
|
|
8974
9055
|
# @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
|
|
8975
9056
|
# @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
|
|
8976
9057
|
# @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.
|
|
9058
|
+
# @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.
|
|
8977
9059
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8978
9060
|
# @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.
|
|
8979
9061
|
# @return [V1ReplicationControllerList]
|
|
@@ -8994,6 +9076,7 @@ module Kubernetes
|
|
|
8994
9076
|
# @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
|
|
8995
9077
|
# @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
|
|
8996
9078
|
# @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.
|
|
9079
|
+
# @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.
|
|
8997
9080
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
8998
9081
|
# @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.
|
|
8999
9082
|
# @return [Array<(V1ReplicationControllerList, Integer, Hash)>] V1ReplicationControllerList data, response status code and response headers
|
|
@@ -9019,6 +9102,7 @@ module Kubernetes
|
|
|
9019
9102
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9020
9103
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9021
9104
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9105
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9022
9106
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9023
9107
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9024
9108
|
|
|
@@ -9068,6 +9152,7 @@ module Kubernetes
|
|
|
9068
9152
|
# @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
|
|
9069
9153
|
# @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
|
|
9070
9154
|
# @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.
|
|
9155
|
+
# @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.
|
|
9071
9156
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9072
9157
|
# @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.
|
|
9073
9158
|
# @return [V1ResourceQuotaList]
|
|
@@ -9088,6 +9173,7 @@ module Kubernetes
|
|
|
9088
9173
|
# @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
|
|
9089
9174
|
# @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
|
|
9090
9175
|
# @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.
|
|
9176
|
+
# @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.
|
|
9091
9177
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9092
9178
|
# @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.
|
|
9093
9179
|
# @return [Array<(V1ResourceQuotaList, Integer, Hash)>] V1ResourceQuotaList data, response status code and response headers
|
|
@@ -9113,6 +9199,7 @@ module Kubernetes
|
|
|
9113
9199
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9114
9200
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9115
9201
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9202
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9116
9203
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9117
9204
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9118
9205
|
|
|
@@ -9162,6 +9249,7 @@ module Kubernetes
|
|
|
9162
9249
|
# @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
|
|
9163
9250
|
# @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
|
|
9164
9251
|
# @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.
|
|
9252
|
+
# @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.
|
|
9165
9253
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9166
9254
|
# @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.
|
|
9167
9255
|
# @return [V1SecretList]
|
|
@@ -9182,6 +9270,7 @@ module Kubernetes
|
|
|
9182
9270
|
# @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
|
|
9183
9271
|
# @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
|
|
9184
9272
|
# @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.
|
|
9273
|
+
# @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.
|
|
9185
9274
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9186
9275
|
# @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.
|
|
9187
9276
|
# @return [Array<(V1SecretList, Integer, Hash)>] V1SecretList data, response status code and response headers
|
|
@@ -9207,6 +9296,7 @@ module Kubernetes
|
|
|
9207
9296
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9208
9297
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9209
9298
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9299
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9210
9300
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9211
9301
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9212
9302
|
|
|
@@ -9256,6 +9346,7 @@ module Kubernetes
|
|
|
9256
9346
|
# @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
|
|
9257
9347
|
# @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
|
|
9258
9348
|
# @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.
|
|
9349
|
+
# @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.
|
|
9259
9350
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9260
9351
|
# @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.
|
|
9261
9352
|
# @return [V1ServiceList]
|
|
@@ -9276,6 +9367,7 @@ module Kubernetes
|
|
|
9276
9367
|
# @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
|
|
9277
9368
|
# @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
|
|
9278
9369
|
# @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.
|
|
9370
|
+
# @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.
|
|
9279
9371
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9280
9372
|
# @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.
|
|
9281
9373
|
# @return [Array<(V1ServiceList, Integer, Hash)>] V1ServiceList data, response status code and response headers
|
|
@@ -9301,6 +9393,7 @@ module Kubernetes
|
|
|
9301
9393
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9302
9394
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9303
9395
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9396
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9304
9397
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9305
9398
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9306
9399
|
|
|
@@ -9350,6 +9443,7 @@ module Kubernetes
|
|
|
9350
9443
|
# @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
|
|
9351
9444
|
# @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
|
|
9352
9445
|
# @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.
|
|
9446
|
+
# @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.
|
|
9353
9447
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9354
9448
|
# @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.
|
|
9355
9449
|
# @return [V1ServiceAccountList]
|
|
@@ -9370,6 +9464,7 @@ module Kubernetes
|
|
|
9370
9464
|
# @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
|
|
9371
9465
|
# @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
|
|
9372
9466
|
# @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.
|
|
9467
|
+
# @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.
|
|
9373
9468
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9374
9469
|
# @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.
|
|
9375
9470
|
# @return [Array<(V1ServiceAccountList, Integer, Hash)>] V1ServiceAccountList data, response status code and response headers
|
|
@@ -9395,6 +9490,7 @@ module Kubernetes
|
|
|
9395
9490
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9396
9491
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9397
9492
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9493
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9398
9494
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9399
9495
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9400
9496
|
|
|
@@ -9443,6 +9539,7 @@ module Kubernetes
|
|
|
9443
9539
|
# @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
|
|
9444
9540
|
# @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
|
|
9445
9541
|
# @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.
|
|
9542
|
+
# @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.
|
|
9446
9543
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9447
9544
|
# @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.
|
|
9448
9545
|
# @return [V1NodeList]
|
|
@@ -9462,6 +9559,7 @@ module Kubernetes
|
|
|
9462
9559
|
# @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
|
|
9463
9560
|
# @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
|
|
9464
9561
|
# @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.
|
|
9562
|
+
# @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.
|
|
9465
9563
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9466
9564
|
# @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.
|
|
9467
9565
|
# @return [Array<(V1NodeList, Integer, Hash)>] V1NodeList data, response status code and response headers
|
|
@@ -9483,6 +9581,7 @@ module Kubernetes
|
|
|
9483
9581
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9484
9582
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9485
9583
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9584
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9486
9585
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9487
9586
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9488
9587
|
|
|
@@ -9531,6 +9630,7 @@ module Kubernetes
|
|
|
9531
9630
|
# @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
|
|
9532
9631
|
# @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
|
|
9533
9632
|
# @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.
|
|
9633
|
+
# @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.
|
|
9534
9634
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9535
9635
|
# @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.
|
|
9536
9636
|
# @return [V1PersistentVolumeList]
|
|
@@ -9550,6 +9650,7 @@ module Kubernetes
|
|
|
9550
9650
|
# @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
|
|
9551
9651
|
# @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
|
|
9552
9652
|
# @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.
|
|
9653
|
+
# @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.
|
|
9553
9654
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9554
9655
|
# @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.
|
|
9555
9656
|
# @return [Array<(V1PersistentVolumeList, Integer, Hash)>] V1PersistentVolumeList data, response status code and response headers
|
|
@@ -9571,6 +9672,7 @@ module Kubernetes
|
|
|
9571
9672
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9572
9673
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9573
9674
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9675
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9574
9676
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9575
9677
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9576
9678
|
|
|
@@ -9619,6 +9721,7 @@ module Kubernetes
|
|
|
9619
9721
|
# @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
|
|
9620
9722
|
# @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
|
|
9621
9723
|
# @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.
|
|
9724
|
+
# @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.
|
|
9622
9725
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9623
9726
|
# @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.
|
|
9624
9727
|
# @return [V1PersistentVolumeClaimList]
|
|
@@ -9638,6 +9741,7 @@ module Kubernetes
|
|
|
9638
9741
|
# @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
|
|
9639
9742
|
# @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
|
|
9640
9743
|
# @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.
|
|
9744
|
+
# @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.
|
|
9641
9745
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9642
9746
|
# @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.
|
|
9643
9747
|
# @return [Array<(V1PersistentVolumeClaimList, Integer, Hash)>] V1PersistentVolumeClaimList data, response status code and response headers
|
|
@@ -9659,6 +9763,7 @@ module Kubernetes
|
|
|
9659
9763
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9660
9764
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9661
9765
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9766
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9662
9767
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9663
9768
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9664
9769
|
|
|
@@ -9707,6 +9812,7 @@ module Kubernetes
|
|
|
9707
9812
|
# @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
|
|
9708
9813
|
# @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
|
|
9709
9814
|
# @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.
|
|
9815
|
+
# @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.
|
|
9710
9816
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9711
9817
|
# @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.
|
|
9712
9818
|
# @return [V1PodList]
|
|
@@ -9726,6 +9832,7 @@ module Kubernetes
|
|
|
9726
9832
|
# @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
|
|
9727
9833
|
# @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
|
|
9728
9834
|
# @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.
|
|
9835
|
+
# @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.
|
|
9729
9836
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9730
9837
|
# @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.
|
|
9731
9838
|
# @return [Array<(V1PodList, Integer, Hash)>] V1PodList data, response status code and response headers
|
|
@@ -9747,6 +9854,7 @@ module Kubernetes
|
|
|
9747
9854
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9748
9855
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9749
9856
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9857
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9750
9858
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9751
9859
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9752
9860
|
|
|
@@ -9795,6 +9903,7 @@ module Kubernetes
|
|
|
9795
9903
|
# @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
|
|
9796
9904
|
# @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
|
|
9797
9905
|
# @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.
|
|
9906
|
+
# @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.
|
|
9798
9907
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9799
9908
|
# @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.
|
|
9800
9909
|
# @return [V1PodTemplateList]
|
|
@@ -9814,6 +9923,7 @@ module Kubernetes
|
|
|
9814
9923
|
# @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
|
|
9815
9924
|
# @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
|
|
9816
9925
|
# @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.
|
|
9926
|
+
# @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.
|
|
9817
9927
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9818
9928
|
# @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.
|
|
9819
9929
|
# @return [Array<(V1PodTemplateList, Integer, Hash)>] V1PodTemplateList data, response status code and response headers
|
|
@@ -9835,6 +9945,7 @@ module Kubernetes
|
|
|
9835
9945
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9836
9946
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9837
9947
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
9948
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9838
9949
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9839
9950
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9840
9951
|
|
|
@@ -9883,6 +9994,7 @@ module Kubernetes
|
|
|
9883
9994
|
# @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
|
|
9884
9995
|
# @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
|
|
9885
9996
|
# @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.
|
|
9997
|
+
# @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.
|
|
9886
9998
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9887
9999
|
# @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.
|
|
9888
10000
|
# @return [V1ReplicationControllerList]
|
|
@@ -9902,6 +10014,7 @@ module Kubernetes
|
|
|
9902
10014
|
# @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
|
|
9903
10015
|
# @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
|
|
9904
10016
|
# @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.
|
|
10017
|
+
# @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.
|
|
9905
10018
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9906
10019
|
# @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.
|
|
9907
10020
|
# @return [Array<(V1ReplicationControllerList, Integer, Hash)>] V1ReplicationControllerList data, response status code and response headers
|
|
@@ -9923,6 +10036,7 @@ module Kubernetes
|
|
|
9923
10036
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
9924
10037
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
9925
10038
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
10039
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
9926
10040
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
9927
10041
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
9928
10042
|
|
|
@@ -9971,6 +10085,7 @@ module Kubernetes
|
|
|
9971
10085
|
# @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
|
|
9972
10086
|
# @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
|
|
9973
10087
|
# @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.
|
|
10088
|
+
# @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.
|
|
9974
10089
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9975
10090
|
# @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.
|
|
9976
10091
|
# @return [V1ResourceQuotaList]
|
|
@@ -9990,6 +10105,7 @@ module Kubernetes
|
|
|
9990
10105
|
# @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
|
|
9991
10106
|
# @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
|
|
9992
10107
|
# @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.
|
|
10108
|
+
# @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.
|
|
9993
10109
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
9994
10110
|
# @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.
|
|
9995
10111
|
# @return [Array<(V1ResourceQuotaList, Integer, Hash)>] V1ResourceQuotaList data, response status code and response headers
|
|
@@ -10011,6 +10127,7 @@ module Kubernetes
|
|
|
10011
10127
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
10012
10128
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
10013
10129
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
10130
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
10014
10131
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
10015
10132
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
10016
10133
|
|
|
@@ -10059,6 +10176,7 @@ module Kubernetes
|
|
|
10059
10176
|
# @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
|
|
10060
10177
|
# @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
|
|
10061
10178
|
# @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.
|
|
10179
|
+
# @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.
|
|
10062
10180
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10063
10181
|
# @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.
|
|
10064
10182
|
# @return [V1SecretList]
|
|
@@ -10078,6 +10196,7 @@ module Kubernetes
|
|
|
10078
10196
|
# @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
|
|
10079
10197
|
# @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
|
|
10080
10198
|
# @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.
|
|
10199
|
+
# @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.
|
|
10081
10200
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10082
10201
|
# @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.
|
|
10083
10202
|
# @return [Array<(V1SecretList, Integer, Hash)>] V1SecretList data, response status code and response headers
|
|
@@ -10099,6 +10218,7 @@ module Kubernetes
|
|
|
10099
10218
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
10100
10219
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
10101
10220
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
10221
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
10102
10222
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
10103
10223
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
10104
10224
|
|
|
@@ -10147,6 +10267,7 @@ module Kubernetes
|
|
|
10147
10267
|
# @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
|
|
10148
10268
|
# @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
|
|
10149
10269
|
# @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.
|
|
10270
|
+
# @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.
|
|
10150
10271
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10151
10272
|
# @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.
|
|
10152
10273
|
# @return [V1ServiceAccountList]
|
|
@@ -10166,6 +10287,7 @@ module Kubernetes
|
|
|
10166
10287
|
# @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
|
|
10167
10288
|
# @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
|
|
10168
10289
|
# @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.
|
|
10290
|
+
# @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.
|
|
10169
10291
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10170
10292
|
# @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.
|
|
10171
10293
|
# @return [Array<(V1ServiceAccountList, Integer, Hash)>] V1ServiceAccountList data, response status code and response headers
|
|
@@ -10187,6 +10309,7 @@ module Kubernetes
|
|
|
10187
10309
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
10188
10310
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
10189
10311
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
10312
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
10190
10313
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
10191
10314
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
10192
10315
|
|
|
@@ -10235,6 +10358,7 @@ module Kubernetes
|
|
|
10235
10358
|
# @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
|
|
10236
10359
|
# @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
|
|
10237
10360
|
# @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.
|
|
10361
|
+
# @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.
|
|
10238
10362
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10239
10363
|
# @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.
|
|
10240
10364
|
# @return [V1ServiceList]
|
|
@@ -10254,6 +10378,7 @@ module Kubernetes
|
|
|
10254
10378
|
# @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
|
|
10255
10379
|
# @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
|
|
10256
10380
|
# @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.
|
|
10381
|
+
# @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.
|
|
10257
10382
|
# @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
10258
10383
|
# @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.
|
|
10259
10384
|
# @return [Array<(V1ServiceList, Integer, Hash)>] V1ServiceList data, response status code and response headers
|
|
@@ -10275,6 +10400,7 @@ module Kubernetes
|
|
|
10275
10400
|
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
10276
10401
|
query_params[:'resourceVersionMatch'] = opts[:'resource_version_match'] if !opts[:'resource_version_match'].nil?
|
|
10277
10402
|
query_params[:'sendInitialEvents'] = opts[:'send_initial_events'] if !opts[:'send_initial_events'].nil?
|
|
10403
|
+
query_params[:'shardSelector'] = opts[:'shard_selector'] if !opts[:'shard_selector'].nil?
|
|
10278
10404
|
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
10279
10405
|
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
10280
10406
|
|
|
@@ -10671,8 +10797,8 @@ module Kubernetes
|
|
|
10671
10797
|
# @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.
|
|
10672
10798
|
# @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.
|
|
10673
10799
|
# @return [CoreV1Event]
|
|
10674
|
-
def
|
|
10675
|
-
data, _status_code, _headers =
|
|
10800
|
+
def patch_namespaced_event(name, namespace, body, opts = {})
|
|
10801
|
+
data, _status_code, _headers = patch_namespaced_event_with_http_info(name, namespace, body, opts)
|
|
10676
10802
|
data
|
|
10677
10803
|
end
|
|
10678
10804
|
|
|
@@ -10687,21 +10813,21 @@ module Kubernetes
|
|
|
10687
10813
|
# @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.
|
|
10688
10814
|
# @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.
|
|
10689
10815
|
# @return [Array<(CoreV1Event, Integer, Hash)>] CoreV1Event data, response status code and response headers
|
|
10690
|
-
def
|
|
10816
|
+
def patch_namespaced_event_with_http_info(name, namespace, body, opts = {})
|
|
10691
10817
|
if @api_client.config.debugging
|
|
10692
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
10818
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.patch_namespaced_event ...'
|
|
10693
10819
|
end
|
|
10694
10820
|
# verify the required parameter 'name' is set
|
|
10695
10821
|
if @api_client.config.client_side_validation && name.nil?
|
|
10696
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.
|
|
10822
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.patch_namespaced_event"
|
|
10697
10823
|
end
|
|
10698
10824
|
# verify the required parameter 'namespace' is set
|
|
10699
10825
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
10700
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
10826
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.patch_namespaced_event"
|
|
10701
10827
|
end
|
|
10702
10828
|
# verify the required parameter 'body' is set
|
|
10703
10829
|
if @api_client.config.client_side_validation && body.nil?
|
|
10704
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.
|
|
10830
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.patch_namespaced_event"
|
|
10705
10831
|
end
|
|
10706
10832
|
# resource path
|
|
10707
10833
|
local_var_path = '/api/v1/namespaces/{namespace}/events/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -10734,7 +10860,7 @@ module Kubernetes
|
|
|
10734
10860
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
10735
10861
|
|
|
10736
10862
|
new_options = opts.merge(
|
|
10737
|
-
:operation => :"CoreV1Api.
|
|
10863
|
+
:operation => :"CoreV1Api.patch_namespaced_event",
|
|
10738
10864
|
:header_params => header_params,
|
|
10739
10865
|
:query_params => query_params,
|
|
10740
10866
|
:form_params => form_params,
|
|
@@ -10745,7 +10871,7 @@ module Kubernetes
|
|
|
10745
10871
|
|
|
10746
10872
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
10747
10873
|
if @api_client.config.debugging
|
|
10748
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
10874
|
+
@api_client.config.logger.debug "API called: CoreV1Api#patch_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10749
10875
|
end
|
|
10750
10876
|
return data, status_code, headers
|
|
10751
10877
|
end
|
|
@@ -12954,8 +13080,8 @@ module Kubernetes
|
|
|
12954
13080
|
# @param [Hash] opts the optional parameters
|
|
12955
13081
|
# @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).
|
|
12956
13082
|
# @return [CoreV1Event]
|
|
12957
|
-
def
|
|
12958
|
-
data, _status_code, _headers =
|
|
13083
|
+
def read_namespaced_event(name, namespace, opts = {})
|
|
13084
|
+
data, _status_code, _headers = read_namespaced_event_with_http_info(name, namespace, opts)
|
|
12959
13085
|
data
|
|
12960
13086
|
end
|
|
12961
13087
|
|
|
@@ -12965,17 +13091,17 @@ module Kubernetes
|
|
|
12965
13091
|
# @param [Hash] opts the optional parameters
|
|
12966
13092
|
# @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).
|
|
12967
13093
|
# @return [Array<(CoreV1Event, Integer, Hash)>] CoreV1Event data, response status code and response headers
|
|
12968
|
-
def
|
|
13094
|
+
def read_namespaced_event_with_http_info(name, namespace, opts = {})
|
|
12969
13095
|
if @api_client.config.debugging
|
|
12970
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
13096
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.read_namespaced_event ...'
|
|
12971
13097
|
end
|
|
12972
13098
|
# verify the required parameter 'name' is set
|
|
12973
13099
|
if @api_client.config.client_side_validation && name.nil?
|
|
12974
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.
|
|
13100
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.read_namespaced_event"
|
|
12975
13101
|
end
|
|
12976
13102
|
# verify the required parameter 'namespace' is set
|
|
12977
13103
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
12978
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
13104
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.read_namespaced_event"
|
|
12979
13105
|
end
|
|
12980
13106
|
# resource path
|
|
12981
13107
|
local_var_path = '/api/v1/namespaces/{namespace}/events/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -13002,7 +13128,7 @@ module Kubernetes
|
|
|
13002
13128
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
13003
13129
|
|
|
13004
13130
|
new_options = opts.merge(
|
|
13005
|
-
:operation => :"CoreV1Api.
|
|
13131
|
+
:operation => :"CoreV1Api.read_namespaced_event",
|
|
13006
13132
|
:header_params => header_params,
|
|
13007
13133
|
:query_params => query_params,
|
|
13008
13134
|
:form_params => form_params,
|
|
@@ -13013,7 +13139,7 @@ module Kubernetes
|
|
|
13013
13139
|
|
|
13014
13140
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13015
13141
|
if @api_client.config.debugging
|
|
13016
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
13142
|
+
@api_client.config.logger.debug "API called: CoreV1Api#read_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13017
13143
|
end
|
|
13018
13144
|
return data, status_code, headers
|
|
13019
13145
|
end
|
|
@@ -14978,8 +15104,8 @@ module Kubernetes
|
|
|
14978
15104
|
# @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.
|
|
14979
15105
|
# @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.
|
|
14980
15106
|
# @return [CoreV1Event]
|
|
14981
|
-
def
|
|
14982
|
-
data, _status_code, _headers =
|
|
15107
|
+
def replace_namespaced_event(name, namespace, body, opts = {})
|
|
15108
|
+
data, _status_code, _headers = replace_namespaced_event_with_http_info(name, namespace, body, opts)
|
|
14983
15109
|
data
|
|
14984
15110
|
end
|
|
14985
15111
|
|
|
@@ -14993,21 +15119,21 @@ module Kubernetes
|
|
|
14993
15119
|
# @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.
|
|
14994
15120
|
# @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.
|
|
14995
15121
|
# @return [Array<(CoreV1Event, Integer, Hash)>] CoreV1Event data, response status code and response headers
|
|
14996
|
-
def
|
|
15122
|
+
def replace_namespaced_event_with_http_info(name, namespace, body, opts = {})
|
|
14997
15123
|
if @api_client.config.debugging
|
|
14998
|
-
@api_client.config.logger.debug 'Calling API: CoreV1Api.
|
|
15124
|
+
@api_client.config.logger.debug 'Calling API: CoreV1Api.replace_namespaced_event ...'
|
|
14999
15125
|
end
|
|
15000
15126
|
# verify the required parameter 'name' is set
|
|
15001
15127
|
if @api_client.config.client_side_validation && name.nil?
|
|
15002
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.
|
|
15128
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.replace_namespaced_event"
|
|
15003
15129
|
end
|
|
15004
15130
|
# verify the required parameter 'namespace' is set
|
|
15005
15131
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
15006
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.
|
|
15132
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.replace_namespaced_event"
|
|
15007
15133
|
end
|
|
15008
15134
|
# verify the required parameter 'body' is set
|
|
15009
15135
|
if @api_client.config.client_side_validation && body.nil?
|
|
15010
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.
|
|
15136
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.replace_namespaced_event"
|
|
15011
15137
|
end
|
|
15012
15138
|
# resource path
|
|
15013
15139
|
local_var_path = '/api/v1/namespaces/{namespace}/events/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
@@ -15037,7 +15163,7 @@ module Kubernetes
|
|
|
15037
15163
|
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
15038
15164
|
|
|
15039
15165
|
new_options = opts.merge(
|
|
15040
|
-
:operation => :"CoreV1Api.
|
|
15166
|
+
:operation => :"CoreV1Api.replace_namespaced_event",
|
|
15041
15167
|
:header_params => header_params,
|
|
15042
15168
|
:query_params => query_params,
|
|
15043
15169
|
:form_params => form_params,
|
|
@@ -15048,7 +15174,7 @@ module Kubernetes
|
|
|
15048
15174
|
|
|
15049
15175
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
15050
15176
|
if @api_client.config.debugging
|
|
15051
|
-
@api_client.config.logger.debug "API called: CoreV1Api#
|
|
15177
|
+
@api_client.config.logger.debug "API called: CoreV1Api#replace_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15052
15178
|
end
|
|
15053
15179
|
return data, status_code, headers
|
|
15054
15180
|
end
|