@compforge/harness-toolbox 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/dist/{chunk-xeft7af0.js → chunk-0zcq74ep.js} +1 -1
- package/dist/{chunk-hbhbragw.js → chunk-226wxr2s.js} +6 -6
- package/dist/{chunk-z15gwjvg.js → chunk-2qgkk7n0.js} +1 -1
- package/dist/{chunk-5w85c7cs.js → chunk-361x998p.js} +2 -2
- package/dist/{chunk-ehmx0yhp.js → chunk-47x0r2kr.js} +1 -1
- package/dist/{chunk-rkt41za2.js → chunk-68zz17hs.js} +7 -1
- package/dist/{chunk-kxpecgy7.js → chunk-6dfcndra.js} +2 -2
- package/dist/{chunk-sb5qzv37.js → chunk-6rcyw5ek.js} +1 -1
- package/dist/{chunk-56fev9np.js → chunk-81agmerq.js} +2 -2
- package/dist/{chunk-kap6ka3n.js → chunk-9d0ph5km.js} +1 -1
- package/dist/{chunk-43mcyrh4.js → chunk-9f9dsjnr.js} +1 -1
- package/dist/{chunk-ex429qjt.js → chunk-bkz0dyx5.js} +3 -3
- package/dist/{chunk-ae84rzq5.js → chunk-d2y5ewbb.js} +1 -1
- package/dist/{chunk-3b877a0y.js → chunk-hj14hfvz.js} +3 -3
- package/dist/{chunk-dpcge1xt.js → chunk-jt8fn3wg.js} +1 -1
- package/dist/{chunk-7m95c7pn.js → chunk-mj6ckk1g.js} +1 -1
- package/dist/{chunk-92aacbwh.js → chunk-nhr4za0z.js} +2 -2
- package/dist/chunk-nr6ams69.js +50 -0
- package/dist/{chunk-18gcp0ck.js → chunk-ps7f1x05.js} +1 -1
- package/dist/{chunk-rncagjbc.js → chunk-rybhzd2y.js} +1 -1
- package/dist/{chunk-xhfbark7.js → chunk-wnykdxz8.js} +2 -2
- package/dist/{chunk-njs48b51.js → chunk-ywk81p8a.js} +3 -3
- package/dist/connection/acquire.js +2 -2
- package/dist/datasource.js +1 -1
- package/dist/errors.d.ts +8 -1
- package/dist/errors.js +3 -1
- package/dist/file/client.js +2 -2
- package/dist/file/index.js +4 -4
- package/dist/file/local.js +3 -3
- package/dist/file/pod.js +3 -3
- package/dist/http/client.js +7 -7
- package/dist/http/index.js +7 -7
- package/dist/kubernetes/client.js +6 -6
- package/dist/kubernetes/compute-quantity.js +2 -2
- package/dist/kubernetes/compute.js +2 -2
- package/dist/kubernetes/environment.js +6 -6
- package/dist/kubernetes/exec-transport.js +2 -2
- package/dist/kubernetes/pod-log-datasource.js +1 -1
- package/dist/kubernetes/resource-transport.js +3 -3
- package/dist/kubernetes/resources.js +2 -2
- package/dist/kubernetes/secret-datasource.js +2 -2
- package/dist/kubernetes/workload.js +2 -2
- package/dist/mysql/client.js +7 -7
- package/dist/mysql/index.js +8 -8
- package/dist/network/connectivity.d.ts +4 -8
- package/dist/network/connectivity.js +19 -5
- package/dist/network/endpoint.d.ts +9 -0
- package/dist/network/endpoint.js +8 -0
- package/dist/opensearch/client.js +7 -7
- package/dist/opensearch/index.js +7 -7
- package/dist/redis/client.js +7 -7
- package/dist/redis/index.js +7 -7
- package/dist/s3/client.js +7 -7
- package/dist/s3/datasource.js +8 -8
- package/dist/s3/index.js +8 -8
- package/dist/transport/index.js +6 -6
- package/dist/transport/lifecycle.js +3 -3
- package/dist/transport/pod-relay.js +4 -4
- package/dist/transport/service-port-forward.js +4 -4
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -433,7 +433,31 @@ identifiers, never keys, values or errors. Logging does not change retention or
|
|
|
433
433
|
|
|
434
434
|
### Network connectivity
|
|
435
435
|
|
|
436
|
-
`@compforge/harness-toolbox/network` exports `probeConnectivity(
|
|
436
|
+
`@compforge/harness-toolbox/network` exports `probeConnectivity(endpoint, execute, {timeoutMs, signal?})`.
|
|
437
|
+
It consumes `Endpoint` from `@compforge/harness-common`; `ConnectivityTarget` is removed.
|
|
438
|
+
|
|
439
|
+
```typescript
|
|
440
|
+
import type { Endpoint } from "@compforge/harness-common";
|
|
441
|
+
import { endpointFromUrl, validateEndpoint } from "@compforge/harness-toolbox/endpoint";
|
|
442
|
+
|
|
443
|
+
const endpoint: Endpoint = endpointFromUrl("https://storage.example:9443/object?signature=private");
|
|
444
|
+
// { scheme: "https", host: "storage.example", port: 9443, secure: true }
|
|
445
|
+
validateEndpoint(endpoint); // Pure validation; no DNS or I/O.
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
The URL projection drops credentials, path, query and fragment, and unbrackets IPv6 hosts.
|
|
449
|
+
HTTP(S), WS(S) and FTP have default ports. The `tls` scheme requires a port and sets `secure: true`.
|
|
450
|
+
Other schemes require an explicit port and leave
|
|
451
|
+
`secure` unspecified; callers supply any encryption requirement from their protocol configuration.
|
|
452
|
+
Errors do not expose the original URL. Keep the full URL separately for resource access.
|
|
453
|
+
|
|
454
|
+
`secure` replaces `tls` in probe inputs and result targets. HTTPS/WSS/TLS require `secure: true`;
|
|
455
|
+
HTTP/WS reject it. With `secure: true`, this probe supports direct TLS for `https`, `wss`, and
|
|
456
|
+
explicit `tls` schemes. Other schemes, or a missing scheme, throw `ProtocolError` (a `ToolboxError` with `kind: "protocol"`, `code: "Unsupported"`)
|
|
457
|
+
before execution: protocol-negotiated encryption such as MySQL or STARTTLS is not implemented.
|
|
458
|
+
Without an encryption requirement, a successful TCP check does not prove application-protocol
|
|
459
|
+
availability or encryption. TLS remains the name of the observed handshake stage.
|
|
460
|
+
|
|
437
461
|
The caller supplies an executor in the consumer environment (host, Pod or sandbox),
|
|
438
462
|
which runs Python 3 with the supplied argv and stdin and enforces timeout/cancellation.
|
|
439
463
|
DNS, TCP and optional verified TLS have separate results and timings. Domain names,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveWorkload
|
|
3
|
+
} from "./chunk-d2y5ewbb.js";
|
|
1
4
|
import {
|
|
2
5
|
KubernetesResourceTransport
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-361x998p.js";
|
|
4
7
|
import {
|
|
5
8
|
KubernetesExecTransport
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
resolveWorkload
|
|
9
|
-
} from "./chunk-ae84rzq5.js";
|
|
9
|
+
} from "./chunk-0zcq74ep.js";
|
|
10
10
|
import {
|
|
11
11
|
ServicePortForwarder
|
|
12
12
|
} from "./chunk-0d8vs5q8.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-rq5fc007.js";
|
|
16
16
|
import {
|
|
17
17
|
KubernetesError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-68zz17hs.js";
|
|
19
19
|
|
|
20
20
|
// src/kubernetes/client.ts
|
|
21
21
|
class KubernetesClient {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resourcePath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-jt8fn3wg.js";
|
|
4
4
|
import {
|
|
5
5
|
clientKey
|
|
6
6
|
} from "./chunk-a9htb6cr.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
KubernetesError,
|
|
12
12
|
ToolboxError,
|
|
13
13
|
kubernetesHttpError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-68zz17hs.js";
|
|
15
15
|
|
|
16
16
|
// src/kubernetes/resource-transport.ts
|
|
17
17
|
import { KubeConfig } from "@kubernetes/client-node";
|
|
@@ -10,6 +10,12 @@ class ToolboxError extends Error {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
class ProtocolError extends ToolboxError {
|
|
14
|
+
constructor(message, options) {
|
|
15
|
+
super(message, { ...options, kind: "protocol" });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
13
19
|
class KubernetesError extends ToolboxError {
|
|
14
20
|
}
|
|
15
21
|
|
|
@@ -47,4 +53,4 @@ function kubernetesCommandError(result) {
|
|
|
47
53
|
return status ? kubernetesHttpError(status) : new KubernetesError("Kubernetes resource request failed", { kind: "operation_failed" });
|
|
48
54
|
}
|
|
49
55
|
|
|
50
|
-
export { ToolboxError, KubernetesError, FileError, TimeoutError, kubernetesHttpError, kubernetesCommandError };
|
|
56
|
+
export { ToolboxError, ProtocolError, KubernetesError, FileError, TimeoutError, kubernetesHttpError, kubernetesCommandError };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isConnectionNetworkError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ps7f1x05.js";
|
|
4
4
|
import {
|
|
5
5
|
TimeoutError,
|
|
6
6
|
ToolboxError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-68zz17hs.js";
|
|
8
8
|
|
|
9
9
|
// src/opensearch/client.ts
|
|
10
10
|
import { raceSignal } from "race-signal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isConnectionNetworkError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ps7f1x05.js";
|
|
4
4
|
import {
|
|
5
5
|
ConcurrencyPool
|
|
6
6
|
} from "./chunk-v3hxvnrc.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
TimeoutError,
|
|
12
12
|
ToolboxError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-68zz17hs.js";
|
|
14
14
|
|
|
15
15
|
// src/http/client.ts
|
|
16
16
|
import { HttpRequest } from "@smithy/core/protocols";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
} from "./chunk-835fssgz.js";
|
|
13
13
|
import {
|
|
14
14
|
isConnectionNetworkError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ps7f1x05.js";
|
|
16
16
|
import {
|
|
17
17
|
ConcurrencyPool
|
|
18
18
|
} from "./chunk-v3hxvnrc.js";
|
|
19
19
|
import {
|
|
20
20
|
Transport
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6rcyw5ek.js";
|
|
22
22
|
import {
|
|
23
23
|
ToolboxError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-68zz17hs.js";
|
|
25
25
|
|
|
26
26
|
// src/mysql/client.ts
|
|
27
27
|
import { raceSignal } from "race-signal";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-z5pm2emz.js";
|
|
4
4
|
import {
|
|
5
5
|
S3Client
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-mj6ckk1g.js";
|
|
7
7
|
import {
|
|
8
8
|
DirectTransport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ps7f1x05.js";
|
|
10
10
|
import {
|
|
11
11
|
Transport
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6rcyw5ek.js";
|
|
13
13
|
|
|
14
14
|
// src/s3/datasource.ts
|
|
15
15
|
class S3DataSource {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
BoundedFileClient,
|
|
3
3
|
fileClientOptions,
|
|
4
4
|
filePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-rybhzd2y.js";
|
|
6
6
|
import {
|
|
7
7
|
FileError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-68zz17hs.js";
|
|
9
9
|
|
|
10
10
|
// src/file/local.ts
|
|
11
11
|
import { constants } from "node:fs";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// src/network/endpoint.ts
|
|
2
|
+
import { isIP } from "node:net";
|
|
3
|
+
var URL_DEFAULTS = new Map([
|
|
4
|
+
["http", { port: 80, secure: false }],
|
|
5
|
+
["https", { port: 443, secure: true }],
|
|
6
|
+
["ws", { port: 80, secure: false }],
|
|
7
|
+
["wss", { port: 443, secure: true }],
|
|
8
|
+
["ftp", { port: 21, secure: false }],
|
|
9
|
+
["tls", { secure: true }]
|
|
10
|
+
]);
|
|
11
|
+
function validateEndpoint(endpoint) {
|
|
12
|
+
if (typeof endpoint.host !== "string" || !endpoint.host || /[\s/\\?#@%\[\]]/.test(endpoint.host) || endpoint.host.includes(":") && isIP(endpoint.host) !== 6) {
|
|
13
|
+
throw new Error("Endpoint host must be a hostname/IP, with IPv6 unbracketed and no URL components");
|
|
14
|
+
}
|
|
15
|
+
if (!Number.isInteger(endpoint.port) || endpoint.port < 1 || endpoint.port > 65535) {
|
|
16
|
+
throw new Error("Endpoint port must be an integer between 1 and 65535");
|
|
17
|
+
}
|
|
18
|
+
if (endpoint.scheme !== undefined && !/^[a-z][a-z0-9+.-]*$/.test(endpoint.scheme)) {
|
|
19
|
+
throw new Error("Endpoint scheme must be lowercase and contain no colon");
|
|
20
|
+
}
|
|
21
|
+
if (endpoint.secure !== undefined && typeof endpoint.secure !== "boolean")
|
|
22
|
+
throw new Error("Endpoint secure must be boolean");
|
|
23
|
+
const defaults = endpoint.scheme ? URL_DEFAULTS.get(endpoint.scheme) : undefined;
|
|
24
|
+
if (defaults && endpoint.scheme !== "ftp" && (endpoint.secure ?? false) !== defaults.secure) {
|
|
25
|
+
throw new Error("Endpoint secure conflicts with its scheme; HTTPS/WSS/TLS require encryption");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function endpointFromUrl(value) {
|
|
29
|
+
let url;
|
|
30
|
+
try {
|
|
31
|
+
url = new URL(value);
|
|
32
|
+
} catch {
|
|
33
|
+
throw new Error("Endpoint requires a valid absolute network URL");
|
|
34
|
+
}
|
|
35
|
+
const scheme = url.protocol.slice(0, -1);
|
|
36
|
+
const defaults = URL_DEFAULTS.get(scheme);
|
|
37
|
+
const port = url.port ? Number(url.port) : defaults?.port;
|
|
38
|
+
if (port === undefined)
|
|
39
|
+
throw new Error("Endpoint URL requires an explicit port for this scheme");
|
|
40
|
+
const endpoint = {
|
|
41
|
+
scheme,
|
|
42
|
+
host: url.hostname.replace(/^\[|\]$/g, ""),
|
|
43
|
+
port,
|
|
44
|
+
...defaults ? { secure: defaults.secure } : {}
|
|
45
|
+
};
|
|
46
|
+
validateEndpoint(endpoint);
|
|
47
|
+
return endpoint;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { validateEndpoint, endpointFromUrl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
BoundedFileClient,
|
|
3
3
|
fileClientOptions,
|
|
4
4
|
filePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-rybhzd2y.js";
|
|
6
6
|
import {
|
|
7
7
|
FileError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-68zz17hs.js";
|
|
9
9
|
|
|
10
10
|
// src/file/pod.ts
|
|
11
11
|
import { posix } from "node:path";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-5tbzf9wd.js";
|
|
4
4
|
import {
|
|
5
5
|
isConnectionNetworkError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ps7f1x05.js";
|
|
7
7
|
import {
|
|
8
8
|
Transport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6rcyw5ek.js";
|
|
10
10
|
import {
|
|
11
11
|
TimeoutError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-68zz17hs.js";
|
|
13
13
|
|
|
14
14
|
// src/redis/client.ts
|
|
15
15
|
import { raceSignal } from "race-signal";
|
package/dist/datasource.js
CHANGED
package/dist/errors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Stable toolbox failure semantics; native causes are for debugging, not user reports. */
|
|
2
|
-
export type ErrorKind = "connection_failed" | "connection_lost" | "tls_verification_failed" | "authentication_failed" | "permission_denied" | "resource_not_found" | "timeout" | "limit_exceeded" | "invalid_response" | "operation_failed" | "invalid_argument" | "unsupported_operation";
|
|
2
|
+
export type ErrorKind = "connection_failed" | "connection_lost" | "tls_verification_failed" | "authentication_failed" | "permission_denied" | "resource_not_found" | "timeout" | "limit_exceeded" | "invalid_response" | "operation_failed" | "invalid_argument" | "unsupported_operation" | "protocol";
|
|
3
3
|
export declare class ToolboxError extends Error {
|
|
4
4
|
readonly kind: ErrorKind;
|
|
5
5
|
readonly code?: number | string;
|
|
@@ -9,6 +9,13 @@ export declare class ToolboxError extends Error {
|
|
|
9
9
|
cause?: unknown;
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
+
/** Protocol errors retain a specific code; Unsupported denotes a capability gap, not target health. */
|
|
13
|
+
export declare class ProtocolError extends ToolboxError {
|
|
14
|
+
constructor(message: string, options: {
|
|
15
|
+
code: string;
|
|
16
|
+
cause?: unknown;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
12
19
|
export declare class KubernetesError extends ToolboxError {
|
|
13
20
|
}
|
|
14
21
|
export declare class FileError extends ToolboxError {
|
package/dist/errors.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileError,
|
|
3
3
|
KubernetesError,
|
|
4
|
+
ProtocolError,
|
|
4
5
|
TimeoutError,
|
|
5
6
|
ToolboxError,
|
|
6
7
|
kubernetesCommandError,
|
|
7
8
|
kubernetesHttpError
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-68zz17hs.js";
|
|
9
10
|
export {
|
|
10
11
|
kubernetesHttpError,
|
|
11
12
|
kubernetesCommandError,
|
|
12
13
|
ToolboxError,
|
|
13
14
|
TimeoutError,
|
|
15
|
+
ProtocolError,
|
|
14
16
|
KubernetesError,
|
|
15
17
|
FileError
|
|
16
18
|
};
|
package/dist/file/client.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
BoundedFileClient,
|
|
3
3
|
fileClientOptions,
|
|
4
4
|
filePaths
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-rybhzd2y.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-68zz17hs.js";
|
|
8
8
|
export {
|
|
9
9
|
filePaths,
|
|
10
10
|
fileClientOptions,
|
package/dist/file/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PodFileClient,
|
|
3
3
|
PodFileDataSource
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-wnykdxz8.js";
|
|
5
5
|
import {
|
|
6
6
|
LocalFileClient,
|
|
7
7
|
LocalFileDataSource
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import"../chunk-
|
|
8
|
+
} from "../chunk-nhr4za0z.js";
|
|
9
|
+
import"../chunk-rybhzd2y.js";
|
|
10
10
|
import"../chunk-v3hxvnrc.js";
|
|
11
11
|
import {
|
|
12
12
|
FileError
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-68zz17hs.js";
|
|
14
14
|
|
|
15
15
|
// src/file/index.ts
|
|
16
16
|
import { FileDataSource } from "@compforge/harness-common";
|
package/dist/file/local.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocalFileClient,
|
|
3
3
|
LocalFileDataSource
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import"../chunk-
|
|
4
|
+
} from "../chunk-nhr4za0z.js";
|
|
5
|
+
import"../chunk-rybhzd2y.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-68zz17hs.js";
|
|
8
8
|
export {
|
|
9
9
|
LocalFileDataSource,
|
|
10
10
|
LocalFileClient
|
package/dist/file/pod.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PodFileClient,
|
|
3
3
|
PodFileDataSource
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import"../chunk-
|
|
4
|
+
} from "../chunk-wnykdxz8.js";
|
|
5
|
+
import"../chunk-rybhzd2y.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-68zz17hs.js";
|
|
8
8
|
export {
|
|
9
9
|
PodFileDataSource,
|
|
10
10
|
PodFileClient
|
package/dist/http/client.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpClient
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
5
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-81agmerq.js";
|
|
4
|
+
import"../chunk-ps7f1x05.js";
|
|
5
|
+
import"../chunk-9d0ph5km.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
7
|
import"../chunk-c2b2jwm4.js";
|
|
8
8
|
import"../chunk-ssj93brx.js";
|
|
9
|
-
import"../chunk-
|
|
9
|
+
import"../chunk-47x0r2kr.js";
|
|
10
10
|
import"../chunk-0d8vs5q8.js";
|
|
11
11
|
import"../chunk-xgnz10sr.js";
|
|
12
12
|
import"../chunk-6fnhzhdb.js";
|
|
13
13
|
import"../chunk-mvkxs8d0.js";
|
|
14
14
|
import"../chunk-rq5fc007.js";
|
|
15
15
|
import"../chunk-9shz0bw1.js";
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
16
|
+
import"../chunk-6rcyw5ek.js";
|
|
17
|
+
import"../chunk-9f9dsjnr.js";
|
|
18
|
+
import"../chunk-68zz17hs.js";
|
|
19
19
|
export {
|
|
20
20
|
HttpClient
|
|
21
21
|
};
|
package/dist/http/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpClient
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
5
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-81agmerq.js";
|
|
4
|
+
import"../chunk-ps7f1x05.js";
|
|
5
|
+
import"../chunk-9d0ph5km.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
7
|
import"../chunk-c2b2jwm4.js";
|
|
8
8
|
import"../chunk-ssj93brx.js";
|
|
9
|
-
import"../chunk-
|
|
9
|
+
import"../chunk-47x0r2kr.js";
|
|
10
10
|
import"../chunk-0d8vs5q8.js";
|
|
11
11
|
import"../chunk-xgnz10sr.js";
|
|
12
12
|
import"../chunk-6fnhzhdb.js";
|
|
13
13
|
import"../chunk-mvkxs8d0.js";
|
|
14
14
|
import"../chunk-rq5fc007.js";
|
|
15
15
|
import"../chunk-9shz0bw1.js";
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
16
|
+
import"../chunk-6rcyw5ek.js";
|
|
17
|
+
import"../chunk-9f9dsjnr.js";
|
|
18
|
+
import"../chunk-68zz17hs.js";
|
|
19
19
|
export {
|
|
20
20
|
HttpClient
|
|
21
21
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesClient
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
5
|
-
import"../chunk-
|
|
6
|
-
import"../chunk-
|
|
7
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-226wxr2s.js";
|
|
4
|
+
import"../chunk-d2y5ewbb.js";
|
|
5
|
+
import"../chunk-361x998p.js";
|
|
6
|
+
import"../chunk-jt8fn3wg.js";
|
|
7
|
+
import"../chunk-0zcq74ep.js";
|
|
8
8
|
import"../chunk-a9htb6cr.js";
|
|
9
9
|
import"../chunk-v3hxvnrc.js";
|
|
10
10
|
import"../chunk-0d8vs5q8.js";
|
|
@@ -13,7 +13,7 @@ import"../chunk-6fnhzhdb.js";
|
|
|
13
13
|
import"../chunk-mvkxs8d0.js";
|
|
14
14
|
import"../chunk-rq5fc007.js";
|
|
15
15
|
import"../chunk-9shz0bw1.js";
|
|
16
|
-
import"../chunk-
|
|
16
|
+
import"../chunk-68zz17hs.js";
|
|
17
17
|
export {
|
|
18
18
|
KubernetesClient
|
|
19
19
|
};
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
requiredString,
|
|
7
7
|
sum,
|
|
8
8
|
summarizePods
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-2qgkk7n0.js";
|
|
10
10
|
import {
|
|
11
11
|
KubernetesError
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-68zz17hs.js";
|
|
13
13
|
|
|
14
14
|
// src/kubernetes/compute.ts
|
|
15
15
|
function requestBudget(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesClient
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
5
|
-
import"../chunk-
|
|
6
|
-
import"../chunk-
|
|
7
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-226wxr2s.js";
|
|
4
|
+
import"../chunk-d2y5ewbb.js";
|
|
5
|
+
import"../chunk-361x998p.js";
|
|
6
|
+
import"../chunk-jt8fn3wg.js";
|
|
7
|
+
import"../chunk-0zcq74ep.js";
|
|
8
8
|
import {
|
|
9
9
|
clientKey
|
|
10
10
|
} from "../chunk-a9htb6cr.js";
|
|
@@ -15,7 +15,7 @@ import"../chunk-6fnhzhdb.js";
|
|
|
15
15
|
import"../chunk-mvkxs8d0.js";
|
|
16
16
|
import"../chunk-rq5fc007.js";
|
|
17
17
|
import"../chunk-9shz0bw1.js";
|
|
18
|
-
import"../chunk-
|
|
18
|
+
import"../chunk-68zz17hs.js";
|
|
19
19
|
|
|
20
20
|
// src/kubernetes/environment.ts
|
|
21
21
|
class KubernetesEnvironment {
|