environment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuckstackWorkDir string

	OutDir     string
	ProjectDir string

	PackagedK3sVersion  = "1.20.4+k3s1"
	PackagedHelmVersion = "3.4.2" //should match go.mod

)

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 Cleanup

func Cleanup()

func OutPath

func OutPath(path string) string

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

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