internal/

directory
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: Apache-2.0

Directories

Path Synopsis
Package attestids reads the Matter vendor and product id of an attestation certificate's distinguished name — the one implementation of that rule.
Package attestids reads the Matter vendor and product id of an attestation certificate's distinguished name — the one implementation of that rule.
Package bridgeseam carries the one-way seams through which packages of this module reach bridge internals that are not public API: the bridge/bridgetest support package and fabrictest (test support), and the node facade, which completes the establishment of the CASE responder sessions it installs (SetCaseEstablishmentCompletion, a production hook).
Package bridgeseam carries the one-way seams through which packages of this module reach bridge internals that are not public API: the bridge/bridgetest support package and fabrictest (test support), and the node facade, which completes the establishment of the CASE responder sessions it installs (SetCaseEstablishmentCompletion, a production hook).
Package caseauth tells a request that arrived over a CASE session apart, for the cluster servers that answer a command over CASE only (the connectedhomeip servers' `authMode == Access::AuthMode::kCase`).
Package caseauth tells a request that arrived over a CASE session apart, for the cluster servers that answer a command over CASE only (the connectedhomeip servers' `authMode == Access::AuthMode::kCase`).
Package channelseam carries the one-way seam through which the bridge reaches the one piece of secure-session state that is written by the wire and by nothing else: the anchor of the session's inbound MRP duplicate-detection window.
Package channelseam carries the one-way seam through which the bridge reaches the one piece of secure-session state that is written by the wire and by nothing else: the anchor of the session's inbound MRP duplicate-detection window.
Package chipdm cross-checks the matter.js schema snapshot (parity/schema.json) against connectedhomeip's spec-derived data model (data_model/<version>/clusters/*.xml, device_types/*.xml) — the model the CSA's Python certification cases judge a device against.
Package chipdm cross-checks the matter.js schema snapshot (parity/schema.json) against connectedhomeip's spec-derived data model (data_model/<version>/clusters/*.xml, device_types/*.xml) — the model the CSA's Python certification cases judge a device against.
Package clockvar holds a clock.Clock that a component's SetClock may replace while its goroutines read it: an atomic pointer, so a reader never needs the component's own lock (some read it while holding that lock, which a mutex-guarded clock would deadlock on).
Package clockvar holds a clock.Clock that a component's SetClock may replace while its goroutines read it: an atomic pointer, so a reader never needs the component's own lock (some read it while holding that lock, which a mutex-guarded clock would deadlock on).
Package coreseam carries the one-way seams through which the module's tests reach what a cluster/core server does without a public knob: the SpecificationVersion a BasicInformation server reports — a test stands in for a node of an older release with it, as matter.js's IcdClientTest sets basicInformation.specificationVersion (IcdClientTest.ts:567-582 at b25ed960); a release node always reports the release the module implements — and a hook on an ICDManagement server's RegisterClient and UnregisterClient commands, which counts or refuses them as matter.js's CountingIcdServer and RefusingIcdServer do (IcdClientTest.ts:265-274, :298-312 at db021da0).
Package coreseam carries the one-way seams through which the module's tests reach what a cluster/core server does without a public knob: the SpecificationVersion a BasicInformation server reports — a test stands in for a node of an older release with it, as matter.js's IcdClientTest sets basicInformation.specificationVersion (IcdClientTest.ts:567-582 at b25ed960); a release node always reports the release the module implements — and a hook on an ICDManagement server's RegisterClient and UnregisterClient commands, which counts or refuses them as matter.js's CountingIcdServer and RefusingIcdServer do (IcdClientTest.ts:265-274, :298-312 at db021da0).
Package deepcopy holds the one list copy the cluster servers share: a list of generated values copied entry by entry through each entry's generated Clone (clustergen, review II decision 142), so a list a server hands out or takes in shares no list, octet string or pointer with the state it serves.
Package deepcopy holds the one list copy the cluster servers share: a list of generated values copied entry by entry through each entry's generated Clone (clustergen, review II decision 142), so a list a server hands out or takes in shares no list, octet string or pointer with the state it serves.
Package deviceseam carries the one-way seam through which a node binds the devices its Aggregator holds: the lifecycle of device.Device (endpoint number, reachable, rename, the device's queue and clock) reaches the node without a second exported way to add a device.
Package deviceseam carries the one-way seam through which a node binds the devices its Aggregator holds: the lifecycle of device.Device (endpoint number, reachable, rename, the device's queue and clock) reaches the node without a second exported way to add a device.
Package exchangeseam carries the one-way seams into client/exchange that are not public API.
Package exchangeseam carries the one-way seams into client/exchange that are not public API.
Package fabrictestseam carries the one-way seams into a fabrictest site that are not public API: the client machinery a site's controller runs on, the layers below a site's device, and a pair's transport.
Package fabrictestseam carries the one-way seams into a fabrictest site that are not public API: the client machinery a site's controller runs on, the layers below a site's device, and a pair's transport.
Package facadeseam carries the one-way seam through which the node facade installs its own handlers on four hooks of the root servers and the commissioning window: OperationalCredentials' fabric-removed and fabric-updated hooks, GeneralCommissioning's commissioning-complete hook and the window's transition hook.
Package facadeseam carries the one-way seam through which the node facade installs its own handlers on four hooks of the root servers and the commissioning window: OperationalCredentials' fabric-removed and fabric-updated hooks, GeneralCommissioning's commissioning-complete hook and the window's transition hook.
Package forward holds the switches of Matter behaviour implemented ahead of a released specification revision — matter.js Specification.ForwardFeature and isForwardFeatureEnabled (packages/model/src/common/Specification.ts:77-106): off in every release, with no supported configuration or API to change them; matter.js's tests enable one feature through the MatterHooks harness hook, this module's through Enable, which only its own tests reach (the package is internal).
Package forward holds the switches of Matter behaviour implemented ahead of a released specification revision — matter.js Specification.ForwardFeature and isForwardFeatureEnabled (packages/model/src/common/Specification.ts:77-106): off in every release, with no supported configuration or API to change them; matter.js's tests enable one feature through the MatterHooks harness hook, this module's through Enable, which only its own tests reach (the package is internal).
Package inflight counts the work a host's stack has in hand, so a test site that paces the stack on a fake clock moves the clock only while the stack has none: a datagram read and not yet handled, a message an exchange took and its reader has not finished with, a report queued and not yet sent, a host callback queued, a node's start in progress.
Package inflight counts the work a host's stack has in hand, so a test site that paces the stack on a fake clock moves the clock only while the stack has none: a datagram read and not yet handled, a message an exchange took and its reader has not finished with, a report queued and not yet sent, a host callback queued, a node's start in progress.
Package netwatch notices changes of the host's network interfaces by comparing a snapshot of them at an interval — matter.js Network.interfacesChanged (packages/general/src/net/Network.ts:142-215 at b25ed960).
Package netwatch notices changes of the host's network interfaces by comparing a snapshot of them at an interval — matter.js Network.interfacesChanged (packages/general/src/net/Network.ts:142-215 at b25ed960).
Package nodeseam carries the one-way seams to a node's configuration that are not public API: fabrictest puts a node's client stack onto its in-memory network and its peer path, and the reference daemon and the module's tests set the TESTING ONLY knobs — the OTA requestor's harness mode and the SpecificationVersion a node reports (phase 32).
Package nodeseam carries the one-way seams to a node's configuration that are not public API: fabrictest puts a node's client stack onto its in-memory network and its peer path, and the reference daemon and the module's tests set the TESTING ONLY knobs — the OTA requestor's harness mode and the SpecificationVersion a node reports (phase 32).
Package paritytest is the shared support of the cluster packages' *_parity_matterjs_test.go files: the cluster entries of parity/schema.json, the matter.js HEAD pin, and one evaluator for the matter.js conformance expressions those tests check a server's attribute, command and event lists against.
Package paritytest is the shared support of the cluster packages' *_parity_matterjs_test.go files: the cluster entries of parity/schema.json, the matter.js HEAD pin, and one evaluator for the matter.js conformance expressions those tests check a server's attribute, command and event lists against.
Package reportchunk splits a ReportData interaction into messages, generated one report at a time: the chunker the device side (bridge) and the client stack's served reads (client/interaction) share (review II, decision 44: "generated chunk by chunk, as matter.js"; R2-P5-write-08).
Package reportchunk splits a ReportData interaction into messages, generated one report at a time: the chunker the device side (bridge) and the client stack's served reads (client/interaction) share (review II, decision 44: "generated chunk by chunk, as matter.js"; R2-P5-write-08).
Package sealseam carries the one-way seams through which the controller reaches the seal of the two stores it keeps on one database — store's and its node registry's (controller/client/sqlstore) — where one operation must span both: the factory reset drops the registry's seal mark once the registry is empty, and controller.Reseal moves both stores to a new sealer in one transaction (decisions 194 and 195).
Package sealseam carries the one-way seams through which the controller reaches the seal of the two stores it keeps on one database — store's and its node registry's (controller/client/sqlstore) — where one operation must span both: the factory reset drops the registry's seal mark once the registry is empty, and controller.Reseal moves both stores to a new sealer in one transaction (decisions 194 and 195).
Package serialqueue is the serial callback goroutine of the facade's `…Async` callbacks: a device's (device) and the node's own (node's OnDiagnosticEventAsync).
Package serialqueue is the serial callback goroutine of the facade's `…Async` callbacks: a device's (device) and the node's own (node's OnDiagnosticEventAsync).
Package sessionseam carries the one-way seams into the session table of secure/operational that are not public API: the install of a session under a chosen id, which only a test fixture may ask for, and the close of one installed session by itself rather than by its id, which the node facade needs right after an install, and the CASE responder's establishing session — installed before its handshake completed and completed once it did — which only the node facade's responder drives.
Package sessionseam carries the one-way seams into the session table of secure/operational that are not public API: the install of a session under a chosen id, which only a test fixture may ask for, and the close of one installed session by itself rather than by its id, which the node facade needs right after an install, and the CASE responder's establishing session — installed before its handshake completed and completed once it did — which only the node facade's responder drives.
Package surfaceseam carries the one-way seam through which the surface/surfacetest support package gives a surface.Policies value a controller profile the register (notes/parity/controller_profiles.md) does not list.
Package surfaceseam carries the one-way seam through which the surface/surfacetest support package gives a surface.Policies value a controller profile the register (notes/parity/controller_profiles.md) does not list.
Package udpseam carries the one-way seam through which the module's test support (fabrictest's in-memory network) builds a transport/udp.Listener over a socket that is not a kernel one.
Package udpseam carries the one-way seam through which the module's test support (fabrictest's in-memory network) builds a transport/udp.Listener over a socket that is not a kernel one.
Package valuejson renders a decoded TLV value as JSON in matterjs-server's forms — the decode half of controller/client's JSON codec (client.DecodeJSON), shared with the node facade (node.AttributeValue.JSON, node.Event.JSON) so a node and a controller render one value alike.
Package valuejson renders a decoded TLV value as JSON in matterjs-server's forms — the decode half of controller/client's JSON codec (client.DecodeJSON), shared with the node facade (node.AttributeValue.JSON, node.Event.JSON) so a node and a controller render one value alike.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL