| blib/lib/IO/K8s/Api/Core/V1/SecretProjection.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::SecretProjection; | ||||||
| 2 | # ABSTRACT: Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 1 | 1 | 1176 | use IO::K8s::Resource; | |||
| 1 | 3 | ||||||
| 1 | 10 | ||||||
| 5 | |||||||
| 6 | k8s items => ['Core::V1::KeyToPath']; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s name => Str; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | k8s optional => Bool; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 | |||||||
| 17 | __END__ |