type ProxyOptions … const defaultPort … const defaultStaticPrefix … const defaultAPIPrefix … const defaultAddress … var proxyLong … var proxyExample … // NewProxyOptions creates the options for proxy func NewProxyOptions(ioStreams genericiooptions.IOStreams) *ProxyOptions { … } // NewCmdProxy returns the proxy Cobra command func NewCmdProxy(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … } // Complete adapts from the command line args and factory to the data required. func (o *ProxyOptions) Complete(f cmdutil.Factory) error { … } // Validate checks to the ProxyOptions to see if there is sufficient information to run the command. func (o ProxyOptions) Validate() error { … } // RunProxy checks given arguments and executes command func (o ProxyOptions) RunProxy() error { … }