/
types_swagger_generated.go
275 lines (239 loc) · 15.4 KB
/
types_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
// Code generated by swagger-doc. DO NOT EDIT.
package v1
func (VirtualMachineInstance) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.",
"spec": "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
"status": "Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.",
}
}
func (VirtualMachineInstanceList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceList is a list of VirtualMachines",
}
}
func (VirtualMachineInstanceSpec) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceSpec is a description of a VirtualMachineInstance.",
"domain": "Specification of the desired behavior of the VirtualMachineInstance on the host.",
"nodeSelector": "NodeSelector is a selector which must be true for the vmi to fit on a node.\nSelector which must match a node's labels for the vmi to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n+optional",
"affinity": "If affinity is specifies, obey all the affinity rules",
"tolerations": "If toleration is specified, obey all the toleration rules.",
"evictionStrategy": "EvictionStrategy can be set to \"LiveMigrate\" if the VirtualMachineInstance should be\nmigrated instead of shut-off in case of a node drain.",
"terminationGracePeriodSeconds": "Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.",
"volumes": "List of volumes that can be mounted by disks belonging to the vmi.",
"livenessProbe": "Periodic probe of VirtualMachineInstance liveness.\nVirtualmachineInstances will be stopped if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional",
"readinessProbe": "Periodic probe of VirtualMachineInstance service readiness.\nVirtualmachineInstances will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional",
"hostname": "Specifies the hostname of the vmi\nIf not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly.\n+optional",
"subdomain": "If specified, the fully qualified vmi hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\".\nIf not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi,\nno matter if the vmi itself can pick up a hostname.\n+optional",
"networks": "List of networks that can be attached to a vm's virtual interface.",
"dnsPolicy": "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'.\n+optional",
"dnsConfig": "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy.\n+optional",
}
}
func (VirtualMachineInstanceStatus) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceStatus represents information about the status of a VirtualMachineInstance. Status may trail the actual\nstate of a system.",
"nodeName": "NodeName is the name where the VirtualMachineInstance is currently running.",
"reason": "A brief CamelCase message indicating details about why the VMI is in this state. e.g. 'NodeUnresponsive'\n+optional",
"conditions": "Conditions are specific points in VirtualMachineInstance's pod runtime.",
"phase": "Phase is the status of the VirtualMachineInstance in kubernetes world. It is not the VirtualMachineInstance status, but partially correlates to it.",
"interfaces": "Interfaces represent the details of available network interfaces.",
"migrationState": "Represents the status of a live migration",
"migrationMethod": "Represents the method using which the vmi can be migrated: live migration or block migration",
}
}
func (VirtualMachineInstanceCondition) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (VirtualMachineInstanceMigrationCondition) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (VirtualMachineInstanceNetworkInterface) SwaggerDoc() map[string]string {
return map[string]string{
"ipAddress": "IP address of a Virtual Machine interface",
"mac": "Hardware address of a Virtual Machine interface",
"name": "Name of the interface, corresponds to name of the network assigned to the interface",
"ipAddresses": "List of all IP addresses of a Virtual Machine interface",
"interfaceName": "The interface name inside the Virtual Machine",
}
}
func (VirtualMachineInstanceMigrationState) SwaggerDoc() map[string]string {
return map[string]string{
"startTimestamp": "The time the migration action began",
"endTimestamp": "The time the migration action ended",
"targetNodeDomainDetected": "The Target Node has seen the Domain Start Event",
"targetNodeAddress": "The address of the target node to use for the migration",
"targetDirectMigrationNodePorts": "The list of ports opened for live migration on the destination node",
"targetNode": "The target node that the VMI is moving to",
"targetPod": "The target pod that the VMI is moving to",
"sourceNode": "The source node that the VMI originated on",
"completed": "Indicates the migration completed",
"failed": "Indicates that the migration failed",
"abortRequested": "Indicates that the migration has been requested to abort",
"abortStatus": "Indicates the final status of the live migration abortion",
"migrationUid": "The VirtualMachineInstanceMigration object associated with this migration",
}
}
func (VMISelector) SwaggerDoc() map[string]string {
return map[string]string{
"name": "Name of the VirtualMachineInstance to migrate",
}
}
func (VirtualMachineInstanceReplicaSet) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.",
"spec": "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
"status": "Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.",
}
}
func (VirtualMachineInstanceReplicaSetList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VMIList is a list of VMIs",
}
}
func (VirtualMachineInstanceReplicaSetSpec) SwaggerDoc() map[string]string {
return map[string]string{
"replicas": "Number of desired pods. This is a pointer to distinguish between explicit\nzero and not specified. Defaults to 1.\n+optional",
"selector": "Label selector for pods. Existing ReplicaSets whose pods are\nselected by this will be the ones affected by this deployment.",
"template": "Template describes the pods that will be created.",
"paused": "Indicates that the replica set is paused.\n+optional",
}
}
func (VirtualMachineInstanceReplicaSetStatus) SwaggerDoc() map[string]string {
return map[string]string{
"replicas": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).\n+optional",
"readyReplicas": "The number of ready replicas for this replica set.\n+optional",
"labelSelector": "Canonical form of the label selector for HPA which consumes it through the scale subresource.",
}
}
func (VirtualMachineInstanceReplicaSetCondition) SwaggerDoc() map[string]string {
return map[string]string{}
}
func (VirtualMachineInstanceTemplateSpec) SwaggerDoc() map[string]string {
return map[string]string{
"spec": "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
}
}
func (VirtualMachineInstanceMigration) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceMigration represents the object tracking a VMI's migration\nto another host in the cluster",
}
}
func (VirtualMachineInstanceMigrationList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceMigrationList is a list of VirtualMachineMigrations",
}
}
func (VirtualMachineInstanceMigrationSpec) SwaggerDoc() map[string]string {
return map[string]string{
"vmiName": "The name of the VMI to perform the migration on. VMI must exist in the migration objects namespace",
}
}
func (VirtualMachineInstanceMigrationStatus) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstanceMigration reprents information pertaining to a VMI's migration.",
}
}
func (VirtualMachineInstancePreset) SwaggerDoc() map[string]string {
return map[string]string{
"spec": "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
}
}
func (VirtualMachineInstancePresetList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineInstancePresetList is a list of VirtualMachinePresets",
}
}
func (VirtualMachineInstancePresetSpec) SwaggerDoc() map[string]string {
return map[string]string{
"selector": "Selector is a label query over a set of VMIs.\nRequired.",
"domain": "Domain is the same object type as contained in VirtualMachineInstanceSpec",
}
}
func (VirtualMachine) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachine handles the VirtualMachines that are not running\nor are in a stopped state\nThe VirtualMachine contains the template to create the\nVirtualMachineInstance. It also mirrors the running state of the created\nVirtualMachineInstance in its status.",
"spec": "Spec contains the specification of VirtualMachineInstance created",
"status": "Status holds the current state of the controller and brief information\nabout its associated VirtualMachineInstance",
}
}
func (VirtualMachineList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineList is a list of virtualmachines",
"items": "Items is a list of VirtualMachines",
}
}
func (VirtualMachineSpec) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineSpec describes how the proper VirtualMachine\nshould look like",
"running": "Running controls whether the associatied VirtualMachineInstance is created or not\nMutually exclusive with RunStrategy",
"runStrategy": "Running state indicates the requested running state of the VirtualMachineInstance\nmutually exclusive with Running",
"template": "Template is the direct specification of VirtualMachineInstance",
"dataVolumeTemplates": "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.\nDataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle.",
}
}
func (VirtualMachineStatus) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineStatus represents the status returned by the\ncontroller to describe how the VirtualMachine is doing",
"created": "Created indicates if the virtual machine is created in the cluster",
"ready": "Ready indicates if the virtual machine is running and ready",
"conditions": "Hold the state information of the VirtualMachine and its VirtualMachineInstance",
"stateChangeRequests": "StateChangeRequests indicates a list of actions that should be taken on a VMI\ne.g. stop a specific VMI then start a new one.",
}
}
func (VirtualMachineStateChangeRequest) SwaggerDoc() map[string]string {
return map[string]string{
"action": "Indicates the type of action that is requested. e.g. Start or Stop",
"uid": "Indicates the UUID of an existing Virtual Machine Instance that this change request applies to -- if applicable",
}
}
func (VirtualMachineCondition) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineCondition represents the state of VirtualMachine",
}
}
func (Handler) SwaggerDoc() map[string]string {
return map[string]string{
"": "Handler defines a specific action that should be taken",
"httpGet": "HTTPGet specifies the http request to perform.\n+optional",
"tcpSocket": "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\n+optional",
}
}
func (Probe) SwaggerDoc() map[string]string {
return map[string]string{
"": "Probe describes a health check to be performed against a VirtualMachineInstance to determine whether it is\nalive or ready to receive traffic.",
"initialDelaySeconds": "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional",
"timeoutSeconds": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional",
"periodSeconds": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.\n+optional",
"successThreshold": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness. Minimum value is 1.\n+optional",
"failureThreshold": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.\n+optional",
}
}
func (KubeVirt) SwaggerDoc() map[string]string {
return map[string]string{
"": "KubeVirt represents the object deploying all KubeVirt resources",
}
}
func (KubeVirtList) SwaggerDoc() map[string]string {
return map[string]string{
"": "KubeVirtList is a list of KubeVirts",
}
}
func (KubeVirtSpec) SwaggerDoc() map[string]string {
return map[string]string{
"imageTag": "The image tag to use for the continer images installed.\nDefaults to the same tag as the operator's container image.",
"imageRegistry": "The image registry to pull the container images from\nDefaults to the same registry the operator's container image is pulled from.",
"imagePullPolicy": "The ImagePullPolicy to use.",
}
}
func (KubeVirtStatus) SwaggerDoc() map[string]string {
return map[string]string{
"": "KubeVirtStatus represents information pertaining to a KubeVirt deployment.",
}
}
func (KubeVirtCondition) SwaggerDoc() map[string]string {
return map[string]string{
"": "KubeVirtCondition represents a condition of a KubeVirt deployment",
}
}