troveclient.osc.v1.databases module¶
Database v1 Databases action implementations
-
class
troveclient.osc.v1.databases.
CreateDatabase
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
log
= <Logger troveclient.osc.v1.databases.CreateDatabase (WARNING)>¶
-
take_action
(parsed_args)¶ Override to do something useful.
The returned value will be returned by the program.
-
-
class
troveclient.osc.v1.databases.
DeleteDatabase
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
log
= <Logger troveclient.osc.v1.databases.DeleteDatabase (WARNING)>¶
-
take_action
(parsed_args)¶ Override to do something useful.
The returned value will be returned by the program.
-
-
class
troveclient.osc.v1.databases.
ListDatabases
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
columns
= ['Name']¶
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
log
= <Logger troveclient.osc.v1.databases.ListDatabases (WARNING)>¶
-
take_action
(parsed_args)¶ Return a tuple containing the column names and an iterable containing the data to be listed.
-