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
↓ 45 callers
Method
execute
( self, conf: &configuration::Configuration<C>, )
cloud-hypervisor-client/src/apis/request.rs:110
↓ 32 callers
Method
send
Simpler version of send_message without timeout
runner/src/client.rs:152
↓ 18 callers
Method
returns_nothing
(mut self)
cloud-hypervisor-client/src/apis/request.rs:100
↓ 17 callers
Method
allocate_resources
Allocate resources for a job atomically, returning a guard that releases on drop
runner/src/resource_manager.rs:231
↓ 17 callers
Method
with_body_param
(mut self, param: T)
cloud-hypervisor-client/src/apis/request.rs:72
↓ 13 callers
Method
write
(&mut self, buf: &[u8])
runner/src/vsock.rs:105
↓ 11 callers
Method
success
()
backend/src/job/model.rs:88
↓ 6 callers
Function
create_vm
Create a platform-specific VM instance
runner/src/vm.rs:65
↓ 6 callers
Method
resource_summary
Get current resource usage summary
runner/src/resource_manager.rs:295
↓ 5 callers
Method
as_bytes
(&self)
logger/src/stream.rs:41
↓ 5 callers
Method
into_inner
(self)
backend/src/github/integration.rs:43
↓ 5 callers
Method
take
Take the IP address, preventing automatic release on drop
runner/src/resource_manager.rs:429
↓ 5 callers
Function
test_vm_config
Helper to create a test VM configuration
runner/src/vm_impl/tests.rs:25
↓ 4 callers
Method
complete_job
Mark a job as complete
runner/src/job_manager.rs:128
↓ 4 callers
Method
run_sync
(&self, f: F)
runner/src/vm_impl/macos.rs:61
↓ 4 callers
Function
test_config
Helper to create a test VmConfig
runner/src/vm_impl/tests.rs:11
↓ 4 callers
Method
write_message
(&mut self, message: &T)
runner/src/vsock.rs:178
↓ 3 callers
Method
close
Closes the WebSocket connection gracefully
runner/src/client.rs:157
↓ 3 callers
Method
complete
(completion: devenv_runner::protocol::CompletionStatus)
backend/src/job/model.rs:80
↓ 3 callers
Method
default_api
(&self)
cloud-hypervisor-client/src/apis/client.rs:23
↓ 3 callers
Method
disconnect
(id: string, clearState: boolean = true)
frontend/src/interop.ts:176
↓ 3 callers
Function
getTheme
()
frontend/src/interop.ts:571
↓ 3 callers
Method
into_response
(self)
backend/src/auth.rs:27
↓ 3 callers
Method
release_job
Release resources for a job
runner/src/resource_manager.rs:272
↓ 3 callers
Method
retry
Retry a non-successful job by creating a new job with the same configuration
backend/src/job/model.rs:336
↓ 3 callers
Method
send_message
Sends a message to the WebSocket server # Arguments `message` - The client message to send `timeout_secs` - Optional send timeout in seconds (default
runner/src/client.rs:127
↓ 3 callers
Function
serve
(app_state: AppState)
backend/src/serve.rs:49
↓ 3 callers
Method
shutdown_vm
Shut down a VM for a job
runner/src/vm_manager.rs:120
↓ 3 callers
Function
test_resource_manager
Helper to create a test resource manager with reasonable limits
runner/src/vm_impl/tests.rs:34
↓ 2 callers
Method
active_job_count
Get number of jobs with active status (not completed)
runner/src/job_manager.rs:146
↓ 2 callers
Function
applyTheme
(theme: string)
frontend/src/interop.ts:595
↓ 2 callers
Function
bring_interface_up
Simply bring the interface up
runner/src/vm_impl/linux_networking.rs:244
↓ 2 callers
Method
can_allocate
Check if we can allocate resources for a job
runner/src/resource_manager.rs:263
↓ 2 callers
Method
check_limits
Check if we can allocate resources given the limits
runner/src/resource_manager.rs:76
↓ 2 callers
Function
create_app
(state: Arc<AppState>)
logger/src/server.rs:35
↓ 2 callers
Method
create_check_run
Creates a GitHub check run and returns the check run ID.
backend/src/github/integration.rs:48
↓ 2 callers
Function
create_db
(base_path: &str)
logger/src/lib.rs:21
↓ 2 callers
Method
create_job
( &self, app_state: AppState, vm_config: devenv_runner::protocol::VM, )
backend/src/github/model.rs:238
↓ 2 callers
Method
file_exists
Checks if a file exists in a repository at a specific git ref.
backend/src/github/integration.rs:129
↓ 2 callers
Method
from
(status: VmExitStatus)
runner/src/vm.rs:18
↓ 2 callers
Method
get_file_content
Gets the decoded content of a file in a repository at a specific git ref. Returns `None` if the file doesn't exist or content cannot be decoded.
backend/src/github/integration.rs:151
↓ 2 callers
Method
into_vms
Converts FinalCloud into a Vec<VM>
backend/src/runner/cloudconfig.rs:121
↓ 2 callers
Method
ip
Get the allocated IP address
runner/src/resource_manager.rs:424
↓ 2 callers
Method
is_retryable
Check if a job can be retried
backend/src/job/model.rs:327
↓ 2 callers
Method
launch_vm
Launch a VM for a job
runner/src/vm_manager.rs:52
↓ 2 callers
Function
loadHighlightTheme
(theme: string)
frontend/src/interop.ts:10
↓ 2 callers
Method
log_url
Generate the log URL for this job
backend/src/job/model.rs:461
↓ 2 callers
Function
mount_filesystem
Mount a single filesystem using the MountPoint struct
init/src/lib.rs:56
↓ 2 callers
Function
notify_runners_about_job
Public function to notify compatible runners about a new job
backend/src/runner/serve.rs:425
↓ 2 callers
Function
parse_memory
Parses a memory string into megabytes. The string must end with either "mb" or "gb" (case-insensitive), and 1 GB is interpreted as 1024 MB.
backend/src/runner/cloudconfig.rs:182
↓ 2 callers
Method
read_message
(&mut self)
runner/src/vsock.rs:166
↓ 2 callers
Method
release_ip
Release an IP address back to the pool
runner/src/resource_manager.rs:370
↓ 2 callers
Function
router
()
backend/src/serve.rs:31
↓ 2 callers
Method
set_job_config
Set job configuration and start vsock server to send it to the guest
runner/src/vm_impl/linux.rs:471
↓ 2 callers
Function
setup_host_networking
Setup host networking by enabling IP forwarding and configuring NAT
runner/src/vm_impl/linux_networking.rs:17
↓ 2 callers
Method
start
(&mut self)
runner/src/vm_impl/linux.rs:343
↓ 2 callers
Function
test_dns_resolution
()
runner/src/vm_impl/linux_networking.rs:259
↓ 2 callers
Method
total_used_cpus
(&self)
runner/src/resource_manager.rs:67
↓ 2 callers
Method
total_used_memory
(&self)
runner/src/resource_manager.rs:71
↓ 2 callers
Method
try_send_to
Try to send a message to a runner
backend/src/runner/serve.rs:44
↓ 2 callers
Method
update_job_status
Update a job's status following explicitly allowed state transitions
runner/src/job_manager.rs:72
↓ 2 callers
Function
vm_task_impl
Extract the VM task implementation into a separate function
runner/src/vm_manager.rs:161
↓ 2 callers
Method
vms
Returns the VMs contained in this FinalCloud
backend/src/runner/cloudconfig.rs:116
↓ 1 callers
Method
_createConnection
(id: string)
frontend/src/interop.ts:82
↓ 1 callers
Method
allocate_cid
Allocate a CID (Context ID) from the pool for vsock communication
runner/src/resource_manager.rs:381
↓ 1 callers
Method
allocate_ip
Allocate an IP address from the pool
runner/src/resource_manager.rs:352
↓ 1 callers
Method
boot_vm
(&self)
cloud-hypervisor-client/src/apis/default_api.rs:142
↓ 1 callers
Method
broadcast_job_available
Broadcast job availability to runners with matching platform
backend/src/runner/serve.rs:68
↓ 1 callers
Function
check_and_send_job
Check for available jobs and send it to a runner if compatible with the runner's platform Return true if a job was found and sent
backend/src/runner/serve.rs:309
↓ 1 callers
Function
check_capacity_and_request_job
Checks if the runner has enough capacity to handle more jobs, and if so, requests one. Requires at least 1 CPU and some available memory.
runner/src/bin/runner.rs:58
↓ 1 callers
Method
cid
Get the allocated CID
runner/src/resource_manager.rs:464
↓ 1 callers
Function
cleanup_vm_template
Cleanup VM template directories on startup
runner/src/vm_impl/linux.rs:514
↓ 1 callers
Function
clone_repository
Clone the repository using gix
runner/src/bin/driver.rs:208
↓ 1 callers
Function
configure_network
Configure network interface inside the VM
runner/src/vm_impl/linux_networking.rs:112
↓ 1 callers
Function
configure_static_ip
Configure static IP on interface
runner/src/vm_impl/linux_networking.rs:186
↓ 1 callers
Method
connect
( id: string, url: string, handlers: { onOpen?: () => void; onMessage?: (data: any) =>
frontend/src/interop.ts:53
↓ 1 callers
Method
create_vm
( &self, vm_config: models::VmConfig, )
cloud-hypervisor-client/src/apis/default_api.rs:150
↓ 1 callers
Function
default_job_timeout_seconds
()
backend/src/config.rs:72
↓ 1 callers
Function
default_zitadel_endpoint
()
backend/src/config.rs:25
↓ 1 callers
Method
flush
(&mut self)
runner/src/vsock.rs:158
↓ 1 callers
Method
format_key
(&self, log_line: u64)
logger/src/stream.rs:37
↓ 1 callers
Function
generate_log_entry
(i: u64)
logger/src/bin/client.rs:9
↓ 1 callers
Function
generate_log_messages
(num_messages: u64)
logger/benches/throughput.rs:13
↓ 1 callers
Function
getAuthData
()
frontend/src/interop.ts:548
↓ 1 callers
Function
getUserInfo
()
frontend/src/interop.ts:560
↓ 1 callers
Method
get_job_counts
Get job counts by status
runner/src/job_manager.rs:154
↓ 1 callers
Method
get_repo_and_owner
( &self, conn: &mut diesel_async::AsyncPgConnection, )
backend/src/github/model.rs:422
↓ 1 callers
Method
get_usage_stats
Get current resource usage statistics
runner/src/resource_manager.rs:343
↓ 1 callers
Function
handle_preuserinfo
( webhook_data: &serde_json::Value, )
backend/src/zitadel/actions.rs:249
↓ 1 callers
Function
handle_retrieve_identity_provider_intent
( webhook_data: &serde_json::Value, )
backend/src/zitadel/actions.rs:205
↓ 1 callers
Function
handle_shutdown_signals
Implement the function to handle shutdown signals
runner/src/bin/runner.rs:689
↓ 1 callers
Method
has_beta_access
(&self)
backend/src/auth.rs:38
↓ 1 callers
Method
has_minimal_capacity
Check if we have minimal capacity (for at least 1 CPU)
runner/src/resource_manager.rs:320
↓ 1 callers
Method
id
(&self)
runner/src/vm_impl/linux.rs:462
↓ 1 callers
Method
into_response
(self)
backend/src/error.rs:26
↓ 1 callers
Method
into_stream
Convert the DbFetcher into a stream that yields log entries. The stream will yield log entries as they are written to the database.
logger/src/stream.rs:69
↓ 1 callers
Function
job_timeout_checker
Task that periodically checks for timed out jobs
backend/src/runner/serve.rs:352
↓ 1 callers
Method
key
(&self, prefix: &Option<String>, key: &str)
cloud-hypervisor-client/src/apis/request.rs:24
↓ 1 callers
Function
mount_essential_filesystems
Mount the essential virtual filesystems needed before other operations
init/src/lib.rs:20
↓ 1 callers
Function
mount_root_filesystem
Mount the root filesystem using devenv-driver
init/src/lib.rs:160
next →
1–100 of 386, ranked by callers