Documentation
¶
Index ¶
- type Asker
- type CmdAdmin
- type CmdArtifact
- type CmdBatch
- type CmdConfig
- type CmdGlobal
- func (c *CmdGlobal) CheckArgs(cmd *cobra.Command, args []string, minArgs int, maxArgs int) (bool, error)
- func (c *CmdGlobal) CheckConfigStatus() error
- func (c *CmdGlobal) CheckRemoteConnectivity(remoteName string, remote *config.Remote) error
- func (c *CmdGlobal) GetDefaultRemote() config.Remote
- func (c *CmdGlobal) PreRun(cmd *cobra.Command, args []string) error
- type CmdInstance
- type CmdInstanceOverride
- type CmdNetwork
- type CmdQuery
- type CmdQueue
- type CmdRemote
- type CmdSource
- type CmdTarget
- type CmdWarning
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 CmdArtifact ¶
type CmdArtifact struct {
Global *CmdGlobal
}
func (*CmdArtifact) Command ¶
func (c *CmdArtifact) Command() *cobra.Command
type CmdGlobal ¶
type CmdGlobal struct {
Asker Asker
Cmd *cobra.Command
FlagForceLocal bool
FlagHelp bool
FlagVersion bool
// contains filtered or unexported fields
}
func (*CmdGlobal) CheckConfigStatus ¶
func (*CmdGlobal) CheckRemoteConnectivity ¶
func (*CmdGlobal) GetDefaultRemote ¶
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
}
type CmdWarning ¶
type CmdWarning struct {
Global *CmdGlobal
}
func (*CmdWarning) Command ¶
func (c *CmdWarning) Command() *cobra.Command
Click to show internal directories.
Click to hide internal directories.