commands

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStartInternalProxyArgs

func GetStartInternalProxyArgs(cmd *cobra.Command) []string

GetStartInternalProxyArgs 获取启动代理服务的命令行参数

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 使用指定选项创建

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
JackTT - Gopher 🇻🇳