Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInteractiveEnable ¶ added in v2.1.1
func IsInteractiveEnable() bool
IsInteractiveEnable checks whether qsctl run interactively by checking stdin and stdout is terminal or not
func SetupConfigInteractive ¶
SetupConfigInteractive setup input config interactively
Types ¶
type InputConfig ¶
type InputConfig struct { AccessKeyID string `yaml:"access_key_id"` SecretAccessKey string `yaml:"secret_access_key"` Host string `yaml:"host"` Port string `yaml:"port"` Protocol string `yaml:"protocol"` }
InputConfig is the struct for setup config input
func NewInputConfig ¶
func NewInputConfig() InputConfig
NewInputConfig setup InputConfig and return the struct
Click to show internal directories.
Click to hide internal directories.