@compforge/harness-toolbox 0.5.3 → 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 +35 -0
- 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 +11 -11
- package/dist/network/connectivity.d.ts +31 -0
- package/dist/network/connectivity.js +77 -0
- 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 +10 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesResourceTransport
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-361x998p.js";
|
|
4
|
+
import"../chunk-jt8fn3wg.js";
|
|
5
5
|
import"../chunk-a9htb6cr.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-68zz17hs.js";
|
|
8
8
|
export {
|
|
9
9
|
KubernetesResourceTransport
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resourcePath
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-jt8fn3wg.js";
|
|
4
4
|
import {
|
|
5
5
|
KubernetesError
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-68zz17hs.js";
|
|
7
7
|
|
|
8
8
|
// src/kubernetes/secret-datasource.ts
|
|
9
9
|
import { clientKey } from "@compforge/harness-common";
|
package/dist/mysql/client.js
CHANGED
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
MysqlClient,
|
|
3
3
|
MysqlDatabase,
|
|
4
4
|
openMysql
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-bkz0dyx5.js";
|
|
6
6
|
import"../chunk-m91t44jh.js";
|
|
7
7
|
import"../chunk-db4an9td.js";
|
|
8
8
|
import"../chunk-835fssgz.js";
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
9
|
+
import"../chunk-ps7f1x05.js";
|
|
10
|
+
import"../chunk-9d0ph5km.js";
|
|
11
11
|
import"../chunk-v3hxvnrc.js";
|
|
12
12
|
import"../chunk-ssj93brx.js";
|
|
13
|
-
import"../chunk-
|
|
13
|
+
import"../chunk-47x0r2kr.js";
|
|
14
14
|
import"../chunk-0d8vs5q8.js";
|
|
15
15
|
import"../chunk-xgnz10sr.js";
|
|
16
16
|
import"../chunk-6fnhzhdb.js";
|
|
17
17
|
import"../chunk-mvkxs8d0.js";
|
|
18
18
|
import"../chunk-rq5fc007.js";
|
|
19
19
|
import"../chunk-9shz0bw1.js";
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-
|
|
20
|
+
import"../chunk-6rcyw5ek.js";
|
|
21
|
+
import"../chunk-9f9dsjnr.js";
|
|
22
|
+
import"../chunk-68zz17hs.js";
|
|
23
23
|
export {
|
|
24
24
|
openMysql,
|
|
25
25
|
MysqlDatabase,
|
package/dist/mysql/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import"../chunk-pfar9cm3.js";
|
|
2
|
+
import {
|
|
3
|
+
withReadScope
|
|
4
|
+
} from "../chunk-4sqvppz7.js";
|
|
1
5
|
import {
|
|
2
6
|
MysqlClient,
|
|
3
7
|
MysqlDatabase,
|
|
4
8
|
openMysql
|
|
5
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-bkz0dyx5.js";
|
|
6
10
|
import"../chunk-m91t44jh.js";
|
|
7
11
|
import"../chunk-db4an9td.js";
|
|
8
12
|
import {
|
|
@@ -14,24 +18,20 @@ import {
|
|
|
14
18
|
queryLimited
|
|
15
19
|
} from "../chunk-1gyshqd9.js";
|
|
16
20
|
import"../chunk-835fssgz.js";
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import
|
|
19
|
-
withReadScope
|
|
20
|
-
} from "../chunk-4sqvppz7.js";
|
|
21
|
-
import"../chunk-18gcp0ck.js";
|
|
22
|
-
import"../chunk-kap6ka3n.js";
|
|
21
|
+
import"../chunk-ps7f1x05.js";
|
|
22
|
+
import"../chunk-9d0ph5km.js";
|
|
23
23
|
import"../chunk-v3hxvnrc.js";
|
|
24
24
|
import"../chunk-ssj93brx.js";
|
|
25
|
-
import"../chunk-
|
|
25
|
+
import"../chunk-47x0r2kr.js";
|
|
26
26
|
import"../chunk-0d8vs5q8.js";
|
|
27
27
|
import"../chunk-xgnz10sr.js";
|
|
28
28
|
import"../chunk-6fnhzhdb.js";
|
|
29
29
|
import"../chunk-mvkxs8d0.js";
|
|
30
30
|
import"../chunk-rq5fc007.js";
|
|
31
31
|
import"../chunk-9shz0bw1.js";
|
|
32
|
-
import"../chunk-
|
|
33
|
-
import"../chunk-
|
|
34
|
-
import"../chunk-
|
|
32
|
+
import"../chunk-6rcyw5ek.js";
|
|
33
|
+
import"../chunk-9f9dsjnr.js";
|
|
34
|
+
import"../chunk-68zz17hs.js";
|
|
35
35
|
export {
|
|
36
36
|
withReadScope,
|
|
37
37
|
queryLimited,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Endpoint } from "@compforge/harness-common";
|
|
2
|
+
export interface ConnectivityStage {
|
|
3
|
+
stage: "dns" | "tcp" | "tls";
|
|
4
|
+
status: "passed" | "failed";
|
|
5
|
+
elapsedMs: number;
|
|
6
|
+
addresses?: string[];
|
|
7
|
+
address?: string;
|
|
8
|
+
error?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ConnectivityResult {
|
|
11
|
+
target: Endpoint;
|
|
12
|
+
stages: ConnectivityStage[];
|
|
13
|
+
status: "passed" | "failed";
|
|
14
|
+
}
|
|
15
|
+
export interface ConnectivityExecutor {
|
|
16
|
+
(command: readonly string[], options: {
|
|
17
|
+
stdin: string;
|
|
18
|
+
timeoutMs: number;
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
}): Promise<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @spec DNS, TCP and optional verified TLS are observed from the supplied executor's network context.
|
|
24
|
+
* @rule A hostname (including service.namespace) and an IP use the same path; connectivity requires an explicit port.
|
|
25
|
+
* @spec secure uses verified direct TLS for https/wss/tls; other encrypted protocols throw ProtocolError(code=Unsupported) before I/O.
|
|
26
|
+
* @rule Tool failure/timeout throws; it is not evidence that the target is unhealthy. No ICMP, credentials or HTTP policy is implied.
|
|
27
|
+
*/
|
|
28
|
+
export declare function probeConnectivity(target: Endpoint, execute: ConnectivityExecutor, options: {
|
|
29
|
+
timeoutMs: number;
|
|
30
|
+
signal?: AbortSignal;
|
|
31
|
+
}): Promise<ConnectivityResult>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validateEndpoint
|
|
3
|
+
} from "../chunk-nr6ams69.js";
|
|
4
|
+
import {
|
|
5
|
+
ProtocolError
|
|
6
|
+
} from "../chunk-68zz17hs.js";
|
|
7
|
+
|
|
8
|
+
// src/network/connectivity.ts
|
|
9
|
+
var SCRIPT = `import json,socket,ssl,sys,time
|
|
10
|
+
q=json.load(sys.stdin)
|
|
11
|
+
start=time.monotonic()
|
|
12
|
+
deadline=start+q["timeoutMs"]/1000
|
|
13
|
+
stages=[]
|
|
14
|
+
def remaining():
|
|
15
|
+
t=deadline-time.monotonic()
|
|
16
|
+
if t<=0: raise TimeoutError()
|
|
17
|
+
return t
|
|
18
|
+
def add(stage,t,**values):
|
|
19
|
+
stages.append(dict(stage=stage,elapsedMs=round((time.monotonic()-t)*1000,3),**values))
|
|
20
|
+
phase="dns"
|
|
21
|
+
t=time.monotonic()
|
|
22
|
+
sock=None
|
|
23
|
+
try:
|
|
24
|
+
addresses=socket.getaddrinfo(q["host"],q["port"],type=socket.SOCK_STREAM)
|
|
25
|
+
if not addresses: raise socket.gaierror()
|
|
26
|
+
add(phase,t,status="passed",addresses=list(dict.fromkeys(a[4][0] for a in addresses))[:8])
|
|
27
|
+
phase="tcp"
|
|
28
|
+
t=time.monotonic()
|
|
29
|
+
failure=None
|
|
30
|
+
for family,kind,proto,_,address in addresses[:8]:
|
|
31
|
+
candidate=socket.socket(family,kind,proto)
|
|
32
|
+
try:
|
|
33
|
+
candidate.settimeout(remaining())
|
|
34
|
+
candidate.connect(address)
|
|
35
|
+
sock=candidate
|
|
36
|
+
break
|
|
37
|
+
except OSError as e:
|
|
38
|
+
failure=e
|
|
39
|
+
candidate.close()
|
|
40
|
+
if sock is None: raise failure or OSError()
|
|
41
|
+
add(phase,t,status="passed",address=sock.getpeername()[0])
|
|
42
|
+
if q.get("tls"):
|
|
43
|
+
phase="tls"
|
|
44
|
+
t=time.monotonic()
|
|
45
|
+
sock.settimeout(remaining())
|
|
46
|
+
sock=ssl.create_default_context().wrap_socket(sock,server_hostname=q["host"])
|
|
47
|
+
add(phase,t,status="passed")
|
|
48
|
+
except (OSError,ValueError) as e:
|
|
49
|
+
add(phase,t,status="failed",error=type(e).__name__)
|
|
50
|
+
finally:
|
|
51
|
+
if sock is not None: sock.close()
|
|
52
|
+
print(json.dumps(dict(stages=stages,status="failed" if any(s["status"]=="failed" for s in stages) else "passed")))`;
|
|
53
|
+
async function probeConnectivity(target, execute, options) {
|
|
54
|
+
validateEndpoint(target);
|
|
55
|
+
const endpoint = {
|
|
56
|
+
host: target.host,
|
|
57
|
+
port: target.port,
|
|
58
|
+
...target.scheme !== undefined ? { scheme: target.scheme } : {},
|
|
59
|
+
...target.secure !== undefined ? { secure: target.secure } : {}
|
|
60
|
+
};
|
|
61
|
+
if (endpoint.secure && !["https", "wss", "tls"].includes(endpoint.scheme ?? "")) {
|
|
62
|
+
throw new ProtocolError(`Encrypted connectivity is not supported for scheme ${endpoint.scheme ?? "(unspecified)"}; supported schemes: https, wss, tls`, { code: "Unsupported" });
|
|
63
|
+
}
|
|
64
|
+
if (!Number.isFinite(options.timeoutMs) || options.timeoutMs <= 0)
|
|
65
|
+
throw new Error("Connectivity timeout must be positive");
|
|
66
|
+
options.signal?.throwIfAborted();
|
|
67
|
+
const raw = await execute(["python3", "-c", SCRIPT], { ...options, stdin: JSON.stringify({ host: endpoint.host, port: endpoint.port, tls: endpoint.secure, timeoutMs: options.timeoutMs }) });
|
|
68
|
+
options.signal?.throwIfAborted();
|
|
69
|
+
const value = JSON.parse(raw);
|
|
70
|
+
const expected = ["dns", "tcp", ...endpoint.secure ? ["tls"] : []];
|
|
71
|
+
if (!value || !Array.isArray(value.stages) || !value.stages.length || value.stages.length > expected.length || !["passed", "failed"].includes(value.status) || value.stages.some((stage, index) => !stage || stage.stage !== expected[index] || !["passed", "failed"].includes(stage.status) || !Number.isFinite(stage.elapsedMs) || stage.elapsedMs < 0 || index < value.stages.length - 1 && stage.status !== "passed") || (value.status === "passed" ? value.stages.length !== expected.length || value.stages.some((stage) => stage.status !== "passed") : value.stages.at(-1)?.status !== "failed"))
|
|
72
|
+
throw new Error("Invalid connectivity probe result");
|
|
73
|
+
return { target: endpoint, stages: value.stages, status: value.status };
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
probeConnectivity
|
|
77
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Endpoint } from "@compforge/harness-common";
|
|
2
|
+
/** @spec Validation performs no DNS or I/O and never includes the supplied address in errors. */
|
|
3
|
+
export declare function validateEndpoint(endpoint: Endpoint): void;
|
|
4
|
+
/**
|
|
5
|
+
* @spec Extract only the network address from an absolute URL; discard credentials, path, query and fragment.
|
|
6
|
+
* @spec HTTP(S), WS(S) and FTP have default ports. TLS requires a port and secure=true; other schemes require a port and leave secure unspecified.
|
|
7
|
+
* @why A signed resource URL must not leak its signature into connectivity commands or evidence.
|
|
8
|
+
*/
|
|
9
|
+
export declare function endpointFromUrl(value: string | URL): Endpoint;
|
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
isOpenSearchReadApi,
|
|
6
6
|
openOpenSearch,
|
|
7
7
|
openSearchServername
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
8
|
+
} from "../chunk-6dfcndra.js";
|
|
9
|
+
import"../chunk-ps7f1x05.js";
|
|
10
|
+
import"../chunk-9d0ph5km.js";
|
|
11
11
|
import"../chunk-ssj93brx.js";
|
|
12
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-47x0r2kr.js";
|
|
13
13
|
import"../chunk-0d8vs5q8.js";
|
|
14
14
|
import"../chunk-xgnz10sr.js";
|
|
15
15
|
import"../chunk-6fnhzhdb.js";
|
|
16
16
|
import"../chunk-mvkxs8d0.js";
|
|
17
17
|
import"../chunk-rq5fc007.js";
|
|
18
18
|
import"../chunk-9shz0bw1.js";
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-6rcyw5ek.js";
|
|
20
|
+
import"../chunk-9f9dsjnr.js";
|
|
21
|
+
import"../chunk-68zz17hs.js";
|
|
22
22
|
export {
|
|
23
23
|
openSearchServername,
|
|
24
24
|
openOpenSearch,
|
package/dist/opensearch/index.js
CHANGED
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
isOpenSearchReadApi,
|
|
13
13
|
openOpenSearch,
|
|
14
14
|
openSearchServername
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
15
|
+
} from "../chunk-6dfcndra.js";
|
|
16
|
+
import"../chunk-ps7f1x05.js";
|
|
17
|
+
import"../chunk-9d0ph5km.js";
|
|
18
18
|
import"../chunk-ssj93brx.js";
|
|
19
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-47x0r2kr.js";
|
|
20
20
|
import"../chunk-0d8vs5q8.js";
|
|
21
21
|
import"../chunk-xgnz10sr.js";
|
|
22
22
|
import"../chunk-6fnhzhdb.js";
|
|
23
23
|
import"../chunk-mvkxs8d0.js";
|
|
24
24
|
import"../chunk-rq5fc007.js";
|
|
25
25
|
import"../chunk-9shz0bw1.js";
|
|
26
|
-
import"../chunk-
|
|
27
|
-
import"../chunk-
|
|
28
|
-
import"../chunk-
|
|
26
|
+
import"../chunk-6rcyw5ek.js";
|
|
27
|
+
import"../chunk-9f9dsjnr.js";
|
|
28
|
+
import"../chunk-68zz17hs.js";
|
|
29
29
|
export {
|
|
30
30
|
searchAfterPages,
|
|
31
31
|
parseOpenSearchEndpoint,
|
package/dist/redis/client.js
CHANGED
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
RedisConnection,
|
|
5
5
|
openRedis,
|
|
6
6
|
parseRedisInfo
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ywk81p8a.js";
|
|
8
8
|
import"../chunk-5tbzf9wd.js";
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
9
|
+
import"../chunk-ps7f1x05.js";
|
|
10
|
+
import"../chunk-9d0ph5km.js";
|
|
11
11
|
import"../chunk-ssj93brx.js";
|
|
12
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-47x0r2kr.js";
|
|
13
13
|
import"../chunk-0d8vs5q8.js";
|
|
14
14
|
import"../chunk-xgnz10sr.js";
|
|
15
15
|
import"../chunk-6fnhzhdb.js";
|
|
16
16
|
import"../chunk-mvkxs8d0.js";
|
|
17
17
|
import"../chunk-rq5fc007.js";
|
|
18
18
|
import"../chunk-9shz0bw1.js";
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-6rcyw5ek.js";
|
|
20
|
+
import"../chunk-9f9dsjnr.js";
|
|
21
|
+
import"../chunk-68zz17hs.js";
|
|
22
22
|
export {
|
|
23
23
|
parseRedisInfo,
|
|
24
24
|
openRedis,
|
package/dist/redis/index.js
CHANGED
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
RedisConnection,
|
|
9
9
|
openRedis,
|
|
10
10
|
parseRedisInfo
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-ywk81p8a.js";
|
|
12
12
|
import {
|
|
13
13
|
discoverRedisTopology
|
|
14
14
|
} from "../chunk-5tbzf9wd.js";
|
|
15
|
-
import"../chunk-
|
|
16
|
-
import"../chunk-
|
|
15
|
+
import"../chunk-ps7f1x05.js";
|
|
16
|
+
import"../chunk-9d0ph5km.js";
|
|
17
17
|
import"../chunk-ssj93brx.js";
|
|
18
|
-
import"../chunk-
|
|
18
|
+
import"../chunk-47x0r2kr.js";
|
|
19
19
|
import"../chunk-0d8vs5q8.js";
|
|
20
20
|
import"../chunk-xgnz10sr.js";
|
|
21
21
|
import"../chunk-6fnhzhdb.js";
|
|
22
22
|
import"../chunk-mvkxs8d0.js";
|
|
23
23
|
import"../chunk-rq5fc007.js";
|
|
24
24
|
import"../chunk-9shz0bw1.js";
|
|
25
|
-
import"../chunk-
|
|
26
|
-
import"../chunk-
|
|
27
|
-
import"../chunk-
|
|
25
|
+
import"../chunk-6rcyw5ek.js";
|
|
26
|
+
import"../chunk-9f9dsjnr.js";
|
|
27
|
+
import"../chunk-68zz17hs.js";
|
|
28
28
|
export {
|
|
29
29
|
redisGroupedSampleSizes,
|
|
30
30
|
parseRedisInfo,
|
package/dist/s3/client.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3Client
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import"../chunk-
|
|
5
|
-
import"../chunk-
|
|
3
|
+
} from "../chunk-mj6ckk1g.js";
|
|
4
|
+
import"../chunk-ps7f1x05.js";
|
|
5
|
+
import"../chunk-9d0ph5km.js";
|
|
6
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
7
|
import"../chunk-z8e1ckkq.js";
|
|
8
8
|
import"../chunk-c2b2jwm4.js";
|
|
9
9
|
import"../chunk-ssj93brx.js";
|
|
10
|
-
import"../chunk-
|
|
10
|
+
import"../chunk-47x0r2kr.js";
|
|
11
11
|
import"../chunk-0d8vs5q8.js";
|
|
12
12
|
import"../chunk-xgnz10sr.js";
|
|
13
13
|
import"../chunk-6fnhzhdb.js";
|
|
14
14
|
import"../chunk-mvkxs8d0.js";
|
|
15
15
|
import"../chunk-rq5fc007.js";
|
|
16
16
|
import"../chunk-9shz0bw1.js";
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
17
|
+
import"../chunk-6rcyw5ek.js";
|
|
18
|
+
import"../chunk-9f9dsjnr.js";
|
|
19
|
+
import"../chunk-68zz17hs.js";
|
|
20
20
|
export {
|
|
21
21
|
S3Client
|
|
22
22
|
};
|
package/dist/s3/datasource.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3DataSource
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-hj14hfvz.js";
|
|
4
4
|
import"../chunk-z5pm2emz.js";
|
|
5
|
-
import"../chunk-
|
|
6
|
-
import"../chunk-
|
|
7
|
-
import"../chunk-
|
|
5
|
+
import"../chunk-mj6ckk1g.js";
|
|
6
|
+
import"../chunk-ps7f1x05.js";
|
|
7
|
+
import"../chunk-9d0ph5km.js";
|
|
8
8
|
import"../chunk-v3hxvnrc.js";
|
|
9
9
|
import"../chunk-z8e1ckkq.js";
|
|
10
10
|
import"../chunk-c2b2jwm4.js";
|
|
11
11
|
import"../chunk-ssj93brx.js";
|
|
12
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-47x0r2kr.js";
|
|
13
13
|
import"../chunk-0d8vs5q8.js";
|
|
14
14
|
import"../chunk-xgnz10sr.js";
|
|
15
15
|
import"../chunk-6fnhzhdb.js";
|
|
16
16
|
import"../chunk-mvkxs8d0.js";
|
|
17
17
|
import"../chunk-rq5fc007.js";
|
|
18
18
|
import"../chunk-9shz0bw1.js";
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-6rcyw5ek.js";
|
|
20
|
+
import"../chunk-9f9dsjnr.js";
|
|
21
|
+
import"../chunk-68zz17hs.js";
|
|
22
22
|
export {
|
|
23
23
|
S3DataSource
|
|
24
24
|
};
|
package/dist/s3/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3DataSource
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-hj14hfvz.js";
|
|
4
4
|
import"../chunk-z5pm2emz.js";
|
|
5
5
|
import {
|
|
6
6
|
S3Client
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import"../chunk-
|
|
9
|
-
import"../chunk-
|
|
7
|
+
} from "../chunk-mj6ckk1g.js";
|
|
8
|
+
import"../chunk-ps7f1x05.js";
|
|
9
|
+
import"../chunk-9d0ph5km.js";
|
|
10
10
|
import"../chunk-v3hxvnrc.js";
|
|
11
11
|
import"../chunk-z8e1ckkq.js";
|
|
12
12
|
import"../chunk-c2b2jwm4.js";
|
|
13
13
|
import"../chunk-ssj93brx.js";
|
|
14
|
-
import"../chunk-
|
|
14
|
+
import"../chunk-47x0r2kr.js";
|
|
15
15
|
import"../chunk-0d8vs5q8.js";
|
|
16
16
|
import"../chunk-xgnz10sr.js";
|
|
17
17
|
import"../chunk-6fnhzhdb.js";
|
|
18
18
|
import"../chunk-mvkxs8d0.js";
|
|
19
19
|
import"../chunk-rq5fc007.js";
|
|
20
20
|
import"../chunk-9shz0bw1.js";
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-
|
|
23
|
-
import"../chunk-
|
|
21
|
+
import"../chunk-6rcyw5ek.js";
|
|
22
|
+
import"../chunk-9f9dsjnr.js";
|
|
23
|
+
import"../chunk-68zz17hs.js";
|
|
24
24
|
export {
|
|
25
25
|
S3DataSource,
|
|
26
26
|
S3Client
|
package/dist/transport/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
PodPythonTransport,
|
|
4
4
|
PortForwardTransport,
|
|
5
5
|
isConnectionNetworkError
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ps7f1x05.js";
|
|
7
7
|
import {
|
|
8
8
|
PodRelayTransport
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-9d0ph5km.js";
|
|
10
10
|
import"../chunk-ssj93brx.js";
|
|
11
11
|
import {
|
|
12
12
|
ServicePortForwardTransport
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-47x0r2kr.js";
|
|
14
14
|
import"../chunk-0d8vs5q8.js";
|
|
15
15
|
import"../chunk-xgnz10sr.js";
|
|
16
16
|
import"../chunk-6fnhzhdb.js";
|
|
@@ -19,9 +19,9 @@ import"../chunk-rq5fc007.js";
|
|
|
19
19
|
import"../chunk-9shz0bw1.js";
|
|
20
20
|
import {
|
|
21
21
|
Transport
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import"../chunk-
|
|
24
|
-
import"../chunk-
|
|
22
|
+
} from "../chunk-6rcyw5ek.js";
|
|
23
|
+
import"../chunk-9f9dsjnr.js";
|
|
24
|
+
import"../chunk-68zz17hs.js";
|
|
25
25
|
export {
|
|
26
26
|
isConnectionNetworkError,
|
|
27
27
|
Transport,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PodRelayTransport
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-9d0ph5km.js";
|
|
4
4
|
import"../chunk-ssj93brx.js";
|
|
5
5
|
import"../chunk-mvkxs8d0.js";
|
|
6
6
|
import"../chunk-rq5fc007.js";
|
|
7
7
|
import"../chunk-9shz0bw1.js";
|
|
8
|
-
import"../chunk-
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
8
|
+
import"../chunk-6rcyw5ek.js";
|
|
9
|
+
import"../chunk-9f9dsjnr.js";
|
|
10
|
+
import"../chunk-68zz17hs.js";
|
|
11
11
|
export {
|
|
12
12
|
PodRelayTransport
|
|
13
13
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServicePortForwardTransport
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-47x0r2kr.js";
|
|
4
4
|
import"../chunk-0d8vs5q8.js";
|
|
5
5
|
import"../chunk-xgnz10sr.js";
|
|
6
6
|
import"../chunk-6fnhzhdb.js";
|
|
7
7
|
import"../chunk-mvkxs8d0.js";
|
|
8
8
|
import"../chunk-rq5fc007.js";
|
|
9
9
|
import"../chunk-9shz0bw1.js";
|
|
10
|
-
import"../chunk-
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
10
|
+
import"../chunk-6rcyw5ek.js";
|
|
11
|
+
import"../chunk-9f9dsjnr.js";
|
|
12
|
+
import"../chunk-68zz17hs.js";
|
|
13
13
|
export {
|
|
14
14
|
ServicePortForwardTransport
|
|
15
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compforge/harness-toolbox",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Shared infrastructure clients, transports and bounded data capture",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -96,6 +96,14 @@
|
|
|
96
96
|
"./http": {
|
|
97
97
|
"types": "./dist/http/index.d.ts",
|
|
98
98
|
"import": "./dist/http/index.js"
|
|
99
|
+
},
|
|
100
|
+
"./network": {
|
|
101
|
+
"types": "./dist/network/connectivity.d.ts",
|
|
102
|
+
"import": "./dist/network/connectivity.js"
|
|
103
|
+
},
|
|
104
|
+
"./endpoint": {
|
|
105
|
+
"types": "./dist/network/endpoint.d.ts",
|
|
106
|
+
"import": "./dist/network/endpoint.js"
|
|
99
107
|
}
|
|
100
108
|
},
|
|
101
109
|
"files": [
|
|
@@ -104,7 +112,7 @@
|
|
|
104
112
|
],
|
|
105
113
|
"dependencies": {
|
|
106
114
|
"@aws-sdk/client-s3": "3.1133.0",
|
|
107
|
-
"@compforge/harness-common": "0.5.
|
|
115
|
+
"@compforge/harness-common": "0.5.13",
|
|
108
116
|
"@kubernetes/client-node": "1.4.0",
|
|
109
117
|
"@opensearch-project/opensearch": "3.6.0",
|
|
110
118
|
"@redis/client": "6.1.0",
|
|
@@ -122,9 +130,6 @@
|
|
|
122
130
|
"@types/node": "^22",
|
|
123
131
|
"@types/ws": "^8.18.1"
|
|
124
132
|
},
|
|
125
|
-
"overrides": {
|
|
126
|
-
"@compforge/harness-common": "file:../common"
|
|
127
|
-
},
|
|
128
133
|
"publishConfig": {
|
|
129
134
|
"access": "public"
|
|
130
135
|
},
|