Documentation ¶
Index ¶
- func GetAlphaCommand(ctx context.Context, name, version string) *cobra.Command
- func GetAlphaLiveCommand(ctx context.Context, _, version string) *cobra.Command
- func GetFnCommand(ctx context.Context, name string) *cobra.Command
- func GetKptCommands(ctx context.Context, name, version string) []*cobra.Command
- func GetLiveCommand(ctx context.Context, _, version string) *cobra.Command
- func GetPkgCommand(ctx context.Context, name string) *cobra.Command
- func NewRepoCommand(ctx context.Context, version string) *cobra.Command
- func NewRpkgCommand(ctx context.Context, version string) *cobra.Command
- func NewSyncCommand(ctx context.Context, version string) *cobra.Command
- func NewWasmCommand(ctx context.Context, version string) *cobra.Command
- func NormalizeCommand(c ...*cobra.Command)
- func UpdateQPS(flags *genericclioptions.ConfigFlags)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlphaCommand ¶
func GetAlphaLiveCommand ¶
func GetKptCommands ¶
GetKptCommands returns the set of kpt commands to be registered
func NormalizeCommand ¶
NormalizeCommand will modify commands to be consistent, e.g. silencing errors
func UpdateQPS ¶
func UpdateQPS(flags *genericclioptions.ConfigFlags)
UpdateQPS modifies a genericclioptions.ConfigFlags to update the client-side throttling QPS and Burst QPS (including for discovery).
If Flow Control is enabled on the apiserver, client-side throttling is disabled!
If Flow Control is disabled or undetected on the apiserver, client-side throttling QPS will be increased to at least 30 (burst: 60).
Flow Control is enabled by default on Kubernetes v1.20+. https://kubernetes.io/docs/concepts/cluster-administration/flow-control/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.