Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asker ¶
type Asker interface { AskBool(question string, defaultAnswer string) (bool, error) AskChoice(question string, choices []string, defaultAnswer string) (string, error) AskInt(question string, minValue int64, maxValue int64, defaultAnswer string, validator func(int64) error) (int64, error) AskString(question string, defaultAnswer string, validator func(string) error) (string, error) AskPasswordOnce(question string) string }
type CmdGlobal ¶
type CmdGlobal struct { Asker Asker Cmd *cobra.Command FlagForceLocal bool FlagHelp bool FlagVersion bool // contains filtered or unexported fields }
func (*CmdGlobal) CheckConfigStatus ¶
type CmdInstance ¶
type CmdInstance struct {
Global *CmdGlobal
}
func (*CmdInstance) Command ¶
func (c *CmdInstance) Command() *cobra.Command
type CmdInstanceOverride ¶
type CmdInstanceOverride struct {
Global *CmdGlobal
}
func (*CmdInstanceOverride) Command ¶
func (c *CmdInstanceOverride) Command() *cobra.Command
type CmdNetwork ¶
type CmdNetwork struct {
Global *CmdGlobal
}
func (*CmdNetwork) Command ¶
func (c *CmdNetwork) Command() *cobra.Command
type CmdQuery ¶
type CmdQuery struct { Global *CmdGlobal // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.