The best way to control Claude Code, Codex and more from any computer or phone

main
ts 19 lines 485 Bytes
Raw
1 import * as tpu from "@distilled.cloud/gcp/tpu_v2";
2 import * as Layer from "effect/Layer";
3 import { makeTpuNodeHttpBinding } from "./BindingHttp.ts";
4 import { GetNode } from "./GetNode.ts";
5
6 /**
7 * HTTP implementation of {@link GetNode}.
8 *
9 * @layer
10 * @provides GCP.TPU.GetNode
11 */
12 export const GetNodeHttp = Layer.effect(
13 GetNode,
14 makeTpuNodeHttpBinding({
15 tag: "GCP.TPU.GetNode",
16 iam: { role: "roles/tpu.viewer" },
17 operation: tpu.getProjectsLocationsNodes,
18 }),
19 );