iocage_lib package¶
Submodules¶
iocage_lib.ioc_check module¶
iocage_lib.ioc_clean module¶
iocage_lib.ioc_common module¶
iocage_lib.ioc_create module¶
iocage_lib.ioc_debug module¶
iocage_lib.ioc_destroy module¶
iocage_lib.ioc_exceptions module¶
Exception classes for iocage
- exception iocage_lib.ioc_exceptions.CommandFailed(message)¶
Bases:
ExceptionWithMsg
- exception iocage_lib.ioc_exceptions.CommandNeedsRoot(message)¶
Bases:
ExceptionWithMsg
- exception iocage_lib.ioc_exceptions.ExceptionWithMsg(message)¶
Bases:
Exceptionmessage attribute will be an iterable if a message is supplied
- exception iocage_lib.ioc_exceptions.Exists(message)¶
Bases:
ExceptionWithMsg
- exception iocage_lib.ioc_exceptions.JailCorruptConfiguration(message)¶
Bases:
JailMisconfigured
- exception iocage_lib.ioc_exceptions.JailMisconfigured(message)¶
Bases:
ExceptionWithMsg
- exception iocage_lib.ioc_exceptions.JailMissingConfiguration(message)¶
Bases:
JailMisconfigured
- exception iocage_lib.ioc_exceptions.JailRunning¶
Bases:
Exception
- exception iocage_lib.ioc_exceptions.PoolNotActivated¶
Bases:
Exception
- exception iocage_lib.ioc_exceptions.ValidationFailed(message)¶
Bases:
ExceptionWithMsg
- exception iocage_lib.ioc_exceptions.ValueNotFound¶
Bases:
Exception
- iocage_lib.ioc_exceptions.ignore_exceptions(*exceptions, clean=None, suppress_exception=True)¶
Ignore any exceptions specified by exceptions and make sure that we clean any resources specified by callable clean