Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for rewrite (0.28 sec)

  1. src/cmd/gofmt/testdata/rewrite6.golden

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	Fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    	fun(x...) // -r='fun(x)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  2. src/cmd/gofmt/testdata/rewrite6.input

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    	fun(x...) // -r='fun(x)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  3. src/cmd/gofmt/testdata/rewrite7.input

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x...)->Fun(x)' should not rewrite this
    	fun(x...) // -r='fun(x...)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 472 bytes
    - Viewed (0)
  4. tests/integration/pilot/tcp_probe_test.go

    				name     string
    				rewrite  bool
    				success  bool
    				openPort bool
    			}{
    				{name: "norewrite-success", rewrite: false, success: true, openPort: false},
    				{name: "rewrite-success", rewrite: true, success: true, openPort: true},
    			} {
    				t.NewSubTest(testCase.name).Run(func(t framework.TestContext) {
    					runTCPProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.success, testCase.openPort)
    				})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/gofmt/testdata/rewrite7.golden

    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x) // -r='fun(x...)->Fun(x)' should not rewrite this
    	Fun(x) // -r='fun(x...)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 466 bytes
    - Viewed (0)
  6. tests/integration/security/mtls_healthcheck_test.go

    				name    string
    				rewrite bool
    			}{
    				{name: "rewrite-success", rewrite: true},
    			} {
    				t.NewSubTest(testCase.name).Run(func(t framework.TestContext) {
    					runHealthCheckDeployment(t, ns, testCase.name, testCase.rewrite)
    				})
    			}
    		})
    }
    
    func runHealthCheckDeployment(ctx framework.TestContext, ns namespace.Instance, //nolint:interfacer
    	name string, rewrite bool,
    ) {
    	ctx.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/grpc_probe_test.go

    			for _, testCase := range []struct {
    				name     string
    				rewrite  bool
    				ready    bool
    				openPort bool
    			}{
    				{name: "rewrite-ready", rewrite: true, ready: true, openPort: true},
    			} {
    				t.NewSubTest(testCase.name).Run(func(t framework.TestContext) {
    					runGRPCProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.ready, testCase.openPort)
    				})
    			}
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/testdata/http.yaml.golden

      - match:
        - uri:
            prefix: /prefix-to-be-removed
        name: default.rewrite.1
        rewrite:
          uri: /
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
      - match:
        - uri:
            prefix: /prefix-original
        name: default.rewrite.0
        rewrite:
          authority: new.example.com
          uri: /replacement
        route:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. pkg/config/validation/virtualservice.go

    	}
    
    	return
    }
    
    // validateAuthorityRewrite ensures we only attempt rewrite authority in a single place.
    func validateAuthorityRewrite(rewrite *networking.HTTPRewrite, headers *networking.Headers) error {
    	current := rewrite.GetAuthority()
    	for k, v := range headers.GetRequest().GetSet() {
    		if !isAuthorityHeader(k) {
    			continue
    		}
    		if current != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect-rewrite/httproute-rewritepath.yaml

    #$ Used in:
    #$ - site-src/api-types/httproute.md
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http-filter-rewrite
    spec:
      hostnames:
        - rewrite.example
      rules:
        - filters:
            - type: URLRewrite
              urlRewrite:
                hostname: elsewhere.example
                path:
                  type: ReplacePrefixMatch
                  replacePrefixMatch: /fennel
          backendRefs:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 488 bytes
    - Viewed (0)
Back to top