Documentation ¶
Overview ¶
Package path contains functions to find/calculate path used in the project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finch ¶
type Finch string
Finch provides a set of methods that calculate paths relative to the Finch path.
func NewFinchPath ¶ added in v1.3.0
func NewFinchPath() Finch
NewFinchPath returns the path to the Finch root directory.
func (Finch) BuildkitSocketPath ¶ added in v1.3.0
BuildkitSocketPath returns the path to the Buildkit socket file.
func (Finch) ConfigFilePath ¶
ConfigFilePath returns the path to Finch config file.
func (Finch) FinchDependencyBinDir ¶ added in v1.3.0
FinchDependencyBinDir returns the path to Finch's local helper or dependency binaries. Currently used for vended version of BuildKit.
func (Finch) FinchRuntimeDataDir ¶ added in v1.3.0
FinchRuntimeDataDir returns the path to Finch's runtime data directory, used for state of running programs.
func (Finch) NerdctlConfigFilePath ¶ added in v1.3.0
NerdctlConfigFilePath returns the path to Finch config file.
type FinchFinderDeps ¶
type FinchFinderDeps interface { system.SymlinksEvaluator system.ExecutableFinder system.FilePathJoiner system.EnvGetter system.UserHomeDir }
FinchFinderDeps provides all the dependencies FindFinch needs to find Finch.