Documentation ¶
Index ¶
- func GetBaseFlags() []string
- func GetInstances(input *GetInstancesInput) []inst.Instance
- func GetKey(key string) []string
- func GetKeys(dir string) []string
- func GetLoginName(flags *pflag.FlagSet) []string
- func GetOptions(flags *pflag.FlagSet) []string
- func GetPort(flags *pflag.FlagSet) []string
- func GetTarget(flags *pflag.FlagSet, instance *inst.Instance) string
- func PromptInstance(flags *pflag.FlagSet) *inst.Instance
- func PromptKey(instance *inst.Instance, cache *KeyCache) string
- func SSH(flags *pflag.FlagSet, instance *inst.Instance, key string)
- func SelectInstance(instances *[]inst.Instance) inst.Instance
- func SelectKey(instance *inst.Instance, keys []string) string
- func ValidateFlags(flags *pflag.FlagSet)
- type CachePath
- type GetInstancesInput
- type KeyCache
- type KeyEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseFlags ¶
func GetBaseFlags() []string
func GetInstances ¶
func GetInstances(input *GetInstancesInput) []inst.Instance
func GetLoginName ¶
func GetOptions ¶
func ValidateFlags ¶
Types ¶
type CachePath ¶
func GetCachePath ¶
func GetCachePath() *CachePath
type GetInstancesInput ¶
type KeyCache ¶
type KeyCache struct {
// contains filtered or unexported fields
}
func NewKeyCache ¶
Click to show internal directories.
Click to hide internal directories.