MCPcopy Create free account

hub / github.com/dante-gpu/dante-cli-sdk / functions

Functions188 in github.com/dante-gpu/dante-cli-sdk

↓ 13 callersMethodcreate_container
(&self, image: &str, name: &str)
src/core/docker_manager.rs:20
↓ 10 callersMethoddelete_container
(&self, id: &str)
src/core/docker_manager.rs:61
↓ 9 callersMethodstart_container
(&self, id: &str)
src/core/docker_manager.rs:51
↓ 8 callersMethodinspect_container
(&self, container_id: &str)
src/core/docker_manager.rs:66
↓ 7 callersMethodattach_gpu
Attaches the GPU to a VM (domain param stays for signature's sake) - stick it on, champ!
src/gpu/device.rs:257
↓ 6 callersMethodstop_container
(&self, id: &str)
src/core/docker_manager.rs:56
↓ 5 callersMethodlist_containers
(&self)
src/core/docker_manager.rs:39
↓ 4 callersMethoddetect_gpus
The main entry point for GPU detection - let's get quacking!
src/gpu/device.rs:59
↓ 4 callersFunctionsetup_docker
Time to set up our virtual playground!
tests/live_tests.rs:8
↓ 4 callersFunctiontest_vm_config
Test setup: Creates a unique VM configuration to avoid conflicts
tests/vm_tests.rs:22
↓ 3 callersMethodlookup_domain
(&self, id: &str)
src/core/libvirt.rs:80
↓ 2 callersMethodbuild_iommu_groups
Build up IOMMU groups for PCI passthrough - grouping like it's a party
src/gpu/device.rs:160
↓ 2 callersMethoddiscover_gpus
Discover available GPUs
src/gpu/device.rs:281
↓ 2 callersMethodget_current_driver
(&self, gpu_id: &str)
src/gpu/passthrough.rs:192
↓ 2 callersMethodget_metrics
(&self, container_id: &str)
src/monitoring/metrics.rs:176
↓ 2 callersMethodget_user
(&mut self, username: &str)
src/users.rs:38
↓ 2 callersMethodlayer
Creates a new rate limiter layer based on configuration
src/api/middleware/rate_limit.rs:25
↓ 1 callersMethodadd_transaction
(&mut self, transaction: Transaction)
src/billing.rs:27
↓ 1 callersMethodallocate
(&mut self, user: &str, gpu_id: u32)
src/gpu/virtual_gpu.rs:35
↓ 1 callersMethodbind_to_vfio
(&self, gpu_id: &str, iommu_group: u32)
src/gpu/passthrough.rs:180
↓ 1 callersMethodcalculate_cost
(&self, gpu_id: u32)
src/gpu/virtual_gpu.rs:46
↓ 1 callersFunctioncalculate_cpu_percent
(stats: &Stats)
src/core/docker_manager.rs:86
↓ 1 callersFunctioncheck_iommu_support
IOMMU-chan, notice me!
src/gpu/utils.rs:5
↓ 1 callersMethodcleanup_and_recreate
(&self)
src/errors/mod.rs:197
↓ 1 callersMethodcleanup_resources
(&self)
src/errors/mod.rs:202
↓ 1 callersFunctioncreate_router
Creates an Axum router with all endpoints.
src/api/routes.rs:44
↓ 1 callersMethoddeduct_credits
(&mut self, username: &str, amount: f64)
src/users.rs:49
↓ 1 callersMethoddetect_linux_gpus
(&mut self)
src/gpu/device.rs:71
↓ 1 callersMethoddetect_macos_gpus
(&mut self)
src/gpu/device.rs:112
↓ 1 callersMethoddetect_windows_gpus
(&mut self)
src/gpu/device.rs:134
↓ 1 callersMethodget_device_info
(&self, gpu_id: &str)
src/gpu/passthrough.rs:205
↓ 1 callersMethodget_gpu_iommu_group
(&self, gpu_id: &str)
src/gpu/passthrough.rs:133
↓ 1 callersFunctionget_iommu_group
(path: &Path)
src/gpu/device.rs:358
↓ 1 callersMethodget_iommu_group
(path: &Path)
src/gpu/device.rs:239
↓ 1 callersMethodinto_inner
(self)
src/api/middleware/rate_limit.rs:145
↓ 1 callersMethodis_container_active
(&self, container_id: &str)
src/core/docker_manager.rs:80
↓ 1 callersMethodis_device_eligible
(&self, device_id: &str)
src/gpu/passthrough.rs:347
↓ 1 callersMethodlist_available_devices
Lists all available GPU devices - because sharing is caring
src/gpu/device.rs:252
↓ 1 callersMethodlist_domains
(&self)
src/core/libvirt.rs:66
↓ 1 callersFunctionlist_gpus
(gpupool: Arc<Mutex<GPUPool>>)
src/cli/mod.rs:1
↓ 1 callersMethodlookup_container
(&self, id: &str)
src/core/docker_manager.rs:46
↓ 1 callersFunctionmacos_has_hypervisor_support
()
src/utils/os.rs:55
↓ 1 callersMethodplatform_specific_devices
Platform-specific device configuration
src/core/vm.rs:125
↓ 1 callersMethodrelease
(&mut self, gpu_id: u32)
src/gpu/virtual_gpu.rs:51
↓ 1 callersFunctionrent_gpu
( gpupool: Arc<Mutex<GPUPool>>, user_manager: Arc<Mutex<UserManager>>, billing: Arc<Mutex<BillingS
src/utils/cli.rs:60
↓ 1 callersMethodrestart_vm
(&self)
src/errors/mod.rs:187
↓ 1 callersMethodrestore_snapshot
(&self)
src/errors/mod.rs:207
↓ 1 callersFunctionshow_status
(gpupool: Arc<Mutex<GPUPool>>)
src/cli/mod.rs:10
↓ 1 callersMethodstart_collection
(&self, docker: &DockerManager, container_id: &str)
src/monitoring/metrics.rs:84
↓ 1 callersFunctionstart_dashboard
( gpupool: Arc<tokio::sync::Mutex<GPUPool>>, users: Arc<tokio::sync::Mutex<UserManager>>, _billing
src/dashboard/mod.rs:9
↓ 1 callersFunctionstart_dashboard
( gpupool: Arc<Mutex<GPUPool>>, users: Arc<Mutex<UserManager>>, billing: Arc<Mutex<BillingSystem>>
src/bin/dashboard.rs:23
↓ 1 callersMethodto_xml
Generate platform-optimized XML configuration
src/core/vm.rs:85
↓ 1 callersMethodunbind_current_driver
(&self, gpu_id: &str)
src/gpu/passthrough.rs:166
↓ 1 callersMethodverify_device_ready
(&self, gpu_id: &str)
src/gpu/passthrough.rs:225
↓ 1 callersMethodverify_memory_bar
(&self, gpu_id: &str)
src/gpu/passthrough.rs:284
↓ 1 callersMethodverify_power_state
(&self, gpu_id: &str)
src/gpu/passthrough.rs:265
↓ 1 callersMethodverify_vm_integrity
(&self)
src/errors/mod.rs:192
↓ 1 callersFunctionwindows_has_hyperv
()
src/utils/os.rs:61
Methodadd_device
(&mut self, device_id: String)
src/gpu/passthrough.rs:330
Methodanalyze_metrics
(&self, metrics: &[ResourceMetrics])
src/monitoring/anomaly_detection.rs:6
Methodapi_quota
(&self)
src/api/middleware/rate_limit.rs:70
Functionattach_gpu
( State(state): State<Arc<AppState>>, Path(container_id): Path<String>, Json(request): Json<Attach
src/api/routes.rs:166
Functionauth_middleware
(mut req: Request<B>, next: Next<B>)
src/api/middleware/auth.rs:12
Methodauth_quota
(&self)
src/api/middleware/rate_limit.rs:78
Methodcalculate_cpu_usage
(cpu_time: u64)
src/monitoring/metrics.rs:141
Methodcheck_iommu_support
()
src/gpu/passthrough.rs:91
Methodcheck_quota
(&self, _user: &str, _config: &VMConfig)
src/core/resource_manager.rs:12
Methodcleanup_old_metrics
(metrics: &mut Vec<ResourceMetrics>, retention_hours: u64)
src/monitoring/metrics.rs:166
Methodcollect_container_metrics
(&mut self, docker: &DockerManager)
src/monitoring/metrics.rs:190
Methodcollect_gpu_metrics
(_container_id: &str)
src/monitoring/metrics.rs:135
Methodcollect_single_container_metrics
(docker: &DockerManager, container_id: &str)
src/monitoring/metrics.rs:117
Functioncreate_basic_vm
Test 1: Basic VM Creation
tests/live_tests.rs:264
Functioncreate_gpu_vm
Test 2: GPU Passthrough Test
tests/live_tests.rs:273
Functioncreate_large_vm
Test 3: Big Scale VM
tests/live_tests.rs:285
Functioncreate_minimal_vm
Test 4: Edge Case - Minimum Resources
tests/live_tests.rs:294
Methodcreate_user
(&mut self, username: &str)
src/users.rs:23
Functioncreate_vm
( State(state): State<Arc<AppState>>, Json(params): Json<CreateVMRequest>, )
src/api/routes.rs:118
Methodcreate_vm
omae wa mou shindeiru (VM creation time!)
src/core/libvirt.rs:23
Methodcurrent
Get current platform as enum variant
src/utils/os.rs:20
Functioncurrent_platform
()
src/utils/os.rs:71
Methoddefault
()
src/gpu/passthrough.rs:398
Methoddefault
()
src/core/vm.rs:231
Methoddefault
()
src/api/middleware/rate_limit.rs:44
Methoddefault
()
src/config/settings.rs:131
Methoddelete_domain
(&self, id: &str)
src/core/libvirt.rs:131
Methoddestroy_vm
(&self, name: &str)
src/core/libvirt.rs:58
Methoddistribute_vm
(&mut self, config: &VMConfig)
src/cluster/mod.rs:6
Methodexecute
(&self, mut operation: F)
src/core/errors/handlers.rs:17
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/gpu/device.rs:623
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/errors/handlers.rs:72
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/errors/mod.rs:101
Methodfmt
(&self, f: &mut fmt::Formatter)
src/api/middleware/rate_limit.rs:111
Methodfrom
(s: &str)
src/gpu/device.rs:429
Methodfrom
(err: std::io::Error)
src/core/errors.rs:22
Methodfrom
(state: u32)
src/core/vm.rs:244
Methodfrom
(_layer: RateLimitLayer)
src/api/middleware/rate_limit.rs:151
Functiongenerate_default_config
()
src/config/settings.rs:165
Methodget_allocated_gpus
(&self, user: &str)
src/gpu/virtual_gpu.rs:59
Methodget_container_metrics
(&self, container_id: &str)
src/monitoring/metrics.rs:211
Methodget_container_stats
(&self, docker: &DockerManager, container_id: &str)
src/monitoring/metrics.rs:202
next →1–100 of 188, ranked by callers