HelmScanner

class neophile.scanner.helm.HelmScanner(root: Path)

Bases: BaseScanner

Scan a source tree for Helm version references.

Parameters:

root (pathlib.Path) – The root of the source tree.

Methods Summary

name()

The name of the scanner type.

scan()

Scan a source tree for version references.

Methods Documentation

name() → str

The name of the scanner type.

Returns:

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

Return type:

str

scan() → List[HelmDependency]

Scan a source tree for version references.

Returns:

results – A list of all discovered dependencies.

Return type:

List[neophile.dependency.helm.HelmDependency]