| blib/lib/IO/K8s/Api/Core/V1/ServicePort.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::Core::V1::ServicePort; | ||||||
| 2 | # ABSTRACT: ServicePort contains information on service's port. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 6 | 6 | 6177 | use IO::K8s::Resource; | |||
| 6 | 16 | ||||||
| 6 | 60 | ||||||
| 5 | |||||||
| 6 | k8s appProtocol => Str; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s name => Str; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | k8s nodePort => Int; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | k8s port => Int, 'required'; | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | k8s protocol => Str; | ||||||
| 19 | |||||||
| 20 | |||||||
| 21 | k8s targetPort => IntOrStr; | ||||||
| 22 | |||||||
| 23 | |||||||
| 24 | 1; | ||||||
| 25 | |||||||
| 26 | __END__ |