| blib/lib/IO/K8s/Api/Core/V1/GitRepoVolumeSource.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::GitRepoVolumeSource; | ||||||
| 2 | # ABSTRACT: Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. | ||||||
| 3 | our $VERSION = '1.008'; | ||||||
| 4 | 1 | 1 | 1591 | use IO::K8s::Resource; | |||
| 1 | 4 | ||||||
| 1 | 9 | ||||||
| 5 | |||||||
| 6 | k8s directory => Str; | ||||||
| 7 | |||||||
| 8 | |||||||
| 9 | k8s repository => Str, 'required'; | ||||||
| 10 | |||||||
| 11 | |||||||
| 12 | k8s revision => Str; | ||||||
| 13 | |||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 | |||||||
| 17 | __END__ |