Versions in this module Expand all Collapse all v0 v0.1.0 Sep 12, 2023 Changes in this version + func WithProvider(p TaskProvider) taskFactoryOption + type Plan struct + func NewPlanFor(moduleType modules.Category, moduleName string, repo *modules.Repository, ...) (*Plan, error) + func (p *Plan) Execute(ctx context.Context, spec Spec) error + type Spec struct + BinariesDirectory string + CacheDirectory string + LogToStdErr bool + LogsDirectory string + OutDirectory string + RepoRoot string + type Task interface + AddDependentTask func(other Task) + Execute func(ctx context.Context, spec Spec) error + type TaskDependencies []Task + func (d *TaskDependencies) AddDependentTask(other Task) + func (d *TaskDependencies) Execute(ctx context.Context, spec Spec) error + type TaskFactory struct + func NewTaskFactory(opts ...taskFactoryOption) *TaskFactory + func (f *TaskFactory) TaskForModule(id string, repo *modules.Repository) (Task, error) + func (f *TaskFactory) TaskForModuleWithoutDependencies(module modules.ModuleWithMeta) (Task, error) + type TaskProvider interface + CanProvide func(m modules.ModuleWithMeta) bool + Create func(m modules.ModuleWithMeta) (Task, error)