pub enum RunsOn {
Here {
reads_index: bool,
},
AnyPlatform,
}Expand description
Where a declared command runs, and what it reads there. One value, so the combination nothing can honour — a pod reading this machine’s index — cannot be built.
Variants§
Here
On this machine. reads_index: the command column carried index,
so the command reads the index git commit is sealing through git
itself (git diff --cached) and is handed GIT_INDEX_FILE, the one
git variable a declared command keeps (see External::execute).
AnyPlatform
The command column carried platform=any: the verdict does not depend
on the platform, so a trusted repository with set executor cluster
may run it as a Kubernetes Job (ADR-0016).
Trait Implementations§
impl Copy for RunsOn
impl Eq for RunsOn
impl StructuralPartialEq for RunsOn
Auto Trait Implementations§
impl Forget for RunsOn
impl Freeze for RunsOn
impl Move for RunsOn
impl RefUnwindSafe for RunsOn
impl Send for RunsOn
impl Sync for RunsOn
impl Unpin for RunsOn
impl UnsafeUnpin for RunsOn
impl UnwindSafe for RunsOn
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