[go: up one dir, main page]

Module tasks

Module tasks 

Source
Expand description

Task execution and management module

This module provides the core types for task execution, matching the CUE schema.

Re-exports§

pub use backend::BackendFactory;
pub use backend::HostBackend;
pub use backend::TaskBackend;
pub use backend::create_backend;
pub use backend::create_backend_with_factory;
pub use backend::should_use_dagger;
pub use index::IndexedTask;
pub use index::TaskIndex;
pub use index::TaskPath;
pub use index::WorkspaceTask;
pub use executor::*;
pub use graph::*;

Modules§

backend
Task backend abstraction for different execution environments
discovery
Task discovery across monorepo workspaces
executor
Task executor for running tasks with environment support and hermetic, input-addressed execution
graph
Task graph builder using petgraph
index
io

Structs§

DaggerCacheMount
Cache volume mount configuration for Dagger
DaggerSecret
Secret configuration for Dagger containers
DaggerTaskConfig
Dagger-specific task configuration
Mapping
Mapping of external output to local workspace path
ParallelGroup
A parallel task group with optional shared dependencies
ParamDef
Parameter definition for task arguments
ProjectReference
Cross-project input declaration
ResolvedArgs
Resolved task arguments ready for interpolation
Shell
Shell configuration for task execution
SourceLocation
Source location metadata from CUE evaluation
Task
A single executable task
TaskOutput
Reference to another task’s outputs within the same project
TaskParams
Task parameter definitions for CLI arguments
Tasks
Root tasks structure from CUE

Enums§

Input
A single task input definition
ParamType
Parameter type for validation
TaskDefinition
A task definition can be either a single task or a group of tasks
TaskGroup
Represents a group of tasks with execution mode