| blib/lib/IO/K8s/Api/Networking/V1/NetworkPolicyPort.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::Networking::V1::NetworkPolicyPort; | ||||||
| 2 | # ABSTRACT: NetworkPolicyPort describes a port to allow traffic on | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 5 | 5 | 5128 | use IO::K8s::Resource; | |||
| 5 | 12 | ||||||
| 5 | 46 | ||||||
| 5 | |||||||
| 6 | k8s endPort => Int; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s port => IntOrStr; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | k8s protocol => Str; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 | |||||||
| 17 | __END__ |