MCPcopy Create free account

hub / github.com/DualHorizon/malbox / functions

Functions2,140 in github.com/DualHorizon/malbox

↓ 3 callersFunctiontest_connection
Verify a PostgreSQL server accepts connections. The check targets the `postgres` maintenance database (present in every cluster) so it works before th
back-end/crates/malbox-installer/src/steps/postgres.rs:102
↓ 3 callersFunctionto_snake
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:45
↓ 3 callersMethoduntracked_plugins
(&self, plugins_dir: &Path)
back-end/crates/malbox-plugin-registry/src/lockfile.rs:77
↓ 3 callersFunctionupdate_task_status
(pool: &PgPool, id: i32, status: TaskState)
back-end/crates/malbox-database/src/repositories/tasks.rs:390
↓ 3 callersFunctionvalidate_extracted_plugin
( plugin_dir: &Path, )
back-end/crates/malbox-plugin-registry/src/install.rs:260
↓ 3 callersMethodversion
(&self)
back-end/crates/malbox-installer/src/github.rs:51
↓ 3 callersMethodwith_state
Set the plugin's lifecycle behavior (persistent, ephemeral, or scoped).
back-end/crates/malbox-plugin-sdk/src/meta.rs:51
↓ 3 callersMethodwrite_enabled
(&mut self, providers: &[String])
back-end/bin/malbox/src/utils/provider_config.rs:109
↓ 2 callersMethodArtifactRef
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:110
↓ 2 callersMethodTtp
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:101
↓ 2 callersFunctionapplyWithTimeout
( transform: TransformDefinition, input: Uint8Array, params: Record<string, string | number | boolean>, co
front-end/src/lib/transforms/pipeline.ts:17
↓ 2 callersMethodartifact
(mut slf: PyRefMut<'_, Self>, artifact: PyArtifactRef)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:156
↓ 2 callersFunctionattach_samples
Attach each task's sample via a single batched query (no N+1).
back-end/crates/malbox-http/src/http/tasks/get.rs:127
↓ 2 callersFunctionauto_collect
Collect files from `dir` and send them as results via `ctx.results().push()`. When `claimed_paths` is `Some`, files whose canonical path appears in t
back-end/crates/malbox-plugin-sdk/src/runtime/guest/collector.rs:28
↓ 2 callersFunctionbinary_matches
True when the installed binaries already carry exactly `features`.
back-end/bin/malbox/src/commands/daemon/provider.rs:90
↓ 2 callersFunctionbuildQueryString
(params: Record<string, string | number | undefined>)
front-end/src/lib/api/tasks.ts:27
↓ 2 callersFunctionbuild_c_meta
Convert a C++ PluginMeta to the C MalboxPluginMeta. The returned struct borrows from the source PluginMeta's std::string members, so the PluginMeta m
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/runtime.hpp:177
↓ 2 callersFunctionbuild_filter
(params: &ListParams)
back-end/crates/malbox-http/src/http/tasks/get.rs:97
↓ 2 callersFunctionbuild_globset
(patterns: &[String])
back-end/crates/malbox-plugin-sdk/src/runtime/guest/collector.rs:130
↓ 2 callersFunctionbuild_plugin_report_envelope
(report: &PluginReport)
back-end/crates/malbox-http/src/http/report_service.rs:90
↓ 2 callersFunctionbuild_ref_message
( task_id: i32, handle: String, _result_name: String, format: ResultFormat, size_bytes: u6
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:228
↓ 2 callersFunctionbuild_vtable
Build a MalboxPluginVtable from a raw HostPlugin pointer.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/runtime.hpp:161
↓ 2 callersMethodbytes
Wrap raw bytes as a named result.
back-end/crates/malbox-plugin-sdk/src/result.rs:36
↓ 2 callersFunctionbytesMatch
(sig: Signature, buf: Uint8Array, offset = 0)
front-end/src/lib/transforms/file-type.ts:26
↓ 2 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/integration.test.ts:8
↓ 2 callersFunctionc_event_to_rust
Convert a C-ABI `MalboxEvent` back to a Rust `Event`. Returns `Err(())` if the tag value is unrecognised.
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_events/convert.rs:120
↓ 2 callersMethodcallout
(level: &str, text: String)
back-end/crates/malbox-plugin-sdk-python/src/types/report.rs:507
↓ 2 callersFunctioncargo_toml
Validates the build.rs-generated feature table against the actual Cargo feature declarations. The build.rs reads this same Cargo.toml at compile time,
back-end/bin/malboxd/tests/feature_sync.rs:6
↓ 2 callersMethodcheck_health
(&mut self)
back-end/crates/malbox-plugin-internal/src/manager/runtime.rs:76
↓ 2 callersFunctionclassify_result
Classify a `PluginResult` into inline bytes vs a file path.
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:199
↓ 2 callersFunctioncleanHex
(raw: string)
front-end/src/lib/transforms/builtin/encoding.ts:71
↓ 2 callersMethodcleanup_after_pull
Delete the SDK-written temp file for a pulled entry. No-op for plugin-owned files.
back-end/crates/malbox-plugin-sdk/src/stash.rs:163
↓ 2 callersMethodclose_result_channel
(&self)
back-end/crates/malbox-plugin-sdk/src/context.rs:185
↓ 2 callersMethodcodegen_bin_name
(self)
back-end/xtask/src/dist_cpp_sdk.rs:41
↓ 2 callersMethodconfig
Return all configuration key/value pairs as an unordered_map.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:145
↓ 2 callersFunctioncopy_dir_glob
(src_dir: &Path, extension: &str, dst_dir: &Path)
back-end/xtask/src/dist_cpp_sdk.rs:215
↓ 2 callersMethodcreate_disk
Create a qcow2 disk volume for a machine. If `base_image` is provided, creates a COW overlay backed by it. Otherwise creates a blank 64GB qcow2 disk.
back-end/crates/malbox-provider-libvirt/src/lib.rs:136
↓ 2 callersMethodcreate_from_config
(&self, config: &MachineConfig)
back-end/crates/malbox-resources/src/pool/reconcile.rs:388
↓ 2 callersFunctiondeactivate_all
Deactivate all snapshots for a machine.
back-end/crates/malbox-database/src/repositories/snapshots.rs:140
↓ 2 callersFunctiondelete_snapshots_for_machine
Delete all snapshots for a machine.
back-end/crates/malbox-database/src/repositories/snapshots.rs:193
↓ 2 callersFunctiondeserialize_config
Deserialize a config HashMap into a typed struct. Used by generated `HostPlugin` impls when the user's `on_start` method takes a typed config paramet
back-end/crates/malbox-plugin-sdk/src/internal.rs:18
↓ 2 callersFunctiondetect_postgres_tools
Best-effort check that PostgreSQL *client tools* are installed. Says nothing about a server actually running - prompts should be worded accordingly.
back-end/crates/malbox-installer/src/steps/postgres.rs:41
↓ 2 callersFunctiondetect_setup_tools
Check that the tools `PostgresStrategy::Setup` shells out to (initdb for the cluster, psql for the connectivity check) are present. Lets the wizard fa
back-end/crates/malbox-installer/src/steps/postgres.rs:51
↓ 2 callersMethoddisk_path
Extract disk file path from domain.
back-end/crates/malbox-provider-libvirt/src/domain_xml.rs:387
↓ 2 callersFunctiondispatch
(state: &AppState, task: Task, sample: SampleEntity)
back-end/crates/malbox-http/src/http/tasks/create.rs:198
↓ 2 callersMethoddisplay_name
(mut slf: PyRefMut<'_, Self>, name: String)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:120
↓ 2 callersMethoddivider
()
back-end/crates/malbox-plugin-sdk-python/src/types/report.rs:538
↓ 2 callersMethoddownload_verified
Download a release asset and, when the release ships a sibling `<name>.sha256` asset (the release workflow generates one per tarball), verify the payl
back-end/crates/malbox-installer/src/github.rs:247
↓ 2 callersMethoddrain
Drain all pending events.
back-end/crates/malbox-plugin-transport/src/ipc/events.rs:206
↓ 2 callersMethoddrain
Non-blocking drain of all pending notification kinds.
back-end/crates/malbox-plugin-transport/src/ipc/notify.rs:114
↓ 2 callersMethoddrain_atomic
Drain overflow file + in-memory ring as a single atomic operation, returning all entries in strict chronological order. The overflow file is truncated
back-end/crates/malbox-plugin-sdk/src/log.rs:147
↓ 2 callersMethodemit_with_header
Broadcast a daemon event to all plugins with a specific header and payload.
back-end/crates/malbox-plugin-transport/src/ipc/events.rs:249
↓ 2 callersMethodenqueue
Add a task to the queue with a specified priority. Tasks with higher priority values will be processed before lower ones.
back-end/crates/malbox-scheduler/src/task/queue.rs:63
↓ 2 callersMethodensure_capacity
Spawn an additional worker if all live workers are currently busy and we're below `max_workers`. No-op during shutdown. Should be called after every
back-end/crates/malbox-scheduler/src/worker/pool.rs:173
↓ 2 callersFunctionensure_database
Create the daemon's database if it is missing. Database creation is provisioning, so it lives here rather than in the daemon, which fails with instruc
back-end/crates/malbox-installer/src/steps/postgres.rs:123
↓ 2 callersFunctionensure_known_provider
Validate a provider name against the features the build knows about.
back-end/bin/malbox/src/commands/daemon/provider.rs:59
↓ 2 callersFunctionensure_setup_tools
Fail at prompt time when the managed-instance tools are missing, instead of after the download steps.
back-end/bin/malbox/src/commands/daemon/install.rs:292
↓ 2 callersFunctionenv_config_override
()
back-end/crates/malbox-config/src/lib.rs:98
↓ 2 callersMethodetag_path
(&self, key: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:49
↓ 2 callersMethodexecute_task
(&self, task_id: i32, token: &CancellationToken)
back-end/crates/malbox-scheduler/src/worker.rs:359
↓ 2 callersMethodexecute_task
( &self, request: Request<proto::TaskRequest>, )
back-end/crates/malbox-plugin-internal/tests/grpc_integration.rs:72
↓ 2 callersFunctionexpand_plugin
Expand `#[host_plugin]` or `#[guest_plugin]` on a struct. Reads `plugin.toml` at macro expansion time for `state` and `execution` from `[runtime]`. G
back-end/crates/malbox-plugin-macros/src/plugin_attr.rs:13
↓ 2 callersFunctionextOf
(name: string)
front-end/src/lib/components/report/artifact.ts:83
↓ 2 callersFunctionextract_binary
( bytes: &[u8], binary_name: &str, dest: &Path, step: Step, )
back-end/crates/malbox-installer/src/archive.rs:42
↓ 2 callersFunctionfetch_all_images
(pool: &PgPool)
back-end/crates/malbox-database/src/repositories/images.rs:81
↓ 2 callersMethodfetch_cached
(&self, path: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:96
↓ 2 callersMethodfetch_index
(&self)
back-end/crates/malbox-plugin-registry/src/client.rs:81
↓ 2 callersMethodfetch_plugin_metadata
(&self, name: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:87
↓ 2 callersFunctionfind_extracted_dir
GitHub source tarballs wrap everything in a single `repo-version/` directory; return it when it is the only entry, otherwise the base.
back-end/crates/malbox-installer/src/archive.rs:71
↓ 2 callersMethodfind_malbox_asset
(&self, arch: &str)
back-end/crates/malbox-installer/src/github.rs:66
↓ 2 callersFunctionfind_user_config
(paths: &PathConfig)
back-end/crates/malbox-config/src/lib.rs:104
↓ 2 callersFunctionfirst_param_type
Extract the type of the first non-self parameter, if any.
back-end/crates/malbox-plugin-macros/src/handlers_impl.rs:101
↓ 2 callersFunctionflat_artifact_links
(task_id: i32, rows: &[TaskResult])
back-end/crates/malbox-http/src/http/report_service.rs:212
↓ 2 callersFunctionforward_to_tracing
Forward a single log entry to the daemon's tracing system. Maps the proto `LogLevel` back to the corresponding tracing macro and emits the message wi
back-end/crates/malbox-plugin-internal/src/manager/log_router.rs:125
↓ 2 callersFunctiongenerate_health_check
(found: &FoundHandlers)
back-end/crates/malbox-plugin-macros/src/handlers_impl.rs:191
↓ 2 callersFunctiongetNavContainer
()
docs/roadmap-nav.js:14
↓ 2 callersFunctiongetPluginReport
( fetchFn: FetchLike, taskId: number, pluginName: string )
front-end/src/lib/api/tasks.ts:65
↓ 2 callersFunctiongetTaskReport
(fetchFn: FetchLike, id: number)
front-end/src/lib/api/tasks.ts:60
↓ 2 callersMethodget_api
GET a GitHub API endpoint as JSON. Returns `None` on 404 so callers can distinguish "does not exist" from real failures.
back-end/crates/malbox-installer/src/github.rs:119
↓ 2 callersMethodget_default
Get the default provider name.
back-end/crates/malbox-config/src/providers.rs:76
↓ 2 callersMethodget_machine
(&self, id: i32)
back-end/crates/malbox-cli-common/src/api/machines.rs:72
↓ 2 callersMethodget_task_results
(&self, task_id: i32)
back-end/crates/malbox-cli-common/src/api/tasks.rs:121
↓ 2 callersFunctionguest_manifest
(name: &str)
back-end/crates/malbox-plugin-internal/src/registry/scanner.rs:290
↓ 2 callersFunctionhash_provider_config
Compute a deterministic hash of a provider_config value.
back-end/crates/malbox-resources/src/pool/provisioning.rs:19
↓ 2 callersMethodheader
Access the request header (task_id, request_type).
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:175
↓ 2 callersMethodhealth_check
(&self)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_callbacks.rs:68
↓ 2 callersMethodhealth_check
( &self, _request: Request<proto::HealthCheckRequest>, )
back-end/crates/malbox-plugin-sdk/src/runtime/guest.rs:160
↓ 2 callersMethodindicator
(mut slf: PyRefMut<'_, Self>, indicator: PyIndicator)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:146
↓ 2 callersMethodinit
(&self)
back-end/examples/plugins/host-file-info/src/main.rs:18
↓ 2 callersFunctioninit_tracing
Initialise the global tracing subscriber. `default_level` is the fallback filter used when `RUST_LOG` is not set. `RUST_LOG` always wins when present
back-end/crates/malbox-tracing/src/lib.rs:23
↓ 2 callersFunctioninstall_built
(src: &Path, dest: &Path)
back-end/crates/malbox-installer/src/steps/daemon.rs:248
↓ 2 callersMethodis_empty
Whether the pass touched anything worth reporting.
back-end/crates/malbox-plugin-transport/src/ipc/cleanup.rs:21
↓ 2 callersMethodis_enabled
Check if a provider is enabled.
back-end/crates/malbox-config/src/providers.rs:71
↓ 2 callersFunctionis_running
True when the managed instance at `pgdata` is currently running.
back-end/crates/malbox-installer/src/steps/postgres.rs:177
↓ 2 callersMethodlabels
(mut slf: PyRefMut<'_, Self>, labels: Vec<String>)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:141
↓ 2 callersFunctionlist
(api: &ApiClient)
back-end/bin/malbox/src/commands/task.rs:115
↓ 2 callersMethodlist
(&self)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:42
↓ 2 callersMethodlist
()
front-end/src/lib/stores/toasts.svelte.ts:14
↓ 2 callersFunctionlistCustomTransforms
(fetchFn: FetchLike)
front-end/src/lib/api/transforms.ts:4
↓ 2 callersFunctionlistMachines
(fetchFn: FetchLike)
front-end/src/lib/api/machines.ts:4
← previousnext →401–500 of 2,140, ranked by callers