@compforge/harness-toolbox 0.4.8 → 0.5.0
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 +15 -8
- package/dist/{chunk-1ts7pswj.js → chunk-0d8vs5q8.js} +33 -2
- package/dist/{chunk-h8fwx0k7.js → chunk-18gcp0ck.js} +32 -7
- package/dist/{chunk-gm4swndx.js → chunk-43mcyrh4.js} +14 -24
- package/dist/{chunk-zp1s833x.js → chunk-7hbvjzb9.js} +25 -12
- package/dist/{chunk-f3vq900j.js → chunk-92aacbwh.js} +1 -1
- package/dist/{chunk-35cjec9z.js → chunk-ccre3nh1.js} +6 -6
- package/dist/chunk-ehmx0yhp.js +52 -0
- package/dist/{chunk-t4hrnaj0.js → chunk-ex429qjt.js} +22 -20
- package/dist/{chunk-fqrknvr8.js → chunk-kap6ka3n.js} +27 -12
- package/dist/{chunk-vymm4g9h.js → chunk-kxpecgy7.js} +106 -37
- package/dist/{chunk-nftzckdy.js → chunk-mvkxs8d0.js} +17 -2
- package/dist/{chunk-f98qrpx1.js → chunk-njs48b51.js} +28 -27
- package/dist/chunk-sb5qzv37.js +62 -0
- package/dist/{chunk-dx6yvj81.js → chunk-xhfbark7.js} +1 -1
- package/dist/{chunk-m391jmpw.js → chunk-ze1hng62.js} +9 -9
- package/dist/connection/acquire.d.ts +3 -4
- package/dist/connection/acquire.js +2 -4
- package/dist/datasource.d.ts +0 -6
- 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/kubernetes/client.js +8 -8
- package/dist/kubernetes/environment.js +8 -8
- package/dist/kubernetes/exec-transport.js +2 -2
- package/dist/kubernetes/pod-log-client.js +2 -2
- package/dist/kubernetes/pod-log-datasource.js +3 -3
- package/dist/kubernetes/port-forward.d.ts +4 -0
- package/dist/kubernetes/port-forward.js +1 -1
- package/dist/kubernetes/resource-transport.js +2 -2
- package/dist/kubernetes/service-port-forward.d.ts +3 -2
- package/dist/kubernetes/service-port-forward.js +2 -2
- package/dist/mysql/client.d.ts +7 -7
- package/dist/mysql/client.js +12 -7
- package/dist/mysql/index.js +18 -13
- package/dist/opensearch/client.d.ts +14 -4
- package/dist/opensearch/client.js +15 -8
- package/dist/opensearch/index.js +15 -8
- package/dist/redis/client.d.ts +7 -6
- package/dist/redis/client.js +12 -7
- package/dist/redis/index.js +16 -11
- package/dist/s3/client.d.ts +5 -3
- package/dist/s3/client.js +14 -1
- package/dist/s3/datasource.js +13 -7
- package/dist/s3/index.js +13 -7
- package/dist/transport/index.d.ts +18 -8
- package/dist/transport/index.js +17 -4
- package/dist/transport/lifecycle.d.ts +22 -0
- package/dist/transport/lifecycle.js +8 -0
- package/dist/transport/pod-relay.d.ts +7 -4
- package/dist/transport/pod-relay.js +6 -3
- package/dist/transport/service-port-forward.d.ts +30 -0
- package/dist/transport/service-port-forward.js +15 -0
- package/package.json +3 -2
- package/dist/{chunk-mnad4zkp.js → chunk-010339ga.js} +3 -3
- package/dist/{chunk-x0yhfg29.js → chunk-5w85c7cs.js} +3 -3
- package/dist/{chunk-ww11q58v.js → chunk-rncagjbc.js} +3 -3
- package/dist/{chunk-r3rnsvwv.js → chunk-xeft7af0.js} +3 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ze1hng62.js";
|
|
4
|
+
import"../chunk-5w85c7cs.js";
|
|
4
5
|
import"../chunk-ae84rzq5.js";
|
|
5
|
-
import"../chunk-1ts7pswj.js";
|
|
6
|
-
import"../chunk-xgnz10sr.js";
|
|
7
|
-
import"../chunk-6fnhzhdb.js";
|
|
8
|
-
import"../chunk-x0yhfg29.js";
|
|
9
6
|
import"../chunk-dpcge1xt.js";
|
|
10
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-xeft7af0.js";
|
|
11
8
|
import"../chunk-a9htb6cr.js";
|
|
12
|
-
import"../chunk-rkt41za2.js";
|
|
13
9
|
import"../chunk-v3hxvnrc.js";
|
|
14
|
-
import"../chunk-
|
|
10
|
+
import"../chunk-0d8vs5q8.js";
|
|
11
|
+
import"../chunk-xgnz10sr.js";
|
|
12
|
+
import"../chunk-6fnhzhdb.js";
|
|
13
|
+
import"../chunk-mvkxs8d0.js";
|
|
15
14
|
import"../chunk-rq5fc007.js";
|
|
16
15
|
import"../chunk-9shz0bw1.js";
|
|
16
|
+
import"../chunk-rkt41za2.js";
|
|
17
17
|
export {
|
|
18
18
|
KubernetesClient
|
|
19
19
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ze1hng62.js";
|
|
4
|
+
import"../chunk-5w85c7cs.js";
|
|
4
5
|
import"../chunk-ae84rzq5.js";
|
|
5
|
-
import"../chunk-1ts7pswj.js";
|
|
6
|
-
import"../chunk-xgnz10sr.js";
|
|
7
|
-
import"../chunk-6fnhzhdb.js";
|
|
8
|
-
import"../chunk-x0yhfg29.js";
|
|
9
6
|
import"../chunk-dpcge1xt.js";
|
|
10
|
-
import"../chunk-
|
|
7
|
+
import"../chunk-xeft7af0.js";
|
|
11
8
|
import {
|
|
12
9
|
clientKey
|
|
13
10
|
} from "../chunk-a9htb6cr.js";
|
|
14
|
-
import"../chunk-rkt41za2.js";
|
|
15
11
|
import"../chunk-v3hxvnrc.js";
|
|
16
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-0d8vs5q8.js";
|
|
13
|
+
import"../chunk-xgnz10sr.js";
|
|
14
|
+
import"../chunk-6fnhzhdb.js";
|
|
15
|
+
import"../chunk-mvkxs8d0.js";
|
|
17
16
|
import"../chunk-rq5fc007.js";
|
|
18
17
|
import"../chunk-9shz0bw1.js";
|
|
18
|
+
import"../chunk-rkt41za2.js";
|
|
19
19
|
|
|
20
20
|
// src/kubernetes/environment.ts
|
|
21
21
|
class KubernetesEnvironment {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PodLogClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-010339ga.js";
|
|
4
4
|
import"../chunk-8nm9f0hh.js";
|
|
5
|
-
import"../chunk-mp88s7r7.js";
|
|
6
5
|
import"../chunk-1vfwvgkj.js";
|
|
6
|
+
import"../chunk-mp88s7r7.js";
|
|
7
7
|
import"../chunk-a9htb6cr.js";
|
|
8
8
|
import"../chunk-v3hxvnrc.js";
|
|
9
9
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PodLogClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-010339ga.js";
|
|
4
4
|
import"../chunk-8nm9f0hh.js";
|
|
5
|
-
import"../chunk-mp88s7r7.js";
|
|
6
5
|
import"../chunk-1vfwvgkj.js";
|
|
6
|
+
import"../chunk-mp88s7r7.js";
|
|
7
7
|
import"../chunk-a9htb6cr.js";
|
|
8
8
|
import {
|
|
9
9
|
clientKey
|
|
10
10
|
} from "../chunk-z5pm2emz.js";
|
|
11
|
-
import"../chunk-rkt41za2.js";
|
|
12
11
|
import"../chunk-v3hxvnrc.js";
|
|
12
|
+
import"../chunk-rkt41za2.js";
|
|
13
13
|
|
|
14
14
|
// src/kubernetes/pod-log-datasource.ts
|
|
15
15
|
class PodLogDataSource {
|
|
@@ -5,6 +5,9 @@ export interface PortForward {
|
|
|
5
5
|
/** 完整 argv,进 evidence manifest 供审计复现 */
|
|
6
6
|
command: string[];
|
|
7
7
|
stop(): void;
|
|
8
|
+
/** Resolves after the process and its stdio have closed. */
|
|
9
|
+
exited?: Promise<number>;
|
|
10
|
+
isAlive?(): boolean;
|
|
8
11
|
}
|
|
9
12
|
export interface PortForwardTarget {
|
|
10
13
|
kind: "service" | "pod";
|
|
@@ -44,4 +47,5 @@ export declare class PortForwardScope {
|
|
|
44
47
|
onDiagnostic?: (line: string) => void;
|
|
45
48
|
}): Promise<PortForwardResult>;
|
|
46
49
|
stop(): void;
|
|
50
|
+
dispose(): Promise<void>;
|
|
47
51
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KubernetesResourceTransport
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5w85c7cs.js";
|
|
4
4
|
import"../chunk-dpcge1xt.js";
|
|
5
5
|
import"../chunk-a9htb6cr.js";
|
|
6
|
-
import"../chunk-rkt41za2.js";
|
|
7
6
|
import"../chunk-v3hxvnrc.js";
|
|
7
|
+
import"../chunk-rkt41za2.js";
|
|
8
8
|
export {
|
|
9
9
|
KubernetesResourceTransport
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Executor, KubectlOptions } from "./executor";
|
|
2
2
|
import type { KubernetesEndpoint } from "./endpoint";
|
|
3
|
-
import { type StartPortForward } from "./port-forward";
|
|
3
|
+
import { type StartPortForward, type PortForward } from "./port-forward";
|
|
4
4
|
export interface ForwardedEndpoint extends KubernetesEndpoint {
|
|
5
5
|
/** TLS 校验仍使用集群内逻辑地址,而不是本地 127.0.0.1。 */
|
|
6
6
|
servername?: string;
|
|
@@ -23,9 +23,10 @@ export declare class ServicePortForwarder {
|
|
|
23
23
|
signal?: AbortSignal;
|
|
24
24
|
onDiagnostic?: (line: string) => void;
|
|
25
25
|
}, starter?: StartPortForward): Promise<ServicePortForwarder>;
|
|
26
|
-
get activeForwards(): readonly
|
|
26
|
+
get activeForwards(): readonly PortForward[];
|
|
27
27
|
forward(endpoint: KubernetesEndpoint): Promise<ForwardedEndpoint>;
|
|
28
28
|
/** 按 Service selector 把一个逻辑 endpoint 展开为每个 Running Pod 的独立 endpoint。 */
|
|
29
29
|
forwardServiceTargets(endpoint: KubernetesEndpoint): Promise<ForwardedServiceTarget[]>;
|
|
30
30
|
stop(): void;
|
|
31
|
+
dispose(): Promise<void>;
|
|
31
32
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServicePortForwarder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-0d8vs5q8.js";
|
|
4
4
|
import"../chunk-xgnz10sr.js";
|
|
5
5
|
import"../chunk-6fnhzhdb.js";
|
|
6
|
-
import"../chunk-
|
|
6
|
+
import"../chunk-mvkxs8d0.js";
|
|
7
7
|
import"../chunk-rq5fc007.js";
|
|
8
8
|
import"../chunk-9shz0bw1.js";
|
|
9
9
|
export {
|
package/dist/mysql/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Client } from "../client";
|
|
2
2
|
import type { Connection, ConnectionOptions } from "mysql2/promise";
|
|
3
3
|
import type { Database, DatabaseTarget, DatabaseRow, DatabaseQueryLimits, DatabaseQueryResult, SqlStatement } from "./types";
|
|
4
|
-
import type {
|
|
5
|
-
import { type
|
|
4
|
+
import type { ClientLifecycle } from "../datasource";
|
|
5
|
+
import { Transport, type TransportPath } from "../transport";
|
|
6
6
|
export interface MysqlDatabaseOptions extends ClientLifecycle {
|
|
7
7
|
/** Per-route mapping and handshake budget. */
|
|
8
8
|
connectTimeoutMs: number;
|
|
@@ -18,10 +18,9 @@ type ConnectionFactory = (options: ConnectionOptions, signal?: AbortSignal) => P
|
|
|
18
18
|
*/
|
|
19
19
|
export declare class MysqlDatabase implements Database {
|
|
20
20
|
#private;
|
|
21
|
-
private readonly transports;
|
|
22
21
|
private readonly options;
|
|
23
22
|
private readonly connect;
|
|
24
|
-
constructor(
|
|
23
|
+
constructor(transport: Transport | readonly TransportPath[], options: MysqlDatabaseOptions, connect?: ConnectionFactory);
|
|
25
24
|
query(target: DatabaseTarget, sql: string, values: readonly unknown[]): Promise<DatabaseRow[]>;
|
|
26
25
|
/**
|
|
27
26
|
* Independent statements in submission order, one session: a Pod transport pays the exec
|
|
@@ -38,14 +37,15 @@ export declare class MysqlDatabase implements Database {
|
|
|
38
37
|
/** A datasource-bound MySQL client; the protocol adapter still supports explicit multi-target diagnostics. */
|
|
39
38
|
export declare class MysqlClient<Target extends DatabaseTarget = DatabaseTarget> implements Client {
|
|
40
39
|
#private;
|
|
41
|
-
private readonly
|
|
40
|
+
private readonly configuration;
|
|
41
|
+
private readonly transport;
|
|
42
42
|
private readonly options;
|
|
43
43
|
readonly signal: AbortSignal;
|
|
44
|
-
constructor(
|
|
44
|
+
constructor(configuration: Target | (() => Promise<Target>), transport: Transport, options: MysqlDatabaseOptions);
|
|
45
45
|
initialize(): Promise<void>;
|
|
46
46
|
get database(): MysqlDatabase;
|
|
47
47
|
get target(): Target;
|
|
48
48
|
dispose(): Promise<void>;
|
|
49
49
|
}
|
|
50
|
-
export declare function openMysql<Target extends DatabaseTarget>(
|
|
50
|
+
export declare function openMysql<Target extends DatabaseTarget>(configuration: Target | (() => Promise<Target>), transport: Transport, options: MysqlDatabaseOptions): Promise<MysqlClient<Target>>;
|
|
51
51
|
export {};
|
package/dist/mysql/client.js
CHANGED
|
@@ -2,19 +2,24 @@ import {
|
|
|
2
2
|
MysqlClient,
|
|
3
3
|
MysqlDatabase,
|
|
4
4
|
openMysql
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ex429qjt.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-18gcp0ck.js";
|
|
10
|
+
import"../chunk-kap6ka3n.js";
|
|
11
11
|
import"../chunk-v3hxvnrc.js";
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
14
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-ssj93brx.js";
|
|
13
|
+
import"../chunk-ehmx0yhp.js";
|
|
14
|
+
import"../chunk-0d8vs5q8.js";
|
|
15
|
+
import"../chunk-xgnz10sr.js";
|
|
16
|
+
import"../chunk-6fnhzhdb.js";
|
|
17
|
+
import"../chunk-mvkxs8d0.js";
|
|
15
18
|
import"../chunk-rq5fc007.js";
|
|
16
19
|
import"../chunk-9shz0bw1.js";
|
|
17
|
-
import"../chunk-
|
|
20
|
+
import"../chunk-sb5qzv37.js";
|
|
21
|
+
import"../chunk-43mcyrh4.js";
|
|
22
|
+
import"../chunk-rkt41za2.js";
|
|
18
23
|
export {
|
|
19
24
|
openMysql,
|
|
20
25
|
MysqlDatabase,
|
package/dist/mysql/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
limitedRows,
|
|
3
|
+
limitedStatement,
|
|
4
|
+
queryLimited
|
|
5
|
+
} from "../chunk-1gyshqd9.js";
|
|
1
6
|
import"../chunk-pfar9cm3.js";
|
|
2
7
|
import {
|
|
3
8
|
withReadScope
|
|
@@ -6,27 +11,27 @@ import {
|
|
|
6
11
|
MysqlClient,
|
|
7
12
|
MysqlDatabase,
|
|
8
13
|
openMysql
|
|
9
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-ex429qjt.js";
|
|
10
15
|
import"../chunk-m91t44jh.js";
|
|
11
16
|
import"../chunk-db4an9td.js";
|
|
17
|
+
import"../chunk-835fssgz.js";
|
|
12
18
|
import {
|
|
13
19
|
parseMysqlEnvTarget
|
|
14
20
|
} from "../chunk-qq77x9ek.js";
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
limitedStatement,
|
|
18
|
-
queryLimited
|
|
19
|
-
} from "../chunk-1gyshqd9.js";
|
|
20
|
-
import"../chunk-835fssgz.js";
|
|
21
|
-
import"../chunk-gm4swndx.js";
|
|
22
|
-
import"../chunk-rkt41za2.js";
|
|
21
|
+
import"../chunk-18gcp0ck.js";
|
|
22
|
+
import"../chunk-kap6ka3n.js";
|
|
23
23
|
import"../chunk-v3hxvnrc.js";
|
|
24
|
-
import"../chunk-
|
|
25
|
-
import"../chunk-
|
|
26
|
-
import"../chunk-
|
|
24
|
+
import"../chunk-ssj93brx.js";
|
|
25
|
+
import"../chunk-ehmx0yhp.js";
|
|
26
|
+
import"../chunk-0d8vs5q8.js";
|
|
27
|
+
import"../chunk-xgnz10sr.js";
|
|
28
|
+
import"../chunk-6fnhzhdb.js";
|
|
29
|
+
import"../chunk-mvkxs8d0.js";
|
|
27
30
|
import"../chunk-rq5fc007.js";
|
|
28
31
|
import"../chunk-9shz0bw1.js";
|
|
29
|
-
import"../chunk-
|
|
32
|
+
import"../chunk-sb5qzv37.js";
|
|
33
|
+
import"../chunk-43mcyrh4.js";
|
|
34
|
+
import"../chunk-rkt41za2.js";
|
|
30
35
|
export {
|
|
31
36
|
withReadScope,
|
|
32
37
|
queryLimited,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Client as ManagedClient } from "../client";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ClientLifecycle } from "../datasource";
|
|
3
|
+
import { Transport } from "../transport";
|
|
3
4
|
import type { SearchEngine, SearchQuery, SearchResult } from "./types";
|
|
5
|
+
/** IP targets retain their address identity but never send an IP literal as TLS SNI. */
|
|
6
|
+
export declare function openSearchServername(host?: string): string | undefined;
|
|
4
7
|
export interface OpenSearchAuth {
|
|
5
8
|
username?: string;
|
|
6
9
|
password?: string;
|
|
@@ -17,6 +20,10 @@ export interface OpenSearchOptions {
|
|
|
17
20
|
acquireTimeoutMs?: number;
|
|
18
21
|
/** Original TLS identity when a transport maps the socket to localhost. */
|
|
19
22
|
servername?: string;
|
|
23
|
+
/** Only endpoints without an explicit scheme permit HTTP/HTTPS discovery. */
|
|
24
|
+
preferredScheme?: "http" | "https";
|
|
25
|
+
/** Original HTTP authority when dialing a forwarded address. */
|
|
26
|
+
authority?: string;
|
|
20
27
|
}
|
|
21
28
|
export interface OpenSearchClientApi {
|
|
22
29
|
count(params: Record<string, unknown>): Promise<{
|
|
@@ -55,6 +62,7 @@ export interface OpenSearchReadApi extends SearchEngine {
|
|
|
55
62
|
export declare function isOpenSearchReadApi(search: SearchEngine): search is OpenSearchReadApi;
|
|
56
63
|
/** Official OpenSearch client behind the engine-neutral SearchEngine contract. */
|
|
57
64
|
export declare class OpenSearchEngine implements OpenSearchReadApi {
|
|
65
|
+
#private;
|
|
58
66
|
private readonly options;
|
|
59
67
|
private readonly client;
|
|
60
68
|
constructor(options: OpenSearchOptions, client?: OpenSearchClientApi);
|
|
@@ -72,10 +80,12 @@ export declare class OpenSearchEngine implements OpenSearchReadApi {
|
|
|
72
80
|
*/
|
|
73
81
|
export declare class OpenSearchClient implements ManagedClient, OpenSearchReadApi {
|
|
74
82
|
#private;
|
|
75
|
-
private readonly
|
|
83
|
+
private readonly configuration;
|
|
84
|
+
private readonly transport;
|
|
76
85
|
private readonly lifecycle;
|
|
77
86
|
readonly signal: AbortSignal;
|
|
78
|
-
|
|
87
|
+
get node(): string | undefined;
|
|
88
|
+
constructor(configuration: OpenSearchOptions | (() => Promise<OpenSearchOptions>), transport: Transport, lifecycle?: OpenSearchLifecycle);
|
|
79
89
|
initialize(): Promise<void>;
|
|
80
90
|
count(index: string, query: SearchQuery): Promise<number>;
|
|
81
91
|
search(index: string, body: SearchQuery): Promise<SearchResult>;
|
|
@@ -84,4 +94,4 @@ export declare class OpenSearchClient implements ManagedClient, OpenSearchReadAp
|
|
|
84
94
|
close(): Promise<void>;
|
|
85
95
|
dispose(): Promise<void>;
|
|
86
96
|
}
|
|
87
|
-
export declare function openOpenSearch(
|
|
97
|
+
export declare function openOpenSearch(configuration: OpenSearchOptions | (() => Promise<OpenSearchOptions>), transport: Transport, lifecycle?: OpenSearchLifecycle): Promise<OpenSearchClient>;
|
|
@@ -3,17 +3,24 @@ import {
|
|
|
3
3
|
OpenSearchEngine,
|
|
4
4
|
describeOpenSearchError,
|
|
5
5
|
isOpenSearchReadApi,
|
|
6
|
-
openOpenSearch
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
6
|
+
openOpenSearch,
|
|
7
|
+
openSearchServername
|
|
8
|
+
} from "../chunk-kxpecgy7.js";
|
|
9
|
+
import"../chunk-18gcp0ck.js";
|
|
10
|
+
import"../chunk-kap6ka3n.js";
|
|
11
|
+
import"../chunk-ssj93brx.js";
|
|
12
|
+
import"../chunk-ehmx0yhp.js";
|
|
13
|
+
import"../chunk-0d8vs5q8.js";
|
|
14
|
+
import"../chunk-xgnz10sr.js";
|
|
15
|
+
import"../chunk-6fnhzhdb.js";
|
|
16
|
+
import"../chunk-mvkxs8d0.js";
|
|
13
17
|
import"../chunk-rq5fc007.js";
|
|
14
18
|
import"../chunk-9shz0bw1.js";
|
|
15
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-sb5qzv37.js";
|
|
20
|
+
import"../chunk-43mcyrh4.js";
|
|
21
|
+
import"../chunk-rkt41za2.js";
|
|
16
22
|
export {
|
|
23
|
+
openSearchServername,
|
|
17
24
|
openOpenSearch,
|
|
18
25
|
isOpenSearchReadApi,
|
|
19
26
|
describeOpenSearchError,
|
package/dist/opensearch/index.js
CHANGED
|
@@ -10,19 +10,26 @@ import {
|
|
|
10
10
|
OpenSearchEngine,
|
|
11
11
|
describeOpenSearchError,
|
|
12
12
|
isOpenSearchReadApi,
|
|
13
|
-
openOpenSearch
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
13
|
+
openOpenSearch,
|
|
14
|
+
openSearchServername
|
|
15
|
+
} from "../chunk-kxpecgy7.js";
|
|
16
|
+
import"../chunk-18gcp0ck.js";
|
|
17
|
+
import"../chunk-kap6ka3n.js";
|
|
18
|
+
import"../chunk-ssj93brx.js";
|
|
19
|
+
import"../chunk-ehmx0yhp.js";
|
|
20
|
+
import"../chunk-0d8vs5q8.js";
|
|
21
|
+
import"../chunk-xgnz10sr.js";
|
|
22
|
+
import"../chunk-6fnhzhdb.js";
|
|
23
|
+
import"../chunk-mvkxs8d0.js";
|
|
20
24
|
import"../chunk-rq5fc007.js";
|
|
21
25
|
import"../chunk-9shz0bw1.js";
|
|
22
|
-
import"../chunk-
|
|
26
|
+
import"../chunk-sb5qzv37.js";
|
|
27
|
+
import"../chunk-43mcyrh4.js";
|
|
28
|
+
import"../chunk-rkt41za2.js";
|
|
23
29
|
export {
|
|
24
30
|
searchAfterPages,
|
|
25
31
|
parseOpenSearchEndpoint,
|
|
32
|
+
openSearchServername,
|
|
26
33
|
openOpenSearch,
|
|
27
34
|
isOpenSearchReadApi,
|
|
28
35
|
describeOpenSearchError,
|
package/dist/redis/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from "../client";
|
|
2
|
-
import type {
|
|
3
|
-
import { type TcpTransport } from "../transport";
|
|
2
|
+
import type { ClientLifecycle } from "../datasource";
|
|
3
|
+
import { Transport, type TcpTransport } from "../transport";
|
|
4
4
|
import { type RedisTopologyConfig, type RedisTopology } from "./topology";
|
|
5
5
|
import { createClient, type RedisClientType } from "@redis/client";
|
|
6
6
|
export interface RedisEndpoint {
|
|
@@ -86,7 +86,7 @@ export declare class RedisAccess implements RedisAccessApi {
|
|
|
86
86
|
private readonly baseConfig;
|
|
87
87
|
private readonly connectionFactory;
|
|
88
88
|
private readonly lifecycle;
|
|
89
|
-
constructor(transports: TcpTransport | readonly TcpTransport[], baseConfig: Omit<RedisConnectionConfig, "database">, connectionFactory?: RedisConnectionFactory, lifecycle?: ClientLifecycle);
|
|
89
|
+
constructor(transports: Transport | TcpTransport | readonly TcpTransport[], baseConfig: Omit<RedisConnectionConfig, "database">, connectionFactory?: RedisConnectionFactory, lifecycle?: ClientLifecycle);
|
|
90
90
|
connection(endpoint: RedisEndpoint, database: number, credentials?: RedisCredentials): Promise<RedisManagedConnection>;
|
|
91
91
|
close(): Promise<void>;
|
|
92
92
|
}
|
|
@@ -94,10 +94,11 @@ export declare class RedisAccess implements RedisAccessApi {
|
|
|
94
94
|
export type RedisDataSourceTarget = RedisConnectionConfig & RedisTopologyConfig;
|
|
95
95
|
export declare class RedisClient implements Client {
|
|
96
96
|
#private;
|
|
97
|
-
private readonly
|
|
97
|
+
private readonly configuration;
|
|
98
|
+
private readonly transport;
|
|
98
99
|
private readonly lifecycle;
|
|
99
100
|
readonly signal: AbortSignal;
|
|
100
|
-
constructor(
|
|
101
|
+
constructor(configuration: RedisDataSourceTarget | (() => Promise<RedisDataSourceTarget>), transport: Transport, lifecycle?: ClientLifecycle);
|
|
101
102
|
initialize(): Promise<void>;
|
|
102
103
|
get access(): RedisAccess;
|
|
103
104
|
/** Refresh topology for this observation, while retaining reusable node connections. */
|
|
@@ -105,5 +106,5 @@ export declare class RedisClient implements Client {
|
|
|
105
106
|
get target(): RedisDataSourceTarget;
|
|
106
107
|
dispose(): Promise<void>;
|
|
107
108
|
}
|
|
108
|
-
export declare function openRedis(
|
|
109
|
+
export declare function openRedis(configuration: RedisDataSourceTarget | (() => Promise<RedisDataSourceTarget>), transport: Transport, lifecycle?: ClientLifecycle): Promise<RedisClient>;
|
|
109
110
|
export {};
|
package/dist/redis/client.js
CHANGED
|
@@ -4,16 +4,21 @@ import {
|
|
|
4
4
|
RedisConnection,
|
|
5
5
|
openRedis,
|
|
6
6
|
parseRedisInfo
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import"../chunk-gm4swndx.js";
|
|
7
|
+
} from "../chunk-njs48b51.js";
|
|
9
8
|
import"../chunk-5tbzf9wd.js";
|
|
10
|
-
import"../chunk-
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
9
|
+
import"../chunk-18gcp0ck.js";
|
|
10
|
+
import"../chunk-kap6ka3n.js";
|
|
11
|
+
import"../chunk-ssj93brx.js";
|
|
12
|
+
import"../chunk-ehmx0yhp.js";
|
|
13
|
+
import"../chunk-0d8vs5q8.js";
|
|
14
|
+
import"../chunk-xgnz10sr.js";
|
|
15
|
+
import"../chunk-6fnhzhdb.js";
|
|
16
|
+
import"../chunk-mvkxs8d0.js";
|
|
14
17
|
import"../chunk-rq5fc007.js";
|
|
15
18
|
import"../chunk-9shz0bw1.js";
|
|
16
|
-
import"../chunk-
|
|
19
|
+
import"../chunk-sb5qzv37.js";
|
|
20
|
+
import"../chunk-43mcyrh4.js";
|
|
21
|
+
import"../chunk-rkt41za2.js";
|
|
17
22
|
export {
|
|
18
23
|
parseRedisInfo,
|
|
19
24
|
openRedis,
|
package/dist/redis/index.js
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
collectRedisKeyStats,
|
|
3
|
+
redisGroupedSampleSizes
|
|
4
|
+
} from "../chunk-jr9y0ghr.js";
|
|
1
5
|
import {
|
|
2
6
|
RedisAccess,
|
|
3
7
|
RedisClient,
|
|
4
8
|
RedisConnection,
|
|
5
9
|
openRedis,
|
|
6
10
|
parseRedisInfo
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import"../chunk-gm4swndx.js";
|
|
9
|
-
import {
|
|
10
|
-
collectRedisKeyStats,
|
|
11
|
-
redisGroupedSampleSizes
|
|
12
|
-
} from "../chunk-jr9y0ghr.js";
|
|
11
|
+
} from "../chunk-njs48b51.js";
|
|
13
12
|
import {
|
|
14
13
|
discoverRedisTopology
|
|
15
14
|
} from "../chunk-5tbzf9wd.js";
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
15
|
+
import"../chunk-18gcp0ck.js";
|
|
16
|
+
import"../chunk-kap6ka3n.js";
|
|
17
|
+
import"../chunk-ssj93brx.js";
|
|
18
|
+
import"../chunk-ehmx0yhp.js";
|
|
19
|
+
import"../chunk-0d8vs5q8.js";
|
|
20
|
+
import"../chunk-xgnz10sr.js";
|
|
21
|
+
import"../chunk-6fnhzhdb.js";
|
|
22
|
+
import"../chunk-mvkxs8d0.js";
|
|
20
23
|
import"../chunk-rq5fc007.js";
|
|
21
24
|
import"../chunk-9shz0bw1.js";
|
|
22
|
-
import"../chunk-
|
|
25
|
+
import"../chunk-sb5qzv37.js";
|
|
26
|
+
import"../chunk-43mcyrh4.js";
|
|
27
|
+
import"../chunk-rkt41za2.js";
|
|
23
28
|
export {
|
|
24
29
|
redisGroupedSampleSizes,
|
|
25
30
|
parseRedisInfo,
|
package/dist/s3/client.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Client } from "../client";
|
|
2
|
-
import type { ClientLifecycle
|
|
2
|
+
import type { ClientLifecycle } from "../datasource";
|
|
3
|
+
import { Transport } from "../transport";
|
|
3
4
|
import type { S3Target, S3Limits, S3RequestOptions, S3ObjectMetadata, S3ObjectPage, S3BucketPage, S3ObjectRead } from "./types";
|
|
4
5
|
/**
|
|
5
6
|
* @spec Read-only S3 operations share a bounded pool; no failed protocol operation is replayed.
|
|
@@ -8,11 +9,12 @@ import type { S3Target, S3Limits, S3RequestOptions, S3ObjectMetadata, S3ObjectPa
|
|
|
8
9
|
*/
|
|
9
10
|
export declare class S3Client implements Client {
|
|
10
11
|
#private;
|
|
11
|
-
private readonly
|
|
12
|
+
private readonly configuration;
|
|
13
|
+
private readonly transport;
|
|
12
14
|
private readonly limits;
|
|
13
15
|
private readonly lifecycle;
|
|
14
16
|
readonly signal: AbortSignal;
|
|
15
|
-
constructor(
|
|
17
|
+
constructor(configuration: S3Target | (() => Promise<S3Target>), transport: Transport, limits: S3Limits, lifecycle?: ClientLifecycle);
|
|
16
18
|
initialize(): Promise<void>;
|
|
17
19
|
/** A failed HEAD remains an error, not a misleading exists=false. */
|
|
18
20
|
headBucket(bucket: string, options?: S3RequestOptions): Promise<void>;
|
package/dist/s3/client.js
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3Client
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7hbvjzb9.js";
|
|
4
|
+
import"../chunk-18gcp0ck.js";
|
|
5
|
+
import"../chunk-kap6ka3n.js";
|
|
4
6
|
import"../chunk-v3hxvnrc.js";
|
|
5
7
|
import"../chunk-x4ntb898.js";
|
|
8
|
+
import"../chunk-ssj93brx.js";
|
|
9
|
+
import"../chunk-ehmx0yhp.js";
|
|
10
|
+
import"../chunk-0d8vs5q8.js";
|
|
11
|
+
import"../chunk-xgnz10sr.js";
|
|
12
|
+
import"../chunk-6fnhzhdb.js";
|
|
13
|
+
import"../chunk-mvkxs8d0.js";
|
|
14
|
+
import"../chunk-rq5fc007.js";
|
|
15
|
+
import"../chunk-9shz0bw1.js";
|
|
16
|
+
import"../chunk-sb5qzv37.js";
|
|
17
|
+
import"../chunk-43mcyrh4.js";
|
|
18
|
+
import"../chunk-rkt41za2.js";
|
|
6
19
|
export {
|
|
7
20
|
S3Client
|
|
8
21
|
};
|
package/dist/s3/datasource.js
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3DataSource
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ccre3nh1.js";
|
|
4
4
|
import"../chunk-z5pm2emz.js";
|
|
5
|
-
import"../chunk-
|
|
6
|
-
import"../chunk-
|
|
5
|
+
import"../chunk-7hbvjzb9.js";
|
|
6
|
+
import"../chunk-18gcp0ck.js";
|
|
7
|
+
import"../chunk-kap6ka3n.js";
|
|
7
8
|
import"../chunk-v3hxvnrc.js";
|
|
8
9
|
import"../chunk-x4ntb898.js";
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
11
|
-
import"../chunk-
|
|
10
|
+
import"../chunk-ssj93brx.js";
|
|
11
|
+
import"../chunk-ehmx0yhp.js";
|
|
12
|
+
import"../chunk-0d8vs5q8.js";
|
|
13
|
+
import"../chunk-xgnz10sr.js";
|
|
14
|
+
import"../chunk-6fnhzhdb.js";
|
|
15
|
+
import"../chunk-mvkxs8d0.js";
|
|
12
16
|
import"../chunk-rq5fc007.js";
|
|
13
17
|
import"../chunk-9shz0bw1.js";
|
|
14
|
-
import"../chunk-
|
|
18
|
+
import"../chunk-sb5qzv37.js";
|
|
19
|
+
import"../chunk-43mcyrh4.js";
|
|
20
|
+
import"../chunk-rkt41za2.js";
|
|
15
21
|
export {
|
|
16
22
|
S3DataSource
|
|
17
23
|
};
|
package/dist/s3/index.js
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3DataSource
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ccre3nh1.js";
|
|
4
4
|
import"../chunk-z5pm2emz.js";
|
|
5
|
-
import"../chunk-rkt41za2.js";
|
|
6
5
|
import {
|
|
7
6
|
S3Client
|
|
8
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-7hbvjzb9.js";
|
|
8
|
+
import"../chunk-18gcp0ck.js";
|
|
9
|
+
import"../chunk-kap6ka3n.js";
|
|
9
10
|
import"../chunk-v3hxvnrc.js";
|
|
10
11
|
import"../chunk-x4ntb898.js";
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
12
|
+
import"../chunk-ssj93brx.js";
|
|
13
|
+
import"../chunk-ehmx0yhp.js";
|
|
14
|
+
import"../chunk-0d8vs5q8.js";
|
|
15
|
+
import"../chunk-xgnz10sr.js";
|
|
16
|
+
import"../chunk-6fnhzhdb.js";
|
|
17
|
+
import"../chunk-mvkxs8d0.js";
|
|
14
18
|
import"../chunk-rq5fc007.js";
|
|
15
19
|
import"../chunk-9shz0bw1.js";
|
|
16
|
-
import"../chunk-
|
|
20
|
+
import"../chunk-sb5qzv37.js";
|
|
21
|
+
import"../chunk-43mcyrh4.js";
|
|
22
|
+
import"../chunk-rkt41za2.js";
|
|
17
23
|
export {
|
|
18
24
|
S3DataSource,
|
|
19
25
|
S3Client
|