def Page.of

bend-kube-runtime@0.2.0.0 · src/core.bend:356

import bend-kube-runtime@0.2.0.0/src/core.bend as Core
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J

356def Page.of(+j: J.Json) -> Page:
357  Page{J.Json.items(J.Json.get(j, "items")),
358    J.Json.str_or(J.Json.at(j, ["metadata", "resourceVersion"]), ""),
359    J.Json.str_or(J.Json.at(j, ["metadata", "continue"]), "")}

Uses (7)

Used by (1)