mistralclient.commands.v2.cron_triggers module

mistralclient.commands.v2.cron_triggers module

class mistralclient.commands.v2.cron_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.cron_triggers.Create (WARNING)>
take_action(parsed_args)

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

class mistralclient.commands.v2.cron_triggers.CronTriggerFormatter

Bases: mistralclient.commands.v2.base.MistralFormatter

COLUMNS = [('name', 'Name'), ('workflow_name', 'Workflow'), ('workflow_params', 'Params'), ('pattern', 'Pattern'), ('next_execution_time', 'Next execution time'), ('remaining_executions', 'Remaining executions'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
static format(trigger=None, lister=False)
class mistralclient.commands.v2.cron_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.cron_triggers.Delete (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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

Bases: osc_lib.command.command.ShowOne

Show specific cron trigger.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger mistralclient.commands.v2.cron_triggers.Get (WARNING)>
take_action(parsed_args)

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

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

Bases: mistralclient.commands.v2.base.MistralLister

List all cron triggers.

log = <Logger mistralclient.commands.v2.cron_triggers.List (WARNING)>
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.