| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package OpenSearch::Index::GetAliases; |
|
2
|
4
|
|
|
4
|
|
93
|
use strict; |
|
|
4
|
|
|
|
|
11
|
|
|
|
4
|
|
|
|
|
189
|
|
|
3
|
4
|
|
|
4
|
|
26
|
use warnings; |
|
|
4
|
|
|
|
|
10
|
|
|
|
4
|
|
|
|
|
270
|
|
|
4
|
4
|
|
|
4
|
|
28
|
use Moo; |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
33
|
|
|
5
|
4
|
|
|
4
|
|
2022
|
use Types::Standard qw(InstanceOf); |
|
|
4
|
|
|
|
|
10
|
|
|
|
4
|
|
|
|
|
44
|
|
|
6
|
4
|
|
|
4
|
|
7405
|
use feature qw(signatures); |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
721
|
|
|
7
|
4
|
|
|
4
|
|
29
|
no warnings qw(experimental::signatures); |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
840
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#with 'OpenSearch::Parameters::Index::GetAliases'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has '_base' => ( |
|
12
|
|
|
|
|
|
|
is => 'rw', |
|
13
|
|
|
|
|
|
|
isa => InstanceOf['OpenSearch::Base'], |
|
14
|
|
|
|
|
|
|
required => 1, |
|
15
|
|
|
|
|
|
|
); |
|
16
|
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
0
|
|
sub execute($self) { |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
my $res = $self->_base->_get( $self, ['_aliases'] ); |
|
19
|
|
|
|
|
|
|
} |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# TODO: remove this when parameter package is done |
|
22
|
|
|
|
|
|
|
sub api_spec { |
|
23
|
0
|
|
|
0
|
0
|
|
+{}; |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |