pub struct CheckerConfig {
pub tests_dir: PathBuf,
pub command: Vec<String>,
pub timeout: Duration,
pub env: Vec<(String, String)>,
pub max_snapshot_entries: usize,
pub max_snapshot_bytes: u64,
pub workspace_provider: Arc<dyn WorkspaceProvider>,
pub sandbox_attestation: String,
}Expand description
How an operator configures the checker.
Fields§
§tests_dir: PathBufDirectory holding the task’s test suite. Copied at construction.
command: Vec<String>The command to run, as an argv list. Never a shell string.
Two placeholders are substituted per run: {tests} becomes the private
per-run test copy, and {workdir} becomes the candidate workspace.
timeout: DurationHow long materialization, verification, and command execution may take.
env: Vec<(String, String)>Extra environment entries applied before the protected host values.
max_snapshot_entries: usizeMaximum namespace entries, including the test tree root.
max_snapshot_bytes: u64Maximum regular-file bytes read during each copy or verification pass.
workspace_provider: Arc<dyn WorkspaceProvider>Trusted host materialization for the candidate sources under test.
sandbox_attestation: StringThe operator’s SANDBOX_ATTESTATION, recorded verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for CheckerConfig
impl Clone for CheckerConfig
Source§fn clone(&self) -> CheckerConfig
fn clone(&self) -> CheckerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CheckerConfig
impl !RefUnwindSafe for CheckerConfig
impl Send for CheckerConfig
impl Sync for CheckerConfig
impl Unpin for CheckerConfig
impl UnsafeUnpin for CheckerConfig
impl !UnwindSafe for CheckerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more