def Ip4.parse.go

bend-kube-runtime@0.2.0.0 · src/proxy.bend:55

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

55def Ip4.parse.go(ps: List<&2, String>) -> Maybe<&2, U32>:
56  match ps:
57    case Con{a, Con{b, Con{c, Con{d, Nil{}}}}}:
58      Ip4.join(Ip4.octet(a), Ip4.octet(b), Ip4.octet(c), Ip4.octet(d))
59    case _:
60      None{}

Uses (6)

Used by (1)