Kubernetes.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« K8s/Permissions.pm ↑ Summary
1 package MCP::Kubernetes;
2 # ABSTRACT: MCP Server for Kubernetes (alias for MCP::K8s)
3 2 our $VERSION = '0.003';
4 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 extends 'MCP::K8s';
7  
8 2 1;
9  
10 __END__
11  
12 =pod
13  
14 =encoding UTF-8
15  
16 =head1 NAME
17  
18 MCP::Kubernetes - MCP Server for Kubernetes (alias for MCP::K8s)
19  
20 =head1 VERSION
21  
22 version 0.003
23  
24 =head1 SYNOPSIS
25  
26 use MCP::Kubernetes;
27 MCP::Kubernetes->run_stdio;
28  
29 # Exactly equivalent to:
30 use MCP::K8s;
31 MCP::K8s->run_stdio;
32  
33 # Full OOP usage works identically:
34 my $k8s = MCP::Kubernetes->new(
35 namespaces => ['default', 'production'],
36 );
37 $k8s->to_stdio;
38  
39 =head1 DESCRIPTION
40  
41 MCP::Kubernetes is L<MCP::K8s>. It's a subclass with no additions — a
42 longer, more discoverable name on CPAN for the same module.
43  
44 Every attribute, method, and tool from L<MCP::K8s> works exactly the same:
45  
46 MCP::Kubernetes->new(...) # same as MCP::K8s->new(...)
47 MCP::Kubernetes->run_stdio # same as MCP::K8s->run_stdio
48 $obj->isa('MCP::K8s') # true
49 $obj->isa('MCP::Server') # true — MCP::K8s inherits from MCP::Server
50  
51 If you're looking for the Kubernetes MCP Server for AI assistants, see
52 L<MCP::K8s> for the full documentation.
53  
54 =head1 SEE ALSO
55  
56 L<MCP::K8s> — Full documentation lives here
57  
58 L<Kubernetes::REST> — Kubernetes API client
59  
60 L<IO::K8s> — Kubernetes resource objects
61  
62 =head1 SUPPORT
63  
64 =head2 Issues
65  
66 Please report bugs and feature requests on GitHub at
67 L<https://github.com/Getty/p5-mcp-k8s/issues>.
68  
69 =head1 CONTRIBUTING
70  
71 Contributions are welcome! Please fork the repository and submit a pull request.
72  
73 =head1 AUTHOR
74  
75 Torsten Raudssus <torsten@raudssus.de>
76  
77 =head1 COPYRIGHT AND LICENSE
78  
79 This software is copyright (c) 2026 by Torsten Raudssus.
80  
81 This is free software; you can redistribute it and/or modify it under
82 the same terms as the Perl 5 programming language system itself.
83  
84 =cut
« K8s/Permissions.pm ↑ Summary