Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ruleMatchesNonResource (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    		return ruleMatchesResource(r, attrs)
    	}
    
    	if len(r.NonResourceURLs) > 0 {
    		return ruleMatchesNonResource(r, attrs)
    	}
    
    	return true
    }
    
    // Check whether the rule's non-resource URLs match the request attrs.
    func ruleMatchesNonResource(r *audit.PolicyRule, attrs authorizer.Attributes) bool {
    	if attrs.IsResourceRequest() {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top