Documentation
¶
Overview ¶
Package common defines flags and options shared by every Deployah command.
GlobalOptions captures persistent CLI flags such as namespace, kubeconfig, manifest path, debug mode, and operation timeout. The root command reads these values in its pre-run hook and builds a runtime.Runtime from them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
Namespace string `nabat:"namespace"`
Kubeconfig string `nabat:"kubeconfig"`
Context string `nabat:"context"`
Config string `nabat:"config"`
Debug bool `nabat:"debug"`
Timeout time.Duration `nabat:"timeout"`
}
GlobalOptions are the persistent flags shared by all commands. Used exclusively in the OnPreRun hook to construct the runtime.
Click to show internal directories.
Click to hide internal directories.