lisa.target.PasswordKeyDesc#
- class lisa.target.PasswordKeyDesc(name, help, classinfo, newtype=None, deepcopy_val=True)[source]#
Bases:
KeyDescKeyDescused to describe the target password.Attributes
helpinheritedHelp description associated with the key.
nameinheritedName of that key.
parentinheritedParent
LevelKeyDesc.Properties
newtypeinheritedUnique type associated with that key.
pathinheritedPath in the config file from the root to that key.
qualnameinheritedQualified name of the configuration key used for error reporting.
Methods
Hide the password with a generic placeholder.
get_help()inheritedGet a help message describing the key.
validate_val()inheritedCheck that the value is an instance of one of the type specified in the
self.classinfo.
Attributes#
- PasswordKeyDesc.help#
Inherited attribute, see
lisa.conf.KeyDescBase.helpHelp description associated with the key.
- PasswordKeyDesc.name#
Inherited attribute, see
lisa.conf.KeyDescBase.nameName of that key.
- PasswordKeyDesc.parent#
Inherited attribute, see
lisa.conf.KeyDescBase.parentParent
LevelKeyDesc.
Properties#
- property PasswordKeyDesc.newtype#
Inherited property, see
lisa.conf.KeyDesc.newtypeUnique type associated with that key.
- property PasswordKeyDesc.path#
Inherited property, see
lisa.conf.KeyDescBase.pathPath in the config file from the root to that key.
- property PasswordKeyDesc.qualname#
Inherited property, see
lisa.conf.KeyDescBase.qualnameQualified name of the configuration key used for error reporting.
Methods#
- PasswordKeyDesc.get_help(style=None, last=False, children=True)#
Inherited method, see
lisa.conf.KeyDesc.get_help()Get a help message describing the key.
- PasswordKeyDesc.validate_val(val)#
Inherited method, see
lisa.conf.KeyDesc.validate_val()Check that the value is an instance of one of the type specified in the
self.classinfo.