Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2022 Changes in this version + var NewLineChar = "\n" + 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 struct + func NewBrowser() Browser + func (Browser) OpenURL(url string) error + type Displayer struct + func NewDisplayer() Displayer + func (Displayer) Display(w io.Writer, format string, args ...interface{}) + type EnvVars struct + func NewEnvVars() EnvVars + func (EnvVars) Get(key string) string + type Logger struct + func NewLogger() 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 struct + func NewSleeper() Sleeper + func (Sleeper) Sleep(d time.Duration)