Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppIdLabelKey = "o.app.id" ComponentIdLabelKey = "oam.runtime.component.id" IstioEnableLabelKey = "istio-injection" )
View Source
const ( LabelSuccess = "success" LabelNamespace = "namespace" LabelTargetNamespace = "target_namespace" LabelReleaseName = "release_name" LabelAction = "action" )
View Source
const ( InstallAction action = "install" UpgradeAction action = "upgrade" MigrateAction action = "migrate" SkipAction action = "skip" RollbackAction action = "rollback" UninstallAction action = "uninstall" DryRunCompareAction action = "dry-run-compare" AnnotateAction action = "annotate" TestAction action = "test" )
View Source
const (
MigrateAnnotation string = "helm.fluxcd.io/migrate"
)
Variables ¶
This section is empty.
Functions ¶
func ObserveRelease ¶
Types ¶
type Config ¶
Config holds the configuration for releases.
func (Config) WithDefaults ¶
WithDefaults sets the default values for the release config.
type Release ¶
type Release struct {
// contains filtered or unexported fields
}
Release holds the elements required to perform a Helm release, and provides the methods to perform a sync or uninstall.
func New ¶
func New(logger log.Logger, helmClients *helm.Clients, coreV1Client corev1client.CoreV1Interface, hrClient v1client.HelmV1Interface, gitChartSync *chartsync.GitChartSync, config Config, converter helmV3.Converter) *Release
New returns a new instance of Release
Source Files ¶
Click to show internal directories.
Click to hide internal directories.