Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WithoutHeaders (0.21 sec)

  1. pkg/config/validation/virtualservice_test.go

    		{name: "exact without headers match", route: &networking.HTTPRoute{
    			Redirect: &networking.HTTPRedirect{
    				Uri:       "/",
    				Authority: "foo.biz",
    			},
    			Match: []*networking.HTTPMatchRequest{{
    				WithoutHeaders: map[string]*networking.StringMatch{
    					"header": {
    						MatchType: &networking.StringMatch_Exact{Exact: "test"},
    					},
    				},
    			}},
    		}, valid: true},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice.go

    			}
    
    			for name, header := range match.WithoutHeaders {
    				errs = appendErrors(errs, ValidateHTTPHeaderNameOrJwtClaimRoute(name))
    				// `*` is NOT a RE2 style regex, it will be translated as present_match.
    				if header != nil && header.GetRegex() != "*" {
    					errs = appendErrors(errs, validateStringMatch(header, "withoutHeaders"))
    				}
    			}
    
    			// uri allows empty prefix match:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

            {{- range $data := .Headers }}
              "{{$data.Name}}":
                {{$data.Match}}: {{$data.Value}}
            {{- end }}
          {{- end }}
          {{- if .WithoutHeaders }}
          withoutHeaders:
            {{- range $data := .WithoutHeaders }}
              "{{$data.Name}}":
                {{$data.Match}}: {{$data.Value}}
            {{- end }}
          {{- end }}
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. pilot/pkg/model/virtualservice_test.go

    				},
    			},
    			expected: false,
    		},
    		{
    			name: "withoutHeaders mismatch",
    			root: &networking.HTTPMatchRequest{
    				WithoutHeaders: map[string]*networking.StringMatch{
    					"header": {
    						MatchType: &networking.StringMatch_Prefix{Prefix: "h1"},
    					},
    				},
    			},
    			leaf: &networking.HTTPMatchRequest{
    				WithoutHeaders: map[string]*networking.StringMatch{
    					"header": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_test.go

    						Headers: map[string]*networking.StringMatch{
    							"@request.auth.claims.Foo": {
    								MatchType: &networking.StringMatch_Exact{
    									Exact: "Bar",
    								},
    							},
    						},
    						WithoutHeaders: map[string]*networking.StringMatch{
    							"@request.auth.claims.Bla": {
    								MatchType: &networking.StringMatch_Exact{
    									Exact: "Bar",
    								},
    							},
    						},
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    		} else {
    			matcher := translateHeaderMatch(name, stringMatch)
    			out.Headers = append(out.Headers, matcher)
    		}
    	}
    
    	for name, stringMatch := range in.WithoutHeaders {
    		if metadataMatcher := translateMetadataMatch(name, stringMatch, useExtendedJwt); metadataMatcher != nil {
    			metadataMatcher.Invert = true
    			out.DynamicMetadata = append(out.DynamicMetadata, metadataMatcher)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    			qpvaluePrefix := qpvalue.GetPrefix()
    			qpvalueMatch := assignExactOrPrefix(qpvalueExact, qpvaluePrefix)
    			QPMap[qpkey] = qpvalueMatch
    		}
    
    		// set WithoutHeaders
    		noHeaderMap := make(map[string]string)
    		for nhkey, nhvalue := range match.WithoutHeaders {
    			nhvalueExact := nhvalue.GetExact()
    			nhvaluePrefix := nhvalue.GetPrefix()
    			nhvalueMatch := assignExactOrPrefix(nhvalueExact, nhvaluePrefix)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                    type: string
                                type: object
                              withoutHeaders:
                                additionalProperties:
                                  oneOf:
                                  - not:
                                      anyOf:
                                      - required:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  9. manifests/charts/base/crds/crd-all.gen.yaml

                                    type: string
                                type: object
                              withoutHeaders:
                                additionalProperties:
                                  oneOf:
                                  - not:
                                      anyOf:
                                      - required:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top