Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEmptyParamRef (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	require.Len(t, passedParams, 0)
    }
    
    // Show that policy still gets evaluated with `nil` param if paramRef & namespaceParamRef
    // are both unset
    func TestEmptyParamRef(t *testing.T) {
    	compiler := &fakeCompiler{}
    	matcher := &fakeMatcher{
    		DefaultMatch: true,
    	}
    
    	testContext := setupFakeTest(t, compiler, matcher)
    
    	datalock := sync.Mutex{}
    	numCompiles := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top