The designateclient.cli.records
Module¶
-
class
designateclient.cli.records.
CreateRecordCommand
(app, app_args, cmd_name=None)[source]¶ Bases:
designateclient.cli.base.CreateCommand
Create Record
-
execute
(parsed_args)[source]¶ Execute something, this is since we overload self.take_action() in order to format the data
This method __NEEDS__ to be overloaded!
- Parameters
parsed_args – The parsed args that are given by take_action()
-
log
= <Logger designateclient.cli.records.CreateRecordCommand (WARNING)>¶
-
-
class
designateclient.cli.records.
DeleteRecordCommand
(app, app_args, cmd_name=None)[source]¶ Bases:
designateclient.cli.base.DeleteCommand
Delete Record
-
execute
(parsed_args)[source]¶ Execute something, this is since we overload self.take_action() in order to format the data
This method __NEEDS__ to be overloaded!
- Parameters
parsed_args – The parsed args that are given by take_action()
-
log
= <Logger designateclient.cli.records.DeleteRecordCommand (WARNING)>¶
-
-
class
designateclient.cli.records.
GetRecordCommand
(app, app_args, cmd_name=None)[source]¶ Bases:
designateclient.cli.base.GetCommand
Get Record
-
execute
(parsed_args)[source]¶ Execute something, this is since we overload self.take_action() in order to format the data
This method __NEEDS__ to be overloaded!
- Parameters
parsed_args – The parsed args that are given by take_action()
-
log
= <Logger designateclient.cli.records.GetRecordCommand (WARNING)>¶
-
-
class
designateclient.cli.records.
ListRecordsCommand
(app, app_args, cmd_name=None)[source]¶ Bases:
designateclient.cli.base.ListCommand
List Records
-
columns
= ['id', 'type', 'name', 'data']¶
-
execute
(parsed_args)[source]¶ Execute something, this is since we overload self.take_action() in order to format the data
This method __NEEDS__ to be overloaded!
- Parameters
parsed_args – The parsed args that are given by take_action()
-
log
= <Logger designateclient.cli.records.ListRecordsCommand (WARNING)>¶
-
-
class
designateclient.cli.records.
UpdateRecordCommand
(app, app_args, cmd_name=None)[source]¶ Bases:
designateclient.cli.base.UpdateCommand
Update Record
-
execute
(parsed_args)[source]¶ Execute something, this is since we overload self.take_action() in order to format the data
This method __NEEDS__ to be overloaded!
- Parameters
parsed_args – The parsed args that are given by take_action()
-
log
= <Logger designateclient.cli.records.UpdateRecordCommand (WARNING)>¶
-