Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for getHttp (0.14 sec)

  1. pkg/config/analysis/analyzers/virtualservice/util.go

    				RouteRule:        "tls",
    				ServiceIndex:     i,
    				DestinationIndex: j,
    				Destination:      rd.GetDestination(),
    			})
    		}
    	}
    	for i, r := range vs.GetHttp() {
    		for j, rd := range r.GetRoute() {
    			destinations = append(destinations, &AnnotatedDestination{
    				RouteRule:        "http",
    				ServiceIndex:     i,
    				DestinationIndex: j,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/groovy/buildSrc/src/main/java/UrlProcess.java

        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
        @Option(option = "url", description = "Configures the URL to send the request to.")
        public void setUrl(String url) {
            if (!getHttp().getOrElse(true) && url.startsWith("http://")) {
                throw new IllegalArgumentException("HTTP is not allowed");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/kotlin/buildSrc/src/main/java/UrlProcess.java

        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
        @Option(option = "url", description = "Configures the URL to send the request to.")
        public void setUrl(String url) {
            if (!getHttp().getOrElse(true) && url.startsWith("http://")) {
                throw new IllegalArgumentException("HTTP is not allowed");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. samples/extauthz/cmd/extauthz/main.go

    	// For test only
    	httpPort chan int
    	grpcPort chan int
    }
    
    func (s *extAuthzServerV2) logRequest(allow string, request *authv2.CheckRequest) {
    	httpAttrs := request.GetAttributes().GetRequest().GetHttp()
    	log.Printf("[gRPCv2][%s]: %s%s, attributes: %v\n", allow, httpAttrs.GetHost(),
    		httpAttrs.GetPath(),
    		request.GetAttributes())
    }
    
    func (s *extAuthzServerV2) allow(request *authv2.CheckRequest) *authv2.CheckResponse {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/tracing.go

    		ServiceName: serviceName,
    	}
    
    	if otelProvider.GetHttp() == nil {
    		// export via gRPC
    		oc.GrpcService = &core.GrpcService{
    			TargetSpecifier: &core.GrpcService_EnvoyGrpc_{
    				EnvoyGrpc: &core.GrpcService_EnvoyGrpc{
    					ClusterName: cluster,
    					Authority:   hostname,
    				},
    			},
    		}
    	} else {
    		// export via HTTP
    		httpService := otelProvider.GetHttp()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/virtualservice/jwtclaimroute.go

    				c.Report(gvk.VirtualService, m)
    			}
    			return true
    		})
    	}
    }
    
    func routeBasedOnJWTClaimKey(vs *v1alpha3.VirtualService) string {
    	for _, httpRoute := range vs.GetHttp() {
    		for _, match := range httpRoute.GetMatch() {
    			for key := range match.GetHeaders() {
    				if jwt.ToRoutingClaim(key).Match {
    					return key
    				}
    			}
    			for key := range match.GetWithoutHeaders() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    					uint32(tt.destRule.TrafficPolicy.GetConnectionPool().GetHttp().MaxRequestsPerConnection) {
    					t.Errorf("Unexpected max_requests_per_connection found")
    				}
    			}
    
    			if tt.destRule.GetTrafficPolicy().GetConnectionPool().GetHttp().GetMaxConcurrentStreams() > 0 {
    				if ec.httpProtocolOptions == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context_test.go

    		}
    		gotHTTPHosts := make([]string, 0)
    		for _, r := range rules {
    			vs := r.Spec.(*networking.VirtualService)
    			for _, route := range vs.GetHttp() {
    				for _, dst := range route.Route {
    					gotHTTPHosts = append(gotHTTPHosts, dst.Destination.Host)
    				}
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  9. pkg/config/validation/validation.go

    						errs = AppendValidation(errs, errors.New(msg))
    					}
    				}
    			}
    			for _, http := range virtualService.GetHttp() {
    				for _, m := range http.GetMatch() {
    					validateJWTClaimRoute(m.GetHeaders())
    					validateJWTClaimRoute(m.GetWithoutHeaders())
    				}
    			}
    		}
    
    		allHostsValid := true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

        def "creates step for ** wildcard"() {
            expect:
            def step = PatternStepFactory.getStep("**", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
            step.matches("")
        }
    
        def "creates step for * wildcard"() {
            expect:
            def step = PatternStepFactory.getStep("*", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top