The mistralclient.commands.v2.actions Module

The mistralclient.commands.v2.actions Module

class mistralclient.commands.v2.actions.Create(app, app_args, cmd_name=None)

Bases: mistralclient.commands.v2.base.MistralLister

Create new action.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class mistralclient.commands.v2.actions.Delete(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

Delete action.

get_parser(prog_name)

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.

class mistralclient.commands.v2.actions.Get(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

Show specific action.

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 mistralclient.commands.v2.actions.GetDefinition(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.Command

Show action definition.

get_parser(prog_name)

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.

class mistralclient.commands.v2.actions.List(app, app_args, cmd_name=None)

Bases: mistralclient.commands.v2.base.MistralLister

List all actions.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class mistralclient.commands.v2.actions.Update(app, app_args, cmd_name=None)

Bases: mistralclient.commands.v2.base.MistralLister

Update action.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class mistralclient.commands.v2.actions.Validate(app, app_args, cmd_name=None)

Bases: osc_lib.command.command.ShowOne

Validate action.

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.

mistralclient.commands.v2.actions.format(action=None, lister=False)
mistralclient.commands.v2.actions.format_list(action=None)
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.

python-mistralclient 3.7.1.dev12