uptainer.loader

class uptainer.loader.Loader(log: BoundLoggerLazyProxy, config_file: Path)[source]

Bases: object

__init__(log: BoundLoggerLazyProxy, config_file: Path) None[source]

Loader class to load all the repos from the config and trasform it into uptainer Classes.

Parameters:
  • log (BoundLoggerLazyProxy) – Log class to inject into the vars. Class: structlog

  • config_file (Path) – Config path with PATH class.

Returns:

None

read_config() TyperConfigs[source]

Load the config in YAML format and wrap it into a self.config_file var.

Parameters:

None

Returns:

None

run() None[source]

Main method, it will load the config file and create a uptainer class for each of them.

Parameters:

None

Returns:

None