Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPodRunningTimeoutFlag ¶
AddPodRunningTimeoutFlag specifies the amount of time to wait for a pod to be in running state
func NormalizeArgs ¶
NormalizeArgs performs various normalizations on args Converts Type Name => Type/Name This conversion is done because kubernetes completions only work with spaces and not slashes. Resource(s) => Resource Portforwarding works on singular resource rather than its plural version.
Types ¶
type Factory ¶
type Factory struct { cmdutil.Factory IOStreams iostreams.IOStreams RestConfig *rest.Config // Resources which are actively being portforwarded Resources map[string]*portforward.PortForwardOptions Client *kubernetes.Clientset Interactive bool Root *cobi.Command }
Factory contains the current state of app
Click to show internal directories.
Click to hide internal directories.