Expand description
Bundle directory structure creation and management.
Handles creating the demo bundle scaffold, writing configuration files, and managing tenant/team directories.
Structs§
- Bundle
Reference - One bundle dependency entry to register in
bundle.yamlandbundle.lock.json.
Enums§
- Bundle
Reference Kind - The bundle metadata list a pack reference should be written into.
Constants§
Functions§
- create_
demo_ bundle_ structure - Create the standard demo bundle directory structure.
- discover_
tenants - Discover tenants inside the bundle.
- ensure_
bundle_ metadata - Ensure normalized bundle metadata files exist.
- find_
provider_ pack_ path - Locate a provider’s
.gtpackfile in the bundle by provider_id stem. - gmap_
path - Compute the gmap file path for a tenant/team in a bundle.
- is_
bundle_ root - load_
provider_ registry - Read and parse the provider registry JSON from a bundle.
- register_
bundle_ references - Register pack references in both
bundle.yamlandbundle.lock.json. - resolved_
manifest_ filename - Compute the resolved manifest filename for a tenant/team.
- validate_
bundle_ exists - Validate that a bundle directory exists and has the expected marker file.
- write_
if_ missing - Write a file only if it doesn’t already exist.
- write_
provider_ registry - Write the provider registry JSON to a bundle.