Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArgNamespace string
ArgNamespace is used to populate command line argments for the Namespace.
View Source
var ArgQueryForAllPodsRunningSeconds int
ArgQueryForAllPodsRunningSeconds is used to populate command line argments for the QueryForAllPodsRunningSeconds.
View Source
var ArgTimeoutSeconds int
ArgTimeoutSeconds is used to populate command line argments for the TimeoutSeconds.
Functions ¶
func FillCobraCommand ¶
FillCobraCommand assigns default parameters for this command to the Cobra command.
Types ¶
type InstallModeling ¶
NamespaceDeleting deletes the namespace and waits for the results up to a timeout period.
func NewInstallModeling ¶
func NewInstallModeling() (InstallModeling, error)
NewNamespaceDeleting uses local kubernetes configuration files in $HOME/.kub/config to connect to Kubernetes and passess back a NamespaceDeleting.
type Parms ¶
type Parms struct { Namespace string `validate:"min=2" arg:"required=true,shortname=n" help:"Kubernetes namespace to install into."` TimeoutSeconds int `validate:"min=0" arg:"shortname=t,defaultValue=720" help:"Number of seconds to wait until the kubernetes commands give up."` QueryForAllPodsRunningSeconds int `` /* 129-byte string literal not displayed */ }
Parms are the parameters for the command.
Click to show internal directories.
Click to hide internal directories.