Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetAPIGroup (0.13 sec)

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

    	}
    	if a.GetVerb() != f.verb {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised verb '%s'", a.GetVerb()), nil
    	}
    	if a.GetAPIGroup() != "certificates.k8s.io" {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised groupName '%s'", a.GetAPIGroup()), nil
    	}
    	if a.GetAPIVersion() != "*" {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised apiVersion '%s'", a.GetAPIVersion()), nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. plugin/pkg/admission/gc/gc_admission_test.go

    		if a.GetVerb() == "delete" {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		if a.GetVerb() == "update" && a.GetSubresource() == "finalizers" {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		if a.GetAPIGroup() == "*" && a.GetResource() == "*" { // this user does not have full rights
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		return authorizer.DecisionAllow, "", nil
    	}
    
    	if username == "non-pod-deleter" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top