| blib/lib/IO/K8s/Api/Rbac/V1/ClusterRoleBinding.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::ClusterRoleBinding; | ||||||
| 2 | # ABSTRACT: ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 3 | 3 | 3282 | use IO::K8s::APIObject; | |||
| 3 | 10 | ||||||
| 3 | 36 | ||||||
| 5 | |||||||
| 6 | |||||||
| 7 | k8s roleRef => 'Rbac::V1::RoleRef', 'required'; | ||||||
| 8 | |||||||
| 9 | |||||||
| 10 | k8s subjects => ['Rbac::V1::Subject']; | ||||||
| 11 | |||||||
| 12 | 1; | ||||||
| 13 | |||||||
| 14 | __END__ |