mistralclient.commands.v2.executions.
Create
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.ShowOne
Create new execution.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.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.executions.
Delete
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.Command
Delete execution.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.Delete (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
mistralclient.commands.v2.executions.
ExecutionFormatter
¶Bases: mistralclient.commands.v2.base.MistralFormatter
COLUMNS
= [('id', 'ID'), ('workflow_id', 'Workflow ID'), ('workflow_name', 'Workflow name'), ('workflow_namespace', 'Workflow namespace'), ('description', 'Description'), ('task_execution_id', 'Task Execution ID'), ('root_execution_id', 'Root Execution ID'), ('state', 'State'), ('state_info', 'State info'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]¶format
(execution=None, lister=False)¶mistralclient.commands.v2.executions.
Get
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.ShowOne
Show specific execution.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.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.executions.
GetInput
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.Command
Show execution input data.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.GetInput (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
mistralclient.commands.v2.executions.
GetOutput
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.Command
Show execution output data.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.GetOutput (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
mistralclient.commands.v2.executions.
GetReport
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.Command
Print execution report.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.GetReport (WARNING)>¶print_action_execution_entry
(a_ex, level)¶print_line
(line, level=0)¶print_report
(report_json)¶print_statistics
(stat)¶print_task_execution_entry
(t_ex, level)¶print_workflow_execution_entry
(wf_ex, level)¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
mistralclient.commands.v2.executions.
List
(app, app_args, cmd_name=None)¶Bases: mistralclient.commands.v2.base.MistralExecutionLister
List all executions.
get_parser
(parsed_args)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.List (WARNING)>¶mistralclient.commands.v2.executions.
Update
(app, app_args, cmd_name=None)¶Bases: osc_lib.command.command.ShowOne
Update execution.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <Logger mistralclient.commands.v2.executions.Update (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.