Documentation
¶
Index ¶
- type DAGRepositoryFactory
- type DAGRepositoryFactoryOptions
- type DistributedOptions
- type Engine
- func (e *Engine) Close(ctx context.Context) error
- func (e *Engine) NewWorker(opts WorkerOptions) (*Worker, error)
- func (e *Engine) Outputs(ctx context.Context, ref RunRef) (map[string]string, error)
- func (e *Engine) RunFile(ctx context.Context, path string, opts RunOptions) (*Run, error)
- func (e *Engine) RunYAML(ctx context.Context, data []byte, opts RunOptions) (*Run, error)
- func (e *Engine) Status(ctx context.Context, ref RunRef) (*Status, error)
- func (e *Engine) Stop(ctx context.Context, ref RunRef) error
- type ExecutionMode
- type Options
- type Persistence
- type PersistenceFactory
- type Run
- func (r *Run) ID() string
- func (r *Run) Name() string
- func (r *Run) Outputs(ctx context.Context) (map[string]string, error)
- func (r *Run) Ref() RunRef
- func (r *Run) Status(ctx context.Context) (*Status, error)
- func (r *Run) Stop(ctx context.Context) error
- func (r *Run) Wait(ctx context.Context) (*Status, error)
- type RunOptions
- type RunRef
- type RuntimeStores
- type RuntimeStoresFactory
- type Status
- type TLSOptions
- type Worker
- type WorkerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAGRepositoryFactory ¶ added in v2.14.0
type DAGRepositoryFactory func(context.Context, *config.Config, DAGRepositoryFactoryOptions) (*persis.DAGRepository, error)
DAGRepositoryFactory creates repositories needed by execution-scoped loaders.
type DAGRepositoryFactoryOptions ¶ added in v2.14.0
type DAGRepositoryFactoryOptions struct {
SearchPaths []string
}
DAGRepositoryFactoryOptions configures an execution-scoped DAG repository.
type DistributedOptions ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
type ExecutionMode ¶
type ExecutionMode string
const ( ExecutionModeLocal ExecutionMode = "local" ExecutionModeDistributed ExecutionMode = "distributed" )
type Options ¶
type Options struct {
HomeDir string
ConfigFile string
DAGsDir string
DataDir string
LogDir string
ArtifactDir string
BaseConfig string
Logger *slog.Logger
Persistence Persistence
PersistenceFactory PersistenceFactory
RunStateStore runstate.Store
DAGRunRepository *persis.DAGRunRepository
DefaultMode ExecutionMode
Distributed *DistributedOptions
}
type Persistence ¶
type Persistence struct {
DAGRepository *persis.DAGRepository
DAGRunRepository *persis.DAGRunRepository
RunStateStore runstate.Store
ProcRepository *persis.ProcRepository
StateStore dagrun.StateStore
ServiceRegistry serviceregistry.ServiceRegistry
DAGRepositoryFactory DAGRepositoryFactory
RuntimeStoresFactory RuntimeStoresFactory
}
Persistence contains the storage dependencies required by Engine.
type PersistenceFactory ¶
PersistenceFactory wires backend-specific stores after configuration is loaded.
type RunOptions ¶
type RuntimeStores ¶
type RuntimeStores struct {
SecretStore secret.Store
ProfileStore profile.Store
MaterializationStore build.MaterializationStore
}
RuntimeStores contains the stores used by workflow execution.
type RuntimeStoresFactory ¶
type RuntimeStoresFactory func(context.Context, *config.Config) RuntimeStores
RuntimeStoresFactory creates stores for local workflow execution.
type TLSOptions ¶
type WorkerOptions ¶
Click to show internal directories.
Click to hide internal directories.