helm

package
v4.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: AGPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusUnknown  string = "unknown"
	StatusPending  string = "pending"
	StatusDeployed string = "deployed"
	StatusFailed   string = "failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHelmer

type DefaultHelmer struct{}

func (*DefaultHelmer) PackageChart

func (d *DefaultHelmer) PackageChart(path string, destDir string) (string, error)

func (*DefaultHelmer) ReleaseStatus

func (d *DefaultHelmer) ReleaseStatus(releaseName, namespace string) types.Deploy

func (*DefaultHelmer) Rollback

func (d *DefaultHelmer) Rollback(releaseName, namespace string, wait bool, log contracts.LogFn, dryRun bool) error

func (*DefaultHelmer) Uninstall

func (d *DefaultHelmer) Uninstall(releaseName, namespace string, log contracts.LogFn) error

func (*DefaultHelmer) UpgradeOrInstall

func (d *DefaultHelmer) UpgradeOrInstall(ctx context.Context, releaseName, namespace string, ch *chart.Chart, valueOpts *values.Options, fn contracts.WrapLogFn, wait bool, timeoutSeconds int64, dryRun bool, desc string) (*release.Release, error)

type ListReleaseItem

type ListReleaseItem struct {
	Release *release.Release
	Status  string
}

type ReleaseList

type ReleaseList map[string]ListReleaseItem

func (ReleaseList) Add

func (l ReleaseList) Add(r *release.Release)

func (ReleaseList) GetStatus

func (l ReleaseList) GetStatus(namespace, name string) string

Jump to

Keyboard shortcuts

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