Skip to main content

Crate microsandbox_utils

Crate microsandbox_utils 

Source
Expand description

Shared constants and utilities for the microsandbox project.

Modules§

index
Sidecar index for layer acceleration.
size
Byte-size types and conversion helpers.

Constants§

AGENTD_BINARY
Guest agent binary name.
BASE_DIR_NAME
Name of the microsandbox home directory (relative to user’s home).
BIN_SUBDIR
Subdirectory for helper binaries (msbnet).
CACHE_SUBDIR
Subdirectory for OCI layer cache.
CONFIG_FILENAME
Global configuration filename.
DB_FILENAME
Database filename.
DB_SUBDIR
Subdirectory for the database.
GITHUB_ORG
GitHub organization.
LIBKRUNFW_ABI
libkrunfw ABI version (soname major). Keep in sync with justfile.
LIBKRUNFW_VERSION
libkrunfw release version. Keep in sync with justfile.
LIB_SUBDIR
Subdirectory for shared libraries (libkrunfw).
LOGS_SUBDIR
Subdirectory for logs.
MICROSANDBOX_REPO
Main repository name.
MSBNET_BINARY
Network helper binary name.
MSB_BINARY
CLI binary name.
SANDBOXES_SUBDIR
Subdirectory for per-sandbox state.
SANDBOXFILE_NAME
Project-local sandbox configuration filename.
SECRETS_SUBDIR
Subdirectory for secrets.
SSH_SUBDIR
Subdirectory for SSH keys.
TLS_SUBDIR
Subdirectory for TLS certificates.
VOLUMES_SUBDIR
Subdirectory for named volumes.

Functions§

agentd_download_url
Returns the GitHub release download URL for the agentd binary.
libkrunfw_download_url
Returns the GitHub release download URL for libkrunfw.
libkrunfw_filename
Returns the platform-specific libkrunfw filename.