clipath

package
v0.1.143 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Inspired by similar approach in: https://github.com/helm/helm (Apache 2.0 License).

Index

Constants

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

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

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

Variables

This section is empty.

Functions

func CacheDir added in v0.1.18

func CacheDir(elem ...string) string

CacheDir returns the dir where Outblocks stores cached objects.

func ConfigDir added in v0.1.18

func ConfigDir(elem ...string) string

ConfigDir returns the dir where Outblocks stores configuration.

func DataDir added in v0.1.18

func DataDir(elem ...string) string

DataDir returns the dir where Outblocks stores data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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