environment

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuckstackHome string

	OutDir     string
	ProjectDir string

	PackagedK3sVersion  = "1.19.4+k3s1"
	PackagedHelmVersion = "3.2.4"
)

Functions

func CachePath

func CachePath(pathInCache string) string

* Returns the given path as a sub-path of the Ruckstack "cache" dir. The cache directory is preserved from one run to the next

func IsRunningLauncher

func IsRunningLauncher() bool

* Returns true if ruckstack is running via the launcher

func OutPath

func OutPath(path string) string

* Returns the given path as a sub-path of the Ruckstack "out" dir.

func ResourcePath

func ResourcePath(path string) (string, error)

* Returns the full path to the given subpath of "resources" in RuckstackHome. Returns an error if the file does not exist

func TempPath

func TempPath(pathInTmp string) string

* Returns the given path as a sub-path of the Ruckstack "temporary" directory. Any "*" in the path will be replaced with a random value

Types

This section is empty.

Jump to

Keyboard shortcuts

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