flowbber.namespaces
Namespaces for variables replacement.
-
flowbber.namespaces.
get_namespaces
(path)
Get all replacement namespaces.
Currently supported namespaces are:
- env : fetch data from the environment.
- pipeline : fetch information relative to the pipeline definition file.
- git : fetch information relative to the git vcs versioning the pipeline
definition file, if any.
- Parameters
- path (Path) – Path to the pipeline definition file.
- Returns
- A dictionary mapping the name of the namespace with the class
implementing it.
- Return type
- dict