Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validatePush (0.21 sec)

  1. pilot/pkg/security/authz/builder/fuzz_test.go

    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzBuildHTTP(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		bundle := fuzz.Struct[trustdomain.Bundle](fg)
    		push := fuzz.Struct[*model.PushContext](fg, validatePush)
    		node := fuzz.Struct[*model.Proxy](fg)
    		selectionOpts := model.PolicyMatcherForProxy(node)
    		policies := push.AuthzPolicies.ListAuthorizationPolicies(selectionOpts)
    		option := fuzz.Struct[Option](fg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. pkg/fuzz/README.md

      fuzz.Fuzz(f, func(fg fuzz.Helper) {
        // Setup a few structs for testing
        bundle := fuzz.Struct[trustdomain.Bundle](fg)
            // This one has a custom validator
        push := fuzz.Struct[*model.PushContext](fg, validatePush)
            // *model.Proxy, and other types, implement the fuzz.Validator interface and already validate some basics.
        node := fuzz.Struct[*model.Proxy](fg)
        selectionOpts := model.WorkloadSelectionOpts{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 21:25:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top