def Client.apply

bend-kube-runtime@0.2.0.0 · src/client.bend:566

import bend-kube-runtime@0.2.0.0/src/client.bend as Client
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

566# Server-side apply, kube's recommended write: the server merges our fields
567# under our manager name and tracks ownership.
568def Client.apply(+cfg: K.Config, a: C.Api, name: String, manager: String, body: J.Json) ->
569  IO(Result<&2, &2, KErr, J.Json>):
570  Client.patch(cfg, a, name, C.PApply{manager, True{}}, body)

Uses (10)

Used by (0)

No other definition uses this definition.