Expand description
Task backend abstraction for different execution environments
This module provides a pluggable backend system for task execution.
The default backend is Host, which runs tasks directly on the host machine.
For Dagger container execution, use the cuenv-dagger crate.
Structs§
- Host
Backend - Host backend - executes tasks directly on the host machine
Traits§
- Task
Backend - Trait for task execution backends
Functions§
- create_
backend - Create a backend based on configuration.
- create_
backend_ with_ factory - Create a backend with an optional factory for non-host backends.
- should_
use_ dagger - Check if the dagger backend should be used based on configuration
Type Aliases§
- Backend
Factory - Type alias for a backend factory function