clipath

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 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 CachePath

func CachePath(elem ...string) string

CachePath returns the path where Outblocks stores cached objects.

func ConfigPath

func ConfigPath(elem ...string) string

ConfigPath returns the path where Outblocks stores configuration.

func DataPath

func DataPath(elem ...string) string

DataPath returns the path 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