Subject: | Using Net::Kubernetes |
Date: | Mon, 5 Feb 2018 19:44:43 +0100 |
To: | bug-Net-Kubernetes [...] rt.cpan.org |
From: | Guillermo <guillelbz [...] gmail.com> |
Hello,
Are there any example about the usage of list_endpoints() ?
The following code works perefectly, except the call to list_endpoints():
##########################################################
my $kube = Net::Kubernetes->new(url=>'http://127.0.0.1:8080');
my $pod_list = $kube->list_pods();
print Dumper $pod_list;
my $svc_list = $kube->list_services();
print Dumper $svc_list;
my $ep_list = $kube->list_endpoints();
print Dumper $ep_list;
##########################################################
Do I need to do something explicit with the class
"Net::Kubernetes::Role::ResourceLister"
?
I am using:
OS: Ubuntu 16.04
Net::Kubernetes v1.03
Perl 5.22
Best regards,
Guillermo López.