Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for set_regex (0.12 sec)

  1. pilot/pkg/networking/core/route/route_test.go

    			serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{})
    		xdstest.ValidateRoutes(t, routes)
    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    		g.Expect(routes[0].GetMatch().GetSafeRegex().GetRegex()).To(Equal("\\/(.?)\\/status"))
    	})
    
    	t.Run("for virtual service with stat_prefix set for a match on URI", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    		switch ps.(type) {
    		case *route.RouteMatch_Prefix:
    			path = m.GetPrefix() + "*"
    		case *route.RouteMatch_Path:
    			path = m.GetPath()
    		case *route.RouteMatch_SafeRegex:
    			path = m.GetSafeRegex().GetRegex()
    		}
    	}
    
    	// If there is only one destination cluster in route, return host:port/uri as description of route.
    	// Otherwise there are multiple destination clusters and destination host is not clear. For that case
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    	case *istio.StringMatch_Prefix:
    		return len(match.Uri.GetPrefix())
    	case *istio.StringMatch_Exact:
    		return len(match.Uri.GetExact())
    	case *istio.StringMatch_Regex:
    		return len(match.Uri.GetRegex())
    	}
    	// should not happen
    	return -1
    }
    
    func parentMeta(obj config.Config, sectionName *k8s.SectionName) map[string]string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top