Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsResourceRequest (0.11 sec)

  1. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    	}
    	if a.GetName() != f.allowedName {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised resource name '%s'", a.GetName()), nil
    	}
    	if !a.IsResourceRequest() {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised IsResourceRequest '%t'", a.IsResourceRequest()), nil
    	}
    	return f.decision, "", nil
    }
    
    type testAttributes struct {
    	resource    schema.GroupResource
    	subresource string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top