File Coverage

blib/lib/IO/K8s/Api/Events/V1/Event.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::Events::V1::Event;
2             # ABSTRACT: Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
3             our $VERSION = '1.008';
4 1     1   1238 use IO::K8s::APIObject;
  1         2  
  1         9  
5             with 'IO::K8s::Role::Namespaced';
6              
7              
8             k8s action => Str;
9              
10              
11             k8s deprecatedCount => Int;
12              
13              
14             k8s deprecatedFirstTimestamp => Time;
15              
16              
17             k8s deprecatedLastTimestamp => Time;
18              
19              
20             k8s deprecatedSource => 'Core::V1::EventSource';
21              
22              
23             k8s eventTime => Time, 'required';
24              
25              
26             k8s note => Str;
27              
28              
29             k8s reason => Str;
30              
31              
32             k8s regarding => 'Core::V1::ObjectReference';
33              
34              
35             k8s related => 'Core::V1::ObjectReference';
36              
37              
38             k8s reportingController => Str;
39              
40              
41             k8s reportingInstance => Str;
42              
43              
44             k8s series => 'Events::V1::EventSeries';
45              
46              
47             k8s type => Str;
48              
49             1;
50              
51             __END__