# watcherclient.v1.goal_shell module

class watcherclient.v1.goal_shell.ListGoal(app, app_args, cmd_name=None)

  Bases: `Lister`

  List information on retrieved goals.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger watcherclient.v1.goal_shell.ListGoal (WARNING)>
  take_action(parsed_args)

    Run command.

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

class watcherclient.v1.goal_shell.ShowGoal(app, app_args, cmd_name=None)

  Bases: `ShowOne`

  Show detailed information about a given goal.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger watcherclient.v1.goal_shell.ShowGoal (WARNING)>
  take_action(parsed_args)

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

this page last updated: 2024-03-11 13:17:19

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

found an error? report a bug