package
3.12.0
Repository: https://github.com/helm/chart-testing.git
Documentation: pkg.go.dev

# Functions

NewChart parses the path to a chart directory and allocates a new Chart object.
NewTesting creates a new Testing struct with the given config.

# Structs

Chart represents a Helm chart, and can be initialized with the NewChart method.
No description provided by the author
TestResult holds test results for a specific chart.
TestResults holds results and overall status.

# Interfaces

AccountValidator is the interface that wraps Git account validation Validate checks if account is valid on repoDomain.
CmdExecutor is the interface RunCommand renders cmdTemplate as go template using data and executes the resulting command.
DirectoryLister is the interface ListChildDirs lists direct child directories of parentDir given they pass the test function.
Git is the Interface that wraps Git operations.
Helm is the interface that wraps Helm operations # AddRepo adds a chart repository to the local Helm configuration # BuildDependencies builds the chart's dependencies # BuildDependenciesWithArgs allows passing additional arguments to BuildDependencies LintWithValues runs `helm lint` for the given chart using the specified values file.
Kubectl is the interface that wraps kubectl operations # DeleteNamespace deletes a namespace # WaitForDeployments waits for a deployment to become ready # GetPodsforDeployment gets all pods for a deployment # GetPods gets pods for the given args # GetEvents prints all events for namespace # DescribePod prints the pod's description # Logs prints the logs of container # GetInitContainers gets all init containers of pod GetContainers gets all containers of pod.
Linter is the interface that wrap linting operations # YamlLint runs `yamllint` on the specified file with the specified configuration Yamale runs `yamale` on the specified file with the specified schema file.
Utils is the interface that wraps chart-related methods LookupChartDir looks up the chart's root directory based on some chart file that has changed.