@@ -10,35 +10,36 @@ import (
1010)
1111
1212type  LimaYAML  struct  {
13- 	Base                   BaseTemplates  `yaml:"base,omitempty" json:"base,omitempty"` 
14- 	MinimumLimaVersion     * string        `yaml:"minimumLimaVersion,omitempty" json:"minimumLimaVersion,omitempty" jsonschema:"nullable"` 
15- 	VMType                 * VMType        `yaml:"vmType,omitempty" json:"vmType,omitempty" jsonschema:"nullable"` 
16- 	VMOpts                 VMOpts         `yaml:"vmOpts,omitempty" json:"vmOpts,omitempty"` 
17- 	OS                     * OS            `yaml:"os,omitempty" json:"os,omitempty" jsonschema:"nullable"` 
18- 	Arch                   * Arch          `yaml:"arch,omitempty" json:"arch,omitempty" jsonschema:"nullable"` 
19- 	Images                 []Image        `yaml:"images,omitempty" json:"images,omitempty" jsonschema:"nullable"` 
20- 	CPUType                CPUType        `yaml:"cpuType,omitempty" json:"cpuType,omitempty" jsonschema:"nullable"` 
21- 	CPUs                   * int           `yaml:"cpus,omitempty" json:"cpus,omitempty" jsonschema:"nullable"` 
22- 	Memory                 * string        `yaml:"memory,omitempty" json:"memory,omitempty" jsonschema:"nullable"`  // go-units.RAMInBytes 
23- 	Disk                   * string        `yaml:"disk,omitempty" json:"disk,omitempty" jsonschema:"nullable"`      // go-units.RAMInBytes 
24- 	AdditionalDisks        []Disk         `yaml:"additionalDisks,omitempty" json:"additionalDisks,omitempty" jsonschema:"nullable"` 
25- 	Mounts                 []Mount        `yaml:"mounts,omitempty" json:"mounts,omitempty"` 
26- 	MountTypesUnsupported  []string       `yaml:"mountTypesUnsupported,omitempty" json:"mountTypesUnsupported,omitempty" jsonschema:"nullable"` 
27- 	MountType              * MountType     `yaml:"mountType,omitempty" json:"mountType,omitempty" jsonschema:"nullable"` 
28- 	MountInotify           * bool          `yaml:"mountInotify,omitempty" json:"mountInotify,omitempty" jsonschema:"nullable"` 
29- 	SSH                    SSH            `yaml:"ssh,omitempty" json:"ssh,omitempty"`  // REQUIRED (FIXME) 
30- 	Firmware               Firmware       `yaml:"firmware,omitempty" json:"firmware,omitempty"` 
31- 	Audio                  Audio          `yaml:"audio,omitempty" json:"audio,omitempty"` 
32- 	Video                  Video          `yaml:"video,omitempty" json:"video,omitempty"` 
33- 	Provision              []Provision    `yaml:"provision,omitempty" json:"provision,omitempty"` 
34- 	UpgradePackages        * bool          `yaml:"upgradePackages,omitempty" json:"upgradePackages,omitempty" jsonschema:"nullable"` 
35- 	Containerd             Containerd     `yaml:"containerd,omitempty" json:"containerd,omitempty"` 
36- 	GuestInstallPrefix     * string        `yaml:"guestInstallPrefix,omitempty" json:"guestInstallPrefix,omitempty" jsonschema:"nullable"` 
37- 	Probes                 []Probe        `yaml:"probes,omitempty" json:"probes,omitempty"` 
38- 	PortForwards           []PortForward  `yaml:"portForwards,omitempty" json:"portForwards,omitempty"` 
39- 	CopyToHost             []CopyToHost   `yaml:"copyToHost,omitempty" json:"copyToHost,omitempty"` 
40- 	Message                string         `yaml:"message,omitempty" json:"message,omitempty"` 
41- 	Networks               []Network      `yaml:"networks,omitempty" json:"networks,omitempty" jsonschema:"nullable"` 
13+ 	Labels                 map [string ]string  `yaml:"labels,omitempty" json:"labels,omitempty"` 
14+ 	Base                   BaseTemplates      `yaml:"base,omitempty" json:"base,omitempty"` 
15+ 	MinimumLimaVersion     * string            `yaml:"minimumLimaVersion,omitempty" json:"minimumLimaVersion,omitempty" jsonschema:"nullable"` 
16+ 	VMType                 * VMType            `yaml:"vmType,omitempty" json:"vmType,omitempty" jsonschema:"nullable"` 
17+ 	VMOpts                 VMOpts             `yaml:"vmOpts,omitempty" json:"vmOpts,omitempty"` 
18+ 	OS                     * OS                `yaml:"os,omitempty" json:"os,omitempty" jsonschema:"nullable"` 
19+ 	Arch                   * Arch              `yaml:"arch,omitempty" json:"arch,omitempty" jsonschema:"nullable"` 
20+ 	Images                 []Image            `yaml:"images,omitempty" json:"images,omitempty" jsonschema:"nullable"` 
21+ 	CPUType                CPUType            `yaml:"cpuType,omitempty" json:"cpuType,omitempty" jsonschema:"nullable"` 
22+ 	CPUs                   * int               `yaml:"cpus,omitempty" json:"cpus,omitempty" jsonschema:"nullable"` 
23+ 	Memory                 * string            `yaml:"memory,omitempty" json:"memory,omitempty" jsonschema:"nullable"`  // go-units.RAMInBytes 
24+ 	Disk                   * string            `yaml:"disk,omitempty" json:"disk,omitempty" jsonschema:"nullable"`      // go-units.RAMInBytes 
25+ 	AdditionalDisks        []Disk             `yaml:"additionalDisks,omitempty" json:"additionalDisks,omitempty" jsonschema:"nullable"` 
26+ 	Mounts                 []Mount            `yaml:"mounts,omitempty" json:"mounts,omitempty"` 
27+ 	MountTypesUnsupported  []string           `yaml:"mountTypesUnsupported,omitempty" json:"mountTypesUnsupported,omitempty" jsonschema:"nullable"` 
28+ 	MountType              * MountType         `yaml:"mountType,omitempty" json:"mountType,omitempty" jsonschema:"nullable"` 
29+ 	MountInotify           * bool              `yaml:"mountInotify,omitempty" json:"mountInotify,omitempty" jsonschema:"nullable"` 
30+ 	SSH                    SSH                `yaml:"ssh,omitempty" json:"ssh,omitempty"`  // REQUIRED (FIXME) 
31+ 	Firmware               Firmware           `yaml:"firmware,omitempty" json:"firmware,omitempty"` 
32+ 	Audio                  Audio              `yaml:"audio,omitempty" json:"audio,omitempty"` 
33+ 	Video                  Video              `yaml:"video,omitempty" json:"video,omitempty"` 
34+ 	Provision              []Provision        `yaml:"provision,omitempty" json:"provision,omitempty"` 
35+ 	UpgradePackages        * bool              `yaml:"upgradePackages,omitempty" json:"upgradePackages,omitempty" jsonschema:"nullable"` 
36+ 	Containerd             Containerd         `yaml:"containerd,omitempty" json:"containerd,omitempty"` 
37+ 	GuestInstallPrefix     * string            `yaml:"guestInstallPrefix,omitempty" json:"guestInstallPrefix,omitempty" jsonschema:"nullable"` 
38+ 	Probes                 []Probe            `yaml:"probes,omitempty" json:"probes,omitempty"` 
39+ 	PortForwards           []PortForward      `yaml:"portForwards,omitempty" json:"portForwards,omitempty"` 
40+ 	CopyToHost             []CopyToHost       `yaml:"copyToHost,omitempty" json:"copyToHost,omitempty"` 
41+ 	Message                string             `yaml:"message,omitempty" json:"message,omitempty"` 
42+ 	Networks               []Network          `yaml:"networks,omitempty" json:"networks,omitempty" jsonschema:"nullable"` 
4243	// `network` was deprecated in Lima v0.7.0, removed in Lima v0.14.0. Use `networks` instead. 
4344	Env           map [string ]string  `yaml:"env,omitempty" json:"env,omitempty"` 
4445	Param         map [string ]string  `yaml:"param,omitempty" json:"param,omitempty"` 
0 commit comments