pub enum EdgeKind {
HasAccessTo,
Produces,
Consumes,
UsesImage,
DelegatesTo,
PersistsTo,
}Expand description
Edge semantics model authority/data flow — not syntactic YAML relations. Design test: “Can authority propagate along this edge?”
Variants§
HasAccessTo
Step -> Secret or Identity (authority granted at runtime).
Produces
Step -> Artifact (data flows out).
Consumes
Artifact -> Step (authority flows from artifact to consuming step).
UsesImage
Step -> Image/Action (execution delegation).
DelegatesTo
Step -> Step (cross-job or action boundary).
PersistsTo
Step -> Secret or Identity (credential written to disk, outliving the step’s lifetime). Distinct from HasAccessTo: disk persistence is accessible to all subsequent steps and processes with filesystem access, not just the step that created it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeKind
impl<'de> Deserialize<'de> for EdgeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for EdgeKind
impl Eq for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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