Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allowValue (0.24 sec)

  1. tests/integration/security/authz_test.go

    		ConditionallyTo(echotest.NoSelfCalls)
    }
    
    type allowValue bool
    
    func (v allowValue) Bool() bool {
    	return bool(v)
    }
    
    func (v allowValue) String() string {
    	if v {
    		return "allow"
    	}
    	return "deny"
    }
    
    type authzTest struct {
    	from   echo.Instance
    	opts   echo.CallOptions
    	allow  allowValue
    	prefix string
    }
    
    func newAuthzTest() *authzTest {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. tests/integration/security/pass_through_filter_chain_test.go

    										ServicePort: p.WorkloadPort,
    									},
    									Count: echo.DefaultCallsPerWorkload() * to.WorkloadsOrFail(t).Len(),
    								}
    
    								allow := allowValue(expect.mtlsSucceeds)
    								if from.Config().IsNaked() {
    									allow = allowValue(expect.plaintextSucceeds)
    								}
    
    								if allow {
    									opts.Check = check.OK()
    								} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/encoding/gob/decode.go

    		error_(dec.err)
    	}
    	// Byte count of value is next; we don't care what it is (it's there
    	// in case we want to ignore the value by skipping it completely).
    	state.decodeUint()
    	// Read the concrete value.
    	v := allocValue(typ)
    	dec.decodeValue(concreteId, v)
    	if dec.err != nil {
    		error_(dec.err)
    	}
    	// Assign the concrete value to the interface.
    	// Tread carefully; it might not satisfy the interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
Back to top