Documentation
¶
Overview ¶
Package helm contains the helm CLI client interface and implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CommandPath is the location of the helm binary.
CommandPath = "./helm"
)
Functions ¶
This section is empty.
Types ¶
type CLIClient ¶ added in v0.0.44
type CLIClient struct {
// contains filtered or unexported fields
}
CLIClient is a Helm client that interacts with the Helm CLI.
func NewHelmClient ¶
func NewHelmClient(config *clientcmdapi.Config) *CLIClient
NewHelmClient creates a new Helm client from the given config
type Client ¶ added in v0.0.44
type Client interface {
Delete(name, namespace string) error
Pull(options Options) error
Upgrade(name, namespace string, options Options) error
}
Client is an interface for interacting with the Helm CLI.
type Options ¶
type Options struct {
Chart string
Path string
Repo string
Version string
Values string
SetValues map[string]string
SetStringValues map[string]string
Username string
Password string
Atomic bool
Force bool
CreateNamespace bool
Untar bool
UntarDir string
CaFile string
InsecureSkipTLSVerify bool
ExtraArgs []string
}
Options holds all the options for installing/pulling/upgrading a chart.
func (Options) ConfigureArchive ¶
ConfigureArchive adds the archive flags to the command.
func (Options) ConfigureAuth ¶
ConfigureAuth adds basic auth flags to the command.
func (Options) ConfigureRepo ¶
ConfigureRepo adds the repo flag to the command.
func (Options) ConfigureTLS ¶
ConfigureTLS adds TLS flags to the command.
func (Options) ConfigureVersion ¶
ConfigureVersion adds the version flag to the command.
Click to show internal directories.
Click to hide internal directories.