Kubernetes/Resource/Service.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Kubernetes/Resource/Role/Spec.pm ↑ Summary Kubernetes/Resource/ServiceAccount.pm »
1 package Net::Kubernetes::Resource::Service;
2 # ABSTRACT: Object representatioon of a Kubernetes Service
3 4 $Net::Kubernetes::Resource::Service::VERSION = '0.19';
4 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6  
7 4 extends 'Net::Kubernetes::Resource';
8  
9 4 with 'Net::Kubernetes::Resource::Role::State';
10 4 with 'Net::Kubernetes::Resource::Role::Spec';
11 4 with 'Net::Kubernetes::Resource::Role::HasPods';
12  
13  
14  
15  
16 4 return 42;
17  
18 __END__
19  
20 =pod
21  
22 =encoding UTF-8
23  
24 =head1 NAME
25  
26 Net::Kubernetes::Resource::Service - Object representatioon of a Kubernetes Service
27  
28 =head1 VERSION
29  
30 version 0.19
31  
32 =head1 METHODS
33  
34 =head2 my(@pods) = $service->get_pods()
35  
36 Fetch a list off all pods belonging to this service.
37  
38 =head1 AUTHOR
39  
40 Dave Mueller <dave@perljedi.com>
41  
42 =head1 COPYRIGHT AND LICENSE
43  
44 This software is Copyright (c) 2015 by Dave Mueller.
45  
46 This is free software, licensed under:
47  
48 The MIT (X11) License
49  
50 =head1 SEE ALSO
51  
52 Please see those modules/websites for more information related to this module.
53  
54 =over 4
55  
56 =item *
57  
58 L<Net::Kubernetes|Net::Kubernetes>
59  
60 =back
61  
62 =head1 CONSUMES
63  
64 =over 4
65  
66 =item * L<Net::Kubernetes::Resource::Role::HasPods>
67  
68 =item * L<Net::Kubernetes::Resource::Role::Spec>
69  
70 =item * L<Net::Kubernetes::Resource::Role::State>
71  
72 =item * L<Net::Kubernetes::Role::APIAccess>
73  
74 =back
75  
76 =cut
« Kubernetes/Resource/Role/Spec.pm ↑ Summary Kubernetes/Resource/ServiceAccount.pm »