@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 19 lines 585 Bytes
Raw
1 import * as bigtable from "@distilled.cloud/gcp/bigtableadmin_v2";
2 import * as Layer from "effect/Layer";
3 import { makeBigtableClusterHttpBinding } from "./BindingHttp.ts";
4 import { GetCluster } from "./GetCluster.ts";
5
6 /**
7 * HTTP implementation of {@link GetCluster}.
8 *
9 * @layer
10 * @provides GCP.Bigtable.GetCluster
11 */
12 export const GetClusterHttp = Layer.effect(
13 GetCluster,
14 makeBigtableClusterHttpBinding({
15 tag: "GCP.Bigtable.GetCluster",
16 iam: { role: "roles/bigtable.viewer", on: "bigtable.instance" },
17 operation: bigtable.getProjectsInstancesClusters,
18 }),
19 );