Documentation ¶
Index ¶
- Constants
- func ApplicationInstallPath() (string, error)
- func BinPathFromInstallPath(installPath string) (string, error)
- func DefaultInstallPath() (string, error)
- func Executables() ([]string, error)
- func ExecutorExec() (string, error)
- func InstallPathForChannel(channel string) (string, error)
- func InstallPathFromExecPath() (string, error)
- func InstallPathFromReference(dir string) (string, error)
- func InstallRoot(path string) (string, error)
- func InstallerExec() (string, error)
- func InstallerExecFromDir(baseDir string) (string, error)
- func IsStateExeDoesNotExistError(err error) bool
- func NewExecutorExecFromDir(baseDir string) (string, error)
- func SaveContext(context *Context) error
- func ServiceExec() (string, error)
- func ServiceExecFromDir(baseDir string) (string, error)
- func StateExec() (string, error)
- func StateExecFromDir(baseDir string) (string, error)
- type Context
- type InstallMarkerMeta
- type StateExeDoesNotExistError
- type VersionData
Constants ¶
View Source
const ( // CfgTransitionalStateToolPath is the configuration key for the path where a transitional State Tool might still be stored CfgTransitionalStateToolPath = "transitional_installation_path" BinDirName = "bin" InstallDirMarker = ".state_install_root" )
Variables ¶
This section is empty.
Functions ¶
func ApplicationInstallPath ¶
func BinPathFromInstallPath ¶
func DefaultInstallPath ¶
func Executables ¶
func ExecutorExec ¶
func InstallPathForChannel ¶
InstallPathForBranch gets the installation path for the given channel.
func InstallPathFromExecPath ¶
func InstallRoot ¶
func InstallerExec ¶
func InstallerExecFromDir ¶
func NewExecutorExecFromDir ¶
func SaveContext ¶
func ServiceExec ¶
func ServiceExecFromDir ¶
func StateExecFromDir ¶
Types ¶
type InstallMarkerMeta ¶
type StateExeDoesNotExistError ¶
type StateExeDoesNotExistError struct{ *errs.WrapperError }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.