-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
schema_swagger_generated.go
508 lines (444 loc) · 27.1 KB
/
schema_swagger_generated.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
// Code generated by swagger-doc. DO NOT EDIT.
package v1
func (HostDisk) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents a disk created on the cluster level",
"path": "The path to HostDisk image located on the cluster",
"type": "Contains information if disk.img exists or should be created\nallowed options are 'Disk' and 'DiskOrCreate'",
"capacity": "Capacity of the sparse disk\n+optional",
"shared": "Shared indicate whether the path is shared between nodes",
}
}
func (ConfigMapVolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "ConfigMapVolumeSource adapts a ConfigMap into a volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes/#configmap",
"optional": "Specify whether the ConfigMap or it's keys must be defined\n+optional",
}
}
func (SecretVolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "SecretVolumeSource adapts a Secret into a volume.",
"secretName": "Name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret\n+optional",
"optional": "Specify whether the Secret or it's keys must be defined\n+optional",
}
}
func (ServiceAccountVolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "ServiceAccountVolumeSource adapts a ServiceAccount into a volume.",
"serviceAccountName": "Name of the service account in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
}
}
func (CloudInitNoCloudSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents a cloud-init nocloud user data source.\nMore info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html",
"secretRef": "UserDataSecretRef references a k8s secret that contains NoCloud userdata.\n+ optional",
"userDataBase64": "UserDataBase64 contains NoCloud cloud-init userdata as a base64 encoded string.\n+ optional",
"userData": "UserData contains NoCloud inline cloud-init userdata.\n+ optional",
"networkDataSecretRef": "NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata.\n+ optional",
"networkDataBase64": "NetworkDataBase64 contains NoCloud cloud-init networkdata as a base64 encoded string.\n+ optional",
"networkData": "NetworkData contains NoCloud inline cloud-init networkdata.\n+ optional",
}
}
func (DomainSpec) SwaggerDoc() map[string]string {
return map[string]string{
"resources": "Resources describes the Compute Resources required by this vmi.",
"cpu": "CPU allow specified the detailed CPU topology inside the vmi.\n+optional",
"memory": "Memory allow specifying the VMI memory features.\n+optional",
"machine": "Machine type.\n+optional",
"firmware": "Firmware.\n+optional",
"clock": "Clock sets the clock and timers of the vmi.\n+optional",
"features": "Features like acpi, apic, hyperv, smm.\n+optional",
"devices": "Devices allows adding disks, network interfaces, ...",
"ioThreadsPolicy": "Controls whether or not disks will share IOThreads.\nOmitting IOThreadsPolicy disables use of IOThreads.\nOne of: shared, auto\n+optional",
}
}
func (Bootloader) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the firmware blob used to assist in the domain creation process.\nUsed for setting the QEMU BIOS file path for the libvirt domain.",
"bios": "If set (default), BIOS will be used.\n+optional",
"efi": "If set, EFI will be used instead of BIOS.\n+optional",
}
}
func (BIOS) SwaggerDoc() map[string]string {
return map[string]string{
"": "If set (default), BIOS will be used.",
}
}
func (EFI) SwaggerDoc() map[string]string {
return map[string]string{
"": "If set, EFI will be used instead of BIOS.",
}
}
func (ResourceRequirements) SwaggerDoc() map[string]string {
return map[string]string{
"requests": "Requests is a description of the initial vmi resources.\nValid resource keys are \"memory\" and \"cpu\".\n+optional",
"limits": "Limits describes the maximum amount of compute resources allowed.\nValid resource keys are \"memory\" and \"cpu\".\n+optional",
"overcommitGuestOverhead": "Don't ask the scheduler to take the guest-management overhead into account. Instead\nput the overhead only into the requested memory limits. This can lead to crashes if\nall memory is in use on a node. Defaults to false.",
}
}
func (CPU) SwaggerDoc() map[string]string {
return map[string]string{
"": "CPU allows specifying the CPU topology.",
"cores": "Cores specifies the number of cores inside the vmi.\nMust be a value greater or equal 1.",
"sockets": "Sockets specifies the number of sockets inside the vmi.\nMust be a value greater or equal 1.",
"threads": "Threads specifies the number of threads inside the vmi.\nMust be a value greater or equal 1.",
"model": "Model specifies the CPU model inside the VMI.\nList of available models https://github.com/libvirt/libvirt/blob/master/src/cpu/cpu_map.xml.\nIt is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node\nand \"host-model\" to get CPU closest to the node one.\nDefaults to host-model.\n+optional",
"features": "Features specifies the CPU features list inside the VMI.\n+optional",
"dedicatedCpuPlacement": "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node\nwith enough dedicated pCPUs and pin the vCPUs to it.\n+optional",
}
}
func (CPUFeature) SwaggerDoc() map[string]string {
return map[string]string{
"": "CPUFeature allows specifying a CPU feature.",
"name": "Name of the CPU feature",
"policy": "Policy is the CPU feature attribute which can have the following attributes:\nforce - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU.\nrequire - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it.\noptional - The feature will be supported by virtual CPU if and only if it is supported by host CPU.\ndisable - The feature will not be supported by virtual CPU.\nforbid - Guest creation will fail if the feature is supported by host CPU.\nDefaults to require\n+optional",
}
}
func (Memory) SwaggerDoc() map[string]string {
return map[string]string{
"": "Memory allows specifying the VirtualMachineInstance memory features.",
"hugepages": "Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.\n+optional",
"guest": "Guest allows to specifying the amount of memory which is visible inside the Guest OS.\nThe Guest must lie between Requests and Limits from the resources section.\nDefaults to the requested memory in the resources section if not specified.\n+ optional",
}
}
func (Hugepages) SwaggerDoc() map[string]string {
return map[string]string{
"": "Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.",
"pageSize": "PageSize specifies the hugepage size, for x86_64 architecture valid values are 1Gi and 2Mi.",
}
}
func (Machine) SwaggerDoc() map[string]string {
return map[string]string{
"type": "QEMU machine type is the actual chipset of the VirtualMachineInstance.",
}
}
func (Firmware) SwaggerDoc() map[string]string {
return map[string]string{
"uuid": "UUID reported by the vmi bios.\nDefaults to a random generated uid.",
"bootloader": "Settings to control the bootloader that is used.\n+optional",
"serial": "The system-serial-number in SMBIOS",
}
}
func (Devices) SwaggerDoc() map[string]string {
return map[string]string{
"disks": "Disks describes disks, cdroms, floppy and luns which are connected to the vmi.",
"watchdog": "Watchdog describes a watchdog device which can be added to the vmi.",
"interfaces": "Interfaces describe network interfaces which are added to the vmi.",
"inputs": "Inputs describe input devices",
"autoattachPodInterface": "Whether to attach a pod network interface. Defaults to true.",
"autoattachGraphicsDevice": "Whether to attach the default graphics device or not.\nVNC will not be available if set to false. Defaults to true.",
"rng": "Whether to have random number generator from host\n+optional",
"blockMultiQueue": "Whether or not to enable virtio multi-queue for block devices\n+optional",
"networkInterfaceMultiqueue": "If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature\n+optional",
}
}
func (Input) SwaggerDoc() map[string]string {
return map[string]string{
"bus": "Bus indicates the bus of input device to emulate.\nSupported values: virtio, usb.",
"type": "Type indicated the type of input device.\nSupported values: tablet.",
"name": "Name is the device name",
}
}
func (Disk) SwaggerDoc() map[string]string {
return map[string]string{
"name": "Name is the device name",
"bootOrder": "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach disk or interface that has a boot order must have a unique value.\nDisks without a boot order are not tried if a disk with a boot order exists.\n+optional",
"serial": "Serial provides the ability to specify a serial number for the disk device.\n+optional",
"dedicatedIOThread": "dedicatedIOThread indicates this disk should have an exclusive IO Thread.\nEnabling this implies useIOThreads = true.\nDefaults to false.\n+optional",
"cache": "Cache specifies which kvm disk cache mode should be used.\n+optional",
}
}
func (DiskDevice) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the target of a volume to mount.\nOnly one of its members may be specified.",
"disk": "Attach a volume as a disk to the vmi.",
"lun": "Attach a volume as a LUN to the vmi.",
"floppy": "Attach a volume as a floppy to the vmi.",
"cdrom": "Attach a volume as a cdrom to the vmi.",
}
}
func (DiskTarget) SwaggerDoc() map[string]string {
return map[string]string{
"bus": "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi.",
"readonly": "ReadOnly.\nDefaults to false.",
"pciAddress": "If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10\n+optional",
}
}
func (LunTarget) SwaggerDoc() map[string]string {
return map[string]string{
"bus": "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi.",
"readonly": "ReadOnly.\nDefaults to false.",
}
}
func (FloppyTarget) SwaggerDoc() map[string]string {
return map[string]string{
"readonly": "ReadOnly.\nDefaults to false.",
"tray": "Tray indicates if the tray of the device is open or closed.\nAllowed values are \"open\" and \"closed\".\nDefaults to closed.\n+optional",
}
}
func (CDRomTarget) SwaggerDoc() map[string]string {
return map[string]string{
"bus": "Bus indicates the type of disk device to emulate.\nsupported values: virtio, sata, scsi.",
"readonly": "ReadOnly.\nDefaults to true.",
"tray": "Tray indicates if the tray of the device is open or closed.\nAllowed values are \"open\" and \"closed\".\nDefaults to closed.\n+optional",
}
}
func (Volume) SwaggerDoc() map[string]string {
return map[string]string{
"": "Volume represents a named volume in a vmi.",
"name": "Volume's name.\nMust be a DNS_LABEL and unique within the vmi.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
}
}
func (VolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the source of a volume to mount.\nOnly one of its members may be specified.",
"hostDisk": "HostDisk represents a disk created on the cluster level\n+optional",
"persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional",
"cloudInitNoCloud": "CloudInitNoCloud represents a cloud-init NoCloud user-data source.\nThe NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest.\nMore info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html\n+optional",
"containerDisk": "ContainerDisk references a docker image, embedding a qcow or raw disk.\nMore info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html\n+optional",
"ephemeral": "Ephemeral is a special volume source that \"wraps\" specified source and provides copy-on-write image on top of it.\n+optional",
"emptyDisk": "EmptyDisk represents a temporary disk which shares the vmis lifecycle.\nMore info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html\n+optional",
"dataVolume": "DataVolume represents the dynamic creation a PVC for this volume as well as\nthe process of populating that PVC with a disk image.\n+optional",
"configMap": "ConfigMapSource represents a reference to a ConfigMap in the same namespace.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/\n+optional",
"secret": "SecretVolumeSource represents a reference to a secret data in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/configuration/secret/\n+optional",
"serviceAccount": "ServiceAccountVolumeSource represents a reference to a service account.\nThere can only be one volume of this type!\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\n+optional",
}
}
func (DataVolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"name": "Name represents the name of the DataVolume in the same namespace",
}
}
func (EphemeralVolumeSource) SwaggerDoc() map[string]string {
return map[string]string{
"persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.\nDirectly attached to the vmi via qemu.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional",
}
}
func (EmptyDiskSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "EmptyDisk represents a temporary disk which shares the vmis lifecycle.",
"capacity": "Capacity of the sparse disk.",
}
}
func (ContainerDiskSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents a docker image with an embedded disk.",
"image": "Image is the name of the image with the embedded disk.",
"imagePullSecret": "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist.",
"path": "Path defines the path to disk file in the container",
}
}
func (ClockOffset) SwaggerDoc() map[string]string {
return map[string]string{
"": "Exactly one of its members must be set.",
"utc": "UTC sets the guest clock to UTC on each boot. If an offset is specified,\nguest changes to the clock will be kept during reboots and are not reset.",
"timezone": "Timezone sets the guest clock to the specified timezone.\nZone name follows the TZ environment variable format (e.g. 'America/New_York').",
}
}
func (ClockOffsetUTC) SwaggerDoc() map[string]string {
return map[string]string{
"": "UTC sets the guest clock to UTC on each boot.",
"offsetSeconds": "OffsetSeconds specifies an offset in seconds, relative to UTC. If set,\nguest changes to the clock will be kept during reboots and not reset.",
}
}
func (Clock) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the clock and timers of a vmi.",
"timer": "Timer specifies whih timers are attached to the vmi.",
}
}
func (Timer) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents all available timers in a vmi.",
"hpet": "HPET (High Precision Event Timer) - multiple timers with periodic interrupts.",
"kvm": "KVM \t(KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests.",
"pit": "PIT (Programmable Interval Timer) - a timer with periodic interrupts.",
"rtc": "RTC (Real Time Clock) - a continuously running timer with periodic interrupts.",
"hyperv": "Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests.",
}
}
func (RTCTimer) SwaggerDoc() map[string]string {
return map[string]string{
"tickPolicy": "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\".",
"present": "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true.\n+optional",
"track": "Track the guest or the wall clock.",
}
}
func (HPETTimer) SwaggerDoc() map[string]string {
return map[string]string{
"tickPolicy": "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"merge\", \"discard\".",
"present": "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true.\n+optional",
}
}
func (PITTimer) SwaggerDoc() map[string]string {
return map[string]string{
"tickPolicy": "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.\nOne of \"delay\", \"catchup\", \"discard\".",
"present": "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true.\n+optional",
}
}
func (KVMTimer) SwaggerDoc() map[string]string {
return map[string]string{
"present": "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true.\n+optional",
}
}
func (HypervTimer) SwaggerDoc() map[string]string {
return map[string]string{
"present": "Enabled set to false makes sure that the machine type or a preset can't add the timer.\nDefaults to true.\n+optional",
}
}
func (Features) SwaggerDoc() map[string]string {
return map[string]string{
"acpi": "ACPI enables/disables ACPI insidejsondata guest.\nDefaults to enabled.\n+optional",
"apic": "Defaults to the machine type setting.\n+optional",
"hyperv": "Defaults to the machine type setting.\n+optional",
"smm": "SMM enables/disables System Management Mode.\nTSEG not yet implemented.\n+optional",
}
}
func (FeatureState) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents if a feature is enabled or disabled.",
"enabled": "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true.\n+optional",
}
}
func (FeatureAPIC) SwaggerDoc() map[string]string {
return map[string]string{
"enabled": "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true.\n+optional",
"endOfInterrupt": "EndOfInterrupt enables the end of interrupt notification in the guest.\nDefaults to false.\n+optional",
}
}
func (FeatureSpinlocks) SwaggerDoc() map[string]string {
return map[string]string{
"enabled": "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true.\n+optional",
"spinlocks": "Retries indicates the number of retries.\nMust be a value greater or equal 4096.\nDefaults to 4096.\n+optional",
}
}
func (FeatureVendorID) SwaggerDoc() map[string]string {
return map[string]string{
"enabled": "Enabled determines if the feature should be enabled or disabled on the guest.\nDefaults to true.\n+optional",
"vendorid": "VendorID sets the hypervisor vendor id, visible to the vmi.\nString up to twelve characters.",
}
}
func (FeatureHyperv) SwaggerDoc() map[string]string {
return map[string]string{
"": "Hyperv specific features.",
"relaxed": "Relaxed relaxes constraints on timer.\nDefaults to the machine type setting.\n+optional",
"vapic": "VAPIC indicates whether virtual APIC is enabled.\nDefaults to the machine type setting.\n+optional",
"spinlocks": "Spinlocks indicates if spinlocks should be made available to the guest.\n+optional",
"vpindex": "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors.\nDefaults to the machine type setting.\n+optional",
"runtime": "Runtime.\nDefaults to the machine type setting.\n+optional",
"synic": "SyNIC enable Synthetic Interrupt Controller.\nDefaults to the machine type setting.\n+optional",
"synictimer": "SyNICTimer enable Synthetic Interrupt Controller timer.\nDefaults to the machine type setting.\n+optional",
"reset": "Reset enables Hyperv reboot/reset for the vmi. Requires synic.\nDefaults to the machine type setting.\n+optional",
"vendorid": "VendorID allows setting the hypervisor vendor id.\nDefaults to the machine type setting.\n+optional",
"frequencies": "Frequencies improve Hyper-V on KVM (TSC clock source).\nDefaults to the machine type setting.\n+optional",
"reenlightenment": "Reenlightenment improve Hyper-V on KVM (TSC clock source).\nDefaults to the machine type setting.\n+optional",
"tlbflush": "TLBFlush improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting.\n+optional",
"ipi": "IPI improves performances in overcommited environments. Requires vpindex.\nDefaults to the machine type setting.\n+optional",
"evmcs": "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic.\nDefaults to the machine type setting.\n+optional",
}
}
func (Watchdog) SwaggerDoc() map[string]string {
return map[string]string{
"": "Named watchdog device.",
"name": "Name of the watchdog.",
}
}
func (WatchdogDevice) SwaggerDoc() map[string]string {
return map[string]string{
"": "Hardware watchdog device.\nExactly one of its members must be set.",
"i6300esb": "i6300esb watchdog device.\n+optional",
}
}
func (I6300ESBWatchdog) SwaggerDoc() map[string]string {
return map[string]string{
"": "i6300esb watchdog device.",
"action": "The action to take. Valid values are poweroff, reset, shutdown.\nDefaults to reset.",
}
}
func (Interface) SwaggerDoc() map[string]string {
return map[string]string{
"name": "Logical name of the interface as well as a reference to the associated networks.\nMust match the Name of a Network.",
"model": "Interface model.\nOne of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio.\nDefaults to virtio.",
"ports": "List of ports to be forwarded to the virtual machine.",
"macAddress": "Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF.",
"bootOrder": "BootOrder is an integer value > 0, used to determine ordering of boot devices.\nLower values take precedence.\nEach interface or disk that has a boot order must have a unique value.\nInterfaces without a boot order are not tried.\n+optional",
"pciAddress": "If specified, the virtual network interface will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10\n+optional",
"dhcpOptions": "If specified the network interface will pass additional DHCP options to the VMI\n+optional",
}
}
func (DHCPOptions) SwaggerDoc() map[string]string {
return map[string]string{
"": "Extra DHCP options to use in the interface.",
"bootFileName": "If specified will pass option 67 to interface's DHCP server\n+optional",
"tftpServerName": "If specified will pass option 66 to interface's DHCP server\n+optional",
"ntpServers": "If specified will pass the configured NTP server to the VM via DHCP option 042.\n+optional",
"privateOptions": "If specified will pass extra DHCP options for private use, range: 224-254\n+optional",
}
}
func (DHCPPrivateOptions) SwaggerDoc() map[string]string {
return map[string]string{
"": "DHCPExtraOptions defines Extra DHCP options for a VM.",
"option": "Option is an Integer value from 224-254\nRequired.",
"value": "Value is a String value for the Option provided\nRequired.",
}
}
func (InterfaceBindingMethod) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the method which will be used to connect the interface to the guest.\nOnly one of its members may be specified.",
}
}
func (InterfaceBridge) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (InterfaceSlirp) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (InterfaceMasquerade) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (InterfaceSRIOV) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (Port) SwaggerDoc() map[string]string {
return map[string]string{
"": "Port repesents a port to expose from the virtual machine.\nDefault protocol TCP.\nThe port field is mandatory",
"name": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.\n+optional",
"protocol": "Protocol for port. Must be UDP or TCP.\nDefaults to \"TCP\".\n+optional",
"port": "Number of port to expose for the virtual machine.\nThis must be a valid port number, 0 < x < 65536.",
}
}
func (Network) SwaggerDoc() map[string]string {
return map[string]string{
"": "Network represents a network type and a resource that should be connected to the vm.",
"name": "Network name.\nMust be a DNS_LABEL and unique within the vm.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
}
}
func (NetworkSource) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the source resource that will be connected to the vm.\nOnly one of its members may be specified.",
}
}
func (PodNetwork) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the stock pod network interface.",
"vmNetworkCIDR": "CIDR for vm network.\nDefault 10.0.2.0/24 if not specified.",
}
}
func (Rng) SwaggerDoc() map[string]string {
return map[string]string{
"": "Rng represents the random device passed from host",
}
}
func (GenieNetwork) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the genie cni network.",
"networkName": "References the CNI plugin name.",
}
}
func (MultusNetwork) SwaggerDoc() map[string]string {
return map[string]string{
"": "Represents the multus cni network.",
"networkName": "References to a NetworkAttachmentDefinition CRD object. Format:\n<networkName>, <namespace>/<networkName>. If namespace is not\nspecified, VMI namespace is assumed.",
"default": "Select the default network and add it to the\nmultus-cni.io/default-network annotation.",
}
}