chore: add docs to the ChartInput type

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-07-23 18:40:43 -04:00
1 parent e83ba595aa
commit 272327af89
1 file changed
+26 -8
+26 -8
View File
@@ -51,16 +51,34 @@ var DeployLogPrinter = func(format string, v ...interface{}) {
} }
} }
// ChartInput is the input for the InstallOrUpgradeChart function
type ChartInput struct { type ChartInput struct {
ChartPath string // ChartPath is the path to the chart to install or upgrade
Namespace string ChartPath string
ReleaseName string
RepoURL string // Namespace is the namespace to install or upgrade the chart in
Namespace string
// ReleaseName is the name of the release to install or upgrade
ReleaseName string
// RepoURL is the URL of the chart repository to install or upgrade the chart from
RepoURL string
// RollbackOnFailure is whether to rollback on failure
RollbackOnFailure bool RollbackOnFailure bool
Timeout time.Duration
Wait bool // Timeout is the timeout for the install or upgrade
Version string Timeout time.Duration
Values map[string]interface{}
// Wait is whether to wait for the install or upgrade to complete
Wait bool
// Version is the version of the chart to install or upgrade
Version string
// Values is the values to pass to the chart
Values map[string]interface{}
} }
type Release struct { type Release struct {