Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestVersion ¶
GetLatestVersion loads an index file and returns version of the latest chart. Sort by SemVer.
Assumption that all charts are versioned in the same way.
func PrintReleaseStatus ¶
PrintReleaseStatus returns release description similar to what Helm does, based on https://github.com/helm/helm/blob/f31d4fb3aacabf6102b3ec9214b3433a3dbf1812/cmd/helm/status.go#L126C1-L138C3
Types ¶
type Config ¶
type Config struct { ReleaseName string ChartName string Version string RepoLocation string AutoApprove bool Namespace string SkipCRDs bool DisableHooks bool DryRun bool Force bool Atomic bool SubNotes bool Description string DisableOpenAPIValidation bool DependencyUpdate bool Values values.Options UpgradeConfig }
Config holds Helm configuration parameters.
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
Helm provides option to or update install Helm charts.
type Run ¶
type Run func(ctx context.Context, relName string, chart *chart.Chart, vals map[string]any) (*release.Release, error)
Run provides single function signature both for install and upgrade.
type UpgradeConfig ¶
UpgradeConfig holds upgrade related settings.
Click to show internal directories.
Click to hide internal directories.