mistralclient.commands.v2.workflows module

mistralclient.commands.v2.workflows module

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

Bases: mistralclient.commands.v2.base.MistralLister

Create new workflow.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.workflows.Create (WARNING)>
class mistralclient.commands.v2.workflows.Delete(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Delete workflow.

get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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

Bases: cliff.show.ShowOne

Show specific workflow.

get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

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

class mistralclient.commands.v2.workflows.GetDefinition(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Show workflow definition.

get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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

Bases: mistralclient.commands.v2.base.MistralLister

List all workflows.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.workflows.List (WARNING)>
class mistralclient.commands.v2.workflows.Update(app, app_args, cmd_name=None)

Bases: mistralclient.commands.v2.base.MistralLister

Update workflow.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.workflows.Update (WARNING)>
class mistralclient.commands.v2.workflows.Validate(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Validate workflow.

get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

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

class mistralclient.commands.v2.workflows.WorkflowFormatter

Bases: mistralclient.commands.v2.base.MistralFormatter

COLUMNS = [('id', 'ID'), ('name', 'Name'), ('namespace', 'Namespace'), ('project_id', 'Project ID'), ('tags', 'Tags'), ('input', 'Input'), ('scope', 'Scope'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
static format(workflow=None, lister=False)
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.