MCPcopy Create free account

hub / github.com/cachix/cloud.devenv.sh / functions

Functions386 in github.com/cachix/cloud.devenv.sh

↓ 45 callersMethodexecute
( self, conf: &configuration::Configuration<C>, )
cloud-hypervisor-client/src/apis/request.rs:110
↓ 32 callersMethodsend
Simpler version of send_message without timeout
runner/src/client.rs:152
↓ 18 callersMethodreturns_nothing
(mut self)
cloud-hypervisor-client/src/apis/request.rs:100
↓ 17 callersMethodallocate_resources
Allocate resources for a job atomically, returning a guard that releases on drop
runner/src/resource_manager.rs:231
↓ 17 callersMethodwith_body_param
(mut self, param: T)
cloud-hypervisor-client/src/apis/request.rs:72
↓ 13 callersMethodwrite
(&mut self, buf: &[u8])
runner/src/vsock.rs:105
↓ 11 callersMethodsuccess
()
backend/src/job/model.rs:88
↓ 6 callersFunctioncreate_vm
Create a platform-specific VM instance
runner/src/vm.rs:65
↓ 6 callersMethodresource_summary
Get current resource usage summary
runner/src/resource_manager.rs:295
↓ 5 callersMethodas_bytes
(&self)
logger/src/stream.rs:41
↓ 5 callersMethodinto_inner
(self)
backend/src/github/integration.rs:43
↓ 5 callersMethodtake
Take the IP address, preventing automatic release on drop
runner/src/resource_manager.rs:429
↓ 5 callersFunctiontest_vm_config
Helper to create a test VM configuration
runner/src/vm_impl/tests.rs:25
↓ 4 callersMethodcomplete_job
Mark a job as complete
runner/src/job_manager.rs:128
↓ 4 callersMethodrun_sync
(&self, f: F)
runner/src/vm_impl/macos.rs:61
↓ 4 callersFunctiontest_config
Helper to create a test VmConfig
runner/src/vm_impl/tests.rs:11
↓ 4 callersMethodwrite_message
(&mut self, message: &T)
runner/src/vsock.rs:178
↓ 3 callersMethodclose
Closes the WebSocket connection gracefully
runner/src/client.rs:157
↓ 3 callersMethodcomplete
(completion: devenv_runner::protocol::CompletionStatus)
backend/src/job/model.rs:80
↓ 3 callersMethoddefault_api
(&self)
cloud-hypervisor-client/src/apis/client.rs:23
↓ 3 callersMethoddisconnect
(id: string, clearState: boolean = true)
frontend/src/interop.ts:176
↓ 3 callersFunctiongetTheme
()
frontend/src/interop.ts:571
↓ 3 callersMethodinto_response
(self)
backend/src/auth.rs:27
↓ 3 callersMethodrelease_job
Release resources for a job
runner/src/resource_manager.rs:272
↓ 3 callersMethodretry
Retry a non-successful job by creating a new job with the same configuration
backend/src/job/model.rs:336
↓ 3 callersMethodsend_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 callersFunctionserve
(app_state: AppState)
backend/src/serve.rs:49
↓ 3 callersMethodshutdown_vm
Shut down a VM for a job
runner/src/vm_manager.rs:120
↓ 3 callersFunctiontest_resource_manager
Helper to create a test resource manager with reasonable limits
runner/src/vm_impl/tests.rs:34
↓ 2 callersMethodactive_job_count
Get number of jobs with active status (not completed)
runner/src/job_manager.rs:146
↓ 2 callersFunctionapplyTheme
(theme: string)
frontend/src/interop.ts:595
↓ 2 callersFunctionbring_interface_up
Simply bring the interface up
runner/src/vm_impl/linux_networking.rs:244
↓ 2 callersMethodcan_allocate
Check if we can allocate resources for a job
runner/src/resource_manager.rs:263
↓ 2 callersMethodcheck_limits
Check if we can allocate resources given the limits
runner/src/resource_manager.rs:76
↓ 2 callersFunctioncreate_app
(state: Arc<AppState>)
logger/src/server.rs:35
↓ 2 callersMethodcreate_check_run
Creates a GitHub check run and returns the check run ID.
backend/src/github/integration.rs:48
↓ 2 callersFunctioncreate_db
(base_path: &str)
logger/src/lib.rs:21
↓ 2 callersMethodcreate_job
( &self, app_state: AppState, vm_config: devenv_runner::protocol::VM, )
backend/src/github/model.rs:238
↓ 2 callersMethodfile_exists
Checks if a file exists in a repository at a specific git ref.
backend/src/github/integration.rs:129
↓ 2 callersMethodfrom
(status: VmExitStatus)
runner/src/vm.rs:18
↓ 2 callersMethodget_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 callersMethodinto_vms
Converts FinalCloud into a Vec<VM>
backend/src/runner/cloudconfig.rs:121
↓ 2 callersMethodip
Get the allocated IP address
runner/src/resource_manager.rs:424
↓ 2 callersMethodis_retryable
Check if a job can be retried
backend/src/job/model.rs:327
↓ 2 callersMethodlaunch_vm
Launch a VM for a job
runner/src/vm_manager.rs:52
↓ 2 callersFunctionloadHighlightTheme
(theme: string)
frontend/src/interop.ts:10
↓ 2 callersMethodlog_url
Generate the log URL for this job
backend/src/job/model.rs:461
↓ 2 callersFunctionmount_filesystem
Mount a single filesystem using the MountPoint struct
init/src/lib.rs:56
↓ 2 callersFunctionnotify_runners_about_job
Public function to notify compatible runners about a new job
backend/src/runner/serve.rs:425
↓ 2 callersFunctionparse_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 callersMethodread_message
(&mut self)
runner/src/vsock.rs:166
↓ 2 callersMethodrelease_ip
Release an IP address back to the pool
runner/src/resource_manager.rs:370
↓ 2 callersFunctionrouter
()
backend/src/serve.rs:31
↓ 2 callersMethodset_job_config
Set job configuration and start vsock server to send it to the guest
runner/src/vm_impl/linux.rs:471
↓ 2 callersFunctionsetup_host_networking
Setup host networking by enabling IP forwarding and configuring NAT
runner/src/vm_impl/linux_networking.rs:17
↓ 2 callersMethodstart
(&mut self)
runner/src/vm_impl/linux.rs:343
↓ 2 callersFunctiontest_dns_resolution
()
runner/src/vm_impl/linux_networking.rs:259
↓ 2 callersMethodtotal_used_cpus
(&self)
runner/src/resource_manager.rs:67
↓ 2 callersMethodtotal_used_memory
(&self)
runner/src/resource_manager.rs:71
↓ 2 callersMethodtry_send_to
Try to send a message to a runner
backend/src/runner/serve.rs:44
↓ 2 callersMethodupdate_job_status
Update a job's status following explicitly allowed state transitions
runner/src/job_manager.rs:72
↓ 2 callersFunctionvm_task_impl
Extract the VM task implementation into a separate function
runner/src/vm_manager.rs:161
↓ 2 callersMethodvms
Returns the VMs contained in this FinalCloud
backend/src/runner/cloudconfig.rs:116
↓ 1 callersMethod_createConnection
(id: string)
frontend/src/interop.ts:82
↓ 1 callersMethodallocate_cid
Allocate a CID (Context ID) from the pool for vsock communication
runner/src/resource_manager.rs:381
↓ 1 callersMethodallocate_ip
Allocate an IP address from the pool
runner/src/resource_manager.rs:352
↓ 1 callersMethodboot_vm
(&self)
cloud-hypervisor-client/src/apis/default_api.rs:142
↓ 1 callersMethodbroadcast_job_available
Broadcast job availability to runners with matching platform
backend/src/runner/serve.rs:68
↓ 1 callersFunctioncheck_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 callersFunctioncheck_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 callersMethodcid
Get the allocated CID
runner/src/resource_manager.rs:464
↓ 1 callersFunctioncleanup_vm_template
Cleanup VM template directories on startup
runner/src/vm_impl/linux.rs:514
↓ 1 callersFunctionclone_repository
Clone the repository using gix
runner/src/bin/driver.rs:208
↓ 1 callersFunctionconfigure_network
Configure network interface inside the VM
runner/src/vm_impl/linux_networking.rs:112
↓ 1 callersFunctionconfigure_static_ip
Configure static IP on interface
runner/src/vm_impl/linux_networking.rs:186
↓ 1 callersMethodconnect
( id: string, url: string, handlers: { onOpen?: () => void; onMessage?: (data: any) =>
frontend/src/interop.ts:53
↓ 1 callersMethodcreate_vm
( &self, vm_config: models::VmConfig, )
cloud-hypervisor-client/src/apis/default_api.rs:150
↓ 1 callersFunctiondefault_job_timeout_seconds
()
backend/src/config.rs:72
↓ 1 callersFunctiondefault_zitadel_endpoint
()
backend/src/config.rs:25
↓ 1 callersMethodflush
(&mut self)
runner/src/vsock.rs:158
↓ 1 callersMethodformat_key
(&self, log_line: u64)
logger/src/stream.rs:37
↓ 1 callersFunctiongenerate_log_entry
(i: u64)
logger/src/bin/client.rs:9
↓ 1 callersFunctiongenerate_log_messages
(num_messages: u64)
logger/benches/throughput.rs:13
↓ 1 callersFunctiongetAuthData
()
frontend/src/interop.ts:548
↓ 1 callersFunctiongetUserInfo
()
frontend/src/interop.ts:560
↓ 1 callersMethodget_job_counts
Get job counts by status
runner/src/job_manager.rs:154
↓ 1 callersMethodget_repo_and_owner
( &self, conn: &mut diesel_async::AsyncPgConnection, )
backend/src/github/model.rs:422
↓ 1 callersMethodget_usage_stats
Get current resource usage statistics
runner/src/resource_manager.rs:343
↓ 1 callersFunctionhandle_preuserinfo
( webhook_data: &serde_json::Value, )
backend/src/zitadel/actions.rs:249
↓ 1 callersFunctionhandle_retrieve_identity_provider_intent
( webhook_data: &serde_json::Value, )
backend/src/zitadel/actions.rs:205
↓ 1 callersFunctionhandle_shutdown_signals
Implement the function to handle shutdown signals
runner/src/bin/runner.rs:689
↓ 1 callersMethodhas_beta_access
(&self)
backend/src/auth.rs:38
↓ 1 callersMethodhas_minimal_capacity
Check if we have minimal capacity (for at least 1 CPU)
runner/src/resource_manager.rs:320
↓ 1 callersMethodid
(&self)
runner/src/vm_impl/linux.rs:462
↓ 1 callersMethodinto_response
(self)
backend/src/error.rs:26
↓ 1 callersMethodinto_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 callersFunctionjob_timeout_checker
Task that periodically checks for timed out jobs
backend/src/runner/serve.rs:352
↓ 1 callersMethodkey
(&self, prefix: &Option<String>, key: &str)
cloud-hypervisor-client/src/apis/request.rs:24
↓ 1 callersFunctionmount_essential_filesystems
Mount the essential virtual filesystems needed before other operations
init/src/lib.rs:20
↓ 1 callersFunctionmount_root_filesystem
Mount the root filesystem using devenv-driver
init/src/lib.rs:160
next →1–100 of 386, ranked by callers