Skip to main content

Crate strate_init

Crate strate_init 

Source

Modulesยง

fmt
Formatting utilities for the init process (no heap allocation).

Structsยง

BumpAllocator
SiloDef ๐Ÿ”’
StrateDef ๐Ÿ”’
SupervisedChild ๐Ÿ”’
__FreeNode ๐Ÿ”’

Enumsยง

StrateHealth ๐Ÿ”’

Constantsยง

DEFAULT_SILO_TOML ๐Ÿ”’
EAGAIN ๐Ÿ”’
MAX_READ_BYTES ๐Ÿ”’
MAX_READ_EAGAIN ๐Ÿ”’
SILO_FLAG_GRAPHICS ๐Ÿ”’
SILO_FLAG_GRAPHICS_READ_ONLY ๐Ÿ”’
SILO_FLAG_WEBRTC_NATIVE ๐Ÿ”’
SILO_FLAG_WEBRTC_TURN_FORCE ๐Ÿ”’
SUPERVISED_CAPACITY ๐Ÿ”’
__MIN_ALIGN ๐Ÿ”’
__MIN_BLOCK_SIZE ๐Ÿ”’

Staticsยง

ALLOCATOR ๐Ÿ”’
FAMILY_PROFILES ๐Ÿ”’
SUPERVISED ๐Ÿ”’
SUPERVISED_COUNT ๐Ÿ”’
__ALLOC_LOCK ๐Ÿ”’
__FREE_LIST_HEAD ๐Ÿ”’
__HEAP_OFFSET ๐Ÿ”’
__HEAP_START ๐Ÿ”’

Functionsยง

__align_up ๐Ÿ”’
Implements align up.
__alloc_size ๐Ÿ”’
Implements alloc size.
__lock_alloc ๐Ÿ”’
Implements lock alloc.
__unlock_alloc ๐Ÿ”’
Implements unlock alloc.
_startโš 
Implements start.
alloc_error ๐Ÿ”’
Implements alloc error.
boot_silos ๐Ÿ”’
Implements boot silos.
connect_wasm_service ๐Ÿ”’
Implements connect wasm service with exponential backoff.
ensure_required_silos ๐Ÿ”’
Implements ensure required silos.
family_to_id ๐Ÿ”’
Implements family to id.
get_default_silos ๐Ÿ”’
Returns the parsed default silo config, parsed once and cached
get_family_profile ๐Ÿ”’
Returns the maximum SiloMode ceiling for a given family name. Unknown families get the least-privileged default (USR / 0o004).
ipc_call_status ๐Ÿ”’
Implements ipc call status.
load_primary_silos ๐Ÿ”’
Implements load primary silos.
log ๐Ÿ”’
Formatting helpers (no heap allocation). Implements log.
merge_wasm_test_overlay ๐Ÿ”’
Implements merge wasm test overlay.
panic ๐Ÿ”’
parse_config ๐Ÿ”’
Parses config.
parse_mode_octal ๐Ÿ”’
Parses mode octal.
parse_toml_bool ๐Ÿ”’
read_file ๐Ÿ”’
Log a static prefix followed by a name/suffix without heap allocation. Reads file.
register_supervised ๐Ÿ”’
run_wasm_app ๐Ÿ”’
Implements run wasm app.
supervisor_loop ๐Ÿ”’