package
1.2.0
Repository: https://github.com/fluxcd/helm-controller.git
Documentation: pkg.go.dev

# Functions

ApplyDiff applies the changes described in the provided jsondiff.DiffSet to the Kubernetes cluster.
Diff returns a jsondiff.DiffSet of the changes between the state of the cluster and the Helm release.Release manifest.
Install runs the Helm install action with the provided config, using the v2.HelmReleaseSpec of the given object to determine the target release and rollback configuration.
LastRelease returns the last release object in the Helm storage with the given name.
MustResetFailures returns a reason and true if the HelmRelease's status indicates that the HelmRelease failure counters must be reset.
NewConfigFactory returns a new ConfigFactory configured with the provided options.
NewDebugLog returns an action.DebugLog that logs to the given logr.Logger.
NewLogBuffer creates a new LogBuffer with the given log function and a buffer of the given size.
ReleaseTargetChanged returns a reason and true if the given release and/or chart name have been mutated in such a way that it no longer has the same release target as recorded in the Status.History of the object, by comparing the (storage) namespace, and release and chart names.
Rollback runs the Helm rollback action with the provided config.
RollbackDryRun returns a RollbackOption which enables the dry-run setting.
RollbackToVersion returns a RollbackOption which sets the version to roll back to.
Test runs the Helm test action with the provided config, using the v2.HelmReleaseSpec of the given object to determine the target release and test configuration.
Uninstall runs the Helm uninstall action with the provided config, using the v2.HelmReleaseSpec of the given object to determine the target release and uninstall configuration.
Upgrade runs the Helm upgrade action with the provided config, using the v2.HelmReleaseSpec of the given object to determine the target release and upgrade configuration.
VerifyRelease verifies that the data of the given release matches the given chart metadata, and the provided values match the Snapshot.ConfigDigest.
VerifyReleaseObject verifies the data of the given v2.Snapshot matches the given Helm release object.
VerifySnapshot verifies the data of the given v2.Snapshot matches the release object in the Helm storage.
WithDriver sets the ConfigFactory.Driver.
WithStorage configures the ConfigFactory.Driver by constructing a new Helm driver.Driver using the provided driver name and namespace.
WithStorageLog sets the ConfigFactory.StorageLog.

# Constants

DefaultCRDPolicy is the default CRD policy.
DefaultLogBufferSize is the default size of the LogBuffer.
DefaultStorageDriver is the default Helm storage driver.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ConfigFactory is a factory for the Helm action configuration of a (series of) Helm action(s).
LogBuffer is a ring buffer that logs to a Helm action.DebugLog.

# Type aliases

ConfigFactoryOption is a function that configures a ConfigFactory.
InstallOption can be used to modify Helm's action.Install after the instructions from the v2.HelmRelease have been applied.
RollbackOption can be used to modify Helm's action.Rollback after the instructions from the v2.HelmRelease have been applied.
TestOption can be used to modify Helm's action.ReleaseTesting after the instructions from the v2.HelmRelease have been applied.
UninstallOption can be used to modify Helm's action.Uninstall after the instructions from the v2.HelmRelease have been applied.
UpgradeOption can be used to modify Helm's action.Upgrade after the instructions from the v2.HelmRelease have been applied.