lisa.target.PasswordKeyDesc#
- class lisa.target.PasswordKeyDesc(name, help, classinfo, newtype=None, deepcopy_val=True)[source]#
Bases:
KeyDesc
KeyDesc
used to describe the target password.Attributes
help
inheritedHelp description associated with the key.
name
inheritedName of that key.
parent
inheritedParent
LevelKeyDesc
.Properties
newtype
inheritedUnique type associated with that key.
path
inheritedPath in the config file from the root to that key.
qualname
inheritedQualified 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.help
Help description associated with the key.
- PasswordKeyDesc.name#
Inherited attribute, see
lisa.conf.KeyDescBase.name
Name of that key.
- PasswordKeyDesc.parent#
Inherited attribute, see
lisa.conf.KeyDescBase.parent
Parent
LevelKeyDesc
.
Properties#
- property PasswordKeyDesc.newtype#
Inherited property, see
lisa.conf.KeyDesc.newtype
Unique type associated with that key.
- property PasswordKeyDesc.path#
Inherited property, see
lisa.conf.KeyDescBase.path
Path in the config file from the root to that key.
- property PasswordKeyDesc.qualname#
Inherited property, see
lisa.conf.KeyDescBase.qualname
Qualified 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
.