hypperpath

package
Version: v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package hypperpath calculates filesystem paths to Hypper's configuration, cache and data.

Index

Constants

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

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

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

Variables

This section is empty.

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.

Types

This section is empty.

Directories

Path Synopsis
Package xdg holds constants pertaining to XDG Base Directory Specification.
Package xdg holds constants pertaining to XDG Base Directory Specification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL