Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkHTTP (0.27 sec)

  1. pkg/test/framework/components/authz/provider.go

    	return func(i echo.Instance) bool {
    		return p.IsTargetSupported(i)
    	}
    }
    
    func (p *providerImpl) Check(opts echo.CallOptions, expectAllowed bool) echo.Checker {
    	return p.check(opts, expectAllowed)
    }
    
    func checkHTTP(opts echo.CallOptions, expectAllowed bool) echo.Checker {
    	override := opts.HTTP.Headers.Get(XExtAuthzAdditionalHeaderOverride)
    	var hType echoClient.HeaderType
    	if expectAllowed {
    		hType = echoClient.RequestHeader
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 23 16:02:21 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/authz/kubelocal.go

    				// HTTP protocol doesn't support raw TCP requests.
    				return !p.IsTCP()
    			},
    			targetSupported: func(to echo.Target) bool {
    				return to.Config().IncludeExtAuthz
    			},
    			check: checkHTTP,
    		},
    		&providerImpl{
    			name: server.grpcName(),
    			api:  GRPC,
    			protocolSupported: func(protocol.Instance) bool {
    				return true
    			},
    			targetSupported: func(to echo.Target) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/authz/kube.go

    					// HTTP protocol doesn't support raw TCP requests.
    					return !p.IsTCP()
    				},
    				targetSupported: func(echo.Target) bool {
    					return true
    				},
    				check: checkHTTP,
    			},
    			&providerImpl{
    				name: grpcName,
    				api:  GRPC,
    				protocolSupported: func(protocol.Instance) bool {
    					return true
    				},
    				targetSupported: func(echo.Target) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top