troveclient.osc.v1.datastores module

troveclient.osc.v1.datastores module

Database v1 Datastores action implementations

class troveclient.osc.v1.datastores.ListDatastoreVersions(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['ID', 'Name']
get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Return a tuple containing the column names and an iterable containing the data to be listed.

class troveclient.osc.v1.datastores.ListDatastores(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Lister

columns = ['ID', 'Name']
log = <logging.Logger object>
take_action(parsed_args)

Return a tuple containing the column names and an iterable containing the data to be listed.

class troveclient.osc.v1.datastores.ShowDatastore(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class troveclient.osc.v1.datastores.ShowDatastoreVersion(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

troveclient.osc.v1.datastores.set_attributes_for_print_detail(datastore)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.