Documentation
¶
Index ¶
- type DeployedResourcesCalculator
- type ExternalDepsGenerator
- type NoExternalDepsGenerator
- type RolloutPhase
- func (m *RolloutPhase) AllResources() kube.ResourceList
- func (m *RolloutPhase) DeployedResources() kube.ResourceList
- func (m *RolloutPhase) GenerateStagesExternalDeps(stagesExternalDepsGenerator ExternalDepsGenerator) error
- func (m *RolloutPhase) IsPhaseCompleted() bool
- func (m *RolloutPhase) IsPhaseStarted() bool
- func (m *RolloutPhase) LastDeployedStageIndex() *int
- func (m *RolloutPhase) ParseStages(resources kube.ResourceList) (*RolloutPhase, error)
- func (m *RolloutPhase) ParseStagesFromString(manifests string) (*RolloutPhase, error)
- type SingleStageSplitter
- type Splitter
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 (*DeployedResourcesCalculator) Calculate ¶
func (c *DeployedResourcesCalculator) Calculate() (kube.ResourceList, error)
type ExternalDepsGenerator ¶
type ExternalDepsGenerator interface {
Generate(stages stages.SortedStageList) error
}
type NoExternalDepsGenerator ¶
type NoExternalDepsGenerator struct{}
func (*NoExternalDepsGenerator) Generate ¶
func (g *NoExternalDepsGenerator) Generate(_ stages.SortedStageList) error
type RolloutPhase ¶
type RolloutPhase struct {
SortedStages stages.SortedStageList
Release *rel.Release
// contains filtered or unexported fields
}
func NewRolloutPhase ¶
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 ¶
func (s *SingleStageSplitter) Split(resources kube.ResourceList) (stages.SortedStageList, error)
type Splitter ¶
type Splitter interface {
Split(resources kube.ResourceList) (stages.SortedStageList, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.