@shumoku/core · 0.4.2 · function
validateTopologyIdentityContract
APIの説明は英語のcanonical sourceを表示しています。
Check whether what a topology plugin discovered satisfies the identity contract. Returns arrays of violating node/port ids. Both arrays empty → contract met.
validateTopologyIdentityContract(source: SourceNetwork): TopologyIdentityContractResult パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
source | SourceNetwork | What a TopologyCapable plugin's `fetchTopology()` returned (or an equivalent in-process fixture). | — |
戻り値
TopologyIdentityContractResult libs/@shumoku/core/src/libs/@shumoku/core/src/plugin-kit/topology-identity-contract.ts:52