Skip to main content

Module pic

Module pic 

Source

Structs§

CachedPicBaseline
CachedPicBaseline
CachedPicBaselineGuard
CachedPicBaselineGuard
ControllerSnapshots
ControllerSnapshots
Pic
Pic Thin wrapper around a PocketIC instance.
PicBuilder
PicBuilder Thin wrapper around the PocketIC builder.
PicSerialGuard
PicSerialGuard
RootBaselineMetadata
RootBaselineMetadata
RootBaselineSpec
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 .dfx root artifacts once unless all required outputs are already fresh.
load_root_wasm
Load the built root.wasm.gz artifact 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.