phasemanagers

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyError

type ApplyError struct {
	StageIndex int
	Err        error
}

func (ApplyError) Error

func (e ApplyError) Error() string

func (ApplyError) Unwrap

func (e ApplyError) Unwrap() error

type RolloutPhaseManager

type RolloutPhaseManager struct {
	Phase   *phases.RolloutPhase
	Release *rel.Release
	Storage *storage.Storage
	// contains filtered or unexported fields
}

func NewRolloutPhaseManager

func NewRolloutPhaseManager(rolloutPhase *phases.RolloutPhase, deployedResCalc *phases.DeployedResourcesCalculator, release *rel.Release, storage *storage.Storage, kubeClient kube.Interface) *RolloutPhaseManager

func (*RolloutPhaseManager) AddCalculatedPreviouslyDeployedResources

func (m *RolloutPhaseManager) AddCalculatedPreviouslyDeployedResources() (*RolloutPhaseManager, error)

func (*RolloutPhaseManager) AddPreviouslyDeployedResources

func (m *RolloutPhaseManager) AddPreviouslyDeployedResources(resources kube.ResourceList) *RolloutPhaseManager

func (*RolloutPhaseManager) DeleteOrphanedResources

func (m *RolloutPhaseManager) DeleteOrphanedResources() error

func (*RolloutPhaseManager) DoStage

func (m *RolloutPhaseManager) DoStage(
	extDepTrackFn func(stgIndex int, stage *stages.Stage) error,
	applyFn func(stgIndex int, stage *stages.Stage, prevDeployedStgResources kube.ResourceList) error,
	trackFn func(stgIndex int, stage *stages.Stage) error,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL