Structs§
- Cached
PicBaseline - CachedPicBaseline
- Cached
PicBaseline Guard - CachedPicBaselineGuard
- Controller
Snapshots - ControllerSnapshots
- Pic
- Pic Thin wrapper around a PocketIC instance.
- PicBuilder
- PicBuilder Thin wrapper around the PocketIC builder.
- PicSerial
Guard - PicSerialGuard
- Root
Baseline Metadata - RootBaselineMetadata
- Root
Baseline Spec - RootBaselineSpec
Functions§
- acquire_
cached_ pic_ baseline - Acquire one process-local cached PocketIC baseline, building it on first use.
- acquire_
pic_ serial_ guard - Acquire the shared PocketIC serialization guard for the current process.
- build_
root_ cached_ baseline - Build one fresh root topology and capture immutable controller snapshots for cache reuse.
- ensure_
root_ release_ artifacts_ built - Build the local
.dfxroot artifacts once unless all required outputs are already fresh. - load_
root_ wasm - Load the built
root.wasm.gzartifact used for PocketIC root installs. - pic
- Create a fresh PocketIC universe.
- restore_
root_ cached_ baseline - Restore one cached root topology and wait until root plus children are ready again.
- role_
pid - Resolve one role principal from root’s subnet registry, polling until present.
- setup_
root_ topology - Install root, stage one ordinary release profile, resume bootstrap, and fetch the subnet map.
- wait_
until_ ready - Wait until a PocketIC canister reports
canic_ready.