Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cachix/cloud.devenv.sh
/ functions
Functions
386 in github.com/cachix/cloud.devenv.sh
⨍
Functions
386
◇
Types & classes
171
↓ 1 callers
Function
parse_ip_from_cmdline
Parse IP configuration from kernel command line
runner/src/vm_impl/linux_networking.rs:160
↓ 1 callers
Function
pivot_to_devenv_root
Use chroot to switch to the mounted devenv root filesystem
init/src/lib.rs:189
↓ 1 callers
Function
receive_config_from_host
Connect to the vsock server from the guest to receive job configuration
runner/src/vsock.rs:394
↓ 1 callers
Method
register
Register a new runner
backend/src/runner/serve.rs:32
↓ 1 callers
Method
register_job
Register a new job
runner/src/job_manager.rs:52
↓ 1 callers
Method
release_cid
Release a CID back to the pool
runner/src/resource_manager.rs:399
↓ 1 callers
Function
rememberedBytes
()
frontend/src/interop.ts:543
↓ 1 callers
Method
report_complete
Report job completion status to the host
runner/src/vsock.rs:33
↓ 1 callers
Method
response
(&self)
backend/src/error.rs:60
↓ 1 callers
Function
run_devenv
Set up and run devenv with the provided configuration
runner/src/bin/driver.rs:276
↓ 1 callers
Method
run_migrations
(self: &AppState)
backend/src/config.rs:208
↓ 1 callers
Method
send_log
Send a log message to the host
runner/src/vsock.rs:43
↓ 1 callers
Function
setTheme
(theme: string)
frontend/src/interop.ts:586
↓ 1 callers
Method
set_check_run_completed
Updates a check run to "completed" status with the given conclusion. Returns the timestamp used for the completed_at field.
backend/src/github/integration.rs:90
↓ 1 callers
Method
set_check_run_in_progress
Updates a check run to "in progress" status. Returns the timestamp used for the started_at field.
backend/src/github/integration.rs:69
↓ 1 callers
Function
set_hostname
Set system hostname
init/src/lib.rs:150
↓ 1 callers
Method
set_job_running
Update a job to running state
runner/src/job_manager.rs:123
↓ 1 callers
Function
setup_log_stream
Sets up a log streaming infrastructure for a job. This function creates a logging channel and spawns a background task that: 1. Sends an initial log
runner/src/bin/runner.rs:81
↓ 1 callers
Function
setup_nat_rules
Setup NAT rules with nftables in a single atomic operation
runner/src/vm_impl/linux_networking.rs:49
↓ 1 callers
Method
shutdown
(&mut self)
runner/src/vm_impl/linux.rs:422
↓ 1 callers
Function
spawn_runner
( mut socket: WebSocket<ServerMessage, ClientMessage, TextJsonCodec>, app_state: AppState, runner_
backend/src/runner/serve.rs:187
↓ 1 callers
Function
start_job_timeout_checker
Start the job timeout checker task with the AppState
backend/src/runner/serve.rs:415
↓ 1 callers
Function
start_unix_config_server
Start a UNIX socket server on the Linux host to send job configuration to the guest This is used with Cloud Hypervisor which requires UNIX sockets for
runner/src/vsock.rs:197
↓ 1 callers
Function
stream_pregenerated_logs
( messages: Vec<String>, socket_path: &str, )
logger/benches/throughput.rs:33
↓ 1 callers
Method
unregister
Unregister a runner
backend/src/runner/serve.rs:38
↓ 1 callers
Function
validateRequiredEnvVars
(env: any)
frontend/src/interop.ts:221
↓ 1 callers
Method
vm_config
(&self)
runner/src/bin/runner.rs:197
↓ 1 callers
Method
wait
Wait for the cloud-hypervisor process to finish
runner/src/vm_impl/linux.rs:357
↓ 1 callers
Function
wait_for_network_interface
Wait for network interface to be created by hypervisor
runner/src/vm_impl/linux_networking.rs:136
Method
active_job_count
Get total number of active jobs
runner/src/resource_manager.rs:337
Method
assign_to_runner
( &mut self, conn: &mut AsyncPgConnection, runner_id: Uuid, )
backend/src/job/model.rs:221
Function
benchmark_throughput
(c: &mut Criterion)
logger/benches/throughput.rs:102
Method
cancel
Cancel a job if it's in a cancellable state (queued or running) Returns Ok(true) if cancelled, Ok(false) if not cancellable, Err on database error Use
backend/src/job/model.rs:403
Function
cancel_job
( _user: BetaUser, State(app_state): State<AppState>, Path(id): Path<uuid::Uuid>, )
backend/src/job/serve.rs:79
Method
cancelled
()
backend/src/job/model.rs:92
Method
claim_job_for_runner
( conn: &mut AsyncPgConnection, job_id: uuid::Uuid, runner_id: uuid::Uuid, )
backend/src/job/model.rs:278
Function
collect_metrics
Collect current runner metrics
runner/src/bin/runner.rs:499
Method
complement_token
( &self, req: &ActionRequest, )
backend/src/zitadel/actions.rs:38
Method
config
(&self)
runner/src/vm_impl/linux.rs:458
Method
config
(&self)
runner/src/vm_impl/macos.rs:588
Method
create
Create a new commit
backend/src/github/model.rs:318
Method
create_check_run_for_job
Create a GitHub check run for an existing job and return the updated JobGitHub
backend/src/github/model.rs:539
Method
create_from_webhook
Create or update a repo from webhook data
backend/src/github/model.rs:170
Method
create_github_check_run
Helper to create a GitHub check run and return the check_run_id
backend/src/github/model.rs:561
Method
create_job_notification
Create a ServerMessage::NewJobAvailable from a Job
backend/src/runner/serve.rs:56
Function
create_symlinks
Create essential symlinks
init/src/lib.rs:109
Method
create_with_check_run
Create a new JobGitHub record with a check run for a job
backend/src/github/model.rs:516
Method
current
Returns the platform for the current operating system
runner/src/protocol.rs:14
Method
default
()
backend/src/config.rs:83
Method
default
()
cloud-hypervisor-client/src/apis/configuration.rs:95
Method
default
()
cloud-hypervisor-client/src/models/debug_console_config.rs:49
Method
default
()
cloud-hypervisor-client/src/models/vm_info.rs:52
Method
default
()
cloud-hypervisor-client/src/models/console_config.rs:54
Function
default_logger_url
()
backend/src/config.rs:43
Function
default_port
()
backend/src/config.rs:21
Method
delete_vm
(&self)
cloud-hypervisor-client/src/apis/default_api.rs:163
Method
deref
(&self)
backend/src/config.rs:110
Method
deref
(&self)
backend/src/auth.rs:15
Method
disable
( conn: &mut diesel_async::AsyncPgConnection, installation_id: i64, disabled: bool,
backend/src/github/model.rs:69
Method
disconnectAll
()
frontend/src/interop.ts:208
Method
disconnected
( runner_id: Uuid, pool: &Pool<AsyncPgConnection>, )
backend/src/runner/model.rs:40
Method
drop
(&mut self)
runner/src/resource_manager.rs:435
Method
drop
(&mut self)
runner/src/vm_manager.rs:145
Method
drop
(&mut self)
runner/src/vm_impl/linux.rs:63
Method
failed
()
backend/src/job/model.rs:84
Method
find_expired_jobs
Find in-progress jobs that have exceeded the timeout period
backend/src/job/model.rs:262
Method
find_matching_platforms
( conn: &mut AsyncPgConnection, runner_ids: &[Uuid], platform: &str, )
backend/src/runner/model.rs:65
Method
find_queued_job_for_platform
( conn: &mut AsyncPgConnection, platform: &Platform, )
backend/src/job/model.rs:308
Function
flags
({ env }: { env: any })
frontend/src/interop.ts:242
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
runner/src/protocol.rs:26
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
runner/src/resource_manager.rs:20
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
logger/src/stream.rs:51
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
backend/src/error.rs:10
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
backend/src/zitadel/actions.rs:11
Method
fmt
(&self, f: &mut fmt::Formatter)
cloud-hypervisor-client/src/apis/mod.rs:21
Method
for_installation
Creates a new GitHub API client for a specific installation.
backend/src/github/integration.rs:34
Method
from
(err: E)
backend/src/error.rs:20
Method
from
(platform: Platform)
backend/src/job/model.rs:46
Method
from
(s: String)
backend/src/zitadel/actions.rs:19
Method
from
(e: (hyper::StatusCode, hyper::body::Bytes))
cloud-hypervisor-client/src/apis/mod.rs:56
Method
from_file
Parse configuration from a file
runner/src/vm_impl/macos.rs:115
Method
from_parts
(uuid: Uuid, log_line: u64)
logger/src/stream.rs:18
Method
from_ref
(state: &AppState)
backend/src/config.rs:126
Method
from_request_parts
( parts: &mut Parts, state: &S, )
backend/src/auth.rs:108
Method
from_sql
(bytes: diesel::pg::PgValue<'_>)
backend/src/job/model.rs:38
Method
from_str
(s: &str)
runner/src/protocol.rs:38
Method
from_system_resources
Create resource limits from existing values with platform-specific instance limits
runner/src/resource_manager.rs:156
Function
fullscreenChangeHandler
()
frontend/src/interop.ts:474
Function
get_account
( user: BetaUser, State(_state): State<AppState>, )
backend/src/account/serve.rs:18
Method
get_all_jobs_for_commit
( conn: &mut diesel_async::AsyncPgConnection, commit_id: uuid::Uuid, )
backend/src/github/model.rs:484
Method
get_by_id
( conn: &mut AsyncPgConnection, id: Uuid, )
backend/src/job/model.rs:194
Method
get_by_id
( conn: &mut diesel_async::AsyncPgConnection, id: uuid::Uuid, )
backend/src/github/model.rs:253
Method
get_by_login
( conn: &mut diesel_async::AsyncPgConnection, login: &str, )
backend/src/github/model.rs:43
Method
get_by_owner_and_name
( conn: &mut diesel_async::AsyncPgConnection, owner_id: i64, name: &str, )
backend/src/github/model.rs:127
Method
get_by_repo_and_rev
Get commit by repo and rev
backend/src/github/model.rs:303
Method
get_by_repo_ordered
Get commits by repo ordered by newest first
backend/src/github/model.rs:327
Function
get_config
(State(state): State<AppState>)
backend/src/serve.rs:23
Method
get_for_job
Get GitHub data for a specific job
backend/src/github/model.rs:502
Method
get_for_owner_id
( conn: &mut diesel_async::AsyncPgConnection, owner_id: i64, )
backend/src/github/model.rs:82
Function
get_job
( _user: BetaUser, State(app_state): State<AppState>, Path(id): Path<uuid::Uuid>, )
backend/src/job/serve.rs:42
← previous
next →
101–200 of 386, ranked by callers