Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectLevel (0.09 sec)

  1. cluster/gce/gci/audit_policy_test.go

    				attrs := &authorizer.AttributesRecord{
    					User:            usr,
    					Verb:            verb,
    					ResourceRequest: false,
    					Path:            path,
    				}
    				t.expectLevel(level, attrs)
    			}
    		}
    	}
    }
    
    func (t *auditTester) expectLevel(expected audit.Level, attrs authorizer.Attributes) {
    	obj := attrs.GetPath()
    	if attrs.IsResourceRequest() {
    		obj = attrs.GetResource()
    		if attrs.GetNamespace() != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
Back to top