def Kube.serve.go
import bend-kube-runtime@0.2.0.0/src/kube.bend as Kubeimport Base
import bend-kube-runtime@0.2.0.0/src/runtime.bend as R
import bend-kube-runtime@0.2.0.0/src/serve.bend as V
38def Kube.serve.go(+port: U32, +status: Chan(R.SMsg), off: Bool) -> IO(Unit):
39 match off:
40 case True{}:
41 IO.pure(Unit, Unit{})
42 case False{}:
43 IO.spawn(Unit, V.Serve.run(port, status))