CDP/mySQL.pm untested

filter: Statementstmt 0.0% 0 / 54 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 20 Podpod 0.0% 0 / 14 totaltotal 0.0% 0 / 88 CC 1 SCAR 6.9
CC
1
Cov
0%
addLocalMySQLInstance
2.0
addRemoteMySQLInstance
2.0
deleteMySQLInstance
2.0
CRAP 2.0
1 package CDP::mySQL;
2  
3 use Frontier::Client;
4  
5 use strict;
6 use warnings;
7  
8 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, );
9 require Exporter;
10 require DynaLoader;
11 require AutoLoader;
12  
13 @ISA = qw(Exporter DynaLoader AutoLoader);
14 # Items to export into callers namespace by default. Note: do not export
15 # names by default without a very good reason. Use EXPORT_OK instead.
16 # Do not simply export all your public functions/methods/constants.
17 @EXPORT =qw//;
18  
19 @EXPORT_OK =
20 qw/
21 addLocalMySQLInstance
22 addRemoteMySQLInstance
23 deleteMySQLInstance
24 getMySQLInstance
25 getMySQLInstanceIds
26 setCustomInnoDBDataDirectory
27 setCustomInnoDBLogDirectory
28 setCustomMySQLDataDirectory
29 setDescription
30 setMySQLHost
31 setMySQLPass
32 setMySQLPort
33 setMySQLSocketPath
34 setMySQLUser
35 /;
36  
37 %EXPORT_TAGS = (
38 'ALL' => \@EXPORT_OK,
39 'CONST' => [qw//],
40 );
41  
42 Exporter::export_ok_tags(keys %EXPORT_TAGS);
43  
44  
45 sub addLocalMySQLInstance {
46 my $client = shift;
47 $client->call('mySQL.addLocalMySQLInstance',@_);
48 }
49  
50 sub addRemoteMySQLInstance {
51 my $client = shift;
52 $client->call('mySQL.addRemoteMySQLInstance',@_);
53 }
54  
55 sub deleteMySQLInstance {
56 my $client = shift;
57 $client->call('mySQL.deleteMySQLInstance',@_);
58 }
59  
60 sub getMySQLInstance {
61 my $client = shift;
62 $client->call('mySQL.getMySQLInstance',@_);
63 }
64  
65 sub getMySQLInstanceIds {
66 my $client = shift;
67 $client->call('mySQL.getMySQLInstanceIds',@_);
68 }
69  
70 sub setCustomInnoDBDataDirectory {
71 my $client = shift;
72 $client->call('mySQL.setCustomInnoDBDataDirectory',@_);
73 }
74  
75 sub setCustomInnoDBLogDirectory {
76 my $client = shift;
77 $client->call('mySQL.setCustomInnoDBLogDirectory',@_);
78 }
79  
80 sub setCustomMySQLDataDirectory {
81 my $client = shift;
82 $client->call('mySQL.setCustomMySQLDataDirectory',@_);
83 }
84  
85 sub setDescription {
86 my $client = shift;
87 $client->call('mySQL.setDescription',@_);
88 }
89  
90 sub setMySQLHost {
91 my $client = shift;
92 $client->call('mySQL.setMySQLHost',@_);
93 }
94  
95 sub setMySQLPass {
96 my $client = shift;
97 $client->call('mySQL.setMySQLPass',@_);
98 }
99  
100 sub setMySQLPort {
101 my $client = shift;
102 $client->call('mySQL.setMySQLPort',@_);
103 }
104  
105 sub setMySQLSocketPath {
106 my $client = shift;
107 $client->call('mySQL.setMySQLSocketPath',@_);
108 }
109  
110 sub setMySQLUser {
111 my $client = shift;
112 $client->call('mySQL.setMySQLUser',@_);
113 }
114  
115  
116 1;
117 __END__