- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetRoute (0.13 sec)
-
pilot/pkg/networking/core/route/route_test.go
g.Expect(len(routes)).To(Equal(1)) // Validate that when timeout is not specified, we disable it based on default value of flag. g.Expect(routes[0].GetRoute().Timeout.Seconds).To(Equal(int64(0))) // nolint: staticcheck g.Expect(routes[0].GetRoute().MaxGrpcTimeout.Seconds).To(Equal(int64(0))) }) t.Run("for virtual service with HTTP/3 discovery enabled", func(t *testing.T) { g := NewWithT(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
func BuildDefaultHTTPInboundRoute(clusterName string, operation string) *route.Route { out := buildDefaultHTTPRoute(clusterName, operation) // For inbound, configure with notimeout. out.GetRoute().Timeout = Notimeout out.GetRoute().MaxStreamDuration = &route.RouteAction_MaxStreamDuration{ MaxStreamDuration: Notimeout, // If not configured at all, the grpc-timeout header is not used and
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/httproute_test.go
got := map[string][]string{} clusters := map[string]string{} for _, vh := range routeCfg.VirtualHosts { got[vh.Name] = vh.Domains clusters[vh.Name] = vh.GetRoutes()[0].GetRoute().GetCluster() } if !reflect.DeepEqual(tt.expectedHosts, got) { t.Fatalf("unexpected virtual hosts\n%v, wanted\n%v", got, tt.expectedHosts) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
ss := re.FindStringSubmatch(domain) if ss != nil { if ss[1] == svc.ObjectMeta.Name && ss[2] == svc.ObjectMeta.Namespace { return true } } } clusterName := "" switch cs := vhRoute.GetRoute().GetClusterSpecifier().(type) { case *route.RouteAction_Cluster: clusterName = cs.Cluster case *route.RouteAction_WeightedClusters: clusterName = cs.WeightedClusters.Clusters[0].GetName() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
function Verify_GceMetadataServerRouteIsPresent { Try { Get-NetRoute ` -ErrorAction "Stop" ` -AddressFamily IPv4 ` -DestinationPrefix ${GCE_METADATA_SERVER}/32 | Out-Null } Catch [Microsoft.PowerShell.Cmdletization.Cim.CimJobException] { Log-Output -Fatal ` ("GCE metadata server route is not present as expected.`n" + "$(Get-NetRoute -AddressFamily IPv4 | Out-String)") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0)