From 8b990ce0aaf4a2cbbdc2c1f9b97990761e40cec5 Mon Sep 17 00:00:00 2001 From: Daniel Lamando Date: Wed, 18 Sep 2024 19:06:48 +0200 Subject: [PATCH] Update more imports for file renamings --- lib/examples/argocd.ts | 2 +- lib/examples/demo.ts | 2 +- lib/examples/follow-logs.ts | 2 +- lib/examples/list-crds.ts | 2 +- lib/examples/pod-exec-output.ts | 2 +- lib/examples/pod-exec-tty.ts | 2 +- lib/examples/pod-portforward.ts | 2 +- lib/examples/run-job-evented.ts | 2 +- lib/examples/run-job.ts | 2 +- lib/examples/top-nodes.ts | 2 +- lib/examples/watch-ingress.ts | 2 +- lib/examples/watch-nodes.ts | 2 +- lib/tunnels.ts | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/examples/argocd.ts b/lib/examples/argocd.ts index f8af34d..e5cd9a8 100755 --- a/lib/examples/argocd.ts +++ b/lib/examples/argocd.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient, readAllItems } from '../client.ts'; +import { autoDetectClient, readAllItems } from '../deps.ts'; import { ArgoprojIoV1alpha1NamespacedApi } from "../argo-cd/argoproj.io@v1alpha1/mod.ts"; const restClient = await autoDetectClient(); diff --git a/lib/examples/demo.ts b/lib/examples/demo.ts index ba56058..e5ea39d 100755 --- a/lib/examples/demo.ts +++ b/lib/examples/demo.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient, readAllItems } from '../client.ts'; +import { autoDetectClient, readAllItems } from '../deps.ts'; import { AppsV1Api } from "../builtin/apps@v1/mod.ts"; import { CoreV1Api } from "../builtin/core@v1/mod.ts"; diff --git a/lib/examples/follow-logs.ts b/lib/examples/follow-logs.ts index 5861ada..d3e23f7 100755 --- a/lib/examples/follow-logs.ts +++ b/lib/examples/follow-logs.ts @@ -3,7 +3,7 @@ // Breaks up a text stream into lines import { TextLineStream } from "https://deno.land/std@0.177.0/streams/text_line_stream.ts"; -import { autoDetectClient } from '../client.ts'; +import { autoDetectClient } from '../deps.ts'; import { CoreV1Api } from '../builtin/core@v1/mod.ts'; const restClient = await autoDetectClient(); diff --git a/lib/examples/list-crds.ts b/lib/examples/list-crds.ts index b024aa5..24ccef2 100755 --- a/lib/examples/list-crds.ts +++ b/lib/examples/list-crds.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient, readAllItems } from '../client.ts'; +import { autoDetectClient, readAllItems } from '../deps.ts'; import { ApiextensionsV1Api } from "../builtin/apiextensions.k8s.io@v1/mod.ts"; const restClient = await autoDetectClient(); diff --git a/lib/examples/pod-exec-output.ts b/lib/examples/pod-exec-output.ts index 192462d..52b93ef 100755 --- a/lib/examples/pod-exec-output.ts +++ b/lib/examples/pod-exec-output.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --unstable -import { tunnelBeta, makeClientProviderChain } from '../client.ts'; +import { tunnelBeta, makeClientProviderChain } from '../deps.ts'; import { CoreV1Api } from '../builtin/core@v1/mod.ts'; // Set up an experimental client which can use Websockets diff --git a/lib/examples/pod-exec-tty.ts b/lib/examples/pod-exec-tty.ts index dcee3f9..f6c2128 100755 --- a/lib/examples/pod-exec-tty.ts +++ b/lib/examples/pod-exec-tty.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --unstable --allow-env --allow-read --allow-net -import { tunnelBeta, makeClientProviderChain } from '../client.ts'; +import { tunnelBeta, makeClientProviderChain } from '../deps.ts'; import { CoreV1Api } from '../builtin/core@v1/mod.ts'; // Set up an experimental client which can use Websockets diff --git a/lib/examples/pod-portforward.ts b/lib/examples/pod-portforward.ts index 91763ab..d4bb9fb 100755 --- a/lib/examples/pod-portforward.ts +++ b/lib/examples/pod-portforward.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --unstable -import { tunnelBeta, makeClientProviderChain } from '../client.ts'; +import { tunnelBeta, makeClientProviderChain } from '../deps.ts'; import { CoreV1Api } from '../builtin/core@v1/mod.ts'; // Set up an experimental client which can use Websockets diff --git a/lib/examples/run-job-evented.ts b/lib/examples/run-job-evented.ts index 0c1d5bf..2dd16e5 100755 --- a/lib/examples/run-job-evented.ts +++ b/lib/examples/run-job-evented.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { Reflector, autoDetectClient } from "../client.ts"; +import { Reflector, autoDetectClient } from "../deps.ts"; import { CoreV1Api } from "../builtin/core@v1/mod.ts"; import { BatchV1Api } from "../builtin/batch@v1/mod.ts"; import { TextLineStream } from "https://deno.land/std@0.177.0/streams/text_line_stream.ts"; diff --git a/lib/examples/run-job.ts b/lib/examples/run-job.ts index 31aa8fb..07521d5 100755 --- a/lib/examples/run-job.ts +++ b/lib/examples/run-job.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient } from "../client.ts"; +import { autoDetectClient } from "../deps.ts"; import { CoreV1Api } from "../builtin/core@v1/mod.ts"; import { BatchV1Api } from "../builtin/batch@v1/mod.ts"; diff --git a/lib/examples/top-nodes.ts b/lib/examples/top-nodes.ts index 4916538..b3b4378 100755 --- a/lib/examples/top-nodes.ts +++ b/lib/examples/top-nodes.ts @@ -23,7 +23,7 @@ * - pods: 18 */ -import { autoDetectClient } from "../client.ts"; +import { autoDetectClient } from "../deps.ts"; import { CoreV1Api } from "../builtin/core@v1/mod.ts"; const restClient = await autoDetectClient(); diff --git a/lib/examples/watch-ingress.ts b/lib/examples/watch-ingress.ts index 762df16..1842b04 100755 --- a/lib/examples/watch-ingress.ts +++ b/lib/examples/watch-ingress.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient, Reflector } from "../client.ts"; +import { autoDetectClient, Reflector } from "../deps.ts"; import { NetworkingV1Api } from "../builtin/networking.k8s.io@v1/mod.ts"; const restClient = await autoDetectClient(); diff --git a/lib/examples/watch-nodes.ts b/lib/examples/watch-nodes.ts index 7b0a0e6..0d02e05 100755 --- a/lib/examples/watch-nodes.ts +++ b/lib/examples/watch-nodes.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-net --allow-read --allow-env --allow-run --unstable -import { autoDetectClient, Reflector } from "../client.ts"; +import { autoDetectClient, Reflector } from "../deps.ts"; // import { CoreV1Api } from "../builtin/core@v1/mod.ts"; import { CoordinationV1Api } from "../builtin/coordination.k8s.io@v1/mod.ts"; diff --git a/lib/tunnels.ts b/lib/tunnels.ts index 4efa7ca..4eea63e 100644 --- a/lib/tunnels.ts +++ b/lib/tunnels.ts @@ -1,4 +1,4 @@ -import type { KubernetesTunnel } from "./common.ts"; +import type { KubernetesTunnel } from "./deps.ts"; export type TerminalSize = { columns: number;