Documentation ¶
Index ¶
- Variables
- func AskForConfirmation(logger interfaces.Logger, stdin io.Reader, question string) (bool, error)
- func DefaultSSHConfigFileExists() bool
- func DefaultSSHConfigFilePath() string
- func DefaultSSHDir() string
- func DefaultSSHDirExists() bool
- func DefaultSSHKnownHostsFileExists() bool
- func DefaultSSHKnownHostsFilePath() string
- func PathExists(path string) bool
- func UserConfigDir() string
- func UserConfigFilePath() string
- func UserHomeDir() string
- type Browser
- type Displayer
- type EnvVars
- type Logger
- func (Logger) Error(format string, v ...interface{})
- func (Logger) Info(format string, v ...interface{})
- func (Logger) Log(format string, v ...interface{})
- func (Logger) LogNoNewline(format string, v ...interface{})
- func (Logger) Warning(format string, v ...interface{})
- func (l Logger) Write(p []byte) (n int, err error)
- type Sleeper
Constants ¶
This section is empty.
Variables ¶
View Source
var NewLineChar = "\n"
Functions ¶
func AskForConfirmation ¶
func DefaultSSHConfigFileExists ¶
func DefaultSSHConfigFileExists() bool
func DefaultSSHConfigFilePath ¶
func DefaultSSHConfigFilePath() string
func DefaultSSHDir ¶
func DefaultSSHDir() string
func DefaultSSHDirExists ¶
func DefaultSSHDirExists() bool
func DefaultSSHKnownHostsFileExists ¶
func DefaultSSHKnownHostsFileExists() bool
func DefaultSSHKnownHostsFilePath ¶
func DefaultSSHKnownHostsFilePath() string
func PathExists ¶
func UserConfigDir ¶
func UserConfigDir() string
UserConfigDir returns the path where the user config files should be stored following XDG Base Directory Specification. Ref: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
func UserConfigFilePath ¶
func UserConfigFilePath() string
func UserHomeDir ¶
func UserHomeDir() string
Types ¶
Click to show internal directories.
Click to hide internal directories.