/
validate.go
30 lines (29 loc) · 1011 Bytes
/
validate.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package image
const (
// ExtImg is a constant for the .img extenstion
ExtImg = ".img"
// ExtIso is a constant for the .iso extenstion
ExtIso = ".iso"
// ExtGz is a constant for the .gz extenstion
ExtGz = ".gz"
// ExtQcow2 is a constant for the .qcow2 extenstion
ExtQcow2 = ".qcow2"
// ExtVmdk is a constant for the .vmdk VMware extenstion
ExtVmdk = ".vmdk"
// ExtVdi is a constant for the .vdi VirtualBox extenstion
ExtVdi = ".vdi"
// ExtVhd is a constant for the .vhd Microsoft Virtual Server Virtual Hard Disk extenstion
ExtVhd = ".vhd"
// ExtVhdx is a constant for the .vhd Hyper-V Virtual Hard Disk V.2 extenstion
ExtVhdx = ".vhdx"
// ExtTar is a constant for the .tar extenstion
ExtTar = ".tar"
// ExtXz is a constant for the .xz extenstion
ExtXz = ".xz"
// ExtZst is a constant for the .zst extenstion
ExtZst = ".zst"
// ExtTarXz is a constant for the .tar.xz extenstion
ExtTarXz = ExtTar + ExtXz
// ExtTarGz is a constant for the .tar.gz extenstion
ExtTarGz = ExtTar + ExtGz
)