def Plan.hit

bend-kube-runtime@0.2.0.0 · src/runtime.bend:653

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base

653def Plan.hit(ws: List<&2, Watch>, +key: String) -> Bool:
654  match ws:
655    case Con{Watch{+a, +l, s}, t}:
656      String.eq(Watch.key(a, l), key)
657    case _:
658      False{}

Uses (6)

Used by (2)