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
Method
get_job
Get information about a job
runner/src/job_manager.rs:117
Method
get_job_by_id
( conn: &mut diesel_async::AsyncPgConnection, id: uuid::Uuid, )
backend/src/github/model.rs:601
Method
get_job_vm_config
Get VM configuration for a job
runner/src/resource_manager.rs:331
Method
get_jobs_by_commit_id
( conn: &mut diesel_async::AsyncPgConnection, commit_id: uuid::Uuid, )
backend/src/github/model.rs:285
Method
get_jobs_for_repo
( conn: &mut diesel_async::AsyncPgConnection, repo_id: i64, )
backend/src/github/model.rs:466
Method
get_latest_by_repo_id
( conn: &mut diesel_async::AsyncPgConnection, repo_id: i64, )
backend/src/github/model.rs:272
Function
get_logs
( state: axum::extract::State<Arc<AppState>>, Path(uuid): axum::extract::Path<Uuid>, )
logger/src/server.rs:109
Method
get_owners_with_repos
( conn: &mut diesel_async::AsyncPgConnection, )
backend/src/github/model.rs:447
Method
get_platform
( conn: &mut AsyncPgConnection, runner_id: &Uuid, )
backend/src/runner/model.rs:54
Function
get_repo_jobs
( State(app_state): State<AppState>, _user: BetaUser, axum::extract::Path((owner_login, repo_name)
backend/src/github/serve.rs:472
Function
get_repos
( State(app_state): State<AppState>, _user: BetaUser, )
backend/src/github/serve.rs:23
Function
get_rev
( State(app_state): State<AppState>, _user: BetaUser, axum::extract::Path((owner_login, repo_name,
backend/src/github/serve.rs:139
Method
get_with_github_details
Get a job with its associated GitHub data and commit information using a single query
backend/src/job/model.rs:366
Function
handleScroll
()
frontend/src/interop.ts:362
Function
handle_guest_connection
Handle a guest connection and send the job configuration
runner/src/vsock.rs:262
Function
handle_server_message
Handle server messages from WebSocket
runner/src/bin/runner.rs:538
Function
handler
( ws: WebSocketUpgrade<ServerMessage, ClientMessage, TextJsonCodec>, headers: axum::http::HeaderMap,
backend/src/runner/serve.rs:147
Method
id
(&self)
runner/src/vm_impl/macos.rs:592
Method
increment
(&self)
logger/src/stream.rs:25
Function
init_system
Perform basic system initialization
init/src/lib.rs:134
Method
installation_id
(&self)
backend/src/github/model.rs:94
Method
is_cancellable
Check if a job can be cancelled (must be queued or running)
backend/src/job/model.rs:443
Method
is_job_registered
Check if a job is currently registered
runner/src/resource_manager.rs:325
Function
is_linux
Detect if we're running on Linux
runner/src/vm.rs:97
Function
is_macos
Detect if we're running on macOS
runner/src/vm.rs:92
Method
is_vm_running
Check if a job's VM is still running
runner/src/vm_manager.rs:138
Method
job_count
Get the total number of jobs
runner/src/job_manager.rs:140
Method
job_exists
Check if a job exists
runner/src/job_manager.rs:134
Method
job_id
Get the job ID
runner/src/resource_manager.rs:500
Method
log_line
(&self)
logger/src/stream.rs:31
Function
main
()
init/src/bin/init.rs:20
Function
main
()
runner/src/bin/driver.rs:25
Function
main
()
runner/src/bin/launcher.rs:15
Function
main
()
runner/src/bin/runner.rs:210
Function
main
()
logger/src/main.rs:6
Function
main
()
logger/src/bin/client.rs:19
Function
main
()
backend/src/main.rs:32
Function
main
(config: Config)
backend/src/serve.rs:61
Function
metrics
()
backend/src/serve.rs:10
Method
new
Create a new JobInfo with initial status
runner/src/job_manager.rs:25
Method
new
()
runner/src/resource_manager.rs:59
Method
new
Create a new job reporter from an existing vsock stream
runner/src/vsock.rs:28
Method
new
( completion_tx: mpsc::Sender<VmCompletionEvent>, resource_manager: Arc<ResourceManager>,
runner/src/vm_manager.rs:38
Method
new
Creates a new WebSocketClient with the given URI # Arguments `uri` - WebSocket server URI `connect_timeout_secs` - Optional connection timeout in sec
runner/src/client.rs:51
Method
new
Create a new VM with the given configuration
runner/src/vm_impl/linux.rs:106
Method
new
(inner: T, queue: DispatchRetained<DispatchQueue>)
runner/src/vm_impl/macos.rs:53
Method
new
(db: Arc<Db>, uuid: Uuid)
logger/src/stream.rs:62
Method
new
(config_path: &Path)
backend/src/config.rs:53
Method
new
()
backend/src/runner/serve.rs:25
Method
new
Create a new `FinalCloud` from a devenv.yaml string. This parses the YAML string to extract platform configurations with memory and CPU settings. If
backend/src/runner/cloudconfig.rs:40
Method
new
( pool: &Pool<AsyncPgConnection>, platform: Platform, )
backend/src/runner/model.rs:23
Method
new
(status: devenv_runner::protocol::JobStatus)
backend/src/job/model.rs:68
Method
new
(configuration: Arc<configuration::Configuration<C>>)
cloud-hypervisor-client/src/apis/default_api.rs:36
Method
new
(method: hyper::Method, path: String)
cloud-hypervisor-client/src/apis/request.rs:58
Method
new
Construct a default [`Configuration`](Self) with a hyper client using a default Unix Domain Socket connector. Use [`with_client`](Configuration<T>::w
cloud-hypervisor-client/src/apis/configuration.rs:57
Method
new
(configuration: Configuration<C>)
cloud-hypervisor-client/src/apis/client.rs:12
Method
new
(path: String)
cloud-hypervisor-client/src/models/disk_config.rs:50
Method
new
()
cloud-hypervisor-client/src/models/cpu_features.rs:21
Method
new
(guest_numa_id: i32)
cloud-hypervisor-client/src/models/numa_config.rs:31
Method
new
(file: String)
cloud-hypervisor-client/src/models/pmem_config.rs:31
Method
new
(size: i64)
cloud-hypervisor-client/src/models/memory_config.rs:41
Method
new
(mode: Mode)
cloud-hypervisor-client/src/models/debug_console_config.rs:25
Method
new
(id: String, rate_limiter_config: models::RateLimiterConfig)
cloud-hypervisor-client/src/models/rate_limit_group_config.rs:23
Method
new
(boot_vcpus: i32, max_vcpus: i32)
cloud-hypervisor-client/src/models/cpus_config.rs:33
Method
new
(receiver_url: String)
cloud-hypervisor-client/src/models/receive_migration_data.rs:21
Method
new
()
cloud-hypervisor-client/src/models/vm_snapshot_config.rs:21
Method
new
Defines an IO rate limiter with independent bytes/s and ops/s limits. Limits are defined by configuring each of the _bandwidth_ and _ops_ token bucket
cloud-hypervisor-client/src/models/rate_limiter_config.rs:25
Method
new
(socket: String)
cloud-hypervisor-client/src/models/tpm_config.rs:21
Method
new
(source_url: String)
cloud-hypervisor-client/src/models/restore_config.rs:23
Method
new
(path: String, num_queues: i32)
cloud-hypervisor-client/src/models/vdpa_config.rs:29
Method
new
Virtual Machine Monitor information
cloud-hypervisor-client/src/models/vmm_ping_response.rs:29
Method
new
()
cloud-hypervisor-client/src/models/net_config.rs:52
Method
new
(src: String)
cloud-hypervisor-client/src/models/rng_config.rs:23
Method
new
()
cloud-hypervisor-client/src/models/cpu_topology.rs:27
Method
new
(path: String)
cloud-hypervisor-client/src/models/device_config.rs:32
Method
new
(queue_index: i32, host_cpus: Vec<i32>)
cloud-hypervisor-client/src/models/virt_queue_affinity.rs:23
Method
new
(socket: String)
cloud-hypervisor-client/src/models/vm_add_user_device.rs:21
Method
new
(destination: i32, distance: i32)
cloud-hypervisor-client/src/models/numa_distance.rs:23
Method
new
(pci_segment: i32)
cloud-hypervisor-client/src/models/pci_segment_config.rs:31
Method
new
(cid: i64, socket: String)
cloud-hypervisor-client/src/models/vsock_config.rs:31
Method
new
Virtual machine configuration
cloud-hypervisor-client/src/models/vm_config.rs:73
Method
new
(id: String, size: i64)
cloud-hypervisor-client/src/models/memory_zone_config.rs:41
Method
new
Virtual Machine information
cloud-hypervisor-client/src/models/vm_info.rs:29
Method
new
(mode: Mode)
cloud-hypervisor-client/src/models/console_config.rs:27
Method
new
()
cloud-hypervisor-client/src/models/vm_coredump_data.rs:21
Method
new
()
cloud-hypervisor-client/src/models/device_node.rs:27
Method
new
Defines a token bucket with a maximum capacity (_size_), an initial burst size (_one_time_burst_) and an interval for refilling purposes (_refill_time
cloud-hypervisor-client/src/models/token_bucket.rs:30
Method
new
()
cloud-hypervisor-client/src/models/vm_remove_device.rs:21
Method
new
(id: String, size: i64)
cloud-hypervisor-client/src/models/sgx_epc_config.rs:25
Method
new
()
cloud-hypervisor-client/src/models/vm_resize.rs:27
Method
new
(destination_url: String)
cloud-hypervisor-client/src/models/send_migration_data.rs:23
Method
new
(tag: String, socket: String, num_queues: i32, queue_size: i32)
cloud-hypervisor-client/src/models/fs_config.rs:31
Method
new
Information about a PCI device
cloud-hypervisor-client/src/models/pci_device_info.rs:25
Method
new
()
cloud-hypervisor-client/src/models/platform_config.rs:31
Method
new
Payloads to boot in guest
cloud-hypervisor-client/src/models/payload_config.rs:29
Method
new
(size: i64)
cloud-hypervisor-client/src/models/balloon_config.rs:30
Method
new
()
cloud-hypervisor-client/src/models/vm_resize_zone.rs:24
Method
new
(path: String, access: String)
cloud-hypervisor-client/src/models/landlock_config.rs:23
Method
new
(vcpu: i32, host_cpus: Vec<i32>)
cloud-hypervisor-client/src/models/cpu_affinity.rs:23
Function
onReady
({ app, env }: { app: any; env: any })
frontend/src/interop.ts:270
← previous
next →
201–300 of 386, ranked by callers