grpc 1.54.2 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +1384 -955
- data/include/grpc/event_engine/event_engine.h +88 -55
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
- data/include/grpc/event_engine/internal/slice_cast.h +12 -0
- data/include/grpc/event_engine/memory_allocator.h +5 -3
- data/include/grpc/event_engine/slice.h +5 -0
- data/include/grpc/grpc_audit_logging.h +96 -0
- data/include/grpc/grpc_crl_provider.h +94 -0
- data/include/grpc/grpc_security.h +57 -1
- data/include/grpc/impl/call.h +29 -0
- data/include/grpc/impl/channel_arg_names.h +400 -0
- data/include/grpc/impl/grpc_types.h +1 -348
- data/include/grpc/impl/slice_type.h +1 -1
- data/include/grpc/module.modulemap +5 -0
- data/include/grpc/support/json.h +218 -0
- data/include/grpc/support/port_platform.h +103 -24
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +61 -16
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +49 -46
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
- data/src/core/ext/filters/client_channel/backend_metric.cc +5 -2
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +4 -4
- data/src/core/ext/filters/client_channel/client_channel.cc +610 -200
- data/src/core/ext/filters/client_channel/client_channel.h +80 -29
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +20 -19
- data/src/core/ext/filters/client_channel/client_channel_internal.h +24 -59
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +21 -8
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +2 -2
- data/src/core/ext/filters/client_channel/config_selector.h +9 -36
- data/src/core/ext/filters/client_channel/connector.h +2 -3
- data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -1
- data/src/core/ext/filters/client_channel/dynamic_filters.h +5 -3
- data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +1 -1
- data/src/core/ext/filters/client_channel/http_proxy_mapper.cc +305 -0
- data/src/core/ext/filters/client_channel/http_proxy_mapper.h +53 -0
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +60 -52
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +27 -12
- data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +3 -0
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +32 -40
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +187 -0
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +220 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +253 -237
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +20 -19
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +4 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +5 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +4 -2
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +520 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.h +52 -0
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +204 -0
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +15 -13
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric_internal.h +2 -0
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +270 -191
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +901 -203
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +36 -0
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +22 -48
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +495 -490
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +16 -1
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +115 -151
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +421 -40
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +37 -35
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc +76 -6
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +919 -110
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +31 -63
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +535 -546
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +8 -0
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +256 -194
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +32 -76
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +810 -316
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +2 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +34 -103
- data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +5 -6
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +31 -133
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.h +30 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +102 -11
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +105 -175
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +81 -66
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +11 -7
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc +66 -0
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.h +27 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +588 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.h +35 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc +97 -0
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.h +32 -0
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +5 -17
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.h +24 -0
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +76 -189
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +46 -27
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +32 -30
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +17 -13
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +1 -0
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +31 -19
- data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.cc +1031 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.h +277 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +517 -513
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_attributes.h +62 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.cc +25 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.h +30 -0
- data/src/core/ext/filters/client_channel/retry_filter.cc +40 -2531
- data/src/core/ext/filters/client_channel/retry_filter.h +92 -1
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc +2051 -0
- data/src/core/ext/filters/client_channel/retry_filter_legacy_call_data.h +442 -0
- data/src/core/ext/filters/client_channel/retry_service_config.cc +10 -9
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +64 -102
- data/src/core/ext/filters/client_channel/subchannel.cc +54 -202
- data/src/core/ext/filters/client_channel/subchannel.h +23 -48
- data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +3 -0
- data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -1
- data/src/core/ext/filters/deadline/deadline_filter.cc +21 -24
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -4
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +18 -13
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.cc +30 -39
- data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +23 -25
- data/src/core/ext/filters/http/client_authority_filter.h +12 -4
- data/src/core/ext/filters/http/http_filters_plugin.cc +58 -38
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +59 -87
- data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
- data/src/core/ext/filters/http/server/http_server_filter.cc +55 -53
- data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
- data/src/core/ext/filters/message_size/message_size_filter.cc +79 -108
- data/src/core/ext/filters/message_size/message_size_filter.h +35 -23
- data/src/core/ext/filters/rbac/rbac_filter.cc +46 -113
- data/src/core/ext/filters/rbac/rbac_filter.h +18 -29
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +162 -72
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +32 -21
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +180 -109
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +54 -11
- data/src/core/ext/gcp/metadata_query.cc +0 -1
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +1 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +5 -7
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +36 -36
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +1177 -1063
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +68 -4
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +80 -0
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +6569 -174
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2278 -441
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +87 -168
- data/src/core/ext/transport/chttp2/transport/flow_control.h +85 -12
- data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
- data/src/core/ext/transport/chttp2/transport/frame.h +193 -22
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -2
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +23 -26
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -4
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +10 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +34 -82
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +5 -8
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +16 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +8 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +184 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +351 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +640 -547
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +160 -12
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +48 -33
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +19 -5
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
- data/src/core/ext/transport/chttp2/transport/internal.h +228 -181
- data/src/core/ext/transport/chttp2/transport/legacy_frame.h +43 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +44 -0
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +67 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +168 -60
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +90 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +59 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +108 -0
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +115 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +120 -0
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +88 -0
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +60 -0
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +66 -0
- data/src/core/ext/transport/chttp2/transport/writing.cc +238 -179
- data/src/core/ext/transport/inproc/inproc_transport.cc +163 -1229
- data/src/core/ext/transport/inproc/inproc_transport.h +0 -4
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1303 -0
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +725 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +149 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +827 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +180 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +733 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +2772 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +532 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +48 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +248 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +66 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +280 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +74 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +56 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +928 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +150 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +122 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +1753 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +375 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +3420 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +612 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +49 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +526 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +125 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +3890 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +729 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +659 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +123 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +1830 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +395 -0
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +44 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +1041 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +224 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +2420 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +577 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +1130 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +225 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +116 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +1688 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +378 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +1938 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +315 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +144 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +2245 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +481 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +287 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +255 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +66 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +129 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +489 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +138 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +993 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +229 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +911 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +179 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +1613 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +268 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +1447 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +260 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +327 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +197 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +77 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +183 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +974 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +219 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +1183 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +250 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +1704 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +348 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +40 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +857 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +133 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +9666 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1667 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +87 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +341 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +97 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +1515 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +325 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +119 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +118 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +190 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +73 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +202 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +409 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +115 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +102 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +254 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +85 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +49 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +33 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +256 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +201 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +65 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +2691 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +555 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +45 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +134 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +428 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +116 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +656 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +141 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +266 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +87 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +462 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +194 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +3943 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +679 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +239 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +67 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +488 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +135 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +86 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +44 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +250 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +68 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +101 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +39 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +28 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +1469 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +262 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +361 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +108 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +1467 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +267 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +217 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +73 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +2141 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +402 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +324 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +925 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +183 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +131 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +312 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +86 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +124 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +299 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +105 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +260 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +166 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +130 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +54 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +110 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +271 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +96 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +109 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +43 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +306 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +81 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +230 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +70 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +347 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +92 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +525 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +127 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +506 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +139 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +34 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +227 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +76 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +38 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +148 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +162 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +64 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +238 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +232 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +42 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +26 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +29 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +117 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +49 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +146 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +56 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +38 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +1743 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +369 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +42 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +1829 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +399 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +43 -0
- data/src/core/ext/upb-gen/google/api/http.upb.h +496 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +111 -0
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +165 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +6397 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +1357 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +78 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +69 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +35 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +422 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +115 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +99 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +46 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +508 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +163 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +165 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +385 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +106 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +237 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +1658 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +342 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +41 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +197 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +69 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +144 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +877 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +221 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +297 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +92 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +1333 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +243 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +125 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +131 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/validate/validate.upb.h +6507 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +943 -0
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +57 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +322 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +118 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +125 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +37 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +336 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +117 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +36 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +109 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +87 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +45 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +116 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +53 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +234 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +78 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +134 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +62 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +115 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +144 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +331 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +84 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +146 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +59 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +350 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +126 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +33 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +161 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +101 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +50 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +263 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +72 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +71 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +282 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +75 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +1107 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +265 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +39 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +726 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +157 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +35 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +159 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +58 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +304 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +233 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +79 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +31 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +235 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +82 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +114 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +83 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +127 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +101 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +276 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +125 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +233 -0
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +422 -0
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +130 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +97 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +566 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +137 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +205 -0
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +105 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +131 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +270 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +150 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +167 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +236 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +244 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +310 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +69 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +48 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +139 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +135 -0
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +231 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +189 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +100 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +124 -0
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +141 -0
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +222 -0
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +85 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +122 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +979 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +320 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +76 -0
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +198 -0
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +90 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +71 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +74 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +78 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +401 -0
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +110 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +91 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +122 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +79 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +104 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +601 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +135 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +214 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +90 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +257 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +199 -0
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +75 -0
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +154 -0
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +64 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +57 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +74 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +77 -0
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +65 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +84 -0
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +55 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +93 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +47 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +68 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +43 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +56 -0
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +153 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +95 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +152 -0
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +100 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +488 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +190 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +31 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +66 -0
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +98 -0
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +75 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +61 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +33 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +282 -0
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +145 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +62 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +34 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +30 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +63 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +37 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +55 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +38 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +44 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +60 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +54 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +125 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +80 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +70 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +60 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +39 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +35 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +45 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +36 -0
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +35 -0
- data/src/core/ext/xds/certificate_provider_store.cc +10 -14
- data/src/core/ext/xds/certificate_provider_store.h +1 -6
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +30 -43
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +14 -9
- data/src/core/ext/xds/upb_utils.h +1 -1
- data/src/core/ext/xds/xds_api.cc +69 -34
- data/src/core/ext/xds/xds_api.h +7 -6
- data/src/core/ext/xds/xds_audit_logger_registry.cc +122 -0
- data/src/core/ext/xds/xds_audit_logger_registry.h +68 -0
- data/src/core/ext/xds/xds_bootstrap.cc +3 -3
- data/src/core/ext/xds/xds_bootstrap.h +3 -0
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +65 -51
- data/src/core/ext/xds/xds_bootstrap_grpc.h +10 -13
- data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
- data/src/core/ext/xds/xds_certificate_provider.h +44 -111
- data/src/core/ext/xds/xds_channel_stack_modifier.cc +17 -28
- data/src/core/ext/xds/xds_channel_stack_modifier.h +3 -5
- data/src/core/ext/xds/xds_client.cc +447 -421
- data/src/core/ext/xds/xds_client.h +33 -24
- data/src/core/ext/xds/xds_client_grpc.cc +15 -7
- data/src/core/ext/xds/xds_client_grpc.h +16 -2
- data/src/core/ext/xds/xds_client_stats.h +11 -2
- data/src/core/ext/xds/xds_cluster.cc +203 -119
- data/src/core/ext/xds/xds_cluster.h +12 -7
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +22 -14
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +2 -2
- data/src/core/ext/xds/xds_common_types.cc +21 -15
- data/src/core/ext/xds/xds_endpoint.cc +111 -72
- data/src/core/ext/xds/xds_endpoint.h +8 -5
- data/src/core/ext/xds/xds_health_status.cc +13 -18
- data/src/core/ext/xds/xds_health_status.h +10 -28
- data/src/core/ext/xds/xds_http_fault_filter.cc +16 -14
- data/src/core/ext/xds/xds_http_fault_filter.h +1 -1
- data/src/core/ext/xds/xds_http_filters.cc +1 -5
- data/src/core/ext/xds/xds_http_filters.h +3 -2
- data/src/core/ext/xds/xds_http_rbac_filter.cc +154 -72
- data/src/core/ext/xds/xds_http_rbac_filter.h +1 -1
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +16 -16
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +1 -1
- data/src/core/ext/xds/xds_lb_policy_registry.cc +60 -36
- data/src/core/ext/xds/xds_listener.cc +38 -27
- data/src/core/ext/xds/xds_listener.h +14 -4
- data/src/core/ext/xds/xds_resource_type.h +3 -9
- data/src/core/ext/xds/xds_resource_type_impl.h +11 -11
- data/src/core/ext/xds/xds_route_config.cc +95 -41
- data/src/core/ext/xds/xds_route_config.h +3 -2
- data/src/core/ext/xds/xds_server_config_fetcher.cc +110 -81
- data/src/core/ext/xds/xds_transport.h +3 -0
- data/src/core/ext/xds/xds_transport_grpc.cc +61 -52
- data/src/core/ext/xds/xds_transport_grpc.h +4 -0
- data/src/core/lib/address_utils/parse_address.cc +63 -1
- data/src/core/lib/address_utils/parse_address.h +8 -0
- data/src/core/lib/address_utils/sockaddr_utils.cc +46 -2
- data/src/core/lib/address_utils/sockaddr_utils.h +2 -2
- data/src/core/lib/avl/avl.h +16 -173
- data/src/core/lib/backoff/random_early_detection.cc +4 -2
- data/src/core/lib/backoff/random_early_detection.h +7 -4
- data/src/core/lib/channel/call_tracer.cc +315 -1
- data/src/core/lib/channel/call_tracer.h +63 -4
- data/src/core/lib/channel/channel_args.cc +131 -48
- data/src/core/lib/channel/channel_args.h +125 -16
- data/src/core/lib/channel/channel_args_preconditioning.cc +0 -1
- data/src/core/lib/channel/channel_stack.cc +36 -1
- data/src/core/lib/channel/channel_stack.h +10 -10
- data/src/core/lib/channel/channel_stack_builder.h +4 -15
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -19
- data/src/core/lib/channel/channel_stack_trace.cc +19 -0
- data/src/core/lib/channel/channel_stack_trace.h +24 -0
- data/src/core/lib/channel/channel_trace.cc +17 -13
- data/src/core/lib/channel/channelz.cc +163 -135
- data/src/core/lib/channel/channelz.h +42 -35
- data/src/core/lib/channel/channelz_registry.cc +24 -20
- data/src/core/lib/channel/channelz_registry.h +4 -2
- data/src/core/lib/channel/connected_channel.cc +229 -102
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/promise_based_filter.cc +21 -19
- data/src/core/lib/channel/promise_based_filter.h +1046 -3
- data/src/core/lib/channel/server_call_tracer_filter.cc +43 -42
- data/src/core/lib/channel/status_util.cc +0 -1
- data/src/core/lib/channel/tcp_tracer.h +140 -0
- data/src/core/lib/compression/compression_internal.cc +8 -8
- data/src/core/lib/config/config_vars.cc +19 -18
- data/src/core/lib/config/config_vars.h +5 -5
- data/src/core/lib/config/config_vars_non_generated.cc +0 -2
- data/src/core/lib/config/core_configuration.cc +2 -2
- data/src/core/lib/config/core_configuration.h +5 -4
- data/src/core/lib/config/load_config.cc +13 -0
- data/src/core/lib/config/load_config.h +6 -0
- data/src/core/lib/debug/event_log.h +1 -1
- data/src/core/lib/debug/stats_data.cc +202 -35
- data/src/core/lib/debug/stats_data.h +103 -1
- data/src/core/lib/debug/trace.cc +31 -56
- data/src/core/lib/debug/trace.h +14 -4
- data/src/core/lib/event_engine/ares_resolver.cc +747 -0
- data/src/core/lib/event_engine/ares_resolver.h +151 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +221 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +89 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +357 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +149 -0
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +82 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +249 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +120 -0
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +2 -0
- data/src/core/lib/event_engine/default_event_engine.cc +13 -1
- data/src/core/lib/event_engine/default_event_engine_factory.cc +14 -2
- data/src/core/lib/event_engine/event_engine.cc +0 -14
- data/src/core/lib/event_engine/forkable.cc +65 -65
- data/src/core/lib/event_engine/forkable.h +46 -25
- data/src/core/lib/event_engine/grpc_polled_fd.h +92 -0
- data/src/core/lib/event_engine/handle_containers.h +0 -4
- data/src/core/lib/event_engine/nameser.h +102 -0
- data/src/core/lib/event_engine/poller.h +2 -2
- data/src/core/lib/event_engine/posix.h +4 -0
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +11 -15
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +2 -3
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +39 -24
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +12 -10
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -1
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +23 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +3 -1
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +205 -0
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -2
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +7 -18
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +61 -0
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +29 -16
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +12 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +150 -68
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +37 -30
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +70 -31
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +12 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +15 -5
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +59 -8
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +16 -0
- data/src/core/lib/event_engine/posix_engine/timer.h +10 -37
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +1 -4
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +2 -0
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -1
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -1
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
- data/src/core/lib/event_engine/shim.cc +13 -3
- data/src/core/lib/event_engine/slice_buffer.cc +0 -1
- data/src/core/lib/event_engine/tcp_socket_utils.cc +67 -8
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +58 -0
- data/src/core/lib/event_engine/thread_pool/thread_count.h +176 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +50 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +49 -0
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +527 -0
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +223 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +157 -0
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +104 -0
- data/src/core/lib/event_engine/trace.cc +1 -0
- data/src/core/lib/event_engine/trace.h +6 -0
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +823 -0
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +75 -0
- data/src/core/lib/event_engine/windows/iocp.cc +4 -3
- data/src/core/lib/event_engine/windows/iocp.h +3 -3
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +114 -0
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
- data/src/core/lib/event_engine/windows/win_socket.cc +24 -17
- data/src/core/lib/event_engine/windows/win_socket.h +23 -11
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +77 -77
- data/src/core/lib/event_engine/windows/windows_endpoint.h +17 -13
- data/src/core/lib/event_engine/windows/windows_engine.cc +102 -54
- data/src/core/lib/event_engine/windows/windows_engine.h +30 -20
- data/src/core/lib/event_engine/windows/windows_listener.cc +5 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +3 -2
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +65 -0
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +74 -0
- data/src/core/lib/event_engine/work_queue/work_queue.h +66 -0
- data/src/core/lib/experiments/config.cc +134 -30
- data/src/core/lib/experiments/config.h +36 -5
- data/src/core/lib/experiments/experiments.cc +733 -31
- data/src/core/lib/experiments/experiments.h +336 -38
- data/src/core/lib/gpr/alloc.cc +1 -0
- data/src/core/lib/gpr/log_internal.h +55 -0
- data/src/core/lib/gpr/posix/time.cc +5 -0
- data/src/core/lib/gprpp/crash.cc +10 -0
- data/src/core/lib/gprpp/crash.h +3 -0
- data/src/core/lib/gprpp/debug_location.h +13 -0
- data/src/core/lib/gprpp/directory_reader.h +48 -0
- data/src/core/lib/gprpp/dual_ref_counted.h +45 -16
- data/src/core/lib/gprpp/fork.cc +8 -9
- data/src/core/lib/gprpp/fork.h +7 -6
- data/src/core/lib/gprpp/host_port.cc +0 -2
- data/src/core/lib/gprpp/if_list.h +4530 -0
- data/src/core/lib/gprpp/manual_constructor.h +1 -2
- data/src/core/lib/gprpp/match.h +1 -1
- data/src/core/lib/gprpp/no_destruct.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +30 -3
- data/src/core/lib/gprpp/per_cpu.cc +35 -0
- data/src/core/lib/gprpp/per_cpu.h +61 -9
- data/src/core/lib/gprpp/posix/directory_reader.cc +82 -0
- data/src/core/lib/gprpp/posix/stat.cc +0 -1
- data/src/core/lib/gprpp/ref_counted.h +72 -29
- data/src/core/lib/gprpp/ref_counted_ptr.h +133 -27
- data/src/core/lib/gprpp/ref_counted_string.cc +44 -0
- data/src/core/lib/gprpp/ref_counted_string.h +161 -0
- data/src/core/lib/gprpp/sorted_pack.h +3 -12
- data/src/core/lib/gprpp/status_helper.cc +2 -4
- data/src/core/lib/gprpp/status_helper.h +16 -15
- data/src/core/lib/gprpp/strerror.cc +0 -2
- data/src/core/lib/gprpp/time.cc +1 -1
- data/src/core/lib/gprpp/time.h +13 -1
- data/src/core/lib/gprpp/type_list.h +32 -0
- data/src/core/lib/gprpp/validation_errors.cc +8 -4
- data/src/core/lib/gprpp/validation_errors.h +16 -9
- data/src/core/lib/gprpp/windows/directory_reader.cc +80 -0
- data/src/core/lib/gprpp/work_serializer.cc +323 -12
- data/src/core/lib/gprpp/work_serializer.h +30 -9
- data/src/core/lib/gprpp/xxhash_inline.h +29 -0
- data/src/core/lib/http/format_request.cc +0 -1
- data/src/core/lib/http/httpcli.cc +0 -2
- data/src/core/lib/http/httpcli.h +6 -9
- data/src/core/lib/http/httpcli_security_connector.cc +1 -0
- data/src/core/lib/iomgr/buffer_list.cc +2 -0
- data/src/core/lib/iomgr/buffer_list.h +0 -1
- data/src/core/lib/iomgr/cfstream_handle.cc +1 -1
- data/src/core/lib/iomgr/combiner.cc +24 -18
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/endpoint_cfstream.cc +10 -8
- data/src/core/lib/iomgr/error.cc +32 -2
- data/src/core/lib/iomgr/error.h +9 -10
- data/src/core/lib/iomgr/ev_apple.cc +12 -12
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +15 -10
- data/src/core/lib/iomgr/ev_poll_posix.cc +6 -5
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +57 -27
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +3 -2
- data/src/core/lib/iomgr/exec_ctx.cc +12 -0
- data/src/core/lib/iomgr/exec_ctx.h +66 -19
- data/src/core/lib/iomgr/iocp_windows.cc +24 -3
- data/src/core/lib/iomgr/iocp_windows.h +11 -0
- data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +1 -1
- data/src/core/lib/iomgr/polling_entity.cc +10 -0
- data/src/core/lib/iomgr/polling_entity.h +2 -0
- data/src/core/lib/iomgr/pollset.h +4 -5
- data/src/core/lib/iomgr/port.h +24 -0
- data/src/core/lib/iomgr/resolve_address.cc +13 -1
- data/src/core/lib/iomgr/resolve_address.h +17 -3
- data/src/core/lib/iomgr/sockaddr_posix.h +7 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +46 -2
- data/src/core/lib/iomgr/socket_utils_posix.cc +5 -0
- data/src/core/lib/iomgr/socket_utils_posix.h +9 -0
- data/src/core/lib/iomgr/socket_windows.cc +61 -7
- data/src/core/lib/iomgr/socket_windows.h +9 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +14 -3
- data/src/core/lib/iomgr/tcp_client_posix.cc +12 -4
- data/src/core/lib/iomgr/tcp_posix.cc +48 -22
- data/src/core/lib/iomgr/tcp_server_posix.cc +184 -120
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +13 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +26 -2
- data/src/core/lib/iomgr/tcp_server_windows.cc +1 -1
- data/src/core/lib/iomgr/tcp_windows.cc +1 -3
- data/src/core/lib/iomgr/timer_generic.cc +17 -16
- data/src/core/lib/iomgr/timer_manager.cc +7 -1
- data/src/core/lib/iomgr/timer_manager.h +2 -0
- data/src/core/lib/iomgr/vsock.cc +59 -0
- data/src/core/lib/iomgr/vsock.h +38 -0
- data/src/core/lib/iomgr/wakeup_fd_posix.h +3 -6
- data/src/core/lib/json/json.h +2 -218
- data/src/core/lib/json/json_object_loader.cc +24 -25
- data/src/core/lib/json/json_object_loader.h +30 -19
- data/src/core/lib/json/json_reader.cc +69 -43
- data/src/core/lib/json/json_reader.h +34 -0
- data/src/core/lib/json/json_util.cc +10 -15
- data/src/core/lib/json/json_util.h +5 -4
- data/src/core/lib/json/json_writer.cc +24 -25
- data/src/core/lib/json/json_writer.h +33 -0
- data/src/core/lib/load_balancing/delegating_helper.h +116 -0
- data/src/core/lib/load_balancing/lb_policy.h +51 -14
- data/src/core/lib/load_balancing/lb_policy_registry.cc +9 -9
- data/src/core/lib/load_balancing/subchannel_interface.h +6 -0
- data/src/core/lib/matchers/matchers.cc +3 -5
- data/src/core/lib/matchers/matchers.h +2 -1
- data/src/core/lib/promise/activity.cc +20 -1
- data/src/core/lib/promise/activity.h +12 -1
- data/src/core/lib/promise/all_ok.h +80 -0
- data/src/core/lib/promise/arena_promise.h +5 -1
- data/src/core/lib/promise/cancel_callback.h +0 -2
- data/src/core/lib/promise/context.h +0 -1
- data/src/core/lib/promise/detail/basic_seq.h +1 -372
- data/src/core/lib/promise/detail/join_state.h +2077 -0
- data/src/core/lib/promise/detail/promise_factory.h +1 -1
- data/src/core/lib/promise/detail/promise_like.h +8 -1
- data/src/core/lib/promise/detail/seq_state.h +5801 -0
- data/src/core/lib/promise/detail/status.h +42 -5
- data/src/core/lib/promise/for_each.h +13 -3
- data/src/core/lib/promise/if.h +4 -1
- data/src/core/lib/promise/interceptor_list.h +0 -1
- data/src/core/lib/promise/latch.h +7 -5
- data/src/core/lib/promise/loop.h +9 -6
- data/src/core/lib/promise/map.h +0 -1
- data/src/core/lib/promise/party.cc +64 -46
- data/src/core/lib/promise/party.h +153 -9
- data/src/core/lib/promise/pipe.h +44 -29
- data/src/core/lib/promise/poll.h +43 -19
- data/src/core/lib/promise/prioritized_race.h +94 -0
- data/src/core/lib/promise/promise.h +4 -1
- data/src/core/lib/promise/race.h +0 -1
- data/src/core/lib/promise/seq.h +124 -8
- data/src/core/lib/promise/sleep.cc +2 -1
- data/src/core/lib/promise/sleep.h +5 -10
- data/src/core/lib/promise/status_flag.h +196 -0
- data/src/core/lib/promise/try_join.h +71 -21
- data/src/core/lib/promise/try_seq.h +161 -7
- data/src/core/lib/resolver/endpoint_addresses.cc +147 -0
- data/src/core/lib/resolver/endpoint_addresses.h +164 -0
- data/src/core/lib/resolver/resolver.h +4 -3
- data/src/core/lib/resolver/resolver_factory.h +3 -2
- data/src/core/lib/resolver/resolver_registry.cc +0 -2
- data/src/core/lib/resolver/server_address.h +5 -115
- data/src/core/lib/resource_quota/api.cc +1 -0
- data/src/core/lib/resource_quota/arena.cc +2 -0
- data/src/core/lib/resource_quota/arena.h +44 -10
- data/src/core/lib/resource_quota/memory_quota.cc +135 -28
- data/src/core/lib/resource_quota/memory_quota.h +14 -15
- data/src/core/lib/resource_quota/resource_quota.h +1 -0
- data/src/core/lib/security/authorization/audit_logging.cc +97 -0
- data/src/core/lib/security/authorization/audit_logging.h +73 -0
- data/src/core/lib/security/authorization/authorization_policy_provider.h +1 -1
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +47 -2
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +18 -1
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +15 -12
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
- data/src/core/lib/security/authorization/matchers.cc +0 -1
- data/src/core/lib/security/authorization/rbac_policy.cc +36 -6
- data/src/core/lib/security/authorization/rbac_policy.h +19 -2
- data/src/core/lib/security/authorization/stdout_logger.cc +74 -0
- data/src/core/lib/security/authorization/stdout_logger.h +61 -0
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +8 -4
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +8 -18
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +14 -8
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -2
- data/src/core/lib/security/credentials/channel_creds_registry.h +51 -27
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +169 -9
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +2 -2
- data/src/core/lib/security/credentials/composite/composite_credentials.h +4 -2
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +58 -50
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +8 -2
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +132 -87
- data/src/core/lib/security/credentials/external/external_account_credentials.h +10 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +27 -21
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +34 -30
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +30 -38
- data/src/core/lib/security/credentials/fake/fake_credentials.h +28 -0
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +5 -2
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -1
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +36 -16
- data/src/core/lib/security/credentials/jwt/json_token.h +4 -0
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +10 -5
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +83 -40
- data/src/core/lib/security/credentials/local/local_credentials.cc +0 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +18 -16
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -1
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -2
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +116 -10
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -2
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -55
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +41 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +28 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +255 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +129 -0
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +27 -2
- data/src/core/lib/security/credentials/tls/tls_credentials.h +3 -1
- data/src/core/lib/security/credentials/tls/tls_utils.cc +2 -0
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +22 -29
- data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +2 -5
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +1 -1
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -59
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/ssl_utils.cc +11 -3
- data/src/core/lib/security/security_connector/ssl_utils.h +5 -1
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +8 -19
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +2 -2
- data/src/core/lib/security/transport/auth_filters.h +71 -4
- data/src/core/lib/security/transport/client_auth_filter.cc +9 -9
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
- data/src/core/lib/security/transport/secure_endpoint.cc +3 -6
- data/src/core/lib/security/transport/security_handshaker.cc +2 -3
- data/src/core/lib/security/transport/server_auth_filter.cc +70 -92
- data/src/core/lib/security/util/json_util.cc +6 -5
- data/src/core/lib/service_config/service_config_call_data.h +54 -20
- data/src/core/lib/service_config/service_config_impl.cc +13 -6
- data/src/core/lib/slice/slice.h +29 -0
- data/src/core/lib/slice/slice_buffer.cc +15 -0
- data/src/core/lib/slice/slice_buffer.h +19 -4
- data/src/core/lib/slice/slice_refcount.h +1 -1
- data/src/core/lib/surface/builtins.cc +6 -25
- data/src/core/lib/surface/call.cc +935 -270
- data/src/core/lib/surface/call.h +31 -18
- data/src/core/lib/surface/call_log_batch.cc +0 -2
- data/src/core/lib/surface/call_trace.cc +42 -2
- data/src/core/lib/surface/channel.cc +12 -10
- data/src/core/lib/surface/channel.h +2 -8
- data/src/core/lib/surface/channel_init.cc +367 -14
- data/src/core/lib/surface/channel_init.h +177 -28
- data/src/core/lib/surface/completion_queue.cc +12 -4
- data/src/core/lib/surface/event_string.cc +0 -1
- data/src/core/lib/surface/init.cc +21 -47
- data/src/core/lib/surface/lame_client.cc +8 -1
- data/src/core/lib/surface/server.cc +555 -308
- data/src/core/lib/surface/server.h +68 -44
- data/src/core/lib/surface/validate_metadata.cc +37 -22
- data/src/core/lib/surface/validate_metadata.h +13 -3
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/surface/wait_for_cq_end_op.h +94 -0
- data/src/core/lib/transport/batch_builder.cc +20 -19
- data/src/core/lib/transport/batch_builder.h +48 -38
- data/src/core/lib/transport/bdp_estimator.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.h +2 -2
- data/src/core/lib/transport/call_final_info.cc +38 -0
- data/src/core/lib/transport/call_final_info.h +54 -0
- data/src/core/lib/transport/connectivity_state.cc +3 -4
- data/src/core/lib/transport/connectivity_state.h +4 -0
- data/src/core/lib/transport/error_utils.cc +0 -2
- data/src/core/lib/transport/handshaker.cc +0 -2
- data/src/core/lib/transport/metadata_batch.cc +12 -7
- data/src/core/lib/transport/metadata_batch.h +124 -109
- data/src/core/lib/transport/metadata_compression_traits.h +67 -0
- data/src/core/lib/transport/parsed_metadata.h +32 -20
- data/src/core/lib/transport/simple_slice_based_metadata.h +54 -0
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -1
- data/src/core/lib/transport/timeout_encoding.h +2 -2
- data/src/core/lib/transport/transport.cc +80 -67
- data/src/core/lib/transport/transport.h +507 -91
- data/src/core/lib/transport/transport_fwd.h +3 -1
- data/src/core/lib/transport/transport_op_string.cc +0 -2
- data/src/core/lib/uri/uri_parser.cc +0 -1
- data/src/core/plugin_registry/grpc_plugin_registry.cc +7 -6
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +2 -3
- data/src/core/tsi/alts/crypt/aes_gcm.cc +142 -89
- data/src/core/tsi/alts/crypt/gsec.h +387 -319
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +11 -7
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +5 -7
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +4 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -13
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +26 -25
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +9 -1
- data/src/core/tsi/ssl_transport_security.cc +233 -69
- data/src/core/tsi/ssl_transport_security.h +36 -2
- data/src/ruby/bin/math_pb.rb +24 -18
- data/src/ruby/ext/grpc/extconf.rb +80 -18
- data/src/ruby/ext/grpc/rb_call.c +62 -39
- data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_channel.c +109 -84
- data/src/ruby/ext/grpc/rb_channel.h +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +21 -3
- data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +0 -1
- data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +192 -31
- data/src/ruby/ext/grpc/rb_grpc.h +8 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +10 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +15 -0
- data/src/ruby/ext/grpc/rb_server.c +62 -45
- data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
- data/src/ruby/lib/grpc/generic/active_call.rb +9 -14
- data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +33 -111
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +25 -2
- data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
- data/src/ruby/pb/test/client.rb +16 -0
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
- data/third_party/abseil-cpp/absl/algorithm/container.h +3 -2
- data/third_party/abseil-cpp/absl/base/attributes.h +58 -5
- data/third_party/abseil-cpp/absl/base/call_once.h +1 -1
- data/third_party/abseil-cpp/absl/base/casts.h +8 -8
- data/third_party/abseil-cpp/absl/base/config.h +89 -106
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +26 -1
- data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +2 -2
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +50 -39
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +2 -1
- data/third_party/abseil-cpp/absl/base/internal/prefetch.h +17 -18
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +32 -3
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +24 -4
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +31 -73
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +9 -8
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +11 -11
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +23 -32
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +2 -3
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/policy_checks.h +3 -3
- data/third_party/abseil-cpp/absl/base/prefetch.h +198 -0
- data/third_party/abseil-cpp/absl/container/fixed_array.h +54 -29
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +5 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +6 -2
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +167 -79
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +3 -21
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +1 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +46 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +2 -0
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +85 -26
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +35 -18
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +70 -29
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +437 -236
- data/third_party/abseil-cpp/absl/crc/crc32c.h +8 -1
- data/third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +14 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc.cc +4 -35
- data/third_party/abseil-cpp/absl/crc/internal/crc.h +2 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.h +4 -4
- data/third_party/abseil-cpp/absl/crc/internal/crc_internal.h +8 -10
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc +17 -19
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +8 -8
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +2 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +59 -23
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +1 -1
- data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +1 -1
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +43 -19
- data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +3 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc +1 -1
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +2 -2
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +16 -15
- data/third_party/abseil-cpp/absl/flags/internal/flag_msvc.inc +1 -1
- data/third_party/abseil-cpp/absl/flags/marshalling.cc +43 -2
- data/third_party/abseil-cpp/absl/flags/marshalling.h +5 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +9 -1
- data/third_party/abseil-cpp/absl/functional/bind_front.h +1 -1
- data/third_party/abseil-cpp/absl/functional/function_ref.h +3 -3
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +37 -24
- data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +19 -9
- data/third_party/abseil-cpp/absl/hash/hash.h +7 -4
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +38 -15
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +6 -0
- data/third_party/abseil-cpp/absl/meta/type_traits.h +48 -373
- data/third_party/abseil-cpp/absl/numeric/bits.h +4 -4
- data/third_party/abseil-cpp/absl/numeric/int128.cc +20 -8
- data/third_party/abseil-cpp/absl/numeric/int128.h +36 -39
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +47 -30
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
- data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +4 -3
- data/third_party/abseil-cpp/absl/random/internal/generate_real.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/platform.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +4 -0
- data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +1 -1
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +1 -1
- data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +1 -1
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +4 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +12 -24
- data/third_party/abseil-cpp/absl/status/status.cc +11 -7
- data/third_party/abseil-cpp/absl/status/status.h +11 -2
- data/third_party/abseil-cpp/absl/status/statusor.h +22 -8
- data/third_party/abseil-cpp/absl/strings/ascii.cc +54 -6
- data/third_party/abseil-cpp/absl/strings/charconv.cc +21 -4
- data/third_party/abseil-cpp/absl/strings/charconv.h +2 -2
- data/third_party/abseil-cpp/absl/strings/cord.cc +1 -2
- data/third_party/abseil-cpp/absl/strings/cord.h +32 -5
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +23 -1
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +18 -0
- data/third_party/abseil-cpp/absl/strings/cord_buffer.h +2 -5
- data/third_party/abseil-cpp/absl/strings/escaping.cc +10 -32
- data/third_party/abseil-cpp/absl/strings/escaping.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +2 -4
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +3 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -1
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +15 -13
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +13 -4
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +5 -3
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +4 -7
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +8 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +46 -20
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +1 -34
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +2 -1
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +23 -0
- data/third_party/abseil-cpp/absl/strings/internal/escaping.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +2 -77
- data/third_party/abseil-cpp/absl/strings/internal/memutil.h +4 -112
- data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +10 -31
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +8 -8
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +5 -20
- data/third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +1 -1
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +9 -9
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +56 -6
- data/third_party/abseil-cpp/absl/strings/match.cc +87 -0
- data/third_party/abseil-cpp/absl/strings/match.h +19 -0
- data/third_party/abseil-cpp/absl/strings/numbers.cc +154 -122
- data/third_party/abseil-cpp/absl/strings/numbers.h +1 -6
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +7 -50
- data/third_party/abseil-cpp/absl/strings/str_cat.h +83 -15
- data/third_party/abseil-cpp/absl/strings/str_format.h +6 -3
- data/third_party/abseil-cpp/absl/strings/str_split.cc +9 -6
- data/third_party/abseil-cpp/absl/strings/string_view.cc +26 -4
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +5 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +63 -43
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc +111 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.h +63 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -7
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc +225 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +122 -114
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +12 -8
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +10 -1
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc +167 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.h +60 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc +122 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.h +65 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc +91 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h +56 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +19 -113
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc +42 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter_base.h +90 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc +151 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +70 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +407 -411
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +152 -118
- data/third_party/abseil-cpp/absl/time/clock.cc +6 -7
- data/third_party/abseil-cpp/absl/time/duration.cc +24 -26
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +1 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +3 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +8 -6
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +6 -3
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +4 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +4 -0
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +322 -295
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +8 -17
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +51 -33
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +7 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +128 -2
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +5 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +34 -34
- data/third_party/abseil-cpp/absl/time/time.cc +9 -2
- data/third_party/abseil-cpp/absl/time/time.h +115 -15
- data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -52
- data/third_party/abseil-cpp/absl/types/internal/span.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +2 -2
- data/third_party/abseil-cpp/absl/types/optional.h +15 -13
- data/third_party/abseil-cpp/absl/types/span.h +1 -2
- data/third_party/boringssl-with-bazel/err_data.c +554 -553
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +7 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +9 -8
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +6 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +34 -1
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +11 -4
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +10 -6
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +7 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +40 -55
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +92 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +14 -54
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +23 -22
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +16 -6
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +11 -2
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +31 -22
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +19 -1
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +8 -1
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +29 -26
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +189 -13
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +31 -192
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +61 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +93 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +55 -50
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_64_adx.c +18 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +2834 -7442
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +26 -8
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +5 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +20 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +110 -72
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +4 -3
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +42 -34
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +17 -11
- data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +23 -21
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +35 -12
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +2 -4
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +3 -7
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +34 -72
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +12 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +12 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +17 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +51 -15
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +5 -6
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +37 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +9 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/builtin_curves.h +277 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +204 -428
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +4 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +31 -64
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +17 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +105 -143
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +19 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +16 -18
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.c +27 -30
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +23 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +24 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +21 -37
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +31 -31
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +16 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +11 -5
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hkdf/hkdf.c +112 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +2 -10
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +1 -4
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +115 -133
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +12 -14
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +57 -47
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +1 -8
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +27 -28
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +40 -26
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +21 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +38 -19
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +2 -41
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +76 -16
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +5 -288
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +143 -83
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +126 -233
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +113 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +4 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +8 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +33 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +169 -6
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +216 -87
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +32 -2
- data/third_party/boringssl-with-bazel/src/crypto/kyber/keccak.c +11 -12
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +834 -0
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +7 -8
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +25 -46
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +6 -13
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +8 -5
- data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +7 -6
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +6 -12
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/ios.c +34 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +38 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +41 -19
- data/third_party/boringssl-with-bazel/src/crypto/refcount.c +59 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/internal.h +77 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +568 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +152 -72
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -8
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +6 -35
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +5 -26
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +62 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +240 -72
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +35 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +588 -130
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +27 -18
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +10 -20
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +3 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +17 -39
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +18 -14
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +39 -48
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +1 -141
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +1 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +19 -25
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +72 -23
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +8 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +8 -12
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +22 -24
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +1 -72
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +22 -29
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +9 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +7 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +2 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +33 -46
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +1 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +3 -5
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +20 -52
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +14 -26
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +11 -9
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +17 -10
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +5 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +5 -7
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +4 -119
- data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +207 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +11 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +37 -112
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +19 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +1 -4
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +6 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +5 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +4 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -21
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +28 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +19 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +14 -10
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +34 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +128 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +2 -11
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +8 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +0 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +13 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +91 -62
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +26 -19
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +275 -96
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +242 -223
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +201 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +1 -25
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +4 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +8 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +760 -614
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +45 -12
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +11 -6
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +10 -68
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +20 -20
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +33 -18
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +86 -46
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +37 -18
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +8 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +209 -209
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +6 -6
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +76 -118
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +209 -33
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +17 -4
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +19 -21
- data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +27 -19
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +2 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +2 -3
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +5 -21
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +5 -2
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +691 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_msvc.h +1281 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64_msvc.h +2002 -0
- data/third_party/cares/cares/include/ares.h +23 -1
- data/third_party/cares/cares/include/ares_nameser.h +484 -0
- data/third_party/cares/cares/include/ares_rules.h +2 -2
- data/third_party/cares/cares/include/ares_version.h +3 -3
- data/third_party/cares/cares/src/lib/ares__addrinfo2hostent.c +266 -0
- data/third_party/cares/cares/src/lib/ares__addrinfo_localhost.c +240 -0
- data/third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c +49 -80
- data/third_party/cares/cares/src/lib/ares__readaddrinfo.c +37 -43
- data/third_party/cares/cares/src/lib/ares__sortaddrinfo.c +12 -4
- data/third_party/cares/cares/src/lib/ares_data.c +16 -0
- data/third_party/cares/cares/src/lib/ares_data.h +7 -0
- data/third_party/cares/cares/src/lib/ares_destroy.c +8 -0
- data/third_party/cares/cares/src/lib/ares_expand_name.c +17 -6
- data/third_party/cares/cares/src/lib/ares_freeaddrinfo.c +1 -0
- data/third_party/cares/cares/src/lib/ares_getaddrinfo.c +156 -78
- data/third_party/cares/cares/src/lib/ares_gethostbyname.c +130 -326
- data/third_party/cares/cares/src/lib/ares_init.c +97 -485
- data/third_party/cares/cares/src/lib/ares_library_init.c +2 -89
- data/third_party/cares/cares/src/lib/ares_parse_a_reply.c +23 -142
- data/third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c +22 -142
- data/third_party/cares/cares/src/lib/ares_parse_uri_reply.c +184 -0
- data/third_party/cares/cares/src/lib/ares_private.h +30 -16
- data/third_party/cares/cares/src/lib/ares_process.c +55 -16
- data/third_party/cares/cares/src/lib/ares_query.c +1 -35
- data/third_party/cares/cares/src/lib/ares_rand.c +279 -0
- data/third_party/cares/cares/src/lib/ares_send.c +5 -7
- data/third_party/cares/cares/src/lib/ares_strdup.c +12 -19
- data/third_party/cares/cares/src/lib/ares_strsplit.c +44 -128
- data/third_party/cares/cares/src/lib/ares_strsplit.h +9 -10
- data/third_party/cares/cares/src/lib/inet_net_pton.c +78 -116
- data/third_party/cares/cares/src/tools/ares_getopt.h +53 -0
- data/third_party/upb/upb/base/descriptor_constants.h +84 -0
- data/third_party/upb/upb/base/internal/log2.h +38 -0
- data/third_party/upb/upb/base/status.c +61 -0
- data/third_party/upb/upb/base/status.h +46 -0
- data/third_party/upb/upb/base/status.hpp +50 -0
- data/third_party/upb/upb/base/string_view.h +58 -0
- data/third_party/upb/upb/generated_code_support.h +33 -0
- data/third_party/upb/upb/hash/common.c +836 -0
- data/third_party/upb/upb/hash/common.h +174 -0
- data/third_party/upb/upb/hash/int_table.h +82 -0
- data/third_party/upb/upb/hash/str_table.h +142 -0
- data/third_party/upb/upb/json/decode.c +1480 -0
- data/third_party/upb/upb/json/decode.h +55 -0
- data/third_party/upb/upb/json/encode.c +807 -0
- data/third_party/upb/upb/json/encode.h +73 -0
- data/third_party/upb/upb/lex/atoi.c +48 -0
- data/third_party/upb/upb/lex/atoi.h +35 -0
- data/third_party/upb/upb/lex/round_trip.c +47 -0
- data/third_party/upb/upb/lex/round_trip.h +35 -0
- data/third_party/upb/upb/lex/strtod.c +77 -0
- data/third_party/upb/upb/lex/strtod.h +26 -0
- data/third_party/upb/upb/lex/unicode.c +37 -0
- data/third_party/upb/upb/lex/unicode.h +59 -0
- data/third_party/upb/upb/mem/alloc.c +27 -0
- data/third_party/upb/upb/mem/alloc.h +78 -0
- data/third_party/upb/upb/mem/arena.c +368 -0
- data/third_party/upb/upb/mem/arena.h +132 -0
- data/third_party/upb/upb/mem/arena.hpp +54 -0
- data/third_party/upb/upb/mem/internal/arena.h +94 -0
- data/third_party/upb/upb/message/accessors.c +71 -0
- data/third_party/upb/upb/message/accessors.h +380 -0
- data/third_party/upb/upb/message/array.c +154 -0
- data/third_party/upb/upb/message/array.h +98 -0
- data/third_party/upb/upb/message/internal/accessors.h +367 -0
- data/third_party/upb/upb/message/internal/array.h +138 -0
- data/third_party/upb/upb/message/internal/extension.h +63 -0
- data/third_party/upb/upb/message/internal/map.h +173 -0
- data/third_party/upb/upb/message/internal/map_entry.h +66 -0
- data/third_party/upb/upb/message/internal/map_sorter.h +112 -0
- data/third_party/upb/upb/message/internal/message.h +106 -0
- data/third_party/upb/upb/message/internal/types.h +23 -0
- data/third_party/upb/upb/message/map.c +145 -0
- data/third_party/upb/upb/message/map.h +147 -0
- data/third_party/upb/upb/message/map_gencode_util.h +81 -0
- data/third_party/upb/upb/message/map_sorter.c +170 -0
- data/third_party/upb/upb/message/message.c +154 -0
- data/third_party/upb/upb/message/message.h +52 -0
- data/third_party/upb/upb/message/tagged_ptr.h +69 -0
- data/third_party/upb/upb/message/types.h +15 -0
- data/third_party/upb/upb/message/value.h +46 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +130 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.h +42 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +870 -0
- data/third_party/upb/upb/mini_descriptor/decode.h +120 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +26 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +63 -0
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +53 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.c +323 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.h +92 -0
- data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +118 -0
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +32 -0
- data/third_party/upb/upb/mini_descriptor/internal/wire_constants.h +72 -0
- data/third_party/upb/upb/mini_descriptor/link.c +122 -0
- data/third_party/upb/upb/mini_descriptor/link.h +84 -0
- data/third_party/upb/upb/mini_table/enum.h +38 -0
- data/third_party/upb/upb/mini_table/extension.h +15 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +76 -0
- data/third_party/upb/upb/mini_table/extension_registry.h +85 -0
- data/third_party/upb/upb/mini_table/field.h +98 -0
- data/third_party/upb/upb/mini_table/file.h +15 -0
- data/third_party/upb/upb/mini_table/internal/enum.h +58 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +27 -0
- data/third_party/upb/upb/mini_table/internal/field.h +114 -0
- data/third_party/upb/upb/mini_table/internal/file.h +29 -0
- data/third_party/upb/upb/mini_table/internal/message.c +19 -0
- data/third_party/upb/upb/mini_table/internal/message.h +88 -0
- data/third_party/upb/upb/mini_table/internal/sub.h +18 -0
- data/third_party/upb/upb/mini_table/message.c +77 -0
- data/third_party/upb/upb/mini_table/message.h +85 -0
- data/third_party/upb/upb/mini_table/sub.h +15 -0
- data/third_party/upb/upb/port/atomic.h +83 -0
- data/third_party/upb/upb/port/def.inc +328 -0
- data/third_party/upb/upb/port/undef.inc +55 -0
- data/third_party/upb/upb/port/vsnprintf_compat.h +30 -0
- data/third_party/upb/upb/reflection/common.h +51 -0
- data/third_party/upb/upb/reflection/def.h +24 -0
- data/third_party/upb/upb/reflection/def.hpp +605 -0
- data/third_party/upb/upb/reflection/def_pool.c +443 -0
- data/third_party/upb/upb/reflection/def_pool.h +87 -0
- data/third_party/upb/upb/reflection/def_type.c +30 -0
- data/third_party/upb/upb/reflection/def_type.h +60 -0
- data/third_party/upb/upb/reflection/desc_state.c +33 -0
- data/third_party/upb/upb/reflection/enum_def.c +292 -0
- data/third_party/upb/upb/reflection/enum_def.h +60 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.c +63 -0
- data/third_party/upb/upb/reflection/enum_reserved_range.h +31 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +125 -0
- data/third_party/upb/upb/reflection/enum_value_def.h +37 -0
- data/third_party/upb/upb/reflection/extension_range.c +74 -0
- data/third_party/upb/upb/reflection/extension_range.h +35 -0
- data/third_party/upb/upb/reflection/field_def.c +948 -0
- data/third_party/upb/upb/reflection/field_def.h +74 -0
- data/third_party/upb/upb/reflection/file_def.c +345 -0
- data/third_party/upb/upb/reflection/file_def.h +57 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +339 -0
- data/third_party/upb/upb/reflection/internal/def_builder.h +137 -0
- data/third_party/upb/upb/reflection/internal/def_pool.h +57 -0
- data/third_party/upb/upb/reflection/internal/desc_state.h +44 -0
- data/third_party/upb/upb/reflection/internal/enum_def.h +36 -0
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/extension_range.h +34 -0
- data/third_party/upb/upb/reflection/internal/field_def.h +56 -0
- data/third_party/upb/upb/reflection/internal/file_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/message_def.h +43 -0
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +35 -0
- data/third_party/upb/upb/reflection/internal/method_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/oneof_def.h +37 -0
- data/third_party/upb/upb/reflection/internal/service_def.h +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.c +33 -0
- data/third_party/upb/upb/reflection/internal/strdup2.h +32 -0
- data/third_party/upb/upb/reflection/message.c +213 -0
- data/third_party/upb/upb/reflection/message.h +89 -0
- data/third_party/upb/upb/reflection/message.hpp +19 -0
- data/third_party/upb/upb/reflection/message_def.c +736 -0
- data/third_party/upb/upb/reflection/message_def.h +156 -0
- data/third_party/upb/upb/reflection/message_reserved_range.c +61 -0
- data/third_party/upb/upb/reflection/message_reserved_range.h +31 -0
- data/third_party/upb/upb/reflection/method_def.c +105 -0
- data/third_party/upb/upb/reflection/method_def.h +39 -0
- data/third_party/upb/upb/reflection/oneof_def.c +208 -0
- data/third_party/upb/upb/reflection/oneof_def.h +47 -0
- data/third_party/upb/upb/reflection/service_def.c +109 -0
- data/third_party/upb/upb/reflection/service_def.h +40 -0
- data/third_party/upb/upb/text/encode.c +457 -0
- data/third_party/upb/upb/text/encode.h +49 -0
- data/third_party/upb/upb/wire/decode.c +1381 -0
- data/third_party/upb/upb/wire/decode.h +132 -0
- data/third_party/upb/upb/wire/decode_fast.c +996 -0
- data/third_party/upb/upb/wire/decode_fast.h +147 -0
- data/third_party/upb/upb/wire/encode.c +638 -0
- data/third_party/upb/upb/wire/encode.h +76 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +19 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +405 -0
- data/third_party/upb/upb/wire/internal/constants.h +27 -0
- data/third_party/upb/upb/wire/internal/decode.h +143 -0
- data/third_party/upb/upb/wire/internal/swap.h +45 -0
- data/third_party/upb/upb/wire/reader.c +47 -0
- data/third_party/upb/upb/wire/reader.h +207 -0
- data/third_party/upb/upb/wire/types.h +21 -0
- data/third_party/utf8_range/range2-neon.c +157 -0
- data/third_party/utf8_range/utf8_range.h +21 -0
- data/third_party/zlib/adler32.c +5 -27
- data/third_party/zlib/compress.c +5 -16
- data/third_party/zlib/crc32.c +86 -162
- data/third_party/zlib/deflate.c +233 -336
- data/third_party/zlib/deflate.h +8 -8
- data/third_party/zlib/gzguts.h +11 -12
- data/third_party/zlib/infback.c +7 -23
- data/third_party/zlib/inffast.c +1 -4
- data/third_party/zlib/inffast.h +1 -1
- data/third_party/zlib/inflate.c +30 -99
- data/third_party/zlib/inftrees.c +6 -11
- data/third_party/zlib/inftrees.h +3 -3
- data/third_party/zlib/trees.c +224 -302
- data/third_party/zlib/uncompr.c +4 -12
- data/third_party/zlib/zconf.h +6 -2
- data/third_party/zlib/zlib.h +191 -188
- data/third_party/zlib/zutil.c +16 -44
- data/third_party/zlib/zutil.h +10 -10
- metadata +1118 -729
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +0 -175
- data/src/core/ext/filters/client_channel/health/health_check_client.h +0 -43
- data/src/core/ext/filters/client_channel/http_proxy.cc +0 -200
- data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1229
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -30
- data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
- data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
- data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
- data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -117
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -502
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -122
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -578
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -125
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -516
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -388
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -1953
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -159
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -64
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -189
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -128
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -106
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -101
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -106
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -613
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -81
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -103
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -270
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1300
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -419
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -2317
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -95
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -394
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -535
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3040
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -89
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -549
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -299
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1437
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -168
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -801
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -120
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -421
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -1891
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -163
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -806
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -104
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -159
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -269
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1329
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -223
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1287
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -126
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -326
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -1796
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -179
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -177
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -209
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -182
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -106
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -360
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -150
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -678
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -129
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -588
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -212
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1185
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -186
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -969
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -68
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -282
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -59
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -186
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -140
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -165
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -748
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -174
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -757
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -242
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1217
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -105
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -452
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1139
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -6695
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -79
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -267
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -241
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1191
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -45
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -101
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -175
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -138
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -254
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -221
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -33
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -43
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -226
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -159
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -42
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -89
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -96
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -395
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -94
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -445
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -237
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -195
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +0 -179
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -478
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -2805
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +0 -212
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +0 -111
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +0 -444
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -216
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -28
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -38
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -177
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -932
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -88
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -320
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -193
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1085
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -168
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -38
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -74
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -282
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -1399
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -68
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -218
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -138
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -651
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -116
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -76
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -265
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +0 -113
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -85
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -279
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -196
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -121
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -117
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -104
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -80
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -246
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +0 -114
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -226
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -178
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -78
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -306
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -107
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -457
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -107
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -439
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -66
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -213
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -26
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -39
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -42
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -143
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -147
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -66
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -208
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -202
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -26
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -43
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -101
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -51
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -131
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -40
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -53
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -271
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1280
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -283
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1386
- data/src/core/ext/upb-generated/google/api/http.upb.c +0 -81
- data/src/core/ext/upb-generated/google/api/http.upb.h +0 -343
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -46
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -115
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -578
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -3217
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -35
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -74
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -95
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -329
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -127
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -475
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -46
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -115
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -84
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -335
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -63
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -188
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -240
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1173
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -57
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -182
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -50
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -139
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -161
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -705
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -70
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -216
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -175
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -792
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -110
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -290
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -55
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -112
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -38
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -46
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -54
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -119
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -53
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -103
- data/src/core/ext/upb-generated/validate/validate.upb.c +0 -560
- data/src/core/ext/upb-generated/validate/validate.upb.h +0 -4105
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -110
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -290
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -55
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -112
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -38
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -46
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -105
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -306
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -53
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -103
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -41
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -83
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +0 -47
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +0 -107
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -66
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -208
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -56
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -119
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -107
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -49
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -131
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -68
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -248
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -49
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -125
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -89
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -254
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -113
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +0 -98
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +0 -62
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +0 -174
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +0 -36
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +0 -74
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +0 -65
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +0 -191
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -207
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -914
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +0 -127
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +0 -474
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -52
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -151
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -65
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -226
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +0 -67
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +0 -214
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +0 -64
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +0 -208
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -45
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -107
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -128
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -277
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -125
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -222
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -105
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -409
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -120
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -567
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -150
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -105
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -132
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -271
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -150
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -235
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -234
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -305
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -110
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -133
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -60
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -227
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -80
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -101
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -134
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -217
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -80
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -123
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -972
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -315
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -90
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -79
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -117
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -89
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -577
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -130
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -213
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -258
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -200
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/filter_state.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/status_code_input.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -95
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -331
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -165
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -145
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/cidr.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/cel.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/domain.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/http_inputs.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/ip.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -80
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/range.upbdefs.h +0 -60
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.c +0 -60
- data/src/core/ext/upbdefs-generated/xds/type/v3/cel.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/xds/type/v3/range.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -35
- data/src/core/lib/event_engine/executor/executor.h +0 -38
- data/src/core/lib/event_engine/memory_allocator.cc +0 -74
- data/src/core/lib/event_engine/thread_pool.cc +0 -253
- data/src/core/lib/event_engine/thread_pool.h +0 -141
- data/src/core/lib/promise/detail/basic_join.h +0 -197
- data/src/core/lib/promise/detail/switch.h +0 -1455
- data/src/core/lib/resolver/server_address.cc +0 -182
- data/src/core/lib/transport/pid_controller.cc +0 -51
- data/src/core/lib/transport/pid_controller.h +0 -116
- data/src/core/lib/transport/transport_impl.h +0 -102
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_freebsd.c +0 -62
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm.c +0 -38
- data/third_party/boringssl-with-bazel/src/crypto/hkdf/hkdf.c +0 -112
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/fuchsia.c +0 -34
- data/third_party/boringssl-with-bazel/src/crypto/refcount_c11.c +0 -65
- data/third_party/boringssl-with-bazel/src/crypto/refcount_lock.c +0 -52
- data/third_party/cares/cares/src/lib/ares_library_init.h +0 -43
- data/third_party/cares/cares/src/lib/ares_nameser.h +0 -482
- data/third_party/re2/util/benchmark.h +0 -156
- data/third_party/re2/util/flags.h +0 -26
- data/third_party/re2/util/malloc_counter.h +0 -19
- data/third_party/re2/util/pcre.cc +0 -1025
- data/third_party/re2/util/pcre.h +0 -681
- data/third_party/re2/util/test.h +0 -50
- data/third_party/upb/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/upb/third_party/utf8_range/utf8_range.h +0 -9
- data/third_party/upb/upb/arena.c +0 -277
- data/third_party/upb/upb/arena.h +0 -225
- data/third_party/upb/upb/array.c +0 -114
- data/third_party/upb/upb/array.h +0 -83
- data/third_party/upb/upb/collections.h +0 -36
- data/third_party/upb/upb/decode.c +0 -1221
- data/third_party/upb/upb/decode.h +0 -95
- data/third_party/upb/upb/decode_fast.c +0 -1055
- data/third_party/upb/upb/decode_fast.h +0 -153
- data/third_party/upb/upb/def.c +0 -3269
- data/third_party/upb/upb/def.h +0 -416
- data/third_party/upb/upb/def.hpp +0 -441
- data/third_party/upb/upb/encode.c +0 -613
- data/third_party/upb/upb/encode.h +0 -81
- data/third_party/upb/upb/extension_registry.c +0 -93
- data/third_party/upb/upb/extension_registry.h +0 -84
- data/third_party/upb/upb/internal/decode.h +0 -211
- data/third_party/upb/upb/internal/table.h +0 -385
- data/third_party/upb/upb/internal/upb.h +0 -68
- data/third_party/upb/upb/internal/vsnprintf_compat.h +0 -52
- data/third_party/upb/upb/json_decode.c +0 -1512
- data/third_party/upb/upb/json_decode.h +0 -47
- data/third_party/upb/upb/json_encode.c +0 -780
- data/third_party/upb/upb/json_encode.h +0 -65
- data/third_party/upb/upb/map.c +0 -108
- data/third_party/upb/upb/map.h +0 -117
- data/third_party/upb/upb/message_value.h +0 -66
- data/third_party/upb/upb/mini_table.c +0 -1147
- data/third_party/upb/upb/mini_table.h +0 -189
- data/third_party/upb/upb/mini_table.hpp +0 -112
- data/third_party/upb/upb/msg.c +0 -368
- data/third_party/upb/upb/msg.h +0 -71
- data/third_party/upb/upb/msg_internal.h +0 -837
- data/third_party/upb/upb/port_def.inc +0 -262
- data/third_party/upb/upb/port_undef.inc +0 -63
- data/third_party/upb/upb/reflection.c +0 -323
- data/third_party/upb/upb/reflection.h +0 -110
- data/third_party/upb/upb/reflection.hpp +0 -37
- data/third_party/upb/upb/status.c +0 -86
- data/third_party/upb/upb/status.h +0 -66
- data/third_party/upb/upb/table.c +0 -926
- data/third_party/upb/upb/table_internal.h +0 -36
- data/third_party/upb/upb/text_encode.c +0 -473
- data/third_party/upb/upb/text_encode.h +0 -64
- data/third_party/upb/upb/upb.c +0 -76
- data/third_party/upb/upb/upb.h +0 -184
- data/third_party/upb/upb/upb.hpp +0 -115
- data/third_party/zlib/gzclose.c +0 -25
- data/third_party/zlib/gzlib.c +0 -639
- data/third_party/zlib/gzread.c +0 -650
- data/third_party/zlib/gzwrite.c +0 -677
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/naive.c +0 -0
- /data/third_party/{upb/third_party/utf8_range → utf8_range}/range2-sse.c +0 -0
@@ -21,22 +21,26 @@
|
|
21
21
|
#include <stddef.h>
|
22
22
|
|
23
23
|
#include <algorithm>
|
24
|
-
#include <atomic>
|
25
24
|
#include <functional>
|
26
25
|
#include <map>
|
27
26
|
#include <memory>
|
28
27
|
#include <set>
|
29
28
|
#include <string>
|
30
29
|
#include <tuple>
|
30
|
+
#include <type_traits>
|
31
31
|
#include <utility>
|
32
32
|
#include <vector>
|
33
33
|
|
34
34
|
#include "absl/base/thread_annotations.h"
|
35
|
+
#include "absl/functional/function_ref.h"
|
35
36
|
#include "absl/status/status.h"
|
36
37
|
#include "absl/status/statusor.h"
|
37
38
|
#include "absl/strings/str_cat.h"
|
39
|
+
#include "absl/strings/str_join.h"
|
40
|
+
#include "absl/strings/str_split.h"
|
38
41
|
#include "absl/strings/string_view.h"
|
39
42
|
#include "absl/types/optional.h"
|
43
|
+
#include "absl/types/span.h"
|
40
44
|
#include "absl/types/variant.h"
|
41
45
|
|
42
46
|
#include <grpc/event_engine/event_engine.h>
|
@@ -45,16 +49,20 @@
|
|
45
49
|
|
46
50
|
#include "src/core/ext/filters/client_channel/client_channel_internal.h"
|
47
51
|
#include "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h"
|
52
|
+
#include "src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.h"
|
48
53
|
#include "src/core/ext/filters/stateful_session/stateful_session_filter.h"
|
49
54
|
#include "src/core/ext/xds/xds_health_status.h"
|
55
|
+
#include "src/core/lib/address_utils/parse_address.h"
|
50
56
|
#include "src/core/lib/address_utils/sockaddr_utils.h"
|
51
57
|
#include "src/core/lib/channel/channel_args.h"
|
52
58
|
#include "src/core/lib/config/core_configuration.h"
|
53
59
|
#include "src/core/lib/debug/trace.h"
|
60
|
+
#include "src/core/lib/experiments/experiments.h"
|
54
61
|
#include "src/core/lib/gprpp/debug_location.h"
|
55
62
|
#include "src/core/lib/gprpp/match.h"
|
56
63
|
#include "src/core/lib/gprpp/orphanable.h"
|
57
64
|
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
65
|
+
#include "src/core/lib/gprpp/ref_counted_string.h"
|
58
66
|
#include "src/core/lib/gprpp/sync.h"
|
59
67
|
#include "src/core/lib/gprpp/validation_errors.h"
|
60
68
|
#include "src/core/lib/gprpp/work_serializer.h"
|
@@ -63,17 +71,22 @@
|
|
63
71
|
#include "src/core/lib/iomgr/exec_ctx.h"
|
64
72
|
#include "src/core/lib/iomgr/iomgr_fwd.h"
|
65
73
|
#include "src/core/lib/iomgr/pollset_set.h"
|
74
|
+
#include "src/core/lib/iomgr/resolved_address.h"
|
66
75
|
#include "src/core/lib/json/json.h"
|
67
76
|
#include "src/core/lib/json/json_args.h"
|
68
77
|
#include "src/core/lib/json/json_object_loader.h"
|
78
|
+
#include "src/core/lib/load_balancing/delegating_helper.h"
|
69
79
|
#include "src/core/lib/load_balancing/lb_policy.h"
|
70
80
|
#include "src/core/lib/load_balancing/lb_policy_factory.h"
|
71
81
|
#include "src/core/lib/load_balancing/lb_policy_registry.h"
|
72
82
|
#include "src/core/lib/load_balancing/subchannel_interface.h"
|
73
|
-
#include "src/core/lib/resolver/
|
83
|
+
#include "src/core/lib/resolver/endpoint_addresses.h"
|
74
84
|
#include "src/core/lib/transport/connectivity_state.h"
|
75
85
|
|
76
86
|
namespace grpc_core {
|
87
|
+
|
88
|
+
using ::grpc_event_engine::experimental::EventEngine;
|
89
|
+
|
77
90
|
TraceFlag grpc_lb_xds_override_host_trace(false, "xds_override_host_lb");
|
78
91
|
|
79
92
|
namespace {
|
@@ -94,18 +107,10 @@ struct PtrLessThan {
|
|
94
107
|
}
|
95
108
|
};
|
96
109
|
|
97
|
-
XdsHealthStatus GetAddressHealthStatus(const ServerAddress& address) {
|
98
|
-
auto attribute = address.GetAttribute(XdsEndpointHealthStatusAttribute::kKey);
|
99
|
-
if (attribute == nullptr) {
|
100
|
-
return XdsHealthStatus(XdsHealthStatus::HealthStatus::kUnknown);
|
101
|
-
}
|
102
|
-
return static_cast<const XdsEndpointHealthStatusAttribute*>(attribute)
|
103
|
-
->status();
|
104
|
-
}
|
105
|
-
|
106
110
|
//
|
107
111
|
// xds_override_host LB policy
|
108
112
|
//
|
113
|
+
|
109
114
|
class XdsOverrideHostLb : public LoadBalancingPolicy {
|
110
115
|
public:
|
111
116
|
explicit XdsOverrideHostLb(Args args);
|
@@ -119,13 +124,18 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
119
124
|
void ResetBackoffLocked() override;
|
120
125
|
|
121
126
|
private:
|
127
|
+
class SubchannelEntry;
|
128
|
+
|
122
129
|
class SubchannelWrapper : public DelegatingSubchannel {
|
123
130
|
public:
|
124
131
|
SubchannelWrapper(RefCountedPtr<SubchannelInterface> subchannel,
|
125
|
-
RefCountedPtr<XdsOverrideHostLb> policy
|
126
|
-
absl::string_view key);
|
132
|
+
RefCountedPtr<XdsOverrideHostLb> policy);
|
127
133
|
|
128
|
-
|
134
|
+
// Called immediately after construction. We use two-phase initialization
|
135
|
+
// to avoid doing an allocation while holding the lock.
|
136
|
+
void set_subchannel_entry(RefCountedPtr<SubchannelEntry> subchannel_entry) {
|
137
|
+
subchannel_entry_ = std::move(subchannel_entry);
|
138
|
+
}
|
129
139
|
|
130
140
|
void WatchConnectivityState(
|
131
141
|
std::unique_ptr<ConnectivityStateWatcherInterface> watcher) override;
|
@@ -133,11 +143,24 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
133
143
|
void CancelConnectivityStateWatch(
|
134
144
|
ConnectivityStateWatcherInterface* watcher) override;
|
135
145
|
|
136
|
-
|
137
|
-
|
146
|
+
RefCountedStringValue address_list() const
|
147
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
148
|
+
return subchannel_entry_->address_list();
|
138
149
|
}
|
139
150
|
|
140
|
-
|
151
|
+
void set_last_used_time()
|
152
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
153
|
+
subchannel_entry_->set_last_used_time();
|
154
|
+
}
|
155
|
+
|
156
|
+
XdsOverrideHostLb* policy() const { return policy_.get(); }
|
157
|
+
|
158
|
+
RefCountedPtr<SubchannelWrapper> Clone() const {
|
159
|
+
auto subchannel =
|
160
|
+
MakeRefCounted<SubchannelWrapper>(wrapped_subchannel(), policy_);
|
161
|
+
subchannel->set_subchannel_entry(subchannel_entry_);
|
162
|
+
return subchannel;
|
163
|
+
}
|
141
164
|
|
142
165
|
private:
|
143
166
|
class ConnectivityStateWatcher : public ConnectivityStateWatcherInterface {
|
@@ -147,9 +170,13 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
147
170
|
: subchannel_(std::move(subchannel)) {}
|
148
171
|
|
149
172
|
void OnConnectivityStateChange(grpc_connectivity_state state,
|
150
|
-
absl::Status status) override
|
173
|
+
absl::Status status) override {
|
174
|
+
subchannel_->UpdateConnectivityState(state, status);
|
175
|
+
}
|
151
176
|
|
152
|
-
grpc_pollset_set* interested_parties() override
|
177
|
+
grpc_pollset_set* interested_parties() override {
|
178
|
+
return subchannel_->policy()->interested_parties();
|
179
|
+
}
|
153
180
|
|
154
181
|
private:
|
155
182
|
WeakRefCountedPtr<SubchannelWrapper> subchannel_;
|
@@ -160,14 +187,129 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
160
187
|
void UpdateConnectivityState(grpc_connectivity_state state,
|
161
188
|
absl::Status status);
|
162
189
|
|
163
|
-
ConnectivityStateWatcher* watcher_;
|
164
|
-
absl::optional<std::string> key_;
|
165
190
|
RefCountedPtr<XdsOverrideHostLb> policy_;
|
191
|
+
RefCountedPtr<SubchannelEntry> subchannel_entry_;
|
192
|
+
ConnectivityStateWatcher* watcher_;
|
166
193
|
std::set<std::unique_ptr<ConnectivityStateWatcherInterface>,
|
167
194
|
PtrLessThan<ConnectivityStateWatcherInterface>>
|
168
195
|
watchers_;
|
169
|
-
|
170
|
-
|
196
|
+
};
|
197
|
+
|
198
|
+
// An entry in the subchannel map.
|
199
|
+
//
|
200
|
+
// The entry may hold either an owned (RefCountedPtr<>) or unowned
|
201
|
+
// (raw pointer) SubchannelWrapper, but not both. It will be unowned
|
202
|
+
// in the case where the SubchannelWrapper is owned by the child policy.
|
203
|
+
// It will be owned in the case where the child policy has not created a
|
204
|
+
// subchannel but we have RPCs whose cookies point to that address.
|
205
|
+
//
|
206
|
+
// Note that when a SubchannelWrapper is orphaned, it will try to
|
207
|
+
// acquire the lock to remove itself from the entry. This means that
|
208
|
+
// whenever we need to remove an owned subchannel from an entry, if we
|
209
|
+
// released our ref to the SubchannelWrapper immediately, we would
|
210
|
+
// cause a deadlock, since our caller is already holding the lock. To
|
211
|
+
// avoid that, any method that may result in releasing a ref to the
|
212
|
+
// SubchannelWrapper will instead return that ref to the caller, who is
|
213
|
+
// responsible for releasing the ref after releasing the lock.
|
214
|
+
class SubchannelEntry : public RefCounted<SubchannelEntry> {
|
215
|
+
public:
|
216
|
+
bool HasOwnedSubchannel() const
|
217
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
218
|
+
auto* sc = absl::get_if<RefCountedPtr<SubchannelWrapper>>(&subchannel_);
|
219
|
+
return sc != nullptr && *sc != nullptr;
|
220
|
+
}
|
221
|
+
|
222
|
+
// Sets the unowned subchannel. If the entry previously had an
|
223
|
+
// owned subchannel, returns the ref to it.
|
224
|
+
RefCountedPtr<SubchannelWrapper> SetUnownedSubchannel(
|
225
|
+
SubchannelWrapper* subchannel)
|
226
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
227
|
+
|
228
|
+
// Sets the owned subchannel. Must not be called if the entry
|
229
|
+
// already has an owned subchannel.
|
230
|
+
void SetOwnedSubchannel(RefCountedPtr<SubchannelWrapper> subchannel)
|
231
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
232
|
+
GPR_DEBUG_ASSERT(!HasOwnedSubchannel());
|
233
|
+
subchannel_ = std::move(subchannel);
|
234
|
+
}
|
235
|
+
|
236
|
+
// Returns a pointer to the subchannel, regardless of whether it's
|
237
|
+
// owned or not.
|
238
|
+
SubchannelWrapper* GetSubchannel() const
|
239
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
240
|
+
|
241
|
+
// Returns a ref to the subchannel, regardless of whether it's owned
|
242
|
+
// or not. Returns null if there is no subchannel or if the
|
243
|
+
// subchannel's ref count is 0.
|
244
|
+
RefCountedPtr<SubchannelWrapper> GetSubchannelRef() const
|
245
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
246
|
+
|
247
|
+
// If the entry has an owned subchannel, moves it out of the entry
|
248
|
+
// and returns it.
|
249
|
+
RefCountedPtr<SubchannelWrapper> TakeOwnedSubchannel()
|
250
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
251
|
+
|
252
|
+
// Unsets the entry's subchannel.
|
253
|
+
// If the entry had an owned subchannel, moves the ref into
|
254
|
+
// owned_subchannels.
|
255
|
+
void UnsetSubchannel(
|
256
|
+
std::vector<RefCountedPtr<SubchannelWrapper>>* owned_subchannels)
|
257
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
258
|
+
|
259
|
+
// Called when a SubchannelWrapper is orphaned. May replace the
|
260
|
+
// unowned SubchannelWrapper with an owned one based on
|
261
|
+
// last_used_time_ and connection_idle_timeout.
|
262
|
+
void OnSubchannelWrapperOrphan(SubchannelWrapper* wrapper,
|
263
|
+
Duration connection_idle_timeout)
|
264
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_);
|
265
|
+
|
266
|
+
grpc_connectivity_state connectivity_state() const
|
267
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
268
|
+
return connectivity_state_;
|
269
|
+
}
|
270
|
+
void set_connectivity_state(grpc_connectivity_state state)
|
271
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
272
|
+
connectivity_state_ = state;
|
273
|
+
}
|
274
|
+
|
275
|
+
XdsHealthStatus eds_health_status() const
|
276
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
277
|
+
return eds_health_status_;
|
278
|
+
}
|
279
|
+
void set_eds_health_status(XdsHealthStatus eds_health_status)
|
280
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
281
|
+
eds_health_status_ = eds_health_status;
|
282
|
+
}
|
283
|
+
|
284
|
+
RefCountedStringValue address_list() const
|
285
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
286
|
+
return address_list_;
|
287
|
+
}
|
288
|
+
void set_address_list(RefCountedStringValue address_list)
|
289
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
290
|
+
address_list_ = std::move(address_list);
|
291
|
+
}
|
292
|
+
|
293
|
+
Timestamp last_used_time() const
|
294
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
295
|
+
return last_used_time_;
|
296
|
+
}
|
297
|
+
void set_last_used_time()
|
298
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
299
|
+
last_used_time_ = Timestamp::Now();
|
300
|
+
}
|
301
|
+
|
302
|
+
private:
|
303
|
+
grpc_connectivity_state connectivity_state_
|
304
|
+
ABSL_GUARDED_BY(&XdsOverrideHostLb::mu_) = GRPC_CHANNEL_IDLE;
|
305
|
+
absl::variant<SubchannelWrapper*, RefCountedPtr<SubchannelWrapper>>
|
306
|
+
subchannel_ ABSL_GUARDED_BY(&XdsOverrideHostLb::mu_);
|
307
|
+
XdsHealthStatus eds_health_status_ ABSL_GUARDED_BY(
|
308
|
+
&XdsOverrideHostLb::mu_) = XdsHealthStatus(XdsHealthStatus::kUnknown);
|
309
|
+
RefCountedStringValue address_list_
|
310
|
+
ABSL_GUARDED_BY(&XdsOverrideHostLb::mu_);
|
311
|
+
Timestamp last_used_time_ ABSL_GUARDED_BY(&XdsOverrideHostLb::mu_) =
|
312
|
+
Timestamp::InfPast();
|
171
313
|
};
|
172
314
|
|
173
315
|
// A picker that wraps the picker from the child for cases when cookie is
|
@@ -187,8 +329,8 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
187
329
|
RefCountedPtr<SubchannelWrapper> subchannel)
|
188
330
|
: subchannel_(std::move(subchannel)) {
|
189
331
|
GRPC_CLOSURE_INIT(&closure_, RunInExecCtx, this, nullptr);
|
190
|
-
// Hop into ExecCtx, so that we'
|
191
|
-
// while
|
332
|
+
// Hop into ExecCtx, so that we don't get stuck running
|
333
|
+
// arbitrary WorkSerializer callbacks while doing a pick.
|
192
334
|
ExecCtx::Run(DEBUG_LOCATION, &closure_, absl::OkStatus());
|
193
335
|
}
|
194
336
|
|
@@ -207,111 +349,94 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
207
349
|
grpc_closure closure_;
|
208
350
|
};
|
209
351
|
|
352
|
+
class SubchannelCreationRequester {
|
353
|
+
public:
|
354
|
+
SubchannelCreationRequester(RefCountedPtr<XdsOverrideHostLb> policy,
|
355
|
+
absl::string_view address)
|
356
|
+
: policy_(std::move(policy)), address_(address) {
|
357
|
+
GRPC_CLOSURE_INIT(&closure_, RunInExecCtx, this, nullptr);
|
358
|
+
// Hop into ExecCtx, so that we don't get stuck running
|
359
|
+
// arbitrary WorkSerializer callbacks while doing a pick.
|
360
|
+
ExecCtx::Run(DEBUG_LOCATION, &closure_, absl::OkStatus());
|
361
|
+
}
|
362
|
+
|
363
|
+
private:
|
364
|
+
static void RunInExecCtx(void* arg, grpc_error_handle /*error*/) {
|
365
|
+
auto* self = static_cast<SubchannelCreationRequester*>(arg);
|
366
|
+
self->policy_->work_serializer()->Run(
|
367
|
+
[self]() {
|
368
|
+
self->policy_->CreateSubchannelForAddress(self->address_);
|
369
|
+
delete self;
|
370
|
+
},
|
371
|
+
DEBUG_LOCATION);
|
372
|
+
}
|
373
|
+
|
374
|
+
RefCountedPtr<XdsOverrideHostLb> policy_;
|
375
|
+
std::string address_;
|
376
|
+
grpc_closure closure_;
|
377
|
+
};
|
378
|
+
|
210
379
|
absl::optional<LoadBalancingPolicy::PickResult> PickOverridenHost(
|
211
|
-
|
380
|
+
XdsOverrideHostAttribute* override_host_attr) const;
|
212
381
|
|
213
382
|
RefCountedPtr<XdsOverrideHostLb> policy_;
|
214
383
|
RefCountedPtr<SubchannelPicker> picker_;
|
215
384
|
XdsHealthStatusSet override_host_health_status_set_;
|
216
385
|
};
|
217
386
|
|
218
|
-
class Helper
|
387
|
+
class Helper
|
388
|
+
: public ParentOwningDelegatingChannelControlHelper<XdsOverrideHostLb> {
|
219
389
|
public:
|
220
390
|
explicit Helper(RefCountedPtr<XdsOverrideHostLb> xds_override_host_policy)
|
221
|
-
:
|
222
|
-
|
223
|
-
~Helper() override {
|
224
|
-
xds_override_host_policy_.reset(DEBUG_LOCATION, "Helper");
|
225
|
-
}
|
391
|
+
: ParentOwningDelegatingChannelControlHelper(
|
392
|
+
std::move(xds_override_host_policy)) {}
|
226
393
|
|
227
394
|
RefCountedPtr<SubchannelInterface> CreateSubchannel(
|
228
|
-
|
395
|
+
const grpc_resolved_address& address,
|
396
|
+
const ChannelArgs& per_address_args, const ChannelArgs& args) override;
|
229
397
|
void UpdateState(grpc_connectivity_state state, const absl::Status& status,
|
230
398
|
RefCountedPtr<SubchannelPicker> picker) override;
|
231
|
-
void RequestReresolution() override;
|
232
|
-
absl::string_view GetAuthority() override;
|
233
|
-
grpc_event_engine::experimental::EventEngine* GetEventEngine() override;
|
234
|
-
void AddTraceEvent(TraceSeverity severity,
|
235
|
-
absl::string_view message) override;
|
236
|
-
|
237
|
-
private:
|
238
|
-
RefCountedPtr<XdsOverrideHostLb> xds_override_host_policy_;
|
239
399
|
};
|
240
400
|
|
241
|
-
class
|
401
|
+
class IdleTimer : public InternallyRefCounted<IdleTimer> {
|
242
402
|
public:
|
243
|
-
|
244
|
-
: eds_health_status_(eds_health_status) {}
|
245
|
-
|
246
|
-
void SetSubchannel(SubchannelWrapper* subchannel) {
|
247
|
-
if (eds_health_status_.status() == XdsHealthStatus::kDraining) {
|
248
|
-
subchannel_ = subchannel->Ref();
|
249
|
-
} else {
|
250
|
-
subchannel_ = subchannel;
|
251
|
-
}
|
252
|
-
}
|
403
|
+
IdleTimer(RefCountedPtr<XdsOverrideHostLb> policy, Duration duration);
|
253
404
|
|
254
|
-
void
|
255
|
-
|
256
|
-
SubchannelWrapper* GetSubchannel() const {
|
257
|
-
return Match(
|
258
|
-
subchannel_,
|
259
|
-
[](XdsOverrideHostLb::SubchannelWrapper* subchannel) {
|
260
|
-
return subchannel;
|
261
|
-
},
|
262
|
-
[](RefCountedPtr<XdsOverrideHostLb::SubchannelWrapper> subchannel) {
|
263
|
-
return subchannel.get();
|
264
|
-
});
|
265
|
-
}
|
266
|
-
|
267
|
-
void SetEdsHealthStatus(XdsHealthStatus eds_health_status) {
|
268
|
-
eds_health_status_ = eds_health_status;
|
269
|
-
auto subchannel = GetSubchannel();
|
270
|
-
if (subchannel == nullptr) {
|
271
|
-
return;
|
272
|
-
}
|
273
|
-
if (eds_health_status_.status() == XdsHealthStatus::kDraining) {
|
274
|
-
subchannel_ = subchannel->Ref();
|
275
|
-
} else {
|
276
|
-
subchannel_ = subchannel;
|
277
|
-
}
|
278
|
-
}
|
279
|
-
|
280
|
-
XdsHealthStatus eds_health_status() const { return eds_health_status_; }
|
405
|
+
void Orphan() override;
|
281
406
|
|
282
407
|
private:
|
283
|
-
|
284
|
-
|
285
|
-
|
408
|
+
void OnTimerLocked();
|
409
|
+
|
410
|
+
RefCountedPtr<XdsOverrideHostLb> policy_;
|
411
|
+
absl::optional<EventEngine::TaskHandle> timer_handle_;
|
286
412
|
};
|
287
413
|
|
288
414
|
~XdsOverrideHostLb() override;
|
289
415
|
|
290
416
|
void ShutdownLocked() override;
|
291
417
|
|
418
|
+
void ResetState();
|
419
|
+
void ReportTransientFailure(absl::Status status);
|
420
|
+
|
292
421
|
OrphanablePtr<LoadBalancingPolicy> CreateChildPolicyLocked(
|
293
422
|
const ChannelArgs& args);
|
294
423
|
|
295
424
|
void MaybeUpdatePickerLocked();
|
296
425
|
|
297
|
-
|
298
|
-
absl::StatusOr<ServerAddressList> addresses);
|
426
|
+
void UpdateAddressMap(const EndpointAddressesIterator& endpoints);
|
299
427
|
|
300
428
|
RefCountedPtr<SubchannelWrapper> AdoptSubchannel(
|
301
|
-
|
429
|
+
const grpc_resolved_address& address,
|
430
|
+
RefCountedPtr<SubchannelInterface> subchannel);
|
302
431
|
|
303
|
-
void
|
432
|
+
void CreateSubchannelForAddress(absl::string_view address);
|
304
433
|
|
305
|
-
|
306
|
-
absl::string_view address, XdsHealthStatusSet overriden_health_statuses);
|
434
|
+
void CleanupSubchannels();
|
307
435
|
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
// Current config from the resolver.
|
314
|
-
RefCountedPtr<XdsOverrideHostLbConfig> config_;
|
436
|
+
// State from most recent resolver update.
|
437
|
+
ChannelArgs args_;
|
438
|
+
XdsHealthStatusSet override_host_status_set_;
|
439
|
+
Duration connection_idle_timeout_;
|
315
440
|
|
316
441
|
// Internal state.
|
317
442
|
bool shutting_down_ = false;
|
@@ -319,12 +444,15 @@ class XdsOverrideHostLb : public LoadBalancingPolicy {
|
|
319
444
|
OrphanablePtr<LoadBalancingPolicy> child_policy_;
|
320
445
|
|
321
446
|
// Latest state and picker reported by the child policy.
|
322
|
-
grpc_connectivity_state state_ =
|
447
|
+
grpc_connectivity_state state_ = GRPC_CHANNEL_CONNECTING;
|
323
448
|
absl::Status status_;
|
324
449
|
RefCountedPtr<SubchannelPicker> picker_;
|
325
|
-
Mutex
|
326
|
-
std::map<std::string, SubchannelEntry
|
327
|
-
ABSL_GUARDED_BY(
|
450
|
+
Mutex mu_;
|
451
|
+
std::map<std::string, RefCountedPtr<SubchannelEntry>, std::less<>>
|
452
|
+
subchannel_map_ ABSL_GUARDED_BY(mu_);
|
453
|
+
|
454
|
+
// Timer handle for periodic subchannel sweep.
|
455
|
+
OrphanablePtr<IdleTimer> idle_timer_;
|
328
456
|
};
|
329
457
|
|
330
458
|
//
|
@@ -345,36 +473,111 @@ XdsOverrideHostLb::Picker::Picker(
|
|
345
473
|
}
|
346
474
|
|
347
475
|
absl::optional<LoadBalancingPolicy::PickResult>
|
348
|
-
XdsOverrideHostLb::Picker::PickOverridenHost(
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
476
|
+
XdsOverrideHostLb::Picker::PickOverridenHost(
|
477
|
+
XdsOverrideHostAttribute* override_host_attr) const {
|
478
|
+
GPR_ASSERT(override_host_attr != nullptr);
|
479
|
+
auto cookie_address_list = override_host_attr->cookie_address_list();
|
480
|
+
if (cookie_address_list.empty()) return absl::nullopt;
|
481
|
+
// The cookie has an address list, so look through the addresses in order.
|
482
|
+
absl::string_view address_with_no_subchannel;
|
483
|
+
RefCountedPtr<SubchannelWrapper> idle_subchannel;
|
484
|
+
bool found_connecting = false;
|
485
|
+
{
|
486
|
+
MutexLock lock(&policy_->mu_);
|
487
|
+
for (absl::string_view address : absl::StrSplit(cookie_address_list, ',')) {
|
488
|
+
auto it = policy_->subchannel_map_.find(address);
|
489
|
+
if (it == policy_->subchannel_map_.end()) continue;
|
490
|
+
if (!override_host_health_status_set_.Contains(
|
491
|
+
it->second->eds_health_status())) {
|
492
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
493
|
+
gpr_log(GPR_INFO,
|
494
|
+
"Subchannel %s health status is not overridden (%s)",
|
495
|
+
std::string(address).c_str(),
|
496
|
+
it->second->eds_health_status().ToString());
|
497
|
+
}
|
498
|
+
continue;
|
499
|
+
}
|
500
|
+
auto subchannel = it->second->GetSubchannelRef();
|
501
|
+
if (subchannel == nullptr) {
|
502
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
503
|
+
gpr_log(GPR_INFO, "No subchannel for %s",
|
504
|
+
std::string(address).c_str());
|
505
|
+
}
|
506
|
+
if (address_with_no_subchannel.empty()) {
|
507
|
+
address_with_no_subchannel = it->first;
|
508
|
+
}
|
509
|
+
continue;
|
510
|
+
}
|
511
|
+
auto connectivity_state = it->second->connectivity_state();
|
512
|
+
if (connectivity_state == GRPC_CHANNEL_READY) {
|
513
|
+
// Found a READY subchannel. Pass back the actual address list
|
514
|
+
// and return the subchannel.
|
515
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
516
|
+
gpr_log(GPR_INFO, "Picker override found READY subchannel %s",
|
517
|
+
std::string(address).c_str());
|
518
|
+
}
|
519
|
+
it->second->set_last_used_time();
|
520
|
+
override_host_attr->set_actual_address_list(it->second->address_list());
|
521
|
+
return PickResult::Complete(subchannel->wrapped_subchannel());
|
522
|
+
} else if (connectivity_state == GRPC_CHANNEL_IDLE) {
|
523
|
+
if (idle_subchannel == nullptr) idle_subchannel = std::move(subchannel);
|
524
|
+
} else if (connectivity_state == GRPC_CHANNEL_CONNECTING) {
|
525
|
+
found_connecting = true;
|
526
|
+
}
|
527
|
+
}
|
528
|
+
}
|
529
|
+
// No READY subchannel found. If we found an IDLE subchannel, trigger
|
530
|
+
// a connection attempt and queue the pick until that attempt completes.
|
531
|
+
if (idle_subchannel != nullptr) {
|
532
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
533
|
+
gpr_log(GPR_INFO, "Picker override found IDLE subchannel");
|
534
|
+
}
|
535
|
+
// Deletes itself after the connection is requested.
|
536
|
+
new SubchannelConnectionRequester(std::move(idle_subchannel));
|
361
537
|
return PickResult::Queue();
|
362
|
-
}
|
363
|
-
|
364
|
-
|
538
|
+
}
|
539
|
+
// No READY or IDLE subchannels. If we found a CONNECTING subchannel,
|
540
|
+
// queue the pick and wait for the connection attempt to complete.
|
541
|
+
if (found_connecting) {
|
542
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
543
|
+
gpr_log(GPR_INFO, "Picker override found CONNECTING subchannel");
|
544
|
+
}
|
365
545
|
return PickResult::Queue();
|
366
546
|
}
|
547
|
+
// No READY, IDLE, or CONNECTING subchannels found. If we found an
|
548
|
+
// entry that has no subchannel, then queue the pick and trigger
|
549
|
+
// creation of a subchannel for that entry.
|
550
|
+
if (!address_with_no_subchannel.empty()) {
|
551
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
552
|
+
gpr_log(GPR_INFO, "Picker override found entry with no subchannel");
|
553
|
+
}
|
554
|
+
if (!IsWorkSerializerDispatchEnabled()) {
|
555
|
+
new SubchannelCreationRequester(policy_, address_with_no_subchannel);
|
556
|
+
} else {
|
557
|
+
policy_->work_serializer()->Run(
|
558
|
+
[policy = policy_,
|
559
|
+
address = std::string(address_with_no_subchannel)]() {
|
560
|
+
policy->CreateSubchannelForAddress(address);
|
561
|
+
},
|
562
|
+
DEBUG_LOCATION);
|
563
|
+
}
|
564
|
+
return PickResult::Queue();
|
565
|
+
}
|
566
|
+
// No entry found that was not in TRANSIENT_FAILURE.
|
367
567
|
return absl::nullopt;
|
368
568
|
}
|
369
569
|
|
370
|
-
LoadBalancingPolicy::PickResult XdsOverrideHostLb::Picker::Pick(
|
371
|
-
LoadBalancingPolicy::PickArgs args) {
|
570
|
+
LoadBalancingPolicy::PickResult XdsOverrideHostLb::Picker::Pick(PickArgs args) {
|
372
571
|
auto* call_state = static_cast<ClientChannelLbCallState*>(args.call_state);
|
373
|
-
auto
|
374
|
-
|
375
|
-
if (
|
376
|
-
|
572
|
+
auto* override_host_attr = static_cast<XdsOverrideHostAttribute*>(
|
573
|
+
call_state->GetCallAttribute(XdsOverrideHostAttribute::TypeName()));
|
574
|
+
if (override_host_attr != nullptr) {
|
575
|
+
auto overridden_host_pick = PickOverridenHost(override_host_attr);
|
576
|
+
if (overridden_host_pick.has_value()) {
|
577
|
+
return std::move(*overridden_host_pick);
|
578
|
+
}
|
377
579
|
}
|
580
|
+
// No usable override. Delegate to child picker.
|
378
581
|
if (picker_ == nullptr) { // Should never happen.
|
379
582
|
return PickResult::Fail(absl::InternalError(
|
380
583
|
"xds_override_host picker not given any child picker"));
|
@@ -382,13 +585,71 @@ LoadBalancingPolicy::PickResult XdsOverrideHostLb::Picker::Pick(
|
|
382
585
|
auto result = picker_->Pick(args);
|
383
586
|
auto complete_pick = absl::get_if<PickResult::Complete>(&result.result);
|
384
587
|
if (complete_pick != nullptr) {
|
385
|
-
|
386
|
-
static_cast<SubchannelWrapper*>(complete_pick->subchannel.get())
|
387
|
-
|
588
|
+
auto* wrapper =
|
589
|
+
static_cast<SubchannelWrapper*>(complete_pick->subchannel.get());
|
590
|
+
// Populate the address list in the override host attribute so that
|
591
|
+
// the StatefulSession filter can set the cookie.
|
592
|
+
if (override_host_attr != nullptr) {
|
593
|
+
MutexLock lock(&wrapper->policy()->mu_);
|
594
|
+
wrapper->set_last_used_time();
|
595
|
+
override_host_attr->set_actual_address_list(wrapper->address_list());
|
596
|
+
}
|
597
|
+
// Unwrap the subchannel.
|
598
|
+
complete_pick->subchannel = wrapper->wrapped_subchannel();
|
388
599
|
}
|
389
600
|
return result;
|
390
601
|
}
|
391
602
|
|
603
|
+
//
|
604
|
+
// XdsOverrideHostLb::IdleTimer
|
605
|
+
//
|
606
|
+
|
607
|
+
XdsOverrideHostLb::IdleTimer::IdleTimer(RefCountedPtr<XdsOverrideHostLb> policy,
|
608
|
+
Duration duration)
|
609
|
+
: policy_(std::move(policy)) {
|
610
|
+
// Min time between timer runs is 5s so that we don't kill ourselves
|
611
|
+
// with lock contention and CPU usage due to sweeps over the map.
|
612
|
+
duration = std::max(duration, Duration::Seconds(5));
|
613
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
614
|
+
gpr_log(GPR_INFO,
|
615
|
+
"[xds_override_host_lb %p] idle timer %p: subchannel cleanup "
|
616
|
+
"pass will run in %s",
|
617
|
+
policy_.get(), this, duration.ToString().c_str());
|
618
|
+
}
|
619
|
+
timer_handle_ = policy_->channel_control_helper()->GetEventEngine()->RunAfter(
|
620
|
+
duration, [self = RefAsSubclass<IdleTimer>()]() mutable {
|
621
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
622
|
+
ExecCtx exec_ctx;
|
623
|
+
auto self_ptr = self.get();
|
624
|
+
self_ptr->policy_->work_serializer()->Run(
|
625
|
+
[self = std::move(self)]() { self->OnTimerLocked(); },
|
626
|
+
DEBUG_LOCATION);
|
627
|
+
});
|
628
|
+
}
|
629
|
+
|
630
|
+
void XdsOverrideHostLb::IdleTimer::Orphan() {
|
631
|
+
if (timer_handle_.has_value()) {
|
632
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
633
|
+
gpr_log(GPR_INFO, "[xds_override_host_lb %p] idle timer %p: cancelling",
|
634
|
+
policy_.get(), this);
|
635
|
+
}
|
636
|
+
policy_->channel_control_helper()->GetEventEngine()->Cancel(*timer_handle_);
|
637
|
+
timer_handle_.reset();
|
638
|
+
}
|
639
|
+
Unref();
|
640
|
+
}
|
641
|
+
|
642
|
+
void XdsOverrideHostLb::IdleTimer::OnTimerLocked() {
|
643
|
+
if (timer_handle_.has_value()) {
|
644
|
+
timer_handle_.reset();
|
645
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
646
|
+
gpr_log(GPR_INFO, "[xds_override_host_lb %p] idle timer %p: timer fired",
|
647
|
+
policy_.get(), this);
|
648
|
+
}
|
649
|
+
policy_->CleanupSubchannels();
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
392
653
|
//
|
393
654
|
// XdsOverrideHostLb
|
394
655
|
//
|
@@ -413,10 +674,22 @@ void XdsOverrideHostLb::ShutdownLocked() {
|
|
413
674
|
gpr_log(GPR_INFO, "[xds_override_host_lb %p] shutting down", this);
|
414
675
|
}
|
415
676
|
shutting_down_ = true;
|
677
|
+
ResetState();
|
678
|
+
}
|
679
|
+
|
680
|
+
void XdsOverrideHostLb::ResetState() {
|
416
681
|
{
|
417
|
-
|
682
|
+
// Drop subchannel refs after releasing the lock to avoid deadlock.
|
683
|
+
std::vector<RefCountedPtr<SubchannelWrapper>> subchannel_refs_to_drop;
|
684
|
+
MutexLock lock(&mu_);
|
685
|
+
subchannel_refs_to_drop.reserve(subchannel_map_.size());
|
686
|
+
for (auto& p : subchannel_map_) {
|
687
|
+
p.second->UnsetSubchannel(&subchannel_refs_to_drop);
|
688
|
+
}
|
418
689
|
subchannel_map_.clear();
|
419
690
|
}
|
691
|
+
// Cancel timer, if any.
|
692
|
+
idle_timer_.reset();
|
420
693
|
// Remove the child policy's interested_parties pollset_set from the
|
421
694
|
// xDS policy.
|
422
695
|
if (child_policy_ != nullptr) {
|
@@ -429,6 +702,18 @@ void XdsOverrideHostLb::ShutdownLocked() {
|
|
429
702
|
picker_.reset();
|
430
703
|
}
|
431
704
|
|
705
|
+
void XdsOverrideHostLb::ReportTransientFailure(absl::Status status) {
|
706
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
707
|
+
gpr_log(GPR_INFO,
|
708
|
+
"[xds_override_host_lb %p] reporting TRANSIENT_FAILURE: %s", this,
|
709
|
+
status.ToString().c_str());
|
710
|
+
}
|
711
|
+
ResetState();
|
712
|
+
channel_control_helper()->UpdateState(
|
713
|
+
GRPC_CHANNEL_TRANSIENT_FAILURE, status,
|
714
|
+
MakeRefCounted<TransientFailurePicker>(status));
|
715
|
+
}
|
716
|
+
|
432
717
|
void XdsOverrideHostLb::ExitIdleLocked() {
|
433
718
|
if (child_policy_ != nullptr) child_policy_->ExitIdleLocked();
|
434
719
|
}
|
@@ -437,26 +722,99 @@ void XdsOverrideHostLb::ResetBackoffLocked() {
|
|
437
722
|
if (child_policy_ != nullptr) child_policy_->ResetBackoffLocked();
|
438
723
|
}
|
439
724
|
|
725
|
+
XdsHealthStatus GetEndpointHealthStatus(const EndpointAddresses& endpoint) {
|
726
|
+
return XdsHealthStatus(static_cast<XdsHealthStatus::HealthStatus>(
|
727
|
+
endpoint.args()
|
728
|
+
.GetInt(GRPC_ARG_XDS_HEALTH_STATUS)
|
729
|
+
.value_or(XdsHealthStatus::HealthStatus::kUnknown)));
|
730
|
+
}
|
731
|
+
|
732
|
+
// Wraps the endpoint iterator and filters out endpoints in state DRAINING.
|
733
|
+
class ChildEndpointIterator : public EndpointAddressesIterator {
|
734
|
+
public:
|
735
|
+
explicit ChildEndpointIterator(
|
736
|
+
std::shared_ptr<EndpointAddressesIterator> parent_it)
|
737
|
+
: parent_it_(std::move(parent_it)) {}
|
738
|
+
|
739
|
+
void ForEach(absl::FunctionRef<void(const EndpointAddresses&)> callback)
|
740
|
+
const override {
|
741
|
+
parent_it_->ForEach([&](const EndpointAddresses& endpoint) {
|
742
|
+
XdsHealthStatus status = GetEndpointHealthStatus(endpoint);
|
743
|
+
if (status.status() != XdsHealthStatus::kDraining) {
|
744
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
745
|
+
gpr_log(GPR_INFO,
|
746
|
+
"[xds_override_host_lb %p] endpoint %s: not draining, "
|
747
|
+
"passing to child",
|
748
|
+
this, endpoint.ToString().c_str());
|
749
|
+
}
|
750
|
+
callback(endpoint);
|
751
|
+
}
|
752
|
+
});
|
753
|
+
}
|
754
|
+
|
755
|
+
private:
|
756
|
+
std::shared_ptr<EndpointAddressesIterator> parent_it_;
|
757
|
+
};
|
758
|
+
|
440
759
|
absl::Status XdsOverrideHostLb::UpdateLocked(UpdateArgs args) {
|
441
760
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
442
761
|
gpr_log(GPR_INFO, "[xds_override_host_lb %p] Received update", this);
|
443
762
|
}
|
444
|
-
|
445
|
-
|
446
|
-
config_ = std::move(args.config);
|
447
|
-
if (config_ == nullptr) {
|
763
|
+
// Grab new LB policy config.
|
764
|
+
if (args.config == nullptr) {
|
448
765
|
return absl::InvalidArgumentError("Missing policy config");
|
449
766
|
}
|
767
|
+
auto new_config = args.config.TakeAsSubclass<XdsOverrideHostLbConfig>();
|
768
|
+
// Get xDS config.
|
769
|
+
auto new_xds_config =
|
770
|
+
args.args.GetObjectRef<XdsDependencyManager::XdsConfig>();
|
771
|
+
if (new_xds_config == nullptr) {
|
772
|
+
// Should never happen.
|
773
|
+
absl::Status status = absl::InternalError(
|
774
|
+
"xDS config not passed to xds_cluster_impl LB policy");
|
775
|
+
ReportTransientFailure(status);
|
776
|
+
return status;
|
777
|
+
}
|
778
|
+
auto it = new_xds_config->clusters.find(new_config->cluster_name());
|
779
|
+
if (it == new_xds_config->clusters.end() || !it->second.ok() ||
|
780
|
+
it->second->cluster == nullptr) {
|
781
|
+
// Should never happen.
|
782
|
+
absl::Status status = absl::InternalError(absl::StrCat(
|
783
|
+
"xDS config has no entry for cluster ", new_config->cluster_name()));
|
784
|
+
ReportTransientFailure(status);
|
785
|
+
return status;
|
786
|
+
}
|
787
|
+
args_ = std::move(args.args);
|
788
|
+
override_host_status_set_ = it->second->cluster->override_host_statuses;
|
789
|
+
connection_idle_timeout_ = it->second->cluster->connection_idle_timeout;
|
790
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
791
|
+
gpr_log(GPR_INFO,
|
792
|
+
"[xds_override_host_lb %p] override host status set: %s "
|
793
|
+
"connection idle timeout: %s",
|
794
|
+
this, override_host_status_set_.ToString().c_str(),
|
795
|
+
connection_idle_timeout_.ToString().c_str());
|
796
|
+
}
|
797
|
+
// Update address map and wrap endpoint iterator for child policy.
|
798
|
+
if (args.addresses.ok()) {
|
799
|
+
UpdateAddressMap(**args.addresses);
|
800
|
+
args.addresses =
|
801
|
+
std::make_shared<ChildEndpointIterator>(std::move(*args.addresses));
|
802
|
+
} else {
|
803
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
804
|
+
gpr_log(GPR_INFO, "[xds_override_host_lb %p] address error: %s", this,
|
805
|
+
args.addresses.status().ToString().c_str());
|
806
|
+
}
|
807
|
+
}
|
450
808
|
// Create child policy if needed.
|
451
809
|
if (child_policy_ == nullptr) {
|
452
810
|
child_policy_ = CreateChildPolicyLocked(args.args);
|
453
811
|
}
|
454
812
|
// Update child policy.
|
455
813
|
UpdateArgs update_args;
|
456
|
-
update_args.addresses =
|
814
|
+
update_args.addresses = std::move(args.addresses);
|
457
815
|
update_args.resolution_note = std::move(args.resolution_note);
|
458
|
-
update_args.config =
|
459
|
-
update_args.args =
|
816
|
+
update_args.config = new_config->child_config();
|
817
|
+
update_args.args = args_;
|
460
818
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
461
819
|
gpr_log(GPR_INFO,
|
462
820
|
"[xds_override_host_lb %p] Updating child policy handler %p", this,
|
@@ -468,7 +826,7 @@ absl::Status XdsOverrideHostLb::UpdateLocked(UpdateArgs args) {
|
|
468
826
|
void XdsOverrideHostLb::MaybeUpdatePickerLocked() {
|
469
827
|
if (picker_ != nullptr) {
|
470
828
|
auto xds_override_host_picker = MakeRefCounted<Picker>(
|
471
|
-
|
829
|
+
RefAsSubclass<XdsOverrideHostLb>(), picker_, override_host_status_set_);
|
472
830
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
473
831
|
gpr_log(GPR_INFO,
|
474
832
|
"[xds_override_host_lb %p] updating connectivity: state=%s "
|
@@ -486,8 +844,8 @@ OrphanablePtr<LoadBalancingPolicy> XdsOverrideHostLb::CreateChildPolicyLocked(
|
|
486
844
|
LoadBalancingPolicy::Args lb_policy_args;
|
487
845
|
lb_policy_args.work_serializer = work_serializer();
|
488
846
|
lb_policy_args.args = args;
|
489
|
-
lb_policy_args.channel_control_helper =
|
490
|
-
|
847
|
+
lb_policy_args.channel_control_helper = std::make_unique<Helper>(
|
848
|
+
RefAsSubclass<XdsOverrideHostLb>(DEBUG_LOCATION, "Helper"));
|
491
849
|
OrphanablePtr<LoadBalancingPolicy> lb_policy =
|
492
850
|
MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args),
|
493
851
|
&grpc_lb_xds_override_host_trace);
|
@@ -504,109 +862,195 @@ OrphanablePtr<LoadBalancingPolicy> XdsOverrideHostLb::CreateChildPolicyLocked(
|
|
504
862
|
return lb_policy;
|
505
863
|
}
|
506
864
|
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
865
|
+
void XdsOverrideHostLb::UpdateAddressMap(
|
866
|
+
const EndpointAddressesIterator& endpoints) {
|
867
|
+
// Construct a map of address info from which to update subchannel_map_.
|
868
|
+
struct AddressInfo {
|
869
|
+
XdsHealthStatus eds_health_status;
|
870
|
+
RefCountedStringValue address_list;
|
871
|
+
AddressInfo(XdsHealthStatus status, RefCountedStringValue addresses)
|
872
|
+
: eds_health_status(status), address_list(std::move(addresses)) {}
|
873
|
+
};
|
874
|
+
std::map<const std::string, AddressInfo> addresses_for_map;
|
875
|
+
endpoints.ForEach([&](const EndpointAddresses& endpoint) {
|
876
|
+
XdsHealthStatus status = GetEndpointHealthStatus(endpoint);
|
877
|
+
// Skip draining hosts if not in the override status set.
|
878
|
+
if (status.status() == XdsHealthStatus::kDraining &&
|
879
|
+
!override_host_status_set_.Contains(status)) {
|
880
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
881
|
+
gpr_log(GPR_INFO,
|
882
|
+
"[xds_override_host_lb %p] endpoint %s: draining but not in "
|
883
|
+
"override_host_status set -- ignoring",
|
884
|
+
this, endpoint.ToString().c_str());
|
885
|
+
}
|
886
|
+
return;
|
521
887
|
}
|
522
|
-
|
523
|
-
|
524
|
-
|
888
|
+
std::vector<std::string> addresses;
|
889
|
+
addresses.reserve(endpoint.addresses().size());
|
890
|
+
for (const auto& address : endpoint.addresses()) {
|
891
|
+
auto key = grpc_sockaddr_to_string(&address, /*normalize=*/false);
|
892
|
+
if (!key.ok()) {
|
893
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
894
|
+
gpr_log(GPR_INFO,
|
895
|
+
"[xds_override_host_lb %p] no key for endpoint address; "
|
896
|
+
"not adding to map",
|
897
|
+
this);
|
898
|
+
}
|
899
|
+
} else {
|
900
|
+
addresses.push_back(*std::move(key));
|
901
|
+
}
|
525
902
|
}
|
526
|
-
|
903
|
+
absl::Span<const std::string> addresses_span = addresses;
|
904
|
+
for (size_t i = 0; i < addresses.size(); ++i) {
|
905
|
+
std::string start = absl::StrJoin(addresses_span.subspan(0, i), ",");
|
906
|
+
std::string end = absl::StrJoin(addresses_span.subspan(i + 1), ",");
|
907
|
+
RefCountedStringValue address_list(
|
908
|
+
absl::StrCat(addresses[i], (start.empty() ? "" : ","), start,
|
909
|
+
(end.empty() ? "" : ","), end));
|
910
|
+
addresses_for_map.emplace(
|
911
|
+
std::piecewise_construct, std::forward_as_tuple(addresses[i]),
|
912
|
+
std::forward_as_tuple(status, std::move(address_list)));
|
913
|
+
}
|
914
|
+
});
|
915
|
+
// Now grab the lock and update subchannel_map_ from addresses_for_map.
|
916
|
+
const Timestamp now = Timestamp::Now();
|
917
|
+
const Timestamp idle_threshold = now - connection_idle_timeout_;
|
918
|
+
Duration next_time = connection_idle_timeout_;
|
527
919
|
{
|
528
|
-
|
920
|
+
// Drop subchannel refs after releasing the lock to avoid deadlock.
|
921
|
+
std::vector<RefCountedPtr<SubchannelWrapper>> subchannel_refs_to_drop;
|
922
|
+
MutexLock lock(&mu_);
|
529
923
|
for (auto it = subchannel_map_.begin(); it != subchannel_map_.end();) {
|
530
924
|
if (addresses_for_map.find(it->first) == addresses_for_map.end()) {
|
925
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
926
|
+
gpr_log(GPR_INFO, "[xds_override_host_lb %p] removing map key %s",
|
927
|
+
this, it->first.c_str());
|
928
|
+
}
|
929
|
+
it->second->UnsetSubchannel(&subchannel_refs_to_drop);
|
531
930
|
it = subchannel_map_.erase(it);
|
532
931
|
} else {
|
533
932
|
++it;
|
534
933
|
}
|
535
934
|
}
|
536
|
-
for (
|
537
|
-
auto
|
935
|
+
for (auto& p : addresses_for_map) {
|
936
|
+
const auto& address = p.first;
|
937
|
+
auto& address_info = p.second;
|
938
|
+
auto it = subchannel_map_.find(address);
|
538
939
|
if (it == subchannel_map_.end()) {
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
it
|
940
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
941
|
+
gpr_log(GPR_INFO, "[xds_override_host_lb %p] adding map key %s", this,
|
942
|
+
address.c_str());
|
943
|
+
}
|
944
|
+
it = subchannel_map_.emplace(address, MakeRefCounted<SubchannelEntry>())
|
945
|
+
.first;
|
946
|
+
}
|
947
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
948
|
+
gpr_log(GPR_INFO,
|
949
|
+
"[xds_override_host_lb %p] map key %s: setting "
|
950
|
+
"eds_health_status=%s address_list=%s",
|
951
|
+
this, address.c_str(),
|
952
|
+
address_info.eds_health_status.ToString(),
|
953
|
+
address_info.address_list.c_str());
|
954
|
+
}
|
955
|
+
it->second->set_eds_health_status(address_info.eds_health_status);
|
956
|
+
it->second->set_address_list(std::move(address_info.address_list));
|
957
|
+
// Check the entry's last_used_time to determine the next time at
|
958
|
+
// which the timer needs to run.
|
959
|
+
if (it->second->last_used_time() > idle_threshold) {
|
960
|
+
const Duration next_time_for_entry =
|
961
|
+
it->second->last_used_time() + connection_idle_timeout_ - now;
|
962
|
+
next_time = std::min(next_time, next_time_for_entry);
|
544
963
|
}
|
545
964
|
}
|
546
965
|
}
|
547
|
-
|
966
|
+
idle_timer_ =
|
967
|
+
MakeOrphanable<IdleTimer>(RefAsSubclass<XdsOverrideHostLb>(), next_time);
|
548
968
|
}
|
549
969
|
|
550
970
|
RefCountedPtr<XdsOverrideHostLb::SubchannelWrapper>
|
551
971
|
XdsOverrideHostLb::AdoptSubchannel(
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
it
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
void XdsOverrideHostLb::UnsetSubchannel(absl::string_view key,
|
568
|
-
SubchannelWrapper* subchannel) {
|
569
|
-
MutexLock lock(&subchannel_map_mu_);
|
570
|
-
auto it = subchannel_map_.find(key);
|
571
|
-
if (it != subchannel_map_.end()) {
|
572
|
-
if (subchannel == it->second.GetSubchannel()) {
|
573
|
-
it->second.UnsetSubchannel();
|
972
|
+
const grpc_resolved_address& address,
|
973
|
+
RefCountedPtr<SubchannelInterface> subchannel) {
|
974
|
+
auto wrapper = MakeRefCounted<SubchannelWrapper>(
|
975
|
+
std::move(subchannel), RefAsSubclass<XdsOverrideHostLb>());
|
976
|
+
auto key = grpc_sockaddr_to_string(&address, /*normalize=*/false);
|
977
|
+
if (key.ok()) {
|
978
|
+
// Drop ref to previously owned subchannel (if any) after releasing
|
979
|
+
// the lock.
|
980
|
+
RefCountedPtr<SubchannelWrapper> subchannel_ref_to_drop;
|
981
|
+
MutexLock lock(&mu_);
|
982
|
+
auto it = subchannel_map_.find(*key);
|
983
|
+
if (it != subchannel_map_.end()) {
|
984
|
+
wrapper->set_subchannel_entry(it->second);
|
985
|
+
subchannel_ref_to_drop = it->second->SetUnownedSubchannel(wrapper.get());
|
574
986
|
}
|
575
987
|
}
|
988
|
+
return wrapper;
|
576
989
|
}
|
577
990
|
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
if (it == subchannel_map_.end() || it->second.GetSubchannel() == nullptr) {
|
584
|
-
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
585
|
-
gpr_log(GPR_INFO, "Subchannel %s was not found",
|
586
|
-
std::string(address).c_str());
|
587
|
-
}
|
588
|
-
return nullptr;
|
991
|
+
void XdsOverrideHostLb::CreateSubchannelForAddress(absl::string_view address) {
|
992
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
993
|
+
gpr_log(GPR_INFO,
|
994
|
+
"[xds_override_host_lb %p] creating owned subchannel for %s", this,
|
995
|
+
std::string(address).c_str());
|
589
996
|
}
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
997
|
+
auto addr = StringToSockaddr(address);
|
998
|
+
GPR_ASSERT(addr.ok());
|
999
|
+
// Note: We don't currently have any cases where per_address_args need to
|
1000
|
+
// be passed through. If we encounter any such cases in the future, we
|
1001
|
+
// will need to change this to store those attributes from the resolver
|
1002
|
+
// update in the map entry.
|
1003
|
+
auto subchannel = channel_control_helper()->CreateSubchannel(
|
1004
|
+
*addr, /*per_address_args=*/ChannelArgs(), args_);
|
1005
|
+
auto wrapper = MakeRefCounted<SubchannelWrapper>(
|
1006
|
+
std::move(subchannel), RefAsSubclass<XdsOverrideHostLb>());
|
1007
|
+
{
|
1008
|
+
MutexLock lock(&mu_);
|
1009
|
+
auto it = subchannel_map_.find(address);
|
1010
|
+
// This can happen if the map entry was removed between the time that
|
1011
|
+
// the picker requested the subchannel creation and the time that we got
|
1012
|
+
// here. In that case, we can just make it a no-op, since the update
|
1013
|
+
// that removed the entry will have generated a new picker already.
|
1014
|
+
if (it == subchannel_map_.end()) return;
|
1015
|
+
// This can happen if the picker requests subchannel creation for
|
1016
|
+
// the same address multiple times.
|
1017
|
+
if (it->second->HasOwnedSubchannel()) return;
|
1018
|
+
wrapper->set_subchannel_entry(it->second);
|
1019
|
+
it->second->SetOwnedSubchannel(std::move(wrapper));
|
597
1020
|
}
|
598
|
-
|
1021
|
+
MaybeUpdatePickerLocked();
|
599
1022
|
}
|
600
1023
|
|
601
|
-
void XdsOverrideHostLb::
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
1024
|
+
void XdsOverrideHostLb::CleanupSubchannels() {
|
1025
|
+
const Timestamp now = Timestamp::Now();
|
1026
|
+
const Timestamp idle_threshold = now - connection_idle_timeout_;
|
1027
|
+
Duration next_time = connection_idle_timeout_;
|
1028
|
+
std::vector<RefCountedPtr<SubchannelWrapper>> subchannel_refs_to_drop;
|
1029
|
+
{
|
1030
|
+
MutexLock lock(&mu_);
|
1031
|
+
if (subchannel_map_.empty()) return;
|
1032
|
+
for (const auto& p : subchannel_map_) {
|
1033
|
+
if (p.second->last_used_time() <= idle_threshold) {
|
1034
|
+
auto subchannel = p.second->TakeOwnedSubchannel();
|
1035
|
+
if (subchannel != nullptr) {
|
1036
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
1037
|
+
gpr_log(GPR_INFO,
|
1038
|
+
"[xds_override_host_lb %p] dropping subchannel for %s",
|
1039
|
+
this, p.first.c_str());
|
1040
|
+
}
|
1041
|
+
subchannel_refs_to_drop.push_back(std::move(subchannel));
|
1042
|
+
}
|
1043
|
+
} else {
|
1044
|
+
// Not dropping the subchannel. Check the entry's last_used_time to
|
1045
|
+
// determine the next time at which the timer needs to run.
|
1046
|
+
const Duration next_time_for_entry =
|
1047
|
+
p.second->last_used_time() + connection_idle_timeout_ - now;
|
1048
|
+
next_time = std::min(next_time, next_time_for_entry);
|
1049
|
+
}
|
1050
|
+
}
|
609
1051
|
}
|
1052
|
+
idle_timer_ =
|
1053
|
+
MakeOrphanable<IdleTimer>(RefAsSubclass<XdsOverrideHostLb>(), next_time);
|
610
1054
|
}
|
611
1055
|
|
612
1056
|
//
|
@@ -614,67 +1058,47 @@ void XdsOverrideHostLb::OnSubchannelConnectivityStateChange(
|
|
614
1058
|
//
|
615
1059
|
|
616
1060
|
RefCountedPtr<SubchannelInterface> XdsOverrideHostLb::Helper::CreateSubchannel(
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
1061
|
+
const grpc_resolved_address& address, const ChannelArgs& per_address_args,
|
1062
|
+
const ChannelArgs& args) {
|
1063
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
1064
|
+
auto key = grpc_sockaddr_to_string(&address, /*normalize=*/false);
|
1065
|
+
gpr_log(GPR_INFO,
|
1066
|
+
"[xds_override_host_lb %p] creating subchannel for %s, "
|
1067
|
+
"per_address_args=%s, args=%s",
|
1068
|
+
this, key.value_or("<unknown>").c_str(),
|
1069
|
+
per_address_args.ToString().c_str(), args.ToString().c_str());
|
1070
|
+
}
|
1071
|
+
auto subchannel = parent()->channel_control_helper()->CreateSubchannel(
|
1072
|
+
address, per_address_args, args);
|
1073
|
+
return parent()->AdoptSubchannel(address, std::move(subchannel));
|
622
1074
|
}
|
623
1075
|
|
624
1076
|
void XdsOverrideHostLb::Helper::UpdateState(
|
625
1077
|
grpc_connectivity_state state, const absl::Status& status,
|
626
1078
|
RefCountedPtr<SubchannelPicker> picker) {
|
627
|
-
if (
|
1079
|
+
if (parent()->shutting_down_) return;
|
628
1080
|
// Save the state and picker.
|
629
|
-
|
630
|
-
|
631
|
-
|
1081
|
+
parent()->state_ = state;
|
1082
|
+
parent()->status_ = status;
|
1083
|
+
parent()->picker_ = std::move(picker);
|
632
1084
|
// Wrap the picker and return it to the channel.
|
633
|
-
|
634
|
-
}
|
635
|
-
|
636
|
-
void XdsOverrideHostLb::Helper::RequestReresolution() {
|
637
|
-
if (xds_override_host_policy_->shutting_down_) return;
|
638
|
-
xds_override_host_policy_->channel_control_helper()->RequestReresolution();
|
639
|
-
}
|
640
|
-
|
641
|
-
absl::string_view XdsOverrideHostLb::Helper::GetAuthority() {
|
642
|
-
return xds_override_host_policy_->channel_control_helper()->GetAuthority();
|
643
|
-
}
|
644
|
-
|
645
|
-
grpc_event_engine::experimental::EventEngine*
|
646
|
-
XdsOverrideHostLb::Helper::GetEventEngine() {
|
647
|
-
return xds_override_host_policy_->channel_control_helper()->GetEventEngine();
|
648
|
-
}
|
649
|
-
|
650
|
-
void XdsOverrideHostLb::Helper::AddTraceEvent(TraceSeverity severity,
|
651
|
-
absl::string_view message) {
|
652
|
-
if (xds_override_host_policy_->shutting_down_) return;
|
653
|
-
xds_override_host_policy_->channel_control_helper()->AddTraceEvent(severity,
|
654
|
-
message);
|
1085
|
+
parent()->MaybeUpdatePickerLocked();
|
655
1086
|
}
|
656
1087
|
|
657
1088
|
//
|
658
|
-
// XdsOverrideHostLb::SubchannelWrapper
|
1089
|
+
// XdsOverrideHostLb::SubchannelWrapper
|
659
1090
|
//
|
660
1091
|
|
661
1092
|
XdsOverrideHostLb::SubchannelWrapper::SubchannelWrapper(
|
662
1093
|
RefCountedPtr<SubchannelInterface> subchannel,
|
663
|
-
RefCountedPtr<XdsOverrideHostLb> policy
|
664
|
-
: DelegatingSubchannel(std::move(subchannel)),
|
665
|
-
|
666
|
-
|
667
|
-
auto watcher = std::make_unique<ConnectivityStateWatcher>(WeakRef());
|
1094
|
+
RefCountedPtr<XdsOverrideHostLb> policy)
|
1095
|
+
: DelegatingSubchannel(std::move(subchannel)), policy_(std::move(policy)) {
|
1096
|
+
auto watcher = std::make_unique<ConnectivityStateWatcher>(
|
1097
|
+
WeakRefAsSubclass<SubchannelWrapper>());
|
668
1098
|
watcher_ = watcher.get();
|
669
1099
|
wrapped_subchannel()->WatchConnectivityState(std::move(watcher));
|
670
1100
|
}
|
671
1101
|
|
672
|
-
XdsOverrideHostLb::SubchannelWrapper::~SubchannelWrapper() {
|
673
|
-
if (key_.has_value()) {
|
674
|
-
policy_->UnsetSubchannel(*key_, this);
|
675
|
-
}
|
676
|
-
}
|
677
|
-
|
678
1102
|
void XdsOverrideHostLb::SubchannelWrapper::WatchConnectivityState(
|
679
1103
|
std::unique_ptr<ConnectivityStateWatcherInterface> watcher) {
|
680
1104
|
watchers_.insert(std::move(watcher));
|
@@ -688,13 +1112,50 @@ void XdsOverrideHostLb::SubchannelWrapper::CancelConnectivityStateWatch(
|
|
688
1112
|
}
|
689
1113
|
}
|
690
1114
|
|
1115
|
+
void XdsOverrideHostLb::SubchannelWrapper::Orphan() {
|
1116
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
1117
|
+
gpr_log(GPR_INFO,
|
1118
|
+
"[xds_override_host_lb %p] subchannel wrapper %p orphaned",
|
1119
|
+
policy_.get(), this);
|
1120
|
+
}
|
1121
|
+
if (!IsWorkSerializerDispatchEnabled()) {
|
1122
|
+
wrapped_subchannel()->CancelConnectivityStateWatch(watcher_);
|
1123
|
+
if (subchannel_entry_ != nullptr) {
|
1124
|
+
MutexLock lock(&policy()->mu_);
|
1125
|
+
subchannel_entry_->OnSubchannelWrapperOrphan(
|
1126
|
+
this, policy()->connection_idle_timeout_);
|
1127
|
+
}
|
1128
|
+
return;
|
1129
|
+
}
|
1130
|
+
policy()->work_serializer()->Run(
|
1131
|
+
[self = WeakRefAsSubclass<SubchannelWrapper>()]() {
|
1132
|
+
self->wrapped_subchannel()->CancelConnectivityStateWatch(
|
1133
|
+
self->watcher_);
|
1134
|
+
if (self->subchannel_entry_ != nullptr) {
|
1135
|
+
MutexLock lock(&self->policy()->mu_);
|
1136
|
+
self->subchannel_entry_->OnSubchannelWrapperOrphan(
|
1137
|
+
self.get(), self->policy()->connection_idle_timeout_);
|
1138
|
+
}
|
1139
|
+
},
|
1140
|
+
DEBUG_LOCATION);
|
1141
|
+
}
|
1142
|
+
|
691
1143
|
void XdsOverrideHostLb::SubchannelWrapper::UpdateConnectivityState(
|
692
1144
|
grpc_connectivity_state state, absl::Status status) {
|
693
|
-
|
1145
|
+
bool update_picker = false;
|
1146
|
+
if (subchannel_entry_ != nullptr) {
|
1147
|
+
MutexLock lock(&policy()->mu_);
|
1148
|
+
if (subchannel_entry_->connectivity_state() != state) {
|
1149
|
+
subchannel_entry_->set_connectivity_state(state);
|
1150
|
+
update_picker = subchannel_entry_->HasOwnedSubchannel() &&
|
1151
|
+
subchannel_entry_->GetSubchannel() == this;
|
1152
|
+
}
|
1153
|
+
}
|
694
1154
|
// Sending connectivity state notifications to the watchers may cause the set
|
695
1155
|
// of watchers to change, so we can't be iterating over the set of watchers
|
696
1156
|
// while we send the notifications
|
697
|
-
std::vector<ConnectivityStateWatcherInterface*> watchers
|
1157
|
+
std::vector<ConnectivityStateWatcherInterface*> watchers;
|
1158
|
+
watchers.reserve(watchers_.size());
|
698
1159
|
for (const auto& watcher : watchers_) {
|
699
1160
|
watchers.push_back(watcher.get());
|
700
1161
|
}
|
@@ -703,30 +1164,94 @@ void XdsOverrideHostLb::SubchannelWrapper::UpdateConnectivityState(
|
|
703
1164
|
watcher->OnConnectivityStateChange(state, status);
|
704
1165
|
}
|
705
1166
|
}
|
706
|
-
if (
|
707
|
-
policy_->OnSubchannelConnectivityStateChange(*key_);
|
708
|
-
}
|
1167
|
+
if (update_picker) policy()->MaybeUpdatePickerLocked();
|
709
1168
|
}
|
710
1169
|
|
711
|
-
|
712
|
-
|
713
|
-
|
1170
|
+
//
|
1171
|
+
// XdsOverrideHostLb::SubchannelEntry
|
1172
|
+
//
|
1173
|
+
|
1174
|
+
RefCountedPtr<XdsOverrideHostLb::SubchannelWrapper>
|
1175
|
+
XdsOverrideHostLb::SubchannelEntry::SetUnownedSubchannel(
|
1176
|
+
SubchannelWrapper* subchannel)
|
1177
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1178
|
+
auto owned_subchannel = TakeOwnedSubchannel();
|
1179
|
+
subchannel_ = subchannel;
|
1180
|
+
return owned_subchannel;
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
XdsOverrideHostLb::SubchannelWrapper*
|
1184
|
+
XdsOverrideHostLb::SubchannelEntry::GetSubchannel() const
|
1185
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1186
|
+
return Match(
|
1187
|
+
subchannel_, [](SubchannelWrapper* subchannel) { return subchannel; },
|
1188
|
+
[](const RefCountedPtr<SubchannelWrapper>& subchannel) {
|
1189
|
+
return subchannel.get();
|
1190
|
+
});
|
714
1191
|
}
|
715
1192
|
|
716
|
-
|
717
|
-
|
718
|
-
|
1193
|
+
RefCountedPtr<XdsOverrideHostLb::SubchannelWrapper>
|
1194
|
+
XdsOverrideHostLb::SubchannelEntry::GetSubchannelRef() const
|
1195
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1196
|
+
auto* sc = GetSubchannel();
|
1197
|
+
if (sc == nullptr) return nullptr;
|
1198
|
+
return sc->RefIfNonZero().TakeAsSubclass<SubchannelWrapper>();
|
1199
|
+
}
|
1200
|
+
|
1201
|
+
RefCountedPtr<XdsOverrideHostLb::SubchannelWrapper>
|
1202
|
+
XdsOverrideHostLb::SubchannelEntry::TakeOwnedSubchannel()
|
1203
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1204
|
+
return MatchMutable(
|
1205
|
+
&subchannel_,
|
1206
|
+
[](SubchannelWrapper**) -> RefCountedPtr<SubchannelWrapper> {
|
1207
|
+
return nullptr;
|
1208
|
+
},
|
1209
|
+
[](RefCountedPtr<SubchannelWrapper>* subchannel) {
|
1210
|
+
return std::move(*subchannel);
|
1211
|
+
});
|
719
1212
|
}
|
720
1213
|
|
721
|
-
void XdsOverrideHostLb::
|
722
|
-
|
723
|
-
|
724
|
-
|
1214
|
+
void XdsOverrideHostLb::SubchannelEntry::UnsetSubchannel(
|
1215
|
+
std::vector<RefCountedPtr<SubchannelWrapper>>* owned_subchannels)
|
1216
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1217
|
+
auto subchannel = TakeOwnedSubchannel();
|
1218
|
+
if (subchannel != nullptr) {
|
1219
|
+
owned_subchannels->push_back(std::move(subchannel));
|
1220
|
+
}
|
1221
|
+
subchannel_ = nullptr;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
void XdsOverrideHostLb::SubchannelEntry::OnSubchannelWrapperOrphan(
|
1225
|
+
SubchannelWrapper* wrapper, Duration connection_idle_timeout)
|
1226
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&XdsOverrideHostLb::mu_) {
|
1227
|
+
auto* subchannel = GetSubchannel();
|
1228
|
+
if (subchannel != wrapper) return;
|
1229
|
+
if (last_used_time_ < (Timestamp::Now() - connection_idle_timeout)) {
|
1230
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
1231
|
+
gpr_log(GPR_INFO,
|
1232
|
+
"[xds_override_host_lb] removing unowned subchannel wrapper %p",
|
1233
|
+
subchannel);
|
1234
|
+
}
|
1235
|
+
subchannel_ = nullptr;
|
1236
|
+
} else {
|
1237
|
+
// The subchannel is being released by the child policy, but it
|
1238
|
+
// is still within its idle timeout, so we make a new copy of
|
1239
|
+
// the wrapper with the same underlying subchannel, and we hold
|
1240
|
+
// our own ref to it.
|
1241
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_lb_xds_override_host_trace)) {
|
1242
|
+
gpr_log(GPR_INFO,
|
1243
|
+
"[xds_override_host_lb] subchannel wrapper %p: cloning "
|
1244
|
+
"to gain ownership",
|
1245
|
+
subchannel);
|
1246
|
+
}
|
1247
|
+
subchannel_ = wrapper->Clone();
|
1248
|
+
}
|
725
1249
|
}
|
726
1250
|
|
727
1251
|
//
|
728
1252
|
// factory
|
729
1253
|
//
|
1254
|
+
|
730
1255
|
class XdsOverrideHostLbFactory : public LoadBalancingPolicyFactory {
|
731
1256
|
public:
|
732
1257
|
OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
|
@@ -740,15 +1265,7 @@ class XdsOverrideHostLbFactory : public LoadBalancingPolicyFactory {
|
|
740
1265
|
|
741
1266
|
absl::StatusOr<RefCountedPtr<LoadBalancingPolicy::Config>>
|
742
1267
|
ParseLoadBalancingConfig(const Json& json) const override {
|
743
|
-
|
744
|
-
// This policy was configured in the deprecated loadBalancingPolicy
|
745
|
-
// field or in the client API.
|
746
|
-
return absl::InvalidArgumentError(
|
747
|
-
"field:loadBalancingPolicy error:xds_override_host policy requires "
|
748
|
-
"configuration. Please use loadBalancingConfig field of service "
|
749
|
-
"config instead.");
|
750
|
-
}
|
751
|
-
return LoadRefCountedFromJson<XdsOverrideHostLbConfig>(
|
1268
|
+
return LoadFromJson<RefCountedPtr<XdsOverrideHostLbConfig>>(
|
752
1269
|
json, JsonArgs(),
|
753
1270
|
"errors validating xds_override_host LB policy config");
|
754
1271
|
}
|
@@ -761,57 +1278,34 @@ void RegisterXdsOverrideHostLbPolicy(CoreConfiguration::Builder* builder) {
|
|
761
1278
|
std::make_unique<XdsOverrideHostLbFactory>());
|
762
1279
|
}
|
763
1280
|
|
1281
|
+
//
|
764
1282
|
// XdsOverrideHostLbConfig
|
1283
|
+
//
|
765
1284
|
|
766
1285
|
const JsonLoaderInterface* XdsOverrideHostLbConfig::JsonLoader(
|
767
1286
|
const JsonArgs&) {
|
768
1287
|
static const auto kJsonLoader =
|
769
1288
|
JsonObjectLoader<XdsOverrideHostLbConfig>()
|
770
1289
|
// Child policy config is parsed in JsonPostLoad
|
1290
|
+
.Field("clusterName", &XdsOverrideHostLbConfig::cluster_name_)
|
771
1291
|
.Finish();
|
772
1292
|
return kJsonLoader;
|
773
1293
|
}
|
774
1294
|
|
775
|
-
void XdsOverrideHostLbConfig::JsonPostLoad(const Json& json,
|
776
|
-
const JsonArgs& args,
|
1295
|
+
void XdsOverrideHostLbConfig::JsonPostLoad(const Json& json, const JsonArgs&,
|
777
1296
|
ValidationErrors* errors) {
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
errors->AddError(child_policy_config.status().message());
|
789
|
-
} else {
|
790
|
-
child_config_ = std::move(*child_policy_config);
|
791
|
-
}
|
792
|
-
}
|
793
|
-
}
|
794
|
-
{
|
795
|
-
ValidationErrors::ScopedField field(errors, ".overrideHostStatus");
|
796
|
-
auto host_status_list = LoadJsonObjectField<std::vector<std::string>>(
|
797
|
-
json.object_value(), args, "overrideHostStatus", errors,
|
798
|
-
/*required=*/false);
|
799
|
-
if (host_status_list.has_value()) {
|
800
|
-
for (size_t i = 0; i < host_status_list->size(); ++i) {
|
801
|
-
const std::string& host_status = (*host_status_list)[i];
|
802
|
-
auto status = XdsHealthStatus::FromString(host_status);
|
803
|
-
if (!status.has_value()) {
|
804
|
-
ValidationErrors::ScopedField field(errors,
|
805
|
-
absl::StrCat("[", i, "]"));
|
806
|
-
errors->AddError("invalid host status");
|
807
|
-
} else {
|
808
|
-
override_host_status_set_.Add(*status);
|
809
|
-
}
|
810
|
-
}
|
1297
|
+
ValidationErrors::ScopedField field(errors, ".childPolicy");
|
1298
|
+
auto it = json.object().find("childPolicy");
|
1299
|
+
if (it == json.object().end()) {
|
1300
|
+
errors->AddError("field not present");
|
1301
|
+
} else {
|
1302
|
+
auto child_policy_config =
|
1303
|
+
CoreConfiguration::Get().lb_policy_registry().ParseLoadBalancingConfig(
|
1304
|
+
it->second);
|
1305
|
+
if (!child_policy_config.ok()) {
|
1306
|
+
errors->AddError(child_policy_config.status().message());
|
811
1307
|
} else {
|
812
|
-
|
813
|
-
{XdsHealthStatus(XdsHealthStatus::HealthStatus::kHealthy),
|
814
|
-
XdsHealthStatus(XdsHealthStatus::HealthStatus::kUnknown)});
|
1308
|
+
child_config_ = std::move(*child_policy_config);
|
815
1309
|
}
|
816
1310
|
}
|
817
1311
|
}
|