mistralclient.commands.v2.event_triggers.
Create
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.ShowOne
Create new trigger.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.event_triggers.Create (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
mistralclient.commands.v2.event_triggers.
Delete
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.Command
Delete trigger.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.event_triggers.Delete (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
mistralclient.commands.v2.event_triggers.
EventTriggerFormatter
¶Bases: mistralclient.commands.v2.base.MistralFormatter
COLUMNS
= [('id', 'ID'), ('name', 'Name'), ('workflow_id', 'Workflow ID'), ('workflow_params', 'Params'), ('exchange', 'Exchange'), ('topic', 'Topic'), ('event', 'Event'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]¶format
(trigger=None, lister=False)¶mistralclient.commands.v2.event_triggers.
Get
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.ShowOne
Show specific event trigger.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.event_triggers.Get (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
mistralclient.commands.v2.event_triggers.
List
(app, app_args, cmd_name=None)¶Bases: mistralclient.commands.v2.base.MistralLister
List all event triggers.
log
= <Logger mistralclient.commands.v2.event_triggers.List (WARNING)>¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.