openstackclient.object.v1 package¶
Submodules¶
openstackclient.object.v1.account module¶
Account v1 action implementations
- class openstackclient.object.v1.account.SetAccount(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.account.SetAccount (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.account.ShowAccount(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- log = <Logger openstackclient.object.v1.account.ShowAccount (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.object.v1.account.UnsetAccount(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.account.UnsetAccount (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
openstackclient.object.v1.container module¶
Container v1 action implementations
- class openstackclient.object.v1.container.CreateContainer(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.CreateContainer (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
- class openstackclient.object.v1.container.DeleteContainer(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.DeleteContainer (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.container.ListContainer(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.ListContainer (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
- class openstackclient.object.v1.container.SaveContainer(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.SaveContainer (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.container.SetContainer(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.SetContainer (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.container.ShowContainer(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.ShowContainer (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.object.v1.container.UnsetContainer(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.container.UnsetContainer (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
openstackclient.object.v1.object module¶
Object v1 action implementations
- class openstackclient.object.v1.object.CreateObject(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.CreateObject (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
- class openstackclient.object.v1.object.DeleteObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.DeleteObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.object.ListObject(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.ListObject (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
- class openstackclient.object.v1.object.SaveObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.SaveObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.object.SetObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.SetObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.object.v1.object.ShowObject(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.ShowObject (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.object.v1.object.UnsetObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.object.v1.object.UnsetObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.