@mark1russell7/harness 0.15.1 → 0.15.2
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/build/{cell-biffSiEJ.d.ts → cell-OwQdpSkd.d.ts} +9 -2
- package/build/{image-BxVTFZ1o.js → image-B8yh_FF7.js} +9 -2
- package/build/{image-BxVTFZ1o.js.map → image-B8yh_FF7.js.map} +1 -1
- package/build/index.d.ts +12 -4
- package/build/index.js +49 -8
- package/build/index.js.map +1 -1
- package/build/schema.d.ts +1 -1
- package/build/schema.js +1 -1
- package/image/native/src/bin/client.rs +64 -2
- package/package.json +1 -1
|
@@ -1478,6 +1478,13 @@ interface HopPlace {
|
|
|
1478
1478
|
type FaultPlace = "target" | "client" | HopPlace | GroupPlace;
|
|
1479
1479
|
/** This function tells if a fault place is a hop of a topology. */
|
|
1480
1480
|
declare const isHopPlace: (place: FaultPlace | undefined) => place is HopPlace;
|
|
1481
|
+
/**
|
|
1482
|
+
* This function gives each problem of the environments of a cell. An empty list means that the
|
|
1483
|
+
* environments of the cell can operate. A value of the host is the same for each environment of the
|
|
1484
|
+
* host. Thus a cell with sysctls of the host operates one environment at a time. Otherwise, a lab
|
|
1485
|
+
* reads the value of a different lab as its value before, and the restore does not give back the host.
|
|
1486
|
+
*/
|
|
1487
|
+
declare const environmentProblems: (cell: Cell) => string[];
|
|
1481
1488
|
/**
|
|
1482
1489
|
* This function gives the latest end of a band in seconds, from the reply of the client. It is
|
|
1483
1490
|
* the high bound, after the latest reference of the band (`startsBy`).
|
|
@@ -1687,5 +1694,5 @@ interface RunTopology {
|
|
|
1687
1694
|
}>>;
|
|
1688
1695
|
}
|
|
1689
1696
|
//#endregion
|
|
1690
|
-
export { ProxyHop as $, ImageSource as A, Subject as At, LoadStream as B, Hop as C, RunTopology as Ct, HopWrite as D, ShippedImage as Dt, HopSignal as E, Shipped as Et, LineCount as F,
|
|
1691
|
-
//# sourceMappingURL=cell-
|
|
1697
|
+
export { ProxyHop as $, ImageSource as A, Subject as At, LoadStream as B, Hop as C, RunTopology as Ct, HopWrite as D, ShippedImage as Dt, HopSignal as E, Shipped as Et, LineCount as F, environmentProblems as Ft, Outcomes as G, MiddleboxExpectation as H, LineMatch as I, isHopPlace as It, PausePrediction as J, Pair as K, LoadBand as L, latestEndOf as Lt, Kafka as M, Topology as Mt, KafkaPause as N, Toxic as Nt, HostSysctl as O, Stage as Ot, KernelRecord as P, WsProbe as Pt, ProbeEvent as Q, LoadPlan as R, GroupRole as S, RunStream as St, HopPlace as T, SentinelStage as Tt, MiddleboxForm as U, MiddleboxEvent as V, Observer as W, PortsPrediction as X, PinnedImage as Y, Prediction as Z, Fault as _, RunFabric as _t, ClientCapability as a, Reconnects as at, GroupPlace as b, RunPause as bt, ClusterClientAt as c, ReplicaSet as ct, CountBand as d, RequestPrediction as dt, ProxyTime as et, Drill as f, RouterHop as ft, FabricManifest as g, RunDrill as gt, Fabric as h, RunBackup as ht, Client as i, QueuePrediction as it, Jitter as j, Target as jt, HttpProbe as k, StageBand as kt, ClusterStage as l, ReplicaSetStage as lt, DriverStep as m, Run as mt, CLIENT_CAPABILITIES as n, QueueConnection as nt, ClientImage as o, Recovers as ot, DriverBand as p, RttRange as pt, PauseBand as q, Cell as r, QueueEnd as rt, Cluster as s, Reference as st, BuildImage as t, QueueBand as tt, ConntrackPrediction as u, Replies as ut, FaultPlace as v, RunGroup as vt, HopEvent as w, SentinelEvent as wt, GroupPrediction as x, RunRoute as xt, Group as y, RunPart as yt, LoadPrediction as z };
|
|
1698
|
+
//# sourceMappingURL=cell-OwQdpSkd.d.ts.map
|
|
@@ -13,6 +13,13 @@ const CLIENT_CAPABILITIES = ["NET_ADMIN"];
|
|
|
13
13
|
/** This function tells if a fault place is a hop of a topology. */
|
|
14
14
|
const isHopPlace = (place) => typeof place === "object" && "hop" in place;
|
|
15
15
|
/**
|
|
16
|
+
* This function gives each problem of the environments of a cell. An empty list means that the
|
|
17
|
+
* environments of the cell can operate. A value of the host is the same for each environment of the
|
|
18
|
+
* host. Thus a cell with sysctls of the host operates one environment at a time. Otherwise, a lab
|
|
19
|
+
* reads the value of a different lab as its value before, and the restore does not give back the host.
|
|
20
|
+
*/
|
|
21
|
+
const environmentProblems = (cell) => (cell.hostSysctls?.length ?? 0) > 0 && (cell.concurrency ?? 1) > 1 ? [`${cell.name}: a cell with sysctls of the host operates one environment at a time, not ${cell.concurrency}`] : [];
|
|
22
|
+
/**
|
|
16
23
|
* This function tells if the request of a client goes before the fault of its cell. That is so for a
|
|
17
24
|
* hop event that comes while the request is in flight (`HopEvent.inFlight`). Then a request after the fault is void.
|
|
18
25
|
*/
|
|
@@ -662,6 +669,6 @@ const targetSourceOf = (target) => target.subject ?? target.image;
|
|
|
662
669
|
/** This function gives the image that a target operates: the image of its subject, or its stock image. */
|
|
663
670
|
const targetImageOf = (target) => imageOf(targetSourceOf(target));
|
|
664
671
|
//#endregion
|
|
665
|
-
export { unlockedManifests as A,
|
|
672
|
+
export { unlockedManifests as A, environmentProblems as B, programOf as C, subjectProblems as D, subjectClient as E, jarVersions as F, latestEndOf as H, locksOf as I, npmVersions as L, LOCK_NAMES as M, cargoVersions as N, targetImageOf as O, goVersions as P, versionsOf as R, planOf as S, shippedSource as T, requestFirst as U, isHopPlace as V, kafkaClientImage as _, SHIPPED_NAMES as a, nodeHttpImage as b, buildRecordOf as c, harnessImage as d, harnessVersion as f, inContext as g, imageProblems as h, SHIPPED_CLIENTS as i, unpinnedBases as j, targetSourceOf as k, goHttpImage as l, imageOf as m, PINNED as n, amqpClientImage as o, hikariClientImage as p, REPOSITORY as r, basesOf as s, CLIENT_NAMES as t, grpcClientImage as u, mongoClientImage as v, routerImage as w, pgClientImage as x, nodeClientImage as y, CLIENT_CAPABILITIES as z };
|
|
666
673
|
|
|
667
|
-
//# sourceMappingURL=image-
|
|
674
|
+
//# sourceMappingURL=image-B8yh_FF7.js.map
|