Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for route_config_name (0.28 sec)

  1. pilot/pkg/xds/testdata/none_lds_http.json

                                        }
                                      }
                                    }
                                  }
                                },
                                "route_config_name": {
                                  "Kind": {
                                    "StringValue": "http_proxy"
                                  }
                                }
                              }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 02:10:15 UTC 2021
    - 32.9K bytes
    - Viewed (0)
  2. tests/testdata/bootstrap_tmpl.json

                      "http_filters": [
                        {"name": "envoy.filters.http.router"
                        }
                      ],
                      "rds": {
                          "route_config_name": "80",
                           "config_source": {"resource_api_version": "V3","ads": {}}
                      },
                      "http_protocol_options": {
                        "allow_absolute_url": true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 02:10:15 UTC 2021
    - 9.5K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/testdata/configdump.yaml

                "rds": {
                 "config_source": {
                  "ads": {},
                  "initial_fetch_timeout": "0s",
                  "resource_api_version": "V3"
                 },
                 "route_config_name": "9080"
                },
                "http_filters": [
                 {
                  "name": "istio.metadata_exchange",
                  "typed_config": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (1)
  4. pilot/pkg/networking/core/listener_test.go

    			t.Fatalf("expect listener %s", "0.0.0.0_8080")
    		}
    
    		f := l.FilterChains[0].Filters[0]
    		cfg, _ := conversion.MessageToStruct(f.GetTypedConfig())
    		rds := cfg.Fields["rds"].GetStructValue().Fields["route_config_name"].GetStringValue()
    		if rds != "8080" {
    			t.Fatalf("expect routes %s, found %s", "8080", rds)
    		}
    
    		l = findListenerByAddress(listeners, "1.2.3.4")
    		if l == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  5. pkg/adsc/delta_test.go

    					ConfigType: &listener.Filter_TypedConfig{
    						TypedConfig: protoconv.MessageToAny(&hcm.HttpConnectionManager{
    							RouteSpecifier: &hcm.HttpConnectionManager_Rds{
    								Rds: &hcm.Rds{
    									RouteConfigName: "test-rds-config",
    									ConfigSource: &core.ConfigSource{
    										ConfigSourceSpecifier: &core.ConfigSource_Ads{
    											Ads: &core.AggregatedConfigSource{},
    										},
    									},
    								},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/fake.go

    					h := &hcm.HttpConnectionManager{}
    					_ = filter.GetTypedConfig().UnmarshalTo(h)
    					switch r := h.GetRouteSpecifier().(type) {
    					case *hcm.HttpConnectionManager_Rds:
    						routes = append(routes, r.Rds.RouteConfigName)
    					}
    				}
    			}
    		}
    	}
    	return routes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. pilot/test/xdstest/extract.go

    					h := SilentlyUnmarshalAny[hcm.HttpConnectionManager](filter.GetTypedConfig())
    					switch r := h.GetRouteSpecifier().(type) {
    					case *hcm.HttpConnectionManager_Rds:
    						routes = append(routes, r.Rds.RouteConfigName)
    					}
    				}
    			}
    		}
    	}
    	return routes
    }
    
    func ExtractClusterSecretResources(t test.Failer, c *cluster.Cluster) []string {
    	resourceNames := sets.New[string]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_builder.go

    					ConfigSourceSpecifier: &core.ConfigSource_Ads{
    						Ads: &core.AggregatedConfigSource{},
    					},
    					InitialFetchTimeout: durationpb.New(0),
    					ResourceApiVersion:  core.ApiVersion_V3,
    				},
    				RouteConfigName: httpOpts.rds,
    			},
    		}
    		connectionManager.RouteSpecifier = rds
    	} else {
    		connectionManager.RouteSpecifier = &hcm.HttpConnectionManager_RouteConfig{RouteConfig: httpOpts.routeConfig}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/grpcgen/lds.go

    								Rds: &hcm.Rds{
    									ConfigSource: &core.ConfigSource{
    										ConfigSourceSpecifier: &core.ConfigSource_Ads{
    											Ads: &core.AggregatedConfigSource{},
    										},
    									},
    									RouteConfigName: clusterKey(serviceHost, p.Port),
    								},
    							},
    						}),
    					},
    				}
    				// add extra addresses for the listener
    				extrAddresses := sv.GetExtraAddressesForProxy(node)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. pilot/pkg/simulation/traffic.go

    			result.Error = ErrProtocolError
    			return
    		}
    
    		// Fetch inline route
    		rc := hcm.GetRouteConfig()
    		if rc == nil {
    			// If not set, fallback to RDS
    			routeName := hcm.GetRds().RouteConfigName
    			result.RouteConfigMatched = routeName
    			rc = xdstest.ExtractRouteConfigurations(sim.Routes)[routeName]
    		}
    		hostHeader := ""
    		if len(input.Headers["Host"]) > 0 {
    			hostHeader = input.Headers["Host"][0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top