package
0.31.3
Repository: https://github.com/grafana/tanka.git
Documentation: pkg.go.dev

# Functions

Dirs returns the project-root (root) and environment directory (base).
Entrypoint returns the absolute path of the environments entrypoint file (the one passed to jsonnet.EvaluateFile).
Filename returns the name of the entrypoint file.
FindBase returns the absolute path of the environments base directory, the one which directly holds the entrypoint file.
FindParentFile traverses the parent directory tree for the given `file`, starting from `start` and ending in `stop`.
FindRoot returns the absolute path of the project root, being the directory that directly holds `tkrc.yaml` if it exists, otherwise the directory that directly holds `jsonnetfile.json`.
FsDir returns the most inner directory of path, as reported by the local filesystem.
Resolve the given path and resolves the jPath around it.

# Constants

No description provided by the author

# Variables

ErrorNoRoot means no rootDir was found in the parent directories.

# Structs

ErrorFileNotFound means that the searched file was not found.
ErrorNoBase means no baseDir was found in the parent directories.