container_guts package
Subpackages
- container_guts.client package
- container_guts.main package
- Subpackages
- Submodules
- container_guts.main.client module
ManifestGenerator
ManifestGenerator.diff()
ManifestGenerator.explore_paths()
ManifestGenerator.extract()
ManifestGenerator.extract_filesystem()
ManifestGenerator.get_container()
ManifestGenerator.get_environment_paths()
ManifestGenerator.get_manifests()
ManifestGenerator.init_container_tech()
ManifestGenerator.run()
ManifestGenerator.save_path()
ManifestGenerator.similar()
- container_guts.main.templates module
- Module contents
- container_guts.utils package
Submodules
container_guts.logger module
- class container_guts.logger.ColorizingStreamHandler(nocolor=False, stream=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>, use_threads=False)[source]
Bases:
StreamHandler
- BLACK = 0
- BLUE = 4
- BOLD_SEQ = '\x1b[1m'
- COLOR_SEQ = '\x1b[%dm'
- CYAN = 6
- GREEN = 2
- MAGENTA = 5
- RED = 1
- RESET_SEQ = '\x1b[0m'
- WHITE = 7
- YELLOW = 3
- colors = {'CRITICAL': 1, 'DEBUG': 4, 'ERROR': 1, 'INFO': 2, 'WARNING': 3}
- emit(record)[source]
Emit a record.
If a formatter is specified, it is used to format the record. The record is then written to the stream with a trailing newline. If exception information is present, it is formatted using traceback.print_exception and appended to the stream. If the stream has an ‘encoding’ attribute, it is used to determine how to do the output to the stream.
- property is_tty
- class container_guts.logger.LogColors[source]
Bases:
object
- BOLD = '\x1b[1m'
- ENDC = '\x1b[0m'
- OKBLUE = '\x1b[94m'
- OKCYAN = '\x1b[96m'
- OKGREEN = '\x1b[92m'
- PURPLE = '\x1b[95m'
- RED = '\x1b[91m'
- UNDERLINE = '\x1b[4m'
- WARNING = '\x1b[93m'
- class container_guts.logger.Logger[source]
Bases:
object