The watcherclient.v1.service_shell Module

The watcherclient.v1.service_shell Module

class watcherclient.v1.service_shell.ListService(app, app_args, cmd_name=None)[source]

Bases: watcherclient.common.command.Lister

List information on retrieved services.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger watcherclient.v1.service_shell.ListService (WARNING)>
take_action(parsed_args)[source]

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

class watcherclient.v1.service_shell.ShowService(app, app_args, cmd_name=None)[source]

Bases: watcherclient.common.command.ShowOne

Show detailed information about a given service.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger watcherclient.v1.service_shell.ShowService (WARNING)>
take_action(parsed_args)[source]

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

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.