@@ -7,31 +7,31 @@ import (
7
7
)
8
8
9
9
type LimaYAML struct {
10
- Arch * Arch `yaml:"arch,omitempty" json:"arch,omitempty"`
11
- Images []Image `yaml:"images" json:"images"` // REQUIRED
12
- CPUType map [Arch ]string `yaml:"cpuType,omitempty" json:"cpuType,omitempty"`
13
- CPUs * int `yaml:"cpus,omitempty" json:"cpus,omitempty"`
14
- Memory * string `yaml:"memory,omitempty" json:"memory,omitempty"` // go-units.RAMInBytes
15
- Disk * string `yaml:"disk,omitempty" json:"disk,omitempty"` // go-units.RAMInBytes
16
- Mounts []Mount `yaml:"mounts,omitempty" json:"mounts,omitempty"`
17
- MountType * MountType `yaml:"mountType,omitempty" json:"mountType,omitempty"`
18
- SSH SSH `yaml:"ssh,omitempty" json:"ssh,omitempty"` // REQUIRED (FIXME)
19
- Firmware Firmware `yaml:"firmware,omitempty" json:"firmware,omitempty"`
20
- Video Video `yaml:"video,omitempty" json:"video,omitempty"`
21
- Provision []Provision `yaml:"provision,omitempty" json:"provision,omitempty"`
22
- Containerd Containerd `yaml:"containerd,omitempty" json:"containerd,omitempty"`
23
- Probes []Probe `yaml:"probes,omitempty" json:"probes,omitempty"`
24
- PortForwards []PortForward `yaml:"portForwards,omitempty" json:"portForwards,omitempty"`
25
- Message string `yaml:"message,omitempty" json:"message,omitempty"`
26
- Networks []Network `yaml:"networks,omitempty" json:"networks,omitempty"`
27
- Network NetworkDeprecated `yaml:"network,omitempty" json:"network,omitempty"` // DEPRECATED, use `networks` instead
28
- Env map [string ]string `yaml:"env,omitempty" json:"env,omitempty"`
29
- DNS []net.IP `yaml:"dns,omitempty" json:"dns,omitempty"`
30
- HostResolver HostResolver `yaml:"hostResolver,omitempty" json:"hostResolver,omitempty"`
31
- UseHostResolver * bool `yaml:"useHostResolver,omitempty" json:"useHostResolver,omitempty"` // DEPRECATED, use `HostResolver.Enabled` instead
32
- PropagateProxyEnv * bool `yaml:"propagateProxyEnv,omitempty" json:"propagateProxyEnv,omitempty"`
33
- CACertificates CACertificates `yaml:"caCerts,omitempty" json:"caCerts,omitempty"`
34
- ExtraArchives []File `yaml:"extraArchives ,omitempty" json:"extraArchives ,omitempty"`
10
+ Arch * Arch `yaml:"arch,omitempty" json:"arch,omitempty"`
11
+ Images []Image `yaml:"images" json:"images"` // REQUIRED
12
+ CPUType map [Arch ]string `yaml:"cpuType,omitempty" json:"cpuType,omitempty"`
13
+ CPUs * int `yaml:"cpus,omitempty" json:"cpus,omitempty"`
14
+ Memory * string `yaml:"memory,omitempty" json:"memory,omitempty"` // go-units.RAMInBytes
15
+ Disk * string `yaml:"disk,omitempty" json:"disk,omitempty"` // go-units.RAMInBytes
16
+ Mounts []Mount `yaml:"mounts,omitempty" json:"mounts,omitempty"`
17
+ MountType * MountType `yaml:"mountType,omitempty" json:"mountType,omitempty"`
18
+ SSH SSH `yaml:"ssh,omitempty" json:"ssh,omitempty"` // REQUIRED (FIXME)
19
+ Firmware Firmware `yaml:"firmware,omitempty" json:"firmware,omitempty"`
20
+ Video Video `yaml:"video,omitempty" json:"video,omitempty"`
21
+ Provision []Provision `yaml:"provision,omitempty" json:"provision,omitempty"`
22
+ Containerd Containerd `yaml:"containerd,omitempty" json:"containerd,omitempty"`
23
+ Probes []Probe `yaml:"probes,omitempty" json:"probes,omitempty"`
24
+ PortForwards []PortForward `yaml:"portForwards,omitempty" json:"portForwards,omitempty"`
25
+ Message string `yaml:"message,omitempty" json:"message,omitempty"`
26
+ Networks []Network `yaml:"networks,omitempty" json:"networks,omitempty"`
27
+ Network NetworkDeprecated `yaml:"network,omitempty" json:"network,omitempty"` // DEPRECATED, use `networks` instead
28
+ Env map [string ]string `yaml:"env,omitempty" json:"env,omitempty"`
29
+ DNS []net.IP `yaml:"dns,omitempty" json:"dns,omitempty"`
30
+ HostResolver HostResolver `yaml:"hostResolver,omitempty" json:"hostResolver,omitempty"`
31
+ UseHostResolver * bool `yaml:"useHostResolver,omitempty" json:"useHostResolver,omitempty"` // DEPRECATED, use `HostResolver.Enabled` instead
32
+ PropagateProxyEnv * bool `yaml:"propagateProxyEnv,omitempty" json:"propagateProxyEnv,omitempty"`
33
+ CACertificates CACertificates `yaml:"caCerts,omitempty" json:"caCerts,omitempty"`
34
+ AdditionalArchives []File `yaml:"additionalArchives ,omitempty" json:"additionalArchives ,omitempty"`
35
35
}
36
36
37
37
type Arch = string
0 commit comments