MCPcopy Create free account

hub / github.com/DualHorizon/malbox / functions

Functions2,140 in github.com/DualHorizon/malbox

↓ 1 callersFunctionpostgres_unit
(postgres_bin: &Path, pgdata: &Path)
back-end/crates/malbox-installer/src/steps/systemd.rs:41
↓ 1 callersFunctionprint_machine
(m: &malbox_cli_common::api::machines::Machine)
back-end/bin/malbox/src/commands/machine.rs:262
↓ 1 callersFunctionprint_result_content
(api: &ApiClient, task_id: i32, result_id: i32)
back-end/bin/malbox/src/commands/task.rs:207
↓ 1 callersFunctionprompt_reconfigure
Re-prompt the build-related installation choices. Postgres and systemd are infrastructure choices an upgrade never re-provisions; they carry over from
back-end/bin/malbox/src/commands/daemon/upgrade.rs:160
↓ 1 callersFunctionprovider_feature
Cargo feature for a provider name (`"libvirt"` -> `"provider-libvirt"`), or `None` when no such provider feature exists.
back-end/crates/malbox-installer/src/features.rs:47
↓ 1 callersFunctionprovision
(ctx: &Context, args: ProvisionArgs)
back-end/bin/malbox/src/commands/machine.rs:299
↓ 1 callersMethodprovision
( &self, context: &ProvisionContext, )
back-end/crates/malbox-provisioner-ansible/src/lib.rs:113
↓ 1 callersFunctionprovision_history
(ctx: &Context, args: ProvisionHistoryArgs)
back-end/bin/malbox/src/commands/machine.rs:340
↓ 1 callersMethodprovision_machine
( &self, machine_id: i32, request: ProvisionRequest, )
back-end/crates/malbox-cli-common/src/api/machines.rs:117
↓ 1 callersMethodpull_result
Pull a stashed large result from the guest plugin by handle. Returns a streaming response of `ResultChunk` messages. The caller concatenates `chunk.d
back-end/crates/malbox-plugin-transport/src/daemon/grpc.rs:159
↓ 1 callersFunctionpull_result_chunks
( client: &mut GrpcClient, plugin_id: &PluginId, ref_msg: &crate::transport::grpc::proto::ResultRe
back-end/crates/malbox-plugin-internal/src/manager/runtime.rs:226
↓ 1 callersMethodpump_one
(&mut self, idx: usize)
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:530
↓ 1 callersMethodpump_tasks
(&mut self)
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:517
↓ 1 callersMethodpush_bytes
Push a raw byte result.
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:73
↓ 1 callersMethodpush_json
Push a JSON result (raw bytes that are already JSON-encoded).
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:65
↓ 1 callersMethodraw
(mut slf: PyRefMut<'_, Self>, value: Py<PyAny>)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:172
↓ 1 callersFunctionreactor_thread
Thread body: build all `!Send` state, signal readiness, run the loop.
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:179
↓ 1 callersMethodread_etag
(&self, key: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:44
↓ 1 callersFunctionread_manifest
Read `plugin.toml` at macro expansion time.
back-end/crates/malbox-plugin-macros/src/plugin_attr.rs:84
↓ 1 callersMethodreason
Return the reason string (empty if ready).
back-end/crates/malbox-plugin-sdk/src/health.rs:41
↓ 1 callersMethodreconcile
Reconcile the running instances with the current registry state. - Stops instances whose plugins have been removed from the registry. - Spawns newly
back-end/crates/malbox-plugin-internal/src/manager.rs:261
↓ 1 callersMethodreconcile_config
Reconcile DB machines against config-declared machines.
back-end/crates/malbox-resources/src/pool/reconcile.rs:300
↓ 1 callersMethodreconcile_ready_machine
( &self, machine_id: i32, db_machine: &DbMachine, provider_vms: &[malbox_machi
back-end/crates/malbox-resources/src/pool/reconcile.rs:169
↓ 1 callersMethodrecover_orphaned_tasks
Reset tasks stranded in transient states from a prior daemon run. Tasks marked Running/Initializing/PreparingResources/Stopping in the DB but not kno
back-end/crates/malbox-scheduler/src/task/store.rs:121
↓ 1 callersFunctionregister
(api: &ApiClient, args: RegisterArgs)
back-end/bin/malbox/src/commands/image.rs:88
↓ 1 callersMethodregister
(&self, task_id: i32, token: CancellationToken)
back-end/crates/malbox-scheduler/src/task/cancel.rs:22
↓ 1 callersMethodregister_guest
(&self, plugin_id: &PluginId, addr: String)
back-end/crates/malbox-plugin-internal/src/manager.rs:174
↓ 1 callersMethodregister_image
(&self, request: RegisterImageRequest)
back-end/crates/malbox-cli-common/src/api/images.rs:30
↓ 1 callersFunctionrelative_ago
(dt: DateTime<Utc>)
back-end/crates/malbox-cli-common/src/utils/format.rs:60
↓ 1 callersFunctionreset_orphaned_tasks
Mark tasks stuck in transient states as Failed. Called on scheduler startup to recover rows left in Running/Initializing/ PreparingResources/Stopping
back-end/crates/malbox-database/src/repositories/tasks.rs:168
↓ 1 callersFunctionresolveMenuItems
(ctx: ContextPayload)
front-end/src/lib/context-menu/registry.ts:219
↓ 1 callersFunctionresolve_bin
Resolve a tool to an absolute path - systemd requires absolute `ExecStart=` paths.
back-end/crates/malbox-installer/src/steps/systemd.rs:122
↓ 1 callersFunctionresolve_binary_path
Resolve the binary path, trying the bare name first, then with `.exe` extension.
back-end/crates/malbox-plugin-internal/src/registry/scanner.rs:102
↓ 1 callersMethodresolve_endpoint
Resolve IP address for a domain via DHCP lease lookup.
back-end/crates/malbox-provider-libvirt/src/capabilities/allocate.rs:249
↓ 1 callersMethodresolve_machine
(&self, name_or_id: &str)
back-end/crates/malbox-cli-common/src/api/machines.rs:82
↓ 1 callersMethodresolve_machine_id
(&self, name_or_id: &str)
back-end/crates/malbox-cli-common/src/api/machines.rs:100
↓ 1 callersFunctionresolve_plugin_dir
(event_path: &Path, plugin_dir: &Path)
back-end/crates/malbox-plugin-internal/src/registry/watcher.rs:92
↓ 1 callersFunctionresolve_transport
Resolve the configured transport against the provider and gRPC. Called once at daemon startup. The `network_isolated` flag indicates whether machines
back-end/crates/malbox-resources/src/transport.rs:31
↓ 1 callersFunctionresume
Continue an interrupted installation from the step after the last completed one, re-deriving the installation choices recorded in the manifest. Pins t
back-end/crates/malbox-installer/src/install.rs:115
↓ 1 callersFunctionresume_install
Complete an interrupted installation from where it stopped.
back-end/bin/malbox/src/commands/daemon/install.rs:242
↓ 1 callersMethodretry_failed_machine
Retry a failed machine by reusing its existing DB row. Destroys any leftover provider VM, cleans up snapshots, resets the row to creating, and re-runs
back-end/crates/malbox-resources/src/pool/reconcile.rs:457
↓ 1 callersMethodrevert_machine
Revert a machine to its active snapshot after task completion. If the provider supports snapshots and the machine has an active snapshot in the DB, r
back-end/crates/malbox-resources/src/pool/revert.rs:19
↓ 1 callersFunctionrole_name
(r: ResultRole)
back-end/crates/malbox-http/src/http/tasks/results.rs:136
↓ 1 callersFunctionrollback
(manifest_path: &Path, observer: &dyn ProgressObserver)
back-end/crates/malbox-installer/src/upgrade.rs:192
↓ 1 callersFunctionrun
(cli: Cli)
back-end/crates/malbox-codegen/src/main.rs:36
↓ 1 callersMethodrun
Start the gRPC server and block until shutdown.
back-end/crates/malbox-plugin-sdk/src/runtime/guest.rs:425
↓ 1 callersFunctionrunInSandbox
( functionBody: string, input: Uint8Array, params: Record<string, string | number | boolean> )
front-end/src/lib/transforms/engines/sandbox.ts:46
↓ 1 callersMethodrun_blocking
Start the gRPC server, creating a tokio runtime if needed. This is the entry point for `fn main()` style plugins that don't already have an async run
back-end/crates/malbox-plugin-sdk/src/runtime/guest.rs:548
↓ 1 callersFunctionrun_cargo_build
( cwd: &Path, plugin_name: &str, observer: &dyn ProgressObserver, )
back-end/crates/malbox-plugin-registry/src/source.rs:249
↓ 1 callersFunctionrun_cmake_build
( cwd: &Path, plugin_name: &str, observer: &dyn ProgressObserver, )
back-end/crates/malbox-plugin-registry/src/source.rs:354
↓ 1 callersFunctionrun_guest_plugin
Start the gRPC-based guest-plugin runtime. This function blocks until the runtime shuts down. Call it from main(). Throws malbox::Error on failure.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/runtime.hpp:271
↓ 1 callersMethodrun_provision_step
( &self, machine_id: i32, step: &malbox_config::provisioning::ProvisionStep, r
back-end/crates/malbox-resources/src/pool/provisioning.rs:274
↓ 1 callersMethodrun_task_on_machine
( &self, task_id: i32, task: &malbox_database::repositories::tasks::Task, db_m
back-end/crates/malbox-scheduler/src/worker.rs:608
↓ 1 callersMethodrust_target
(self)
back-end/xtask/src/dist_cpp_sdk.rs:20
↓ 1 callersMethodsample_bytes
Read the sample file into memory and return the bytes.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:136
↓ 1 callersMethodsample_path
Return the path to the sample file as a std::string.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:125
↓ 1 callersMethodsample_path
Path to the sample file on disk.
back-end/crates/malbox-plugin-sdk/src/context.rs:218
↓ 1 callersMethodsample_result_produced
(sample_id: i32)
back-end/crates/malbox-plugin-sdk-python/src/types/event.rs:154
↓ 1 callersMethodsample_stopped
(sample_id: i32)
back-end/crates/malbox-plugin-sdk-python/src/types/event.rs:147
↓ 1 callersMethodsandboxJsTransform
( content: string, id: string, name: string, category: string, provenance: TransformProvenance )
front-end/src/lib/stores/transforms.svelte.ts:49
↓ 1 callersMethodscan
(&self, task: Task, ctx: &Context)
back-end/examples/plugins/guest-yara-scanner/src/main.rs:55
↓ 1 callersFunctionsdk_classification
(c: malbox_plugin_sdk::report::Classification)
back-end/crates/malbox-scheduler/src/worker.rs:50
↓ 1 callersFunctionsection_header
(title: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:123
↓ 1 callersFunctionselect_machine
(api: &ApiClient)
back-end/bin/malbox/src/commands/machine.rs:121
↓ 1 callersMethodselect_postgres
(&self)
back-end/bin/malbox/src/commands/daemon/install.rs:185
↓ 1 callersFunctionselect_task
(api: &ApiClient)
back-end/bin/malbox/src/commands/task.rs:98
↓ 1 callersFunctionserve
( conf: MalboxConfig, db: PgPool, task_tx: mpsc::Sender<Task>, sample_store: Arc<SampleStore>,
back-end/crates/malbox-http/src/http.rs:43
↓ 1 callersMethodset_enabled
Replace the enabled set wholesale (used by `upgrade --reconfigure`), keeping the default valid.
back-end/bin/malbox/src/utils/provider_config.rs:93
↓ 1 callersFunctionset_global_log_bus
Store the log bus so that subsequent FFI calls can push entries. This is called once during guest plugin startup. If called more than once the secon
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_log.rs:21
↓ 1 callersMethodset_indent
(&mut self, indent: usize)
back-end/crates/malbox-cli-common/src/utils/format.rs:192
↓ 1 callersMethodsetup_machine
(&self, machine_id: i32, image_path: &str)
back-end/crates/malbox-resources/src/pool/provisioning.rs:97
↓ 1 callersFunctionsetup_postgres
Initialize (idempotently) and start a user-owned PostgreSQL instance.
back-end/crates/malbox-installer/src/steps/postgres.rs:210
↓ 1 callersFunctionshould_spawn
Decide whether `ensure_capacity` should spawn another worker. Returns true iff every currently-active worker is busy AND we are below the configured
back-end/crates/malbox-scheduler/src/worker/pool.rs:26
↓ 1 callersMethodshow
(value: string, label: string, source: string)
front-end/src/lib/stores/valuePreview.svelte.ts:7
↓ 1 callersFunctionshrink_columns
(widths: &mut [usize], budget: usize)
back-end/crates/malbox-cli-common/src/utils/format.rs:259
↓ 1 callersMethodshutdown
Shut down the plugin manager, stopping all running instances and the health check loop.
back-end/crates/malbox-plugin-internal/src/manager.rs:312
↓ 1 callersMethodshutdown
(&mut self)
back-end/crates/malbox-cli-common/src/utils/progress.rs:57
↓ 1 callersFunctionsignatureMatches
(sig: Signature | Signature[], buf: Uint8Array, offset = 0)
front-end/src/lib/transforms/file-type.ts:46
↓ 1 callersFunctionsnapshot_delete
(ctx: &Context, args: SnapshotDeleteArgs)
back-end/bin/malbox/src/commands/machine.rs:226
↓ 1 callersFunctionsnapshot_list
(ctx: &Context, args: SnapshotListArgs)
back-end/bin/malbox/src/commands/machine.rs:190
↓ 1 callersFunctionspawn_health_check_loop
( instances: Arc<DashMap<PluginId, Arc<Mutex<PluginInstance>>>>, interval: Duration, token: Cancel
back-end/crates/malbox-plugin-internal/src/manager/health.rs:15
↓ 1 callersFunctionspawn_image_watcher
Start watching the image store directory for changes. Updates image availability in the database when files appear/disappear.
back-end/crates/malbox-utils/src/image_store.rs:13
↓ 1 callersMethodspawn_initial
( &self, task_queue: Arc<TaskQueue>, task_store: Arc<TaskStore>, machine_pool:
back-end/crates/malbox-scheduler/src/worker/pool.rs:104
↓ 1 callersFunctionspawn_log_consumer
Spawn a background task that consumes a guest plugin's log stream. The task reads from the provided `tonic::Streaming<proto::LogEntry>`, forwards eac
back-end/crates/malbox-plugin-internal/src/manager/log_router.rs:28
↓ 1 callersFunctionspawn_signal_handlers
(shutdown_token: &CancellationToken)
back-end/crates/malbox-daemon/src/signal.rs:17
↓ 1 callersMethodspecs_match
(&self, config: &MachineConfig, db: &DbMachine)
back-end/crates/malbox-resources/src/pool/reconcile.rs:374
↓ 1 callersFunctionsplit_csv
(s: &str)
back-end/crates/malbox-http/src/http/tasks/create.rs:34
↓ 1 callersMethodstart_and_wait
Start an acquired machine's VM and wait for the guest plugin gRPC port (50051) to become reachable. After a snapshot revert the VM is stopped. Worker
back-end/crates/malbox-resources/src/pool.rs:155
↓ 1 callersMethodstart_new_batch
Start a new batch with the given task.
back-end/crates/malbox-scheduler/src/task/batch.rs:87
↓ 1 callersMethodstatus_code
(&self)
back-end/crates/malbox-http/src/http/error.rs:54
↓ 1 callersFunctionstatus_style
(status: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:32
↓ 1 callersFunctionstep_label
(step: Step)
back-end/crates/malbox-installer/src/progress.rs:23
↓ 1 callersFunctionstop_instance
Stop the managed instance at `pgdata` (used when handing it over to a systemd unit).
back-end/crates/malbox-installer/src/steps/postgres.rs:191
↓ 1 callersMethodstore
Store result data and return the relative path for the DB pointer. Atomic: writes to a tempfile first, then renames into place.
back-end/crates/malbox-utils/src/storage/results.rs:79
↓ 1 callersFunctionstripBase64ForApply
(raw: string)
front-end/src/lib/transforms/builtin/encoding.ts:4
↓ 1 callersFunctionstyled_status
(status: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:42
↓ 1 callersFunctionsubmit
(api: &ApiClient, args: SubmitArgs)
back-end/bin/malbox/src/commands/task.rs:257
↓ 1 callersMethodsubmit_task
(&self, request: SubmitTaskRequest)
back-end/crates/malbox-cli-common/src/api/tasks.rs:69
↓ 1 callersMethodsweep_task
(&self, task_id: i32)
back-end/crates/malbox-plugin-sdk/src/stash.rs:173
↓ 1 callersFunctionsync_providers
Point the daemon config's `[providers]` section at the reconfigured set.
back-end/bin/malbox/src/commands/daemon/upgrade.rs:200
← previousnext →901–1,000 of 2,140, ranked by callers