Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BuildHTTP (0.12 sec)

  1. pilot/pkg/networking/plugin/authz/authorization.go

    	return b.tcpFilters
    }
    
    func (b *Builder) BuildHTTP(class networking.ListenerClass) []*hcm.HttpFilter {
    	if b == nil || b.builder == nil {
    		return nil
    	}
    	if class == networking.ListenerClassSidecarOutbound {
    		// Only applies to inbound and gateways
    		return nil
    	}
    	if b.httpBuilt {
    		return b.httpFilters
    	}
    	b.httpBuilt = true
    	b.httpFilters = b.builder.BuildHTTP()
    
    	return b.httpFilters
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/fuzz_test.go

    		option := fuzz.Struct[Option](fg)
    		b := New(bundle, push, policies, option)
    		if b == nil {
    			fg.T().Skip()
    			return // To help linter
    		}
    		b.BuildHTTP()
    	})
    }
    
    func FuzzBuildTCP(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		bundle := fuzz.Struct[trustdomain.Bundle](fg)
    		push := fuzz.Struct[*model.PushContext](fg, validatePush)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. pkg/fuzz/README.md

        // In other tests, explicit assertions may be helpful.
        policies := push.AuthzPolicies.ListAuthorizationPolicies(selectionOpts)
        New(bundle, push, policies, option).BuildHTTP()
      })
    }
    ```
    
    ## Running tests
    
    Fuzz tests can be run using standard Go tooling:
    
    ```shell
    go test ./path/to/pkg -v -run=^$ -fuzz=Fuzz
    ```
    
    ## CI testing
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 21:25:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/plugin/authn/authentication.go

    		resp = append(resp, b.applier.InboundMTLSSettings(port, b.proxy, b.trustDomains, authn.NoOverride))
    	}
    	return resp
    }
    
    func (b *Builder) BuildHTTP(class networking.ListenerClass) []*hcm.HttpFilter {
    	if b == nil {
    		return nil
    	}
    	if class == networking.ListenerClassSidecarOutbound {
    		// Only applies to inbound and gateways
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top