Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func (Pipeline) Execute ¶
func (p Pipeline) Execute( goContext context.Context, serviceName string, workspaceDescription workspace.Description, outChan chan StepExecResult)
Each step can be returned as completed several times, because of possible pipeline rerun Step with seq_no = -1 means some error inside pipeline, not step
type PipelineBuilder ¶
type PipelineBuilder struct {
// contains filtered or unexported fields
}
func NewPipelineBuilder ¶
func NewPipelineBuilder() *PipelineBuilder
func (*PipelineBuilder) Build ¶
func (pb *PipelineBuilder) Build() Pipeline
func (*PipelineBuilder) Register ¶
func (pb *PipelineBuilder) Register(step Step) *PipelineBuilder
type Step ¶
type Step interface { Name() string Execute(*gencontext.GenContext) (StepResult, error) }
type StepExecResult ¶
Click to show internal directories.
Click to hide internal directories.