Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for StatPrefix (0.3 sec)

  1. pilot/pkg/model/virtualservice.go

    	if out.SourceNamespace == "" {
    		out.SourceNamespace = root.SourceNamespace
    	}
    
    	if len(out.Gateways) == 0 {
    		out.Gateways = root.Gateways
    	}
    
    	if len(out.StatPrefix) == 0 {
    		out.StatPrefix = root.StatPrefix
    	}
    	return &out
    }
    
    func hasConflict(root, leaf *networking.HTTPMatchRequest) bool {
    	roots := []*networking.StringMatch{root.Uri, root.Scheme, root.Method, root.Authority}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/tcp/deny-both-http-tcp-out.yaml

                      - authenticated:
                          principalName:
                            safeRegex:
                              regex: .+
      shadowRulesStatPrefix: istio_dry_run_allow_
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    			if len(opt.networkFilters) > 0 {
    				filterChain.Filters = append(filterChain.Filters, opt.networkFilters...)
    			}
    
    			// If statPrefix has been set before calling this method, respect that.
    			if len(opt.httpOpts.statPrefix) == 0 {
    				opt.httpOpts.statPrefix = strings.ToLower(ml.Listener.TrafficDirection.String()) + "_" + ml.Listener.Name
    			}
    			opt.httpOpts.port = opts.port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/xds_test.go

    			Equals(wellknown.TCPProxy, "{.filterChains[1].filters[0].name}").
    			Equals("PassthroughCluster", "{.filterChains[1].filters[0].typedConfig.cluster}").
    			Equals("PassthroughCluster", "{.filterChains[1].filters[0].typedConfig.statPrefix}").
    			Equals(true, "{.useOriginalDst}").
    			CheckOrFail(t)
    	})
    
    	t.Run("mongo", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/envoyfilter_test.go

    					},
    				},
    				{ // valid http route patch
    					Patch: &networking.EnvoyFilter_Patch{
    						Operation: networking.EnvoyFilter_Patch_MERGE,
    						Value:     buildPatchStruct(`{"statPrefix": "bar"}`),
    					},
    					Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    						Proxy: &networking.EnvoyFilter_ProxyMatch{ProxyVersion: `foobar`},
    					},
    					ApplyTo: networking.EnvoyFilter_HTTP_ROUTE,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 04:20:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    				{
    					Filters: []*listener.Filter{
    						{
    							Name: "envoy.redis_proxy",
    							ConfigType: &listener.Filter_TypedConfig{
    								TypedConfig: protoconv.MessageToAny(&redis.RedisProxy{
    									StatPrefix: "redis_stats",
    									PrefixRoutes: &redis.RedisProxy_PrefixRoutes{
    										CatchAllRoute: &redis.RedisProxy_PrefixRoutes_Route{
    											Cluster: "custom-redis-cluster",
    										},
    									},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/extauthz.go

    		TransportApiVersion:   core.ApiVersion_V3,
    		WithRequestBody:       withBodyRequest(config.IncludeRequestBodyInCheck),
    	}
    	tcp := &extauthztcp.ExtAuthz{
    		StatPrefix:            "tcp.",
    		FailureModeAllow:      config.FailOpen,
    		TransportApiVersion:   core.ApiVersion_V3,
    		GrpcService:           grpc,
    		FilterEnabledMetadata: generateFilterMatcher(wellknown.RoleBasedAccessControl),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    	f := fc.Filters[0]
    	expectedStatPrefix := util.PassthroughCluster
    	cfg, _ := conversion.MessageToStruct(f.GetTypedConfig())
    	statPrefix := cfg.Fields["stat_prefix"].GetStringValue()
    	if statPrefix != expectedStatPrefix {
    		t.Fatalf("expected listener to contain stat_prefix %s, found %s", expectedStatPrefix, statPrefix)
    	}
    }
    
    func verifyOutboundTCPListenerHostname(t *testing.T, l *listener.Listener, hostname host.Name) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/route.go

    		Match:    TranslateRouteMatch(virtualService, match, node.SupportsEnvoyExtendedJwt()),
    		Metadata: util.BuildConfigInfoMetadata(virtualService.Meta),
    	}
    
    	if match != nil && match.StatPrefix != "" {
    		out.StatPrefix = match.StatPrefix
    	}
    
    	authority := ""
    	if in.Headers != nil {
    		operations := TranslateHeadersOperations(in.Headers)
    		out.RequestHeadersToAdd = operations.RequestHeadersToAdd
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(routes[0].GetMatch().GetPrefix()).To(Equal("/foo"))
    		g.Expect(routes[0].StatPrefix).To(Equal("foo"))
    		g.Expect(routes[1].GetMatch().GetPrefix()).To(Equal("/baz"))
    		g.Expect(routes[1].StatPrefix).To(Equal(""))
    		g.Expect(routes[2].GetMatch().GetPrefix()).To(Equal("/bar"))
    		g.Expect(routes[2].StatPrefix).To(Equal(""))
    		g.Expect(len(routes[0].GetRoute().GetRetryPolicy().RetryHostPredicate)).To(Equal(1))
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top