my-author-experiment.pl untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use strict;
3 use lib qw(./lib);
4 use Net::Kubernetes;
5 require Net::Kunbernetes::Exception::NotFound;
6 use Data::Dumper;
7 use syntax 'try';
8  
9 my $kube = Net::Kubernetes->new(url=>'http://10.255.67.223:8080', api_version=>'v1beta3');
10  
11 print Dumper($kube->list_nodes()->[1]->get_pods())."\n";
12  
13 my $ns = $kube->get_namespace('default');
14  
15 #my ($rc) = $ns->list_rc(labels=>{'name'=>'doppler-storage-pod-v1'});
16  
17 #print $rc->scale(2)."\n";
18  
19 #print Dumper($kube->list_service_accounts)."\n";
20  
21 # my $sec = $ns->build_secret('testing', { 'sshpubkeypub' => '/home/dave/.ssh/id_rsa.pub', 'otherthingjson' => {type=>'JSON', value=>{text=>'Ha Ha'}} });