HelmAnalyzer

class neophile.analysis.helm.HelmAnalyzer(scanner: HelmScanner, inventory: HelmInventory, *, allow_expressions: bool = False)

Bases: neophile.analysis.base.BaseAnalyzer

Analyze a tree for needed Helm updates.

Parameters
  • scanner (neophile.scanner.helm.HelmScanner) – Scanner for Helm dependencies.

  • inventory (neophile.inventory.helm.HelmInventory) – Inventory for Helm repositories.

  • allow_expressions (bool, optional) – If set, allow dependencies to be expressed as expressions, and only report a needed update if the latest version is outside the range of the expression. Defaults to false.

Methods Summary

analyze([update])

Analyze a tree and return a list of needed Helm changes.

name()

The name of the analyzer type.

Methods Documentation

async analyze(update: bool = False) List[Update]

Analyze a tree and return a list of needed Helm changes.

Parameters

update (bool, optional) – Ignored for this analyzer.

Returns

results – A list of updates.

Return type

List[neophile.update.base.Update]

name() str

The name of the analyzer type.

Returns

name – A string representing the type of analyzer this is. Used for reporting results accumulated from a bunch of analyzers.

Return type

str