blib/lib/Kubernetes/REST/Apps.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Kubernetes::REST::Apps;
2 our $VERSION = '1.109';
3 # ABSTRACT: Compatibility helper for deprecated v0 Apps calls
4 use Moo;
5 extends 'Kubernetes::REST::V0Group';
6 has '+group' => (default => sub { 'Apps' });
7  
8  
9 1;
10  
11 __END__
12  
13 =pod
14  
15 =encoding UTF-8
16  
17 =head1 NAME
18  
19 Kubernetes::REST::Apps - Compatibility helper for deprecated v0 Apps calls
20  
21 =head1 VERSION
22  
23 version 1.109
24  
25 =head1 SYNOPSIS
26  
27 # Old way (deprecated):
28 my $deploys = $api->Apps->ListNamespacedDeployment(namespace => 'default');
29  
30 # New way:
31 my $deploys = $api->list('Deployment', namespace => 'default');
32  
33 =head1 DESCRIPTION
34  
35 This module keeps the deprecated v0 API usable. Kubernetes::REST 0.01/0.02 (by JLMARTIN) used method names like C<< $api->Apps->ListNamespacedDeployment(...) >>; calls like that still reach the cluster from here, translated onto the v1 API.
36  
37 The new v1 API uses simple methods directly on the main L<Kubernetes::REST> object:
38  
39 $api->list('Deployment', ...)
40 $api->get('Deployment', 'name', ...)
41 $api->create($deployment)
42  
43 See L<Kubernetes::REST/"UPGRADING FROM 0.02"> for migration guide.
44  
45 =head1 SEE ALSO
46  
47 =over
48  
49 =item * L<Kubernetes::REST> - Main module with v1 API
50  
51 =item * L<Kubernetes::REST::V0Group> - Base class for v0 compatibility layer
52  
53 =back
54  
55 =head1 SUPPORT
56  
57 =head2 Issues
58  
59 Please report bugs and feature requests on GitHub at
60 L<https://github.com/pplu/kubernetes-rest/issues>.
61  
62 =head2 IRC
63  
64 Join C<#kubernetes> on C<irc.perl.org> or message Getty directly.
65  
66 =head1 CONTRIBUTING
67  
68 Contributions are welcome! Please fork the repository and submit a pull request.
69  
70 =head1 AUTHORS
71  
72 =over 4
73  
74 =item *
75  
76 Torsten Raudssus <getty@cpan.org>
77  
78 =item *
79  
80 Jose Luis Martinez Torres <jlmartin@cpan.org>
81  
82 =back
83  
84 =head1 COPYRIGHT AND LICENSE
85  
86 This software is Copyright (c) 2019-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.
87  
88 This is free software, licensed under:
89  
90 The Apache License, Version 2.0, January 2004
91  
92 =cut