locations

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AwsConfig = must(awsconfig.GetPath)

AWS config file location. Usually in $HOME/.aws/config or %USERPROFILE%/.aws/config unless user has set $AWS_CONFIG_FILE environment variable. https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where

OS/User Cache Data Directory. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

View Source
var ExecDir = filepath.Dir(must(os.Executable))

The directory where vegas-credentials executable is located.

OS/User State Data Directory. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

View Source
var YkmanPath = ykman.GetPath()

Location of the Yubikey Manager CLI (ykman) executable. Empty if not available.

Functions

func EnsureWithinDir

func EnsureWithinDir(baseDir string, dirName string) string

Creates a given directory under baseDir and returns the absolute path.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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