| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Cloud::Base; |
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
14
|
use v5.12.5; |
|
|
1
|
|
|
|
|
3
|
|
|
8
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
38
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.2.3'; # TRIAL VERSION |
|
11
|
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
5
|
use Rex::Logger; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
16
|
|
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub new { |
|
15
|
0
|
|
|
0
|
0
|
|
my $that = shift; |
|
16
|
0
|
|
0
|
|
|
|
my $proto = ref($that) || $that; |
|
17
|
0
|
|
|
|
|
|
my $self = {@_}; |
|
18
|
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
bless( $self, $proto ); |
|
20
|
|
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
return $self; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
0
|
|
sub set_auth { Rex::Logger::debug("Not implemented"); } |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub set_endpoint { |
|
27
|
0
|
|
|
0
|
0
|
|
my ( $self, $endpoint ) = @_; |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# only set endpoint if defined |
|
30
|
0
|
0
|
|
|
|
|
if ( defined $endpoint ) { |
|
31
|
0
|
|
|
|
|
|
$self->{__endpoint} = $endpoint; |
|
32
|
|
|
|
|
|
|
} |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
|
|
35
|
0
|
|
|
0
|
0
|
|
sub list_plans { Rex::Logger::debug("Not implemented"); } |
|
36
|
0
|
|
|
0
|
0
|
|
sub list_operating_systems { Rex::Logger::debug("Not implemented"); } |
|
37
|
|
|
|
|
|
|
|
|
38
|
0
|
|
|
0
|
0
|
|
sub run_instance { Rex::Logger::debug("Not implemented"); } |
|
39
|
0
|
|
|
0
|
0
|
|
sub terminate_instance { Rex::Logger::debug("Not implemented"); } |
|
40
|
0
|
|
|
0
|
0
|
|
sub start_instance { Rex::Logger::debug("Not implemented"); } |
|
41
|
0
|
|
|
0
|
0
|
|
sub stop_instance { Rex::Logger::debug("Not implemented"); } |
|
42
|
0
|
|
|
0
|
0
|
|
sub list_instances { Rex::Logger::debug("Not implemented"); } |
|
43
|
0
|
|
|
0
|
0
|
|
sub list_running_instances { Rex::Logger::debug("Not implemented"); } |
|
44
|
|
|
|
|
|
|
|
|
45
|
0
|
|
|
0
|
0
|
|
sub create_volume { Rex::Logger::debug("Not implemented"); } |
|
46
|
0
|
|
|
0
|
0
|
|
sub attach_volume { Rex::Logger::debug("Not implemented"); } |
|
47
|
0
|
|
|
0
|
0
|
|
sub detach_volume { Rex::Logger::debug("Not implemented"); } |
|
48
|
0
|
|
|
0
|
0
|
|
sub delete_volume { Rex::Logger::debug("Not implemented"); } |
|
49
|
0
|
|
|
0
|
0
|
|
sub list_volumes { Rex::Logger::debug("Not implemented"); } |
|
50
|
0
|
|
|
0
|
0
|
|
sub list_images { Rex::Logger::debug("Not implemented"); } |
|
51
|
|
|
|
|
|
|
|
|
52
|
0
|
|
|
0
|
0
|
|
sub add_tag { Rex::Logger::debug("Not implemented"); } |
|
53
|
|
|
|
|
|
|
|
|
54
|
0
|
|
|
0
|
0
|
|
sub get_regions { Rex::Logger::debug("Not implemented"); } |
|
55
|
0
|
|
|
0
|
0
|
|
sub get_availability_zones { Rex::Logger::debug("Not implemented"); } |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; |