MCPcopy Create free account

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

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

↓ 1 callersFunctionparse_ip_from_cmdline
Parse IP configuration from kernel command line
runner/src/vm_impl/linux_networking.rs:160
↓ 1 callersFunctionpivot_to_devenv_root
Use chroot to switch to the mounted devenv root filesystem
init/src/lib.rs:189
↓ 1 callersFunctionreceive_config_from_host
Connect to the vsock server from the guest to receive job configuration
runner/src/vsock.rs:394
↓ 1 callersMethodregister
Register a new runner
backend/src/runner/serve.rs:32
↓ 1 callersMethodregister_job
Register a new job
runner/src/job_manager.rs:52
↓ 1 callersMethodrelease_cid
Release a CID back to the pool
runner/src/resource_manager.rs:399
↓ 1 callersFunctionrememberedBytes
()
frontend/src/interop.ts:543
↓ 1 callersMethodreport_complete
Report job completion status to the host
runner/src/vsock.rs:33
↓ 1 callersMethodresponse
(&self)
backend/src/error.rs:60
↓ 1 callersFunctionrun_devenv
Set up and run devenv with the provided configuration
runner/src/bin/driver.rs:276
↓ 1 callersMethodrun_migrations
(self: &AppState)
backend/src/config.rs:208
↓ 1 callersMethodsend_log
Send a log message to the host
runner/src/vsock.rs:43
↓ 1 callersFunctionsetTheme
(theme: string)
frontend/src/interop.ts:586
↓ 1 callersMethodset_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 callersMethodset_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 callersFunctionset_hostname
Set system hostname
init/src/lib.rs:150
↓ 1 callersMethodset_job_running
Update a job to running state
runner/src/job_manager.rs:123
↓ 1 callersFunctionsetup_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 callersFunctionsetup_nat_rules
Setup NAT rules with nftables in a single atomic operation
runner/src/vm_impl/linux_networking.rs:49
↓ 1 callersMethodshutdown
(&mut self)
runner/src/vm_impl/linux.rs:422
↓ 1 callersFunctionspawn_runner
( mut socket: WebSocket<ServerMessage, ClientMessage, TextJsonCodec>, app_state: AppState, runner_
backend/src/runner/serve.rs:187
↓ 1 callersFunctionstart_job_timeout_checker
Start the job timeout checker task with the AppState
backend/src/runner/serve.rs:415
↓ 1 callersFunctionstart_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 callersFunctionstream_pregenerated_logs
( messages: Vec<String>, socket_path: &str, )
logger/benches/throughput.rs:33
↓ 1 callersMethodunregister
Unregister a runner
backend/src/runner/serve.rs:38
↓ 1 callersFunctionvalidateRequiredEnvVars
(env: any)
frontend/src/interop.ts:221
↓ 1 callersMethodvm_config
(&self)
runner/src/bin/runner.rs:197
↓ 1 callersMethodwait
Wait for the cloud-hypervisor process to finish
runner/src/vm_impl/linux.rs:357
↓ 1 callersFunctionwait_for_network_interface
Wait for network interface to be created by hypervisor
runner/src/vm_impl/linux_networking.rs:136
Methodactive_job_count
Get total number of active jobs
runner/src/resource_manager.rs:337
Methodassign_to_runner
( &mut self, conn: &mut AsyncPgConnection, runner_id: Uuid, )
backend/src/job/model.rs:221
Functionbenchmark_throughput
(c: &mut Criterion)
logger/benches/throughput.rs:102
Methodcancel
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
Functioncancel_job
( _user: BetaUser, State(app_state): State<AppState>, Path(id): Path<uuid::Uuid>, )
backend/src/job/serve.rs:79
Methodcancelled
()
backend/src/job/model.rs:92
Methodclaim_job_for_runner
( conn: &mut AsyncPgConnection, job_id: uuid::Uuid, runner_id: uuid::Uuid, )
backend/src/job/model.rs:278
Functioncollect_metrics
Collect current runner metrics
runner/src/bin/runner.rs:499
Methodcomplement_token
( &self, req: &ActionRequest, )
backend/src/zitadel/actions.rs:38
Methodconfig
(&self)
runner/src/vm_impl/linux.rs:458
Methodconfig
(&self)
runner/src/vm_impl/macos.rs:588
Methodcreate
Create a new commit
backend/src/github/model.rs:318
Methodcreate_check_run_for_job
Create a GitHub check run for an existing job and return the updated JobGitHub
backend/src/github/model.rs:539
Methodcreate_from_webhook
Create or update a repo from webhook data
backend/src/github/model.rs:170
Methodcreate_github_check_run
Helper to create a GitHub check run and return the check_run_id
backend/src/github/model.rs:561
Methodcreate_job_notification
Create a ServerMessage::NewJobAvailable from a Job
backend/src/runner/serve.rs:56
Functioncreate_symlinks
Create essential symlinks
init/src/lib.rs:109
Methodcreate_with_check_run
Create a new JobGitHub record with a check run for a job
backend/src/github/model.rs:516
Methodcurrent
Returns the platform for the current operating system
runner/src/protocol.rs:14
Methoddefault
()
backend/src/config.rs:83
Methoddefault
()
cloud-hypervisor-client/src/apis/configuration.rs:95
Methoddefault
()
cloud-hypervisor-client/src/models/debug_console_config.rs:49
Methoddefault
()
cloud-hypervisor-client/src/models/vm_info.rs:52
Methoddefault
()
cloud-hypervisor-client/src/models/console_config.rs:54
Functiondefault_logger_url
()
backend/src/config.rs:43
Functiondefault_port
()
backend/src/config.rs:21
Methoddelete_vm
(&self)
cloud-hypervisor-client/src/apis/default_api.rs:163
Methodderef
(&self)
backend/src/config.rs:110
Methodderef
(&self)
backend/src/auth.rs:15
Methoddisable
( conn: &mut diesel_async::AsyncPgConnection, installation_id: i64, disabled: bool,
backend/src/github/model.rs:69
MethoddisconnectAll
()
frontend/src/interop.ts:208
Methoddisconnected
( runner_id: Uuid, pool: &Pool<AsyncPgConnection>, )
backend/src/runner/model.rs:40
Methoddrop
(&mut self)
runner/src/resource_manager.rs:435
Methoddrop
(&mut self)
runner/src/vm_manager.rs:145
Methoddrop
(&mut self)
runner/src/vm_impl/linux.rs:63
Methodfailed
()
backend/src/job/model.rs:84
Methodfind_expired_jobs
Find in-progress jobs that have exceeded the timeout period
backend/src/job/model.rs:262
Methodfind_matching_platforms
( conn: &mut AsyncPgConnection, runner_ids: &[Uuid], platform: &str, )
backend/src/runner/model.rs:65
Methodfind_queued_job_for_platform
( conn: &mut AsyncPgConnection, platform: &Platform, )
backend/src/job/model.rs:308
Functionflags
({ env }: { env: any })
frontend/src/interop.ts:242
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
runner/src/protocol.rs:26
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
runner/src/resource_manager.rs:20
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
logger/src/stream.rs:51
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
backend/src/error.rs:10
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
backend/src/zitadel/actions.rs:11
Methodfmt
(&self, f: &mut fmt::Formatter)
cloud-hypervisor-client/src/apis/mod.rs:21
Methodfor_installation
Creates a new GitHub API client for a specific installation.
backend/src/github/integration.rs:34
Methodfrom
(err: E)
backend/src/error.rs:20
Methodfrom
(platform: Platform)
backend/src/job/model.rs:46
Methodfrom
(s: String)
backend/src/zitadel/actions.rs:19
Methodfrom
(e: (hyper::StatusCode, hyper::body::Bytes))
cloud-hypervisor-client/src/apis/mod.rs:56
Methodfrom_file
Parse configuration from a file
runner/src/vm_impl/macos.rs:115
Methodfrom_parts
(uuid: Uuid, log_line: u64)
logger/src/stream.rs:18
Methodfrom_ref
(state: &AppState)
backend/src/config.rs:126
Methodfrom_request_parts
( parts: &mut Parts, state: &S, )
backend/src/auth.rs:108
Methodfrom_sql
(bytes: diesel::pg::PgValue<'_>)
backend/src/job/model.rs:38
Methodfrom_str
(s: &str)
runner/src/protocol.rs:38
Methodfrom_system_resources
Create resource limits from existing values with platform-specific instance limits
runner/src/resource_manager.rs:156
FunctionfullscreenChangeHandler
()
frontend/src/interop.ts:474
Functionget_account
( user: BetaUser, State(_state): State<AppState>, )
backend/src/account/serve.rs:18
Methodget_all_jobs_for_commit
( conn: &mut diesel_async::AsyncPgConnection, commit_id: uuid::Uuid, )
backend/src/github/model.rs:484
Methodget_by_id
( conn: &mut AsyncPgConnection, id: Uuid, )
backend/src/job/model.rs:194
Methodget_by_id
( conn: &mut diesel_async::AsyncPgConnection, id: uuid::Uuid, )
backend/src/github/model.rs:253
Methodget_by_login
( conn: &mut diesel_async::AsyncPgConnection, login: &str, )
backend/src/github/model.rs:43
Methodget_by_owner_and_name
( conn: &mut diesel_async::AsyncPgConnection, owner_id: i64, name: &str, )
backend/src/github/model.rs:127
Methodget_by_repo_and_rev
Get commit by repo and rev
backend/src/github/model.rs:303
Methodget_by_repo_ordered
Get commits by repo ordered by newest first
backend/src/github/model.rs:327
Functionget_config
(State(state): State<AppState>)
backend/src/serve.rs:23
Methodget_for_job
Get GitHub data for a specific job
backend/src/github/model.rs:502
Methodget_for_owner_id
( conn: &mut diesel_async::AsyncPgConnection, owner_id: i64, )
backend/src/github/model.rs:82
Functionget_job
( _user: BetaUser, State(app_state): State<AppState>, Path(id): Path<uuid::Uuid>, )
backend/src/job/serve.rs:42
← previousnext →101–200 of 386, ranked by callers