helm

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

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

func Load(name string, metadata *chart.Metadata) (*chart.Chart, error)

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.

func LoadFiles

func LoadFiles(files []*BufferedFile, metadata *chart.Metadata) (*chart.Chart, error)

LoadFiles loads from in-memory files.

func Loader

func Loader(name string, metadata *chart.Metadata) (loader.ChartLoader, error)

Loader returns a new ChartLoader appropriate for the given chart name

func Template

func Template(args []string, o *options.TemplateOptions, cp string, metadata *chart.Metadata, out io.Writer) (*release.Release, error)

Types

type BufferedFile

type BufferedFile struct {
	Name string
	Data []byte
}

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL