ImagesFactory#
- class nublado.factory.ImagesFactory(config, logger)#
Bases:
objectFactory for Nublado image management.
- Parameters:
config (
ImagesConfig) – Image management configuration.logger (
BoundLogger) – Logger to use.
Methods Summary
aclose()Shut down the factory.
Create a new images manager.
standalone(cls, config)Context manager for image management components.
Methods Documentation
- async aclose()#
Shut down the factory.
After this method is called, the factory object is no longer valid and must not be used.
- Return type:
- create_images_manager()#
Create a new images manager.
- Returns:
Newly-created images manager.
- Return type:
- classmethod standalone(cls, config)#
Context manager for image management components.
- Parameters:
config (
ImagesConfig) – Image management configuration.- Returns:
Factory that will be shut down when the context manager exits.
- Return type: