Skip to content

Commit aa5e2fe

Browse files
committed
feat: add VM type constants for QEMU and LXC
- Define central constants for supported VM types to standardize usage across UI components. - Consolidate string literals, reducing duplication and risk of typos while easing future extensions.
1 parent 425d827 commit aa5e2fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/ui/components/vm_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package components
2+
3+
const (
4+
vmTypeQEMU = "qemu"
5+
vmTypeLXC = "lxc"
6+
)

0 commit comments

Comments
 (0)