path

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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

func (fp Finch) BuildkitSocketPath() string

BuildkitSocketPath returns the path to the Buildkit socket file.

func (Finch) ConfigFilePath

func (fp Finch) ConfigFilePath() string

ConfigFilePath returns the path to Finch config file.

func (Finch) FinchDependencyBinDir added in v1.3.0

func (Finch) FinchDependencyBinDir() string

FinchDependencyBinDir returns the path to Finch's local helper or dependency binaries. Currently used for vended version of BuildKit.

func (Finch) FinchDir added in v1.1.0

func (fp Finch) FinchDir() string

FinchDir returns the path to the Finch config directory.

func (Finch) FinchRuntimeDataDir added in v1.3.0

func (Finch) FinchRuntimeDataDir() string

FinchRuntimeDataDir returns the path to Finch's runtime data directory, used for state of running programs.

func (Finch) NerdctlConfigFilePath added in v1.3.0

func (fp Finch) NerdctlConfigFilePath() string

NerdctlConfigFilePath returns the path to Finch config file.

type FinchFinderDeps

FinchFinderDeps provides all the dependencies FindFinch needs to find Finch.

Jump to

Keyboard shortcuts

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