certdeploy package¶
Subpackages¶
Submodules¶
certdeploy.errors module¶
- exception certdeploy.errors.ConfigError[source]¶
Bases:
CertDeployErrorConfiguration error
- exception certdeploy.errors.ConfigInvalid(key, value, must=None, config_desc='')[source]¶
Bases:
ConfigError
- exception certdeploy.errors.ConfigInvalidChoice(key, value, choices, quote=True, config_desc='')[source]¶
Bases:
ConfigInvalid
- exception certdeploy.errors.ConfigInvalidNumber(key, value, is_type='number', optional=False, gt=None, lt=None, ge=None, le=None, config_desc='')[source]¶
Bases:
ConfigInvalid
- exception certdeploy.errors.ConfigInvalidPath(key, value, exist=True, writable=False, bad_format=False, is_type='', config_desc='')[source]¶
Bases:
ConfigInvalid
Module contents¶
- class certdeploy.LogLevel(value)[source]¶
Bases:
EnumAn enumeration.
- CRITICAL = 'CRITICAL'¶
- DEBUG = 'DEBUG'¶
- ERROR = 'ERROR'¶
- INFO = 'INFO'¶
- WARNING = 'WARNING'¶
- class certdeploy.Logger(name)[source]¶
Bases:
object- error(*args, exc_info=None, **kwargs)[source]¶
Log an error message.
See logging.error for details. This method differs from logging.error in the following ways:
- If the first argument is an exception it’s formatted so the type
is given and not just the message.
exc_info is ignored if the log level is anything but DEBUG.