ImagesFactory#

class nublado.factory.ImagesFactory(config, logger)#

Bases: object

Factory for Nublado image management.

Parameters:

Methods Summary

aclose()

Shut down the factory.

create_images_manager()

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:

None

create_images_manager()#

Create a new images manager.

Returns:

Newly-created images manager.

Return type:

ImagesManager

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:

ImagesFactory