phases

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 DeployedResourcesCalculator

type DeployedResourcesCalculator struct {
	// contains filtered or unexported fields
}

func NewDeployedResourcesCalculator

func NewDeployedResourcesCalculator(history []*rel.Release, stagesSplitter Splitter, kubeClient kube.Interface) *DeployedResourcesCalculator

func (*DeployedResourcesCalculator) Calculate

type ExternalDepsGenerator

type ExternalDepsGenerator interface {
	Generate(stages stages.SortedStageList) error
}

type NoExternalDepsGenerator

type NoExternalDepsGenerator struct{}

func (*NoExternalDepsGenerator) Generate

type RolloutPhase

type RolloutPhase struct {
	SortedStages stages.SortedStageList
	Release      *rel.Release
	// contains filtered or unexported fields
}

func NewRolloutPhase

func NewRolloutPhase(release *rel.Release, stagesSplitter Splitter, kubeClient kube.Interface) *RolloutPhase

func (*RolloutPhase) AllResources

func (m *RolloutPhase) AllResources() kube.ResourceList

func (*RolloutPhase) DeployedResources

func (m *RolloutPhase) DeployedResources() kube.ResourceList

func (*RolloutPhase) GenerateStagesExternalDeps

func (m *RolloutPhase) GenerateStagesExternalDeps(stagesExternalDepsGenerator ExternalDepsGenerator) error

func (*RolloutPhase) IsPhaseCompleted

func (m *RolloutPhase) IsPhaseCompleted() bool

func (*RolloutPhase) IsPhaseStarted

func (m *RolloutPhase) IsPhaseStarted() bool

func (*RolloutPhase) LastDeployedStageIndex

func (m *RolloutPhase) LastDeployedStageIndex() *int

func (*RolloutPhase) ParseStages

func (m *RolloutPhase) ParseStages(resources kube.ResourceList) (*RolloutPhase, error)

func (*RolloutPhase) ParseStagesFromString

func (m *RolloutPhase) ParseStagesFromString(manifests string) (*RolloutPhase, error)

type SingleStageSplitter

type SingleStageSplitter struct{}

func (*SingleStageSplitter) Split

type Splitter

type Splitter interface {
	Split(resources kube.ResourceList) (stages.SortedStageList, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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