cli.meta.roles.applications package¶
Subpackages¶
- cli.meta.roles.applications.all package
- cli.meta.roles.applications.bond package
- cli.meta.roles.applications.complexity package
- Submodules
- cli.meta.roles.applications.complexity.cli module
- cli.meta.roles.applications.complexity.filter module
- cli.meta.roles.applications.complexity.graph module
- cli.meta.roles.applications.complexity.model module
ComplexityRowComplexityRow.cloneComplexityRow.composeComplexityRow.consumed_byComplexityRow.consumed_by_directComplexityRow.consumersComplexityRow.consumers_directComplexityRow.covered_byComplexityRow.dnaComplexityRow.embedsComplexityRow.embeds_directComplexityRow.hostComplexityRow.idComplexityRow.in_mainComplexityRow.integratedComplexityRow.lifecycleComplexityRow.nameComplexityRow.randomComplexityRow.rowComplexityRow.servicesComplexityRow.services_directComplexityRow.siblingsComplexityRow.stackComplexityRow.swarmComplexityRow.test_composeComplexityRow.test_hostComplexityRow.test_swarmComplexityRow.variantComplexityRow.variantsComplexityRow.weight
TESTED_LIFECYCLESattach_siblings()compute_complexity_rows()compute_variant_complexity_rows()
- cli.meta.roles.applications.complexity.render module
- Module contents
- cli.meta.roles.applications.in_group_deps package
- cli.meta.roles.applications.invokable package
- cli.meta.roles.applications.ressources package
- cli.meta.roles.applications.role_name package
- Module contents
PathPath.absolute()Path.as_uri()Path.chmod()Path.expanduser()Path.from_uri()Path.glob()Path.group()Path.hardlink_to()Path.is_junction()Path.is_mount()Path.iterdir()Path.mkdir()Path.open()Path.owner()Path.read_text()Path.readlink()Path.rename()Path.replace()Path.resolve()Path.rglob()Path.rmdir()Path.stat()Path.symlink_to()Path.touch()Path.unlink()Path.walk()Path.write_text()
RoleNotFoundErrorget_role()load_yaml()main()
- Module contents
- cli.meta.roles.applications.sufficient_storage package
- cli.meta.roles.applications.type package
Submodules¶
cli.meta.roles.applications.dynamic_services module¶
Print the group-conditional service keys, comma-separated for disable=.
A service key is group-conditional when some role declares it with a Jinja
enabled expression rather than a literal, i.e. the shape
tests/integration/roles/meta/services/test_dynamic_flags.py enforces.
Those keys are the ones a test deploy may drop without changing what the
role under test is: their providers are co-deployed only because a host
happens to be in the provider’s group.
Keys without a provider role are omitted — disable= cannot act on them.
- cli.meta.roles.applications.dynamic_services.dynamic_service_keys(roles_dir: Path) list[str]¶
Return every group-conditional service key that has a provider role.
- cli.meta.roles.applications.dynamic_services.main(argv: list[str] | None = None) int¶
cli.meta.roles.applications.new_in_branch module¶
Print application roles new on this branch (absent under roles/ at a ref, default origin/main); empty when the ref is unresolvable.
- cli.meta.roles.applications.new_in_branch.main(argv: list[str] | None = None) int¶
- cli.meta.roles.applications.new_in_branch.new_application_roles(roles_dir: Path, ref: str = 'origin/main') list[str]¶
- cli.meta.roles.applications.new_in_branch.roles_present_in_ref(roles_dir: Path, ref: str) set[str] | None¶