MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / showDeployDialog

Function showDeployDialog

vmm/ui/src/composables/useVmManager.ts:849–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

847 });
848
849 function showDeployDialog() {
850 showCreateDialog.value = true;
851 vmForm.value.encryptedEnvs = [];
852 vmForm.value.app_id = null;
853 vmForm.value.swapValue = 0;
854 vmForm.value.swapUnit = 'GB';
855 vmForm.value.swap_size = 0;
856 loadGpus();
857 }
858
859 async function showUpdateDialog(vm: VmListItem) {
860 const detailedVm = await ensureVmDetails(vm);

Callers

nothing calls this directly

Calls 1

loadGpusFunction · 0.85

Tested by

no test coverage detected