feat: Add ExecutorCrun and enable container node creation

- Add ExecutorCrun to Executor type union
- Expose ExecutorCrun.init() as public
- Implement Container.node() to build builder.Node
- Initialize ExecutorCrun and assign to new node
- Set default node properties (platform, cputype)
This commit is contained in:
Mahmoud-Emad
2025-09-07 16:05:24 +03:00
parent a74129ff90
commit 16c01b2e0f
3 changed files with 25 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ module builder
import freeflowuniverse.herolib.data.ipaddress
type Executor = ExecutorLocal | ExecutorSSH
type Executor = ExecutorLocal | ExecutorSSH | ExecutorCrun
pub struct ExecutorNewArguments {
pub mut: