def Kube.run

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

import bend-kube-runtime@0.2.0.0/src/kube.bend as Kube
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
import bend-kube-runtime@0.2.0.0/src/core.bend as C
import bend-kube-runtime@0.2.0.0/src/config.bend as K
import bend-kube-runtime@0.2.0.0/src/client.bend as Cl
import bend-kube-runtime@0.2.0.0/src/queue.bend as Q

80# Runs a controller for primary, owning owned, reconciling with rec.
81def Kube.run(~rec: J.Json -> K.Config -> IO(Q.Action), primary: C.Api, owned: List<&2, C.Api>,
82  o: Opts) -> IO(Unit):
83  IO.bind(Result<&2, &2, String, K.Config>, Unit, Cl.Config.infer(),
84    c => Kube.configured(~rec, c, primary, owned, o))

Uses (13)

Used by (0)

No other definition uses this definition.