File Coverage

blib/lib/IO/K8s/Api/Authorization/V1/LocalSubjectAccessReview.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Authorization::V1::LocalSubjectAccessReview;
2             # ABSTRACT: LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.
3             our $VERSION = '1.009';
4 1     1   1182 use IO::K8s::APIObject;
  1         3  
  1         11  
5             with 'IO::K8s::Role::Namespaced';
6              
7              
8             k8s spec => 'Authorization::V1::SubjectAccessReviewSpec', 'required';
9              
10              
11             k8s status => 'Authorization::V1::SubjectAccessReviewStatus';
12              
13             1;
14              
15             __END__