Expand description
Capability validation and auto-upgrade for provider gtpacks.
Provider gtpacks must contain a greentic.ext.capabilities.v1 extension
in their manifest.cbor for the operator to discover and mount them.
Old gtpacks built before the capabilities extension was introduced will
silently fail at runtime.
This module provides validation during gtc setup and auto-upgrade from
known source locations when a newer pack with capabilities is found.
Structs§
- Dependency
Report - Report of dependency capability validation across all packs in the bundle.
- Missing
Capability - Pack
Warning - Satisfied
Capability - Upgrade
Report - Result of validating and upgrading packs in a bundle.
- Upgraded
Pack
Functions§
- has_
capabilities_ extension - Check whether a gtpack has the
greentic.ext.capabilities.v1extension. - validate_
and_ upgrade_ packs - Validate all provider gtpacks in a bundle and auto-upgrade those missing capabilities.
- validate_
dependency_ capabilities - Validate that all pack dependencies have their required_capabilities satisfied by other packs in the bundle.