File Coverage

blib/lib/IO/K8s/Api/Core/V1/LifecycleHandler.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::LifecycleHandler;
2             # ABSTRACT: LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
3             our $VERSION = '1.008';
4 2     2   2694 use IO::K8s::Resource;
  2         6  
  2         26  
5              
6             k8s exec => 'Core::V1::ExecAction';
7              
8              
9             k8s httpGet => 'Core::V1::HTTPGetAction';
10              
11              
12             k8s sleep => 'Core::V1::SleepAction';
13              
14              
15             k8s tcpSocket => 'Core::V1::TCPSocketAction';
16              
17              
18             1;
19              
20             __END__