File Coverage

blib/lib/IO/K8s/Api/Rbac/V1/RoleBinding.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::Rbac::V1::RoleBinding;
2             # ABSTRACT: RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
3             our $VERSION = '1.008';
4 3     3   3565 use IO::K8s::APIObject;
  3         7  
  3         33  
5             with 'IO::K8s::Role::Namespaced';
6              
7              
8             k8s roleRef => 'Rbac::V1::RoleRef', 'required';
9              
10              
11             k8s subjects => ['Rbac::V1::Subject'];
12              
13             1;
14              
15             __END__