| 1 | package Net::Kubernetes::Resource::Event; | ||
| 2 | # ABSTRACT: Object representatioon of a Kubernetes event | ||
| 3 | 4 | $Net::Kubernetes::Resource::Event::VERSION = '1.03'; | |
| 4 | 4 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 4 | extends 'Net::Kubernetes::Resource'; | |
| 7 | |||
| 8 | 4 | has reason => ( | |
| 9 | is => 'ro', | ||
| 10 | isa => 'Str', | ||
| 11 | required => 0 | ||
| 12 | ); | ||
| 13 | |||
| 14 | 4 | has message => ( | |
| 15 | is => 'ro', | ||
| 16 | isa => 'Str', | ||
| 17 | required => 0 | ||
| 18 | ); | ||
| 19 | |||
| 20 | 4 | has firstTimestamp => ( | |
| 21 | is => 'ro', | ||
| 22 | isa => 'Str', | ||
| 23 | required => 0 | ||
| 24 | ); | ||
| 25 | |||
| 26 | 4 | has lastTimestamp => ( | |
| 27 | is => 'ro', | ||
| 28 | isa => 'Str', | ||
| 29 | required => 0 | ||
| 30 | ); | ||
| 31 | |||
| 32 | 4 | has count => ( | |
| 33 | is => 'ro', | ||
| 34 | isa => 'Int', | ||
| 35 | required => 0 | ||
| 36 | ); | ||
| 37 | |||
| 38 | 4 | has source => ( | |
| 39 | is => 'ro', | ||
| 40 | isa => 'HashRef', | ||
| 41 | required => 0 | ||
| 42 | ); | ||
| 43 | |||
| 44 | |||
| 45 | 4 | has involvedObject => ( | |
| 46 | is => 'ro', | ||
| 47 | isa => 'HashRef', | ||
| 48 | required => 0 | ||
| 49 | ); | ||
| 50 | |||
| 51 | 4 | return 42; | |
| 52 | |||
| 53 | __END__ | ||