v3helm.sh/helm/v3/pkg/helmpath Index | Files | Directories

package helmpath

import "helm.sh/helm/v3/pkg/helmpath"

Package helmpath calculates filesystem paths to Helm's configuration, cache and data.

Index

Constants

const (
	// CacheHomeEnvVar is the environment variable used by Helm
	// for the cache directory. When no value is set a default is used.
	CacheHomeEnvVar = "HELM_CACHE_HOME"

	// ConfigHomeEnvVar is the environment variable used by Helm
	// for the config directory. When no value is set a default is used.
	ConfigHomeEnvVar = "HELM_CONFIG_HOME"

	// DataHomeEnvVar is the environment variable used by Helm
	// for the data directory. When no value is set a default is used.
	DataHomeEnvVar = "HELM_DATA_HOME"
)

Functions

func CacheChartsFile

func CacheChartsFile(name string) string

CacheChartsFile returns the path to a text file listing all the charts within the given named repository.

func CacheIndexFile

func CacheIndexFile(name string) string

CacheIndexFile returns the path to an index for the given named repository.

func CachePath

func CachePath(elem ...string) string

CachePath returns the path where Helm stores cached objects.

func ConfigPath

func ConfigPath(elem ...string) string

ConfigPath returns the path where Helm stores configuration.

func DataPath

func DataPath(elem ...string) string

DataPath returns the path where Helm stores data.

Source Files

home.go lazypath.go lazypath_unix.go

Directories

PathSynopsis
pkg/helmpath/xdgPackage xdg holds constants pertaining to XDG Base Directory Specification.
Version
v3.17.3 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
1 month ago

Tools for package owners.