config

package
v0.0.0-...-7d86ac5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseFlags

func GetBaseFlags() string

func GetConnectionOrder

func GetConnectionOrder() []string

func GetDefaultUser

func GetDefaultUser() string

func GetKeysDirectory

func GetKeysDirectory() string

func GetSSMEnabled

func GetSSMEnabled() bool

func GetTemplateString

func GetTemplateString() string

func IsSSMPossible

func IsSSMPossible() bool

func LoadConfig

func LoadConfig()

func Prompt

func Prompt()

func SetDefaults

func SetDefaults(reset bool)

func WriteConfig

func WriteConfig()

Types

type ConfigPath

type ConfigPath struct {
	Dir  string
	Ext  string
	Name string
	Path string
}

func GetConfigPath

func GetConfigPath() *ConfigPath

type Configuration

type Configuration struct {
	BaseCommand     string
	ConnectionOrder []string
	DefaultLogin    string
	KeysDirectory   string
	SSMEnabled      bool
	TemplateString  string
}

Jump to

Keyboard shortcuts

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