Versions in this module Expand all Collapse all v0 v0.3.0 Jul 12, 2023 Changes in this version + const DefaultPipelineID + var ArgDefaults = map[string]func(context.Context) *exec.Cmd + var ClientCLI string = "cli" + var ClientDagger = "dagger" + var ClientDrone = "drone" + var ClientGraphviz = "graphviz" + var ClientInitializers = map[string]InitializerFunc + var ErrorCancelled = errors.New("cancelled") + var LocalModes = []string + func NewDefaultCollection(opts clients.CommonOpts) *pipeline.Collection + func NewMultiCollection() *pipeline.Collection + func RegisterClient(name string, initializer InitializerFunc) + type Flow struct + Client pipeline.Client + Collection *pipeline.Collection + Log logrus.FieldLogger + Opts clients.CommonOpts + Version string + func New(name string) *Flow + func NewClient(ctx context.Context, c clients.CommonOpts, collection *pipeline.Collection) *Flow + func NewWithClient(opts clients.CommonOpts, client pipeline.Client) *Flow + func (s *Flow) Add(steps ...pipeline.Step) + func (s *Flow) Background(steps ...pipeline.Step) + func (s *Flow) Cache(action pipeline.Action, c pipeline.Cacher) pipeline.Action + func (s *Flow) Done() + func (s *Flow) Execute(ctx context.Context, collection *pipeline.Collection) error + func (s *Flow) Pipeline() int64 + func (s *Flow) When(events ...pipeline.Event) + type FlowMulti struct + Client pipeline.Client + Collection *pipeline.Collection + Log logrus.FieldLogger + Opts clients.CommonOpts + Version string + func NewMulti() *FlowMulti + func NewMultiWithClient(opts clients.CommonOpts, client pipeline.Client) *FlowMulti + func (s *FlowMulti) Add(pipelines ...pipeline.Pipeline) + func (s *FlowMulti) AddPipelines(pipelines ...Pipeline) + func (s *FlowMulti) Done() + func (s *FlowMulti) Execute(ctx context.Context, collection *pipeline.Collection) error + func (s *FlowMulti) New(name string, mf MultiFunc) pipeline.Pipeline + func (s *FlowMulti) PrintGraph(msg string) + type GitConfig struct + type InitializerFunc func(context.Context, clients.CommonOpts) (pipeline.Client, error) + type MultiFunc func(*Flow) + func MultiFuncWithLogging(logger logrus.FieldLogger, mf MultiFunc) MultiFunc + type Pipeline struct + Name string + Provides []state.Argument + Requires []state.Argument + Steps []pipeline.Step + When []pipeline.Event + type PipelineConfig struct