congressclient.osc.v1.datasource module

congressclient.osc.v1.datasource module

Datasource action implemenations

class congressclient.osc.v1.datasource.CreateDatasource(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Create a datasource.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.DatasourceRequestRefresh(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Trigger a datasource to poll.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class congressclient.osc.v1.datasource.DeleteDatasource(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Delete a datasource.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class congressclient.osc.v1.datasource.ListDatasourceRows(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List datasource rows.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ListDatasourceTables(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List datasource tables.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ListDatasources(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List Datasources.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ShowDatasourceActions(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List supported actions for datasource.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ShowDatasourceSchema(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

Show schema for datasource.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ShowDatasourceStatus(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

List status for datasource.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ShowDatasourceTable(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Show Datasource Table properties.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.ShowDatasourceTableSchema(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

Show schema for datasource table.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

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

class congressclient.osc.v1.datasource.UpdateDatasourceRow(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Update rows to a datasource table.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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.