Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStartInternalProxyArgs ¶ added in v0.2.0
GetStartInternalProxyArgs 获取启动代理服务的命令行参数
func NewKubectlCommandWithInternalProxy ¶ added in v0.2.0
func NewKubectlCommandWithInternalProxy( clientGetter genericclioptions.RESTClientGetter, parent string, newCmd NewKubectlCommandFunc, newValidArgsFunc NewValidArgsFunc, ) *cobra.Command
NewKubectlCommandWithInternalProxy 创建使用缓存代理的 kubectl 命令
Types ¶
type NewKubectlCommandFunc ¶ added in v0.2.0
type NewKubectlCommandFunc func( parent string, f kubectlcmdutil.Factory, streams genericiooptions.IOStreams, ) *cobra.Command
NewKubectlCommandFunc 创建 kubectl 命令方法
type NewValidArgsFunc ¶ added in v0.2.0
type NewValidArgsFunc func( f kubectlcmdutil.Factory, ) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
NewValidArgsFunc 生成 cobra.Command.ValidArgsFunction 方法
Click to show internal directories.
Click to hide internal directories.