Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArgSubCommand string
ArgSubCommand is used to populate command line argments for the ArgSubCommand.
Functions ¶
func FillCobraCommand ¶
FillCobraCommand assigns default parameters for this command to the Cobra command.
Types ¶
type NamespaceDeleting ¶
NamespaceDeleting deletes the namespace and waits for the results up to a timeout period.
func NewNamespaceDeleting ¶
func NewNamespaceDeleting() (NamespaceDeleting, 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 `arg:"shortname=t,defaultValue=720" help:"Number of seconds to wait until the kubernetes commands give up."` QueryForAllPodsRunningSeconds int `arg:"shortname=q,defaultValue=2" help:"Number of seconds to wait until querying to see if all pods are running."` }
Parms are the parameters for the command.
Click to show internal directories.
Click to hide internal directories.