| blib/lib/IO/K8s/Api/Networking/V1/IngressClass.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::IngressClass; | ||||||
| 2 | # ABSTRACT: IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 1 | 1 | 1045 | use IO::K8s::APIObject; | |||
| 1 | 2 | ||||||
| 1 | 8 | ||||||
| 5 | |||||||
| 6 | |||||||
| 7 | k8s spec => 'Networking::V1::IngressClassSpec'; | ||||||
| 8 | |||||||
| 9 | 1; | ||||||
| 10 | |||||||
| 11 | __END__ |