HelmInventory#
- class neophile.inventory.helm.HelmInventory(session)#
Bases:
object
Inventory the versions available from a Helm repository.
- Parameters:
session (
ClientSession
) – Client session to use for requests for Helm repository index files.
Methods Summary
canonicalize_url
(url)Canonicalize the URL for a Helm repository.
inventory
(url)Inventory the available versions of Helm charts.
Methods Documentation
- canonicalize_url(url)#
Canonicalize the URL for a Helm repository.
- async inventory(url)#
Inventory the available versions of Helm charts.
Retrieve the inventory from the given Helm repository.
- Parameters:
url (
str
) – URL of the repository.- Returns:
Mapping of Helm chart names to the latest available version of that Helm chart.
- Return type:
- Raises:
aiohttp.ClientError – Raised on failure to retrieve the index file from the Helm repository.
ruamel.yaml.YAMLError – Raised if the index file for the repository doesn’t parse as YAML.