vs_starter package
Submodules
vs_starter.cli module
vs_starter.config module
- class vs_starter.config.RelEnvironment(block_start_string: str = '{%', block_end_string: str = '%}', variable_start_string: str = '{{', variable_end_string: str = '}}', comment_start_string: str = '{#', comment_end_string: str = '#}', line_statement_prefix: str | None = None, line_comment_prefix: str | None = None, trim_blocks: bool = False, lstrip_blocks: bool = False, newline_sequence: te.Literal['\n', '\r\n', '\r'] = '\n', keep_trailing_newline: bool = False, extensions: ~typing.Sequence[str | ~typing.Type[Extension]] = (), optimized: bool = True, undefined: ~typing.Type[~jinja2.runtime.Undefined] = <class 'jinja2.runtime.Undefined'>, finalize: ~typing.Callable[[...], ~typing.Any] | None = None, autoescape: bool | ~typing.Callable[[str | None], bool] = False, loader: BaseLoader | None = None, cache_size: int = 400, auto_reload: bool = True, bytecode_cache: BytecodeCache | None = None, enable_async: bool = False)[source]
Bases:
Environment
Override join_path() to enable relative template paths.
- join_path(template, parent)[source]
Join a template with the parent. By default all the lookups are relative to the loader root so this method returns the template parameter unchanged, but if the paths should be relative to the parent template, this function can be used to calculate the real template name.
Subclasses may override this method and implement template path joining here.
- vs_starter.config.get_helm_data(helm_config_path: str, file_type: str, index: bool = False) Any [source]
- vs_starter.config.get_service_configs(deployments: List[str], ingress: str) Dict[str, Dict[str, str]] [source]
- vs_starter.config.render_config(helm_config_path: str, output_path: str, slug: str, environment: str, instance_override_compose_paths: List[str]) None [source]