def Exec.refused
bend-kube-runtime@0.2.0.0 · src/exec.bend:336
import bend-kube-runtime@0.2.0.0/src/exec.bend as Exec
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
import bend-kube-runtime@0.2.0.0/src/utf8.bend as U
import bend-kube-runtime@0.2.0.0/src/core.bend as C
import bend-kube-runtime@0.2.0.0/src/client.bend as Cl
336
337
338def Exec.refused(+code: U32, reason: String, +rest: List<&2, U32>) -> Cl.KErr:
339 Cl.KApi{C.Status{code, reason,
340 Exec.message(String.trim(U.Utf8.decode_all(rest)), J.Json.parse(U.Utf8.decode_all(rest)))}}