cmd

package
v2.0.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0, Apache-2.0 Imports: 66 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Settings = settings

Functions

func AddWaitFlag

func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy)

func NewRootCmd

func NewRootCmd(out io.Writer, args []string, logSetup func(bool)) (*cobra.Command, error)

func SetupLogging

func SetupLogging(debug bool)

SetupLogging sets up Helm logging used by the Helm client. This function is passed to the NewRootCmd function to enable logging. Any other application that uses the NewRootCmd function to setup all the Helm commands may use this function to setup logging or their own. Using a custom logging setup function enables applications using Helm commands to integrate with their existing logging system. The debug argument is the value if Helm is set for debugging (i.e. --debug flag)

Types

type CommandError

type CommandError struct {
	ExitCode int
	// contains filtered or unexported fields
}

Directories

Path Synopsis
Package search provides client-side repository searching.
Package search provides client-side repository searching.

Jump to

Keyboard shortcuts

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