Vault/Secret/SSH.pm

filter: Statementstmt 76.9% 10 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 76.4% 13 / 17 CC 1 SCAR 2.9
CC
1
Cov
77%
roles
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Vault/Sys.pm ↑ Summary Vault/Secret/Cassandra.pm »
1 #!perl
2 # vim: softtabstop=4 tabstop=4 shiftwidth=4 ft=perl expandtab smarttab
3 # ABSTRACT: Perl API for HashiCorp's Vault (Secret)
4  
5 # See also https://github.com/hashicorp/vault-ruby
6 # And https://github.com/ianunruh/hvac
7 # And https://www.vaultproject.io/api/index.html
8  
9 package WebService::HashiCorp::Vault::Secret::SSH;
10  
11 4 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 our $VERSION = '0.04'; # VERSION
13 4 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 4 extends 'WebService::HashiCorp::Vault::Base';
16  
17 4 has '+mount' => ( is => 'ro', default => 'ssh' );
18  
19  
20 0 ▶sub roles {
Subroutine roles: not called CC=1 SCAR=6.9
Pod documented
21 0 my $self = shift;
22 0 warn $self->_mkuri( 'roles' );
23 0 return $self->list( $self->_mkuri( 'roles' ));
24 }
25  
26  
27  
28 4 1;
29  
30 __END__
« Vault/Sys.pm ↑ Summary Vault/Secret/Cassandra.pm »