Go to the documentation of this file.
17 #ifndef GRPC_CORE_EXT_XDS_XDS_ROUTE_CONFIG_H
18 #define GRPC_CORE_EXT_XDS_XDS_ROUTE_CONFIG_H
31 #include "absl/status/statusor.h"
32 #include "absl/strings/string_view.h"
33 #include "absl/types/optional.h"
34 #include "absl/types/variant.h"
55 std::map<std::string, XdsHttpFilterImpl::FilterConfig>;
108 std::unique_ptr<RE2>
regex =
nullptr;
206 XdsRouteConfigResource> {
209 return "envoy.config.route.v3.RouteConfiguration";
212 return "envoy.api.v2.RouteConfiguration";
217 bool )
const override;
227 #endif // GRPC_CORE_EXT_XDS_XDS_ROUTE_CONFIG_H
std::string ToString() const
bool operator==(const XdsRouteConfigResource &other) const
TypedPerFilterConfig typed_per_filter_config
HashPolicy & operator=(const HashPolicy &other)
bool operator==(const RouteAction &other) const
static constexpr size_t kClusterSpecifierPluginIndex
absl::optional< absl::StatusOr< XdsRouteConfigResource > > rds_update
std::vector< HeaderMatcher > header_matchers
std::unique_ptr< RE2 > regex
bool operator==(const NonForwardingAction &) const
internal::StatusCodeSet retry_on
absl::StatusOr< DecodeResult > Decode(const XdsEncodingContext &context, absl::string_view serialized_resource, bool) const override
void InitUpbSymtab(upb_DefPool *symtab) const override
bool operator==(const RetryBackOff &other) const
std::string ToString() const
std::vector< VirtualHost > virtual_hosts
bool operator==(const ClusterWeight &other) const
static constexpr size_t kWeightedClustersIndex
absl::variant< UnknownAction, RouteAction, NonForwardingAction > action
std::string ToString() const
std::string ToString() const
TypedPerFilterConfig typed_per_filter_config
std::map< std::string, XdsHttpFilterImpl::FilterConfig > TypedPerFilterConfig
struct envoy_config_route_v3_RouteConfiguration envoy_config_route_v3_RouteConfiguration
TypedPerFilterConfig typed_per_filter_config
std::vector< HashPolicy > hash_policies
std::string ToString() const
std::vector< Route > routes
bool operator==(const Matchers &other) const
absl::string_view v2_type_url() const override
bool operator==(const VirtualHost &other) const
std::map< std::string, std::string > cluster_specifier_plugin_map
std::string ToString() const
std::string regex_substitution
RetryBackOff retry_back_off
A set of grpc_status_code values.
bool operator==(const Route &other) const
bool operator==(const HashPolicy &other) const
bool operator==(const RetryPolicy &other) const
const UPB_INLINE upb_MessageDef * envoy_config_route_v3_RouteConfiguration_getmsgdef(upb_DefPool *s)
static constexpr size_t kClusterIndex
std::vector< std::string > domains
absl::optional< RetryPolicy > retry_policy
absl::string_view type_url() const override
bool operator==(const UnknownAction &) const
std::string ToString() const
static grpc_error_handle Parse(const XdsEncodingContext &context, const envoy_config_route_v3_RouteConfiguration *route_config, XdsRouteConfigResource *rds_update)
absl::optional< Duration > max_stream_duration
grpc::ClientContext context
StringMatcher path_matcher
absl::optional< uint32_t > fraction_per_million
static void PopulateSymtab(upb_DefPool *symtab)
absl::variant< std::string, std::vector< ClusterWeight >, std::string > action
std::string ToString() const
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:59