step

package
v1.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyComponentWorkflowStepGenerator

type ApplyComponentWorkflowStepGenerator struct{}

ApplyComponentWorkflowStepGenerator generate apply-component workflow steps for all components in the application

func (*ApplyComponentWorkflowStepGenerator) Generate

func (g *ApplyComponentWorkflowStepGenerator) Generate(app *v1beta1.Application, existingSteps []v1beta1.WorkflowStep) (steps []v1beta1.WorkflowStep, err error)

Generate generate workflow steps

type ChainWorkflowStepGenerator

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

ChainWorkflowStepGenerator chains multiple workflow step generators

func (*ChainWorkflowStepGenerator) Generate

func (g *ChainWorkflowStepGenerator) Generate(app *v1beta1.Application, existingSteps []v1beta1.WorkflowStep) (steps []v1beta1.WorkflowStep, err error)

Generate generate workflow steps

type Deploy2EnvWorkflowStepGenerator

type Deploy2EnvWorkflowStepGenerator struct{}

Deploy2EnvWorkflowStepGenerator generate deploy2env workflow steps for all envs in the application

func (*Deploy2EnvWorkflowStepGenerator) Generate

func (g *Deploy2EnvWorkflowStepGenerator) Generate(app *v1beta1.Application, existingSteps []v1beta1.WorkflowStep) (steps []v1beta1.WorkflowStep, err error)

Generate generate workflow steps

type WorkflowStepGenerator

type WorkflowStepGenerator interface {
	Generate(app *v1beta1.Application, existingSteps []v1beta1.WorkflowStep) ([]v1beta1.WorkflowStep, error)
}

WorkflowStepGenerator generator generates workflow steps

func NewChainWorkflowStepGenerator

func NewChainWorkflowStepGenerator(generators ...WorkflowStepGenerator) WorkflowStepGenerator

NewChainWorkflowStepGenerator create ChainWorkflowStepGenerator

Jump to

Keyboard shortcuts

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