Manager manages a Helm release. It can install, upgrade, reconcile, and uninstall a release.
| 48 | // Manager manages a Helm release. It can install, upgrade, reconcile, |
| 49 | // and uninstall a release. |
| 50 | type Manager interface { |
| 51 | ReleaseName() string |
| 52 | IsInstalled() bool |
| 53 | IsUpgradeRequired() bool |
| 54 | Sync() error |
| 55 | InstallRelease(...InstallOption) (*rpb.Release, error) |
| 56 | UpgradeRelease(...UpgradeOption) (*rpb.Release, *rpb.Release, error) |
| 57 | RollBack(...RollBackOption) error |
| 58 | ReconcileRelease(context.Context) (*rpb.Release, error) |
| 59 | UninstallRelease(...UninstallOption) (*rpb.Release, error) |
| 60 | CleanupRelease(string) (bool, error) |
| 61 | } |
| 62 | |
| 63 | type manager struct { |
| 64 | actionConfig *action.Configuration |
no outgoing calls
no test coverage detected