mistralclient.commands.v2.workbooks module¶
- class mistralclient.commands.v2.workbooks.Create(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.ShowOne
Create new workbook.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.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.workbooks.Delete(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.Command
Delete workbook.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.Delete (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class mistralclient.commands.v2.workbooks.Get(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.ShowOne
Show specific workbook.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.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.workbooks.GetDefinition(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.Command
Show workbook definition.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.GetDefinition (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class mistralclient.commands.v2.workbooks.List(app, app_args, cmd_name=None)¶
Bases:
mistralclient.commands.v2.base.MistralLister
List all workbooks.
- log = <Logger mistralclient.commands.v2.workbooks.List (WARNING)>¶
- class mistralclient.commands.v2.workbooks.Update(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.ShowOne
Update workbook.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.Update (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.workbooks.Validate(app, app_args, cmd_name=None)¶
Bases:
osc_lib.command.command.ShowOne
Validate workbook.
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger mistralclient.commands.v2.workbooks.Validate (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.workbooks.WorkbookFormatter¶
Bases:
mistralclient.commands.v2.base.MistralFormatter
- COLUMNS = [('name', 'Name'), ('namespace', 'Namespace'), ('tags', 'Tags'), ('scope', 'Scope'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]¶
- static format(workbook=None, lister=False)¶