commands

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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 NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand 创建一个 kubectl-cache 命令

func NewRootCommandWithOptions

func NewRootCommandWithOptions(opts options.Options) *cobra.Command

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL