Documentation
¶
Overview ¶
Package cmd is where the commands for cargoship
Index ¶
Constants ¶
View Source
const ( // InstallApplyConfig flag InstallApplyConfig = "config" // InstallApplyConfirm flag InstallApplyConfirm = "confirm" // InstallApplyConcurrency flag InstallApplyConcurrency = "concurrency" // InstallApplyWorkConcurrency flag InstallApplyWorkConcurrency = "work-concurrency" // InstallApplyUpdateHost flag InstallApplyUpdateHost = "update-hosts" // InstallApplyUpdateFirewall flag InstallApplyUpdateFirewall = "update-firewall" // InstallApplyUpdateFAPolicyD flag InstallApplyUpdateFAPolicyD = "update-fapolicyd" )
View Source
const ( // InstallResetConfig flag InstallResetConfig = "config" // InstallResetConfirm flag InstallResetConfirm = "confirm" // InstallResetDistro flag InstallResetDistro = "distro" // InstallResetConcurrency flag InstallResetConcurrency = "concurrency" // InstallResetWorkConcurrency flag InstallResetWorkConcurrency = "work-concurrency" // InstallResetUpdateHost flag InstallResetUpdateHost = "update-hosts" // InstallResetUpdateFirewall flag InstallResetUpdateFirewall = "update-firewall" // InstallResetUpdateFAPolicyD flag InstallResetUpdateFAPolicyD = "update-fapolicyd" )
View Source
const ( // RootLoggingLevel command flag log level RootLoggingLevel = "log-level" // RootLoggingFormat command flag log format RootLoggingFormat = "log-format" // RootTimeout command flag timeout RootTimeout = "timeout" )
Variables ¶
View Source
var ( // IsColorDisabled whether to show the colored output IsColorDisabled bool // LogFormat format of the log output LogFormat string // LogLevelCLI log level LogLevelCLI string // Timeout for how long a task runs Timeout string )
Functions ¶
func NewCargoshipCommand ¶
NewCargoshipCommand is the root command
func PrintViperConfigUsed ¶
PrintViperConfigUsed informs users when Zarf has detected a config file.
Types ¶
type InstallCommon ¶
type InstallCommon struct {
LogFormat string
// contains filtered or unexported fields
}
InstallCommon common args
Click to show internal directories.
Click to hide internal directories.