phases

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 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 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