Help us shape the future of Go! Take the 2026 Go Developer Survey

helm

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveChartIdentity added in v1.17.0

func ArchiveChartIdentity(data []byte) (name, version string, err error)

ArchiveChartIdentity returns the name and version a packaged chart declares. The name is the directory it renders under when the parent does not alias it (nginx-1.2.3.tgz renders under charts/nginx/). An alias in the parent's dependencies replaces that directory.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver is an instance of the helm resolver. A nil fsys falls back to the real filesystem; the server passes the request's in-memory FS.

func NewResolver added in v1.17.0

func NewResolver(fsys vfs.FS) *Resolver

NewResolver builds a helm resolver reading chart files from fsys.

func (*Resolver) GetType added in v1.17.0

func (r *Resolver) GetType(dir string) model.FileKind

GetType reports KindHELM when dir is the root of an application chart, read through the same filesystem the chart is rendered from. A library chart (type: library) renders no manifests, so it is KindCOMMON.

func (*Resolver) Resolve

func (r *Resolver) Resolve(ctx context.Context, filePath string) (model.ResolvedFiles, error)

Resolve will render the passed helm chart and return its content ready for parsing

func (*Resolver) SupportedTypes

func (r *Resolver) SupportedTypes() []model.FileKind

SupportedTypes returns the supported fileKinds for this resolver

Jump to

Keyboard shortcuts

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