Versions in this module Expand all Collapse all v1 v1.0.0 Jul 29, 2020 Changes in this version + const ChartFileName + const DefaultWritePermissions + const MaximumNewDirectoryAttempts + func ContentTypeForFileName(name string) string + func CopyDir(src string, dst string, force bool) (err error) + func CopyDirOverwrite(src string, dst string) (err error) + func CopyDirPreserve(src string, dst string) error + func CopyFile(src, dst string) (err error) + func CopyFileOrDir(src string, dst string, force bool) (err error) + func CreateUniqueDirectory(dir string, name string, maximumAttempts int) (string, error) + func DeleteDirContents(dir string) error + func DeleteDirContentsExcept(dir string, exceptDir string) error + func DeleteFile(fileName string) (err error) + func DestroyFile(filename string) error + func DirExists(path string) (bool, error) + func FileExists(path string) (bool, error) + func FileIsEmpty(path string) (bool, error) + func FilterFileExists(paths []string) []string + func FirstFileExists(paths ...string) (string, error) + func GlobAllFiles(basedir string, pattern string, fn func(string) error) error + func IgnoreFile(path string, ignores []string) (bool, error) + func IsEmpty(name string) (bool, error) + func ListDirectory(root string, recurse bool) error + func LoadBytes(dir, name string) ([]byte, error) + func Now() *timestamp.Timestamp + func PathWithBinary(paths ...string) string + func RecreateDirs(dirs ...string) error + func RenameDir(src string, dst string, force bool) (err error) + func RenameFile(src string, dst string) (err error) + func SplitManifests(bigFile string) map[string]string + func Template(repo string, releaseName string, outputDir string, showNotes bool, ...) (res string, err error) + func Timestamp(t time.Time) *timestamp.Timestamp + type ChartSummary struct + AppVersion string + ChartVersion string + Description string + Name string + type Command struct + Args []string + Dir string + Env map[string]string + Err io.Writer + Errors []error + ExponentialBackOff *backoff.ExponentialBackOff + Name string + Out io.Writer + Timeout time.Duration + func (c *Command) Attempts() int + func (c *Command) CurrentArgs() []string + func (c *Command) CurrentDir() string + func (c *Command) CurrentEnv() map[string]string + func (c *Command) CurrentName() string + func (c *Command) DidError() bool + func (c *Command) DidFail() bool + func (c *Command) Error() error + func (c *Command) Run() (string, error) + func (c *Command) RunWithoutRetry() (string, error) + func (c *Command) SetArgs(args []string) + func (c *Command) SetDir(dir string) + func (c *Command) SetEnv(env map[string]string) + func (c *Command) SetEnvVariable(name string, value string) + func (c *Command) SetExponentialBackOff(backoff *backoff.ExponentialBackOff) + func (c *Command) SetName(name string) + func (c *Command) SetTimeout(timeout time.Duration) + func (c *Command) String() string + type CommandError struct + Command Command + Output string + func (c CommandError) Error() string + type Commander interface + CurrentArgs func() []string + CurrentDir func() string + CurrentEnv func() map[string]string + CurrentName func() string + DidError func() bool + DidFail func() bool + Error func() error + Run func() (string, error) + RunWithoutRetry func() (string, error) + SetArgs func([]string) + SetDir func(string) + SetEnv func(map[string]string) + SetEnvVariable func(string, string) + SetExponentialBackOff func(*backoff.ExponentialBackOff) + SetName func(string) + SetTimeout func(time.Duration) + type HelmCLI struct + BinVersion Version + Binary string + CWD string + Debug bool + Runner Commander + func NewHelmCLI(binary string, version Version, cwd string, debug bool, args ...string) *HelmCLI + func NewHelmCLIWithRunner(runner Commander, binary string, version Version, cwd string, debug bool) *HelmCLI + func (h *HelmCLI) AddRepo(repo, URL, username, password string) error + func (h *HelmCLI) BuildDependency() error + func (h *HelmCLI) DecryptSecrets(location string) error + func (h *HelmCLI) DeleteRelease(ns string, releaseName string, purge bool) error + func (h *HelmCLI) Env() map[string]string + func (h *HelmCLI) FetchChart(chart string, version string, untar bool, untardir string, repo string, ...) error + func (h *HelmCLI) FindChart() (string, error) + func (h *HelmCLI) HelmBinary() string + func (h *HelmCLI) Init(clientOnly bool, serviceAccount string, tillerNamespace string, upgrade bool) error + func (h *HelmCLI) InstallChart(chart string, releaseName string, ns string, version string, timeout int, ...) error + func (h *HelmCLI) IsRepoMissing(URL string) (bool, error) + func (h *HelmCLI) Lint() (string, error) + func (h *HelmCLI) ListCharts() (string, error) + func (h *HelmCLI) ListRepos() (map[string]string, error) + func (h *HelmCLI) PackageChart() error + func (h *HelmCLI) RemoveRepo(repo string) error + func (h *HelmCLI) RemoveRequirementsLock() error + func (h *HelmCLI) SearchChartVersions(chart string) ([]string, error) + func (h *HelmCLI) SearchCharts(filter string) ([]ChartSummary, error) + func (h *HelmCLI) SetCWD(dir string) + func (h *HelmCLI) SetHelmBinary(binary string) + func (h *HelmCLI) SetHost(tillerAddress string) + func (h *HelmCLI) StatusRelease(ns string, releaseName string) error + func (h *HelmCLI) Template(chart string, releaseName string, ns string, outDir string, upgrade bool, ...) error + func (h *HelmCLI) UpdateRepo() error + func (h *HelmCLI) UpgradeChart(chart string, releaseName string, ns string, version string, install bool, ...) error + func (h *HelmCLI) Version(tls bool) (string, error) + func (h *HelmCLI) VersionWithArgs(tls bool, extraArgs ...string) (string, error) + type SimpleHead struct + Kind string + Metadata ... + Version string + type Version int + const V2 + const V3