mistralclient.commands.v2.actions module

mistralclient.commands.v2.actions module

class mistralclient.commands.v2.actions.ActionFormatter

Bases: mistralclient.commands.v2.base.MistralFormatter

COLUMNS = [('id', 'ID'), ('name', 'Name'), ('is_system', 'Is system'), ('input', 'Input'), ('description', 'Description'), ('tags', 'Tags'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
static format(action=None, lister=False)
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 = <Logger mistralclient.commands.v2.actions.Create (WARNING)>
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 = <Logger mistralclient.commands.v2.actions.Delete (WARNING)>
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 = <Logger mistralclient.commands.v2.actions.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.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 = <Logger mistralclient.commands.v2.actions.GetDefinition (WARNING)>
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 = <Logger mistralclient.commands.v2.actions.List (WARNING)>
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 = <Logger mistralclient.commands.v2.actions.Update (WARNING)>
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 = <Logger mistralclient.commands.v2.actions.Validate (WARNING)>
take_action(parsed_args)

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

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.