phasemanagers

package
v1.23.2 Latest Latest
Warning

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

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

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