fail2ban.client.actionreader module¶
- class fail2ban.client.actionreader.ActionReader(file_, jailName, initOpts, **kwargs)¶
Bases:
DefinitionInitConfigReader
- Attributes:
- share_config
Methods
convertOptions
(opts, configOpts)Convert interpolated combined options to expected type.
getCombOption
(optname)Get combined definition option (as string) using pre-set and init options as preselection (values with higher precedence as specified in section).
options
(section[, withDefault])Return a list of option names for the given section name.
read
()Overloads a default (not shared) read of config reader.
readexplicit
()convert
get
getBaseDir
getCombined
getFile
getJailName
getName
getOptions
has_option
has_section
merge_defaults
merge_section
sections
setBaseDir
setFile
setJailName
setName
- convert()¶
- getFile()¶
- getName()¶
- setFile(fileName)¶
- setName(name)¶