blib/lib/Kubernetes/Comb/CRD/CombResource.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
« blib/lib/Kubernetes/Comb/CRD/CombEndpoint.pm ↑ Summary blib/lib/Kubernetes/Comb/CRD/CombStatus.pm »
1 package Kubernetes::Comb::CRD::CombResource;
2 # ABSTRACT: Identity of one Kubernetes object a Comb manages
3 27 our $VERSION = '0.001';
4  
5 27 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 27 k8s apiVersion => Str, { required => 1 };
9  
10  
11 27 k8s kind => Str, { required => 1 };
12  
13  
14 27 k8s namespace => Str;
15  
16  
17 27 k8s name => Str, { required => 1 };
18  
19  
20 27 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 Kubernetes::Comb::CRD::CombResource - Identity of one Kubernetes object a Comb manages
31  
32 =head1 VERSION
33  
34 version 0.001
35  
36 =head1 DESCRIPTION
37  
38 An entry of C<status.managedResources> of a L<Kubernetes::Comb::CRD::Comb>:
39 enough to address an object the Comb deployed. Pruning compares the objects a
40 Comb renders now against this list; whatever is recorded here and no longer
41 rendered is an orphan.
42  
43 =head2 apiVersion
44  
45 Required. C<v1>, C<apps/v1>, ...
46  
47 =head2 kind
48  
49 Required. C<Deployment>, C<Service>, ...
50  
51 =head2 namespace
52  
53 Namespace of the object; absent for cluster-scoped objects.
54  
55 =head2 name
56  
57 Required. Name of the object.
58  
59 =head1 SEE ALSO
60  
61 =over
62  
63 =item * L<Kubernetes::Comb::CRD::CombStatus>
64  
65 =back
66  
67 =head1 SUPPORT
68  
69 =head2 Issues
70  
71 Please report bugs and feature requests on GitHub at
72 L<https://github.com/Getty/p5-kubernetes-comb/issues>.
73  
74 =head2 IRC
75  
76 Join C<#kubernetes> on C<irc.perl.org> or message Getty directly.
77  
78 =head1 CONTRIBUTING
79  
80 Contributions are welcome! Please fork the repository and submit a pull request.
81  
82 =head1 AUTHOR
83  
84 Torsten Raudssus <getty@cpan.org>
85  
86 =head1 COPYRIGHT AND LICENSE
87  
88 This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> L<https://raudssus.de/>.
89  
90 This is free software; you can redistribute it and/or modify it under
91 the same terms as the Perl 5 programming language system itself.
92  
93 =cut
« blib/lib/Kubernetes/Comb/CRD/CombEndpoint.pm ↑ Summary blib/lib/Kubernetes/Comb/CRD/CombStatus.pm »