| blib/lib/IO/K8s/Api/Coordination/V1alpha1/LeaseCandidate.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::Coordination::V1alpha1::LeaseCandidate; | ||||||
| 2 | # ABSTRACT: LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 1 | 1 | 1681 | use IO::K8s::APIObject; | |||
| 1 | 4 | ||||||
| 1 | 16 | ||||||
| 5 | with 'IO::K8s::Role::Namespaced'; | ||||||
| 6 | |||||||
| 7 | |||||||
| 8 | k8s spec => 'Coordination::V1alpha1::LeaseCandidateSpec'; | ||||||
| 9 | |||||||
| 10 | 1; | ||||||
| 11 | |||||||
| 12 | __END__ |