Documentation ¶
Index ¶
- func NewDescribeCommand(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
- func NewGetCommand(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
- func NewInternalProxyCommandWithOptions(opts *options.InternalProxyOptions) *cobra.Command
- func NewProxiesCommandWithOptions(opts *options.ProxiesOptions) *cobra.Command
- func NewProxyCommandWithOptions(opts *options.ProxyOptions) *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewRootCommandWithOptions(opts options.Options) *cobra.Command
- func NewShutdownCommandWithOptions(opts *options.ShutdownOptions) *cobra.Command
- func NewVersionCommandWithOptions(opts *options.VersionOptions) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDescribeCommand ¶ added in v0.2.0
func NewDescribeCommand(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
NewDescribeCommand 创建 describe 子命令
func NewGetCommand ¶
func NewGetCommand(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
NewGetCommand 创建 get 子命令
func NewInternalProxyCommandWithOptions ¶
func NewInternalProxyCommandWithOptions(opts *options.InternalProxyOptions) *cobra.Command
NewInternalProxyCommandWithOptions 基于选项创建 internal-proxy 子命令 该命令和 proxy 子命令作用基本一样,只不过专用于实现内部逻辑(比如 get 命令)
func NewProxiesCommandWithOptions ¶
func NewProxiesCommandWithOptions(opts *options.ProxiesOptions) *cobra.Command
NewProxiesCommandWithOptions 基于选项创建 proxies 子命令
func NewProxyCommandWithOptions ¶
func NewProxyCommandWithOptions(opts *options.ProxyOptions) *cobra.Command
NewProxyCommandWithOptions 基于选项创建 proxy 子命令
func NewRootCommandWithOptions ¶
NewRootCommandWithOptions 基于选项创建一个 kubectl-cache 命令
func NewShutdownCommandWithOptions ¶
func NewShutdownCommandWithOptions(opts *options.ShutdownOptions) *cobra.Command
NewShutdownCommandWithOptions 使用指定选项创建 shutdown 子命令
func NewVersionCommandWithOptions ¶ added in v0.2.0
func NewVersionCommandWithOptions(opts *options.VersionOptions) *cobra.Command
NewVersionCommandWithOptions 基于选项创建 version 子命令
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.