Expand description
.gtbundle archive format support.
A .gtbundle file is an archive containing a complete Greentic bundle.
Supports both SquashFS (default) and ZIP formats.
§Format
my-bundle.gtbundle (SquashFS or ZIP archive)
├── greentic.demo.yaml or bundle.yaml
├── packs/
├── providers/
├── resolved/
├── state/
└── tenants/Enums§
- Bundle
Format - Archive format for gtbundle files.
Functions§
- create_
gtbundle - Create a .gtbundle archive from a bundle directory using the default format.
- create_
gtbundle_ with_ format - Create a .gtbundle archive with a specific format.
- detect_
bundle_ format - Detect the format of a gtbundle file by reading its magic bytes.
- extract_
gtbundle - Extract a .gtbundle archive to a directory.
- extract_
gtbundle_ to_ temp - Extract a .gtbundle to a temporary directory and return the path.
- is_
gtbundle_ dir - Check if a path is a .gtbundle directory (named *.gtbundle but is a dir).
- is_
gtbundle_ file - Check if a path is a .gtbundle archive file.