def Exec.ok
import bend-kube-runtime@0.2.0.0/src/exec.bend as Execimport Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
28# Whether the command exited 0.
29def Exec.ok(o: Out) -> Bool:
30 match o:
31 case Out{st, a, b}:
32 String.eq(J.Json.str_or(J.Json.at(st, ["status"]), ""), "Success")
Uses (6)
Used by (0)
No other definition uses this definition.