Documentation
¶
Index ¶
- func Lint(l *action.Lint, paths []string, vals map[string]interface{}, ...) *action.LintResult
- func Load(name string, metadata *chart.Metadata) (*chart.Chart, error)
- func LoadFiles(files []*BufferedFile, metadata *chart.Metadata) (*chart.Chart, error)
- func Loader(name string, metadata *chart.Metadata) (loader.ChartLoader, error)
- func Template(args []string, o *options.TemplateOptions, cp string, metadata *chart.Metadata, ...) (*release.Release, error)
- type BufferedFile
- type K8sYamlStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lint ¶
func Lint(l *action.Lint, paths []string, vals map[string]interface{}, metadata *chart.Metadata) *action.LintResult
Lint executes 'helm Lint' against the given chart.
func Load ¶
Load takes a string name, tries to resolve it to a file or directory, and then loads it.
This is the preferred way to load a chart. It will discover the chart encoding and hand off to the appropriate chart reader.
If a .helmignore file is present, the directory loader will skip loading any files matching it. But .helmignore is not evaluated when reading out of an archive.
Types ¶
type BufferedFile ¶
BufferedFile represents an archive file buffered for later processing.
type K8sYamlStruct ¶
type K8sYamlStruct struct { APIVersion string `json:"apiVersion"` Kind string Metadata k8sYamlMetadata }
K8sYamlStruct stubs a Kubernetes YAML file.
DEPRECATED: In Helm 4, this will be made a private type, as it is for use only within the rules package.
Click to show internal directories.
Click to hide internal directories.