Versions in this module Expand all Collapse all v1 v1.24.0 Apr 21, 2026 Changes in this version + const HiddenInsignificantChanges + const HiddenSensitiveChanges + const HiddenVerboseCRDChanges + const HiddenVerboseChanges + const OperationCategoryMeta + const OperationCategoryRelease + const OperationCategoryResource + const OperationCategoryTrack + const OperationStatusCompleted + const OperationStatusFailed + const OperationStatusPending + const OperationStatusUnknown + const OperationTypeApply + const OperationTypeCreate + const OperationTypeCreateRelease + const OperationTypeDelete + const OperationTypeDeleteRelease + const OperationTypeNoop + const OperationTypeRecreate + const OperationTypeTrackAbsence + const OperationTypeTrackPresence + const OperationTypeTrackReadiness + const OperationTypeUpdate + const OperationTypeUpdateRelease + const OperationVersionApply + const OperationVersionCreate + const OperationVersionCreateRelease + const OperationVersionDelete + const OperationVersionDeleteRelease + const OperationVersionNoop + const OperationVersionRecreate + const OperationVersionTrackAbsence + const OperationVersionTrackPresence + const OperationVersionTrackReadiness + const OperationVersionUpdate + const OperationVersionUpdateRelease + const PlanArtifactSchemeVersion + var OrderedResourceInstallTypes = []ResourceInstallType + func BuildResourceInfos(ctx context.Context, deployType common.DeployType, ...) (instResourceInfos []*InstallableResourceInfo, ...) + func ExecutePlan(parentCtx context.Context, releaseNamespace string, plan *Plan, ...) error + func InstallableResourceInfoSortByMustInstallHandler(r1, r2 *InstallableResourceInfo) bool + func InstallableResourceInfoSortByStageHandler(r1, r2 *InstallableResourceInfo) bool + func OperationID(t OperationType, version OperationVersion, iteration OperationIteration, ...) string + func OperationIDHuman(t OperationType, iteration OperationIteration, configIDHuman string) string + func ResourceInstallTypeSortHandler(type1, type2 ResourceInstallType) bool + func ValidatePlanArtifact(artifact *PlanArtifact, lifetime time.Duration) error + func ValidateRemote(releaseName, releaseNamespace string, ...) error + func WritePlanArtifact(ctx context.Context, artifact *PlanArtifact, ...) error + type BuildFailurePlanOptions struct + NoFinalTracking bool + type BuildPlanOptions struct + NoFinalTracking bool + type BuildResourceInfosOptions struct + LastDeployedOrLastRelResourceSpecs []*spec.ResourceSpec + NetworkParallelism int + NoRemoveManualChanges bool + type DeletableResourceInfo struct + GetResult *unstructured.Unstructured + LocalResource *resource.DeletableResource + MustDelete bool + MustTrackAbsence bool + Stage common.Stage + type ExecutePlanOptions struct + LegacyProgressReporter *LegacyProgressReporter + NetworkParallelism int + type InstallableResourceInfo struct + DryApplyErr error + DryApplyResult *unstructured.Unstructured + GetResult *unstructured.Unstructured + Iteration int + LocalResource *resource.InstallableResource + MustDeleteOnFailedInstall bool + MustDeleteOnSuccessfulInstall bool + MustInstall ResourceInstallType + MustTrackReadiness bool + Stage common.Stage + StageDeleteOnSuccessfulInstall common.Stage + type LegacyProgressReporter struct + func NewLegacyProgressReporter(reportCh chan<- progrep.ProgressReport) *LegacyProgressReporter + func (r *LegacyProgressReporter) ReportStatus(opID string, status progrep.OperationStatus) + func (r *LegacyProgressReporter) Stop(ctx context.Context) + type Operation struct + Category OperationCategory + Config OperationConfig + Iteration OperationIteration + Status OperationStatus + Type OperationType + Version OperationVersion + func (o *Operation) ID() string + func (o *Operation) IDHuman() string + func (o *Operation) UnmarshalJSON(data []byte) error + type OperationCategory string + type OperationConfig interface + ID func() string + IDHuman func() string + type OperationConfigApply struct + ResourceSpec *spec.ResourceSpec + func (c *OperationConfigApply) ID() string + func (c *OperationConfigApply) IDHuman() string + type OperationConfigCreate struct + ForceReplicas *int + ResourceSpec *spec.ResourceSpec + func (c *OperationConfigCreate) ID() string + func (c *OperationConfigCreate) IDHuman() string + type OperationConfigCreateRelease struct + Release *helmrelease.Release + func (c *OperationConfigCreateRelease) ID() string + func (c *OperationConfigCreateRelease) IDHuman() string + type OperationConfigDelete struct + DeletePropagation metav1.DeletionPropagation + ResourceMeta *spec.ResourceMeta + func (c *OperationConfigDelete) ID() string + func (c *OperationConfigDelete) IDHuman() string + type OperationConfigDeleteRelease struct + ReleaseName string + ReleaseNamespace string + ReleaseRevision int + func (c *OperationConfigDeleteRelease) ID() string + func (c *OperationConfigDeleteRelease) IDHuman() string + type OperationConfigNoop struct + OpID string + func (c *OperationConfigNoop) ID() string + func (c *OperationConfigNoop) IDHuman() string + type OperationConfigRecreate struct + DeletePropagation metav1.DeletionPropagation + ForceReplicas *int + ResourceSpec *spec.ResourceSpec + func (c *OperationConfigRecreate) ID() string + func (c *OperationConfigRecreate) IDHuman() string + type OperationConfigTrackAbsence struct + ResourceMeta *spec.ResourceMeta + func (c *OperationConfigTrackAbsence) ID() string + func (c *OperationConfigTrackAbsence) IDHuman() string + type OperationConfigTrackPresence struct + ResourceMeta *spec.ResourceMeta + func (c *OperationConfigTrackPresence) ID() string + func (c *OperationConfigTrackPresence) IDHuman() string + type OperationConfigTrackReadiness struct + FailMode multitrack.FailMode + FailuresAllowed int + IgnoreLogs bool + IgnoreLogsByRegex *regexp.Regexp + IgnoreLogsByRegexForContainers map[string]*regexp.Regexp + IgnoreLogsForContainers []string + IgnoreReadinessProbeFailsByContainerName map[string]time.Duration + NoActivityTimeout time.Duration + ResourceMeta *spec.ResourceMeta + SaveEvents bool + SaveLogsByRegex *regexp.Regexp + SaveLogsByRegexForContainers map[string]*regexp.Regexp + SaveLogsOnlyForContainers []string + SaveLogsOnlyForNumberOfReplicas int + func (c *OperationConfigTrackReadiness) ID() string + func (c *OperationConfigTrackReadiness) IDHuman() string + type OperationConfigUpdate struct + ResourceSpec *spec.ResourceSpec + func (c *OperationConfigUpdate) ID() string + func (c *OperationConfigUpdate) IDHuman() string + type OperationConfigUpdateRelease struct + Release *helmrelease.Release + func (c *OperationConfigUpdateRelease) ID() string + func (c *OperationConfigUpdateRelease) IDHuman() string + type OperationIteration int + type OperationStatus string + type OperationType string + type OperationVersion int + type Plan struct + Graph graph.Graph[string, *Operation] + func BuildFailurePlan(failedPlan *Plan, installableInfos []*InstallableResourceInfo, ...) (*Plan, error) + func BuildPlan(installableInfos []*InstallableResourceInfo, ...) (*Plan, error) + func NewPlan() *Plan + func (p *Plan) AddOperationChain() *planChainBuilder + func (p *Plan) Connect(fromID, toID string) error + func (p *Plan) MarshalJSON() ([]byte, error) + func (p *Plan) Operation(id string) (op *Operation, found bool) + func (p *Plan) Operations() []*Operation + func (p *Plan) Optimize(noFinalTracking bool) error + func (p *Plan) SquashOperation(op *Operation) + func (p *Plan) ToDOT() ([]byte, error) + func (p *Plan) UnmarshalJSON(data []byte) error + type PlanArtifact struct + APIVersion string + Data *PlanArtifactData + DataRaw string + DeployType common.DeployType + Encrypted bool + Release PlanArtifactRelease + Timestamp time.Time + func ReadPlanArtifact(ctx context.Context, path, secretKey, secretWorkDir string) (*PlanArtifact, error) + type PlanArtifactData struct + Changes []*ResourceChange + InstallableResourceInfos []*InstallableResourceInfo + Options common.ReleaseInstallRuntimeOptions + Plan *Plan + Release *release.Release + ReleaseInfos []*ReleaseInfo + type PlanArtifactRelease struct + Name string + Namespace string + Revision int + type ReleaseInfo struct + Must ReleaseType + MustFailOnFailedDeploy bool + Release *helmrelease.Release + func BuildReleaseInfos(ctx context.Context, deployType common.DeployType, ...) ([]*ReleaseInfo, error) + type ReleaseType string + const ReleaseTypeDelete + const ReleaseTypeInstall + const ReleaseTypeNone + const ReleaseTypeRollback + const ReleaseTypeSupersede + const ReleaseTypeUninstall + const ReleaseTypeUpgrade + type ResourceChange struct + After *unstructured.Unstructured + Before *unstructured.Unstructured + ExtraOperations []string + Reason string + ResourceMeta *spec.ResourceMeta + Type string + TypeStyle color.Style + func CalculatePlannedChanges(installableInfos []*InstallableResourceInfo, ...) ([]*ResourceChange, error) + func (c *ResourceChange) UDiff(opts common.ResourceDiffOptions) (string, error) + type ResourceInstallType string + const ResourceInstallTypeApply + const ResourceInstallTypeCreate + const ResourceInstallTypeNone + const ResourceInstallTypeRecreate + const ResourceInstallTypeUpdate