helm

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasRepo

func HasRepo(repo, aUrl string) (bool, error)

Types

type ExecHelmFunc

type ExecHelmFunc func(args ...string) error
var ExecHelm ExecHelmFunc = func(args ...string) error {
	osCmd := exec.Command("helm", args...)
	osCmd.Stdin = os.Stdin
	osCmd.Stdout = os.Stdout
	osCmd.Stderr = os.Stderr

	return osCmd.Run()
}

type GetHelmFunc

type GetHelmFunc func(args ...string) (string, error)
var GetHelm GetHelmFunc = func(args ...string) (string, error) {
	osCmd := exec.Command("helm", args...)
	osCmd.Stdin = os.Stdin
	osCmd.Stderr = os.Stderr

	outputBytes, err := osCmd.Output()
	return string(outputBytes), err
}

Jump to

Keyboard shortcuts

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