@kubevirt-ui-ext/kubevirt-api 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/console/index.cjs +1 -1
- package/dist/console/index.cjs.map +1 -1
- package/dist/console/index.d.cts +17 -1
- package/dist/console/index.d.ts +17 -1
- package/dist/console/index.js +1 -1
- package/dist/console/index.js.map +1 -1
- package/dist/virt-template/index.cjs +2 -0
- package/dist/virt-template/index.cjs.map +1 -0
- package/dist/virt-template/index.d.cts +687 -0
- package/dist/virt-template/index.d.ts +687 -0
- package/dist/virt-template/index.js +1 -0
- package/dist/virt-template/index.js.map +1 -0
- package/package.json +17 -5
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
* Contact Email:
|
|
7
|
+
* License:
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
10
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Condition contains details for one aspect of the current state of this API Resource.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
interface V1alpha1VirtualMachineTemplateRequestStatusConditions {
|
|
18
|
+
/** lastTransitionTime
|
|
19
|
+
* lastTransitionTime is the last time the condition transitioned from one status to another.
|
|
20
|
+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
|
21
|
+
*
|
|
22
|
+
* @required {true}
|
|
23
|
+
* @format {date-time}
|
|
24
|
+
*/
|
|
25
|
+
lastTransitionTime: string;
|
|
26
|
+
/** message
|
|
27
|
+
* message is a human readable message indicating details about the transition.
|
|
28
|
+
This may be an empty string.
|
|
29
|
+
*
|
|
30
|
+
* @required {true}
|
|
31
|
+
*/
|
|
32
|
+
message: string;
|
|
33
|
+
/** observedGeneration
|
|
34
|
+
* observedGeneration represents the .metadata.generation that the condition was set based upon.
|
|
35
|
+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
|
36
|
+
with respect to the current state of the instance.
|
|
37
|
+
*
|
|
38
|
+
* @required {false}
|
|
39
|
+
* @format {int64}
|
|
40
|
+
* @originalType {integer}
|
|
41
|
+
*/
|
|
42
|
+
observedGeneration?: number;
|
|
43
|
+
/** reason
|
|
44
|
+
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
|
45
|
+
Producers of specific condition types may define expected values and meanings for this field,
|
|
46
|
+
and whether the values are considered a guaranteed API.
|
|
47
|
+
The value should be a CamelCase string.
|
|
48
|
+
This field may not be empty.
|
|
49
|
+
*
|
|
50
|
+
* @required {true}
|
|
51
|
+
* @pattern {^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$}
|
|
52
|
+
*/
|
|
53
|
+
reason: string;
|
|
54
|
+
/** status
|
|
55
|
+
* status of the condition, one of True, False, Unknown.
|
|
56
|
+
*
|
|
57
|
+
* @required {true}
|
|
58
|
+
* @originalType {string}
|
|
59
|
+
*/
|
|
60
|
+
status: 'True' | 'False' | 'Unknown';
|
|
61
|
+
/** type
|
|
62
|
+
* type of condition in CamelCase or in foo.example.com/CamelCase.
|
|
63
|
+
*
|
|
64
|
+
* @required {true}
|
|
65
|
+
*/
|
|
66
|
+
type: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* The version of the OpenAPI document:
|
|
74
|
+
* Contact Email:
|
|
75
|
+
* License:
|
|
76
|
+
*
|
|
77
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
78
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* TemplateRef is a reference to the created VirtualMachineTemplate.
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
interface V1alpha1VirtualMachineTemplateRequestStatusTemplateRef {
|
|
86
|
+
/** name
|
|
87
|
+
* Name of the referent.
|
|
88
|
+
This field is effectively required, but due to backwards compatibility is
|
|
89
|
+
allowed to be empty. Instances of this type with an empty value here are
|
|
90
|
+
almost certainly wrong.
|
|
91
|
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
92
|
+
*
|
|
93
|
+
* @required {false}
|
|
94
|
+
* @required {}
|
|
95
|
+
*/
|
|
96
|
+
name?: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* The version of the OpenAPI document:
|
|
104
|
+
* Contact Email:
|
|
105
|
+
* License:
|
|
106
|
+
*
|
|
107
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
108
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Status defines the observed state of the template request
|
|
113
|
+
*
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
interface V1alpha1VirtualMachineTemplateRequestStatus {
|
|
117
|
+
/** conditions
|
|
118
|
+
* Condition contains details for one aspect of the current state of this API Resource.
|
|
119
|
+
*
|
|
120
|
+
* @required {false}
|
|
121
|
+
*/
|
|
122
|
+
conditions?: V1alpha1VirtualMachineTemplateRequestStatusConditions[];
|
|
123
|
+
/** templateRef
|
|
124
|
+
* TemplateRef is a reference to the created VirtualMachineTemplate.
|
|
125
|
+
*
|
|
126
|
+
* @required {false}
|
|
127
|
+
*/
|
|
128
|
+
templateRef?: V1alpha1VirtualMachineTemplateRequestStatusTemplateRef;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* The version of the OpenAPI document:
|
|
136
|
+
* Contact Email:
|
|
137
|
+
* License:
|
|
138
|
+
*
|
|
139
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
140
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
141
|
+
*/
|
|
142
|
+
/**
|
|
143
|
+
* OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
|
|
144
|
+
* @export
|
|
145
|
+
* @interface IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
146
|
+
*/
|
|
147
|
+
interface IoK8sApimachineryPkgApisMetaV1OwnerReference {
|
|
148
|
+
/**
|
|
149
|
+
* API version of the referent.
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
152
|
+
*/
|
|
153
|
+
apiVersion: string;
|
|
154
|
+
/**
|
|
155
|
+
* If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
|
156
|
+
* @type {boolean}
|
|
157
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
158
|
+
*/
|
|
159
|
+
blockOwnerDeletion?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* If true, this reference points to the managing controller.
|
|
162
|
+
* @type {boolean}
|
|
163
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
164
|
+
*/
|
|
165
|
+
controller?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
170
|
+
*/
|
|
171
|
+
kind: string;
|
|
172
|
+
/**
|
|
173
|
+
* Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
176
|
+
*/
|
|
177
|
+
name: string;
|
|
178
|
+
/**
|
|
179
|
+
* UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1OwnerReference
|
|
182
|
+
*/
|
|
183
|
+
uid: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
|
|
187
|
+
* @export
|
|
188
|
+
* @interface IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
189
|
+
*/
|
|
190
|
+
interface IoK8sApimachineryPkgApisMetaV1ObjectMeta {
|
|
191
|
+
/**
|
|
192
|
+
* Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
|
|
193
|
+
* @type {{ [key: string]: string; }}
|
|
194
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
195
|
+
*/
|
|
196
|
+
annotations?: {
|
|
197
|
+
[key: string]: string;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
203
|
+
*/
|
|
204
|
+
creationTimestamp?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
|
|
207
|
+
* @type {number}
|
|
208
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
209
|
+
*/
|
|
210
|
+
deletionGracePeriodSeconds?: number;
|
|
211
|
+
/**
|
|
212
|
+
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
215
|
+
*/
|
|
216
|
+
deletionTimestamp?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.
|
|
219
|
+
* @type {Array<string>}
|
|
220
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
221
|
+
*/
|
|
222
|
+
finalizers?: Array<string>;
|
|
223
|
+
/**
|
|
224
|
+
* GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
|
|
225
|
+
*
|
|
226
|
+
* If this field is specified and the generated name exists, the server will return a 409.
|
|
227
|
+
*
|
|
228
|
+
* Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
231
|
+
*/
|
|
232
|
+
generateName?: string;
|
|
233
|
+
/**
|
|
234
|
+
* A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
|
|
235
|
+
* @type {number}
|
|
236
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
237
|
+
*/
|
|
238
|
+
generation?: number;
|
|
239
|
+
/**
|
|
240
|
+
* Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
|
|
241
|
+
* @type {{ [key: string]: string; }}
|
|
242
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
243
|
+
*/
|
|
244
|
+
labels?: {
|
|
245
|
+
[key: string]: string;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
251
|
+
*/
|
|
252
|
+
name?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
|
|
255
|
+
*
|
|
256
|
+
* Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
259
|
+
*/
|
|
260
|
+
namespace?: string;
|
|
261
|
+
/**
|
|
262
|
+
* List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
|
|
263
|
+
* @type {Array<IoK8sApimachineryPkgApisMetaV1OwnerReference>}
|
|
264
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
265
|
+
*/
|
|
266
|
+
ownerReferences?: Array<IoK8sApimachineryPkgApisMetaV1OwnerReference>;
|
|
267
|
+
/**
|
|
268
|
+
* An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
|
|
269
|
+
*
|
|
270
|
+
* Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
273
|
+
*/
|
|
274
|
+
resourceVersion?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
279
|
+
*/
|
|
280
|
+
selfLink?: string;
|
|
281
|
+
/**
|
|
282
|
+
* UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
|
|
283
|
+
*
|
|
284
|
+
* Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof IoK8sApimachineryPkgApisMetaV1ObjectMeta
|
|
287
|
+
*/
|
|
288
|
+
uid?: string;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
*
|
|
294
|
+
*
|
|
295
|
+
* The version of the OpenAPI document:
|
|
296
|
+
* Contact Email:
|
|
297
|
+
* License:
|
|
298
|
+
*
|
|
299
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
300
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
301
|
+
*/
|
|
302
|
+
/**
|
|
303
|
+
* VirtualMachineReference holds a reference to a VirtualMachine.kubevirt.io
|
|
304
|
+
*
|
|
305
|
+
* @export
|
|
306
|
+
*/
|
|
307
|
+
interface V1alpha1VirtualMachineTemplateRequestSpecVirtualMachineRef {
|
|
308
|
+
/** name
|
|
309
|
+
* Name is the name of the VirtualMachine.
|
|
310
|
+
*
|
|
311
|
+
* @required {true}
|
|
312
|
+
*/
|
|
313
|
+
name: string;
|
|
314
|
+
/** namespace
|
|
315
|
+
* Namespace is the namespace of the VirtualMachine.
|
|
316
|
+
*
|
|
317
|
+
* @required {true}
|
|
318
|
+
*/
|
|
319
|
+
namespace: string;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
*
|
|
325
|
+
*
|
|
326
|
+
* The version of the OpenAPI document:
|
|
327
|
+
* Contact Email:
|
|
328
|
+
* License:
|
|
329
|
+
*
|
|
330
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
331
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
332
|
+
*/
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Spec defines the desired state of the template requests
|
|
336
|
+
*
|
|
337
|
+
* @export
|
|
338
|
+
*/
|
|
339
|
+
interface V1alpha1VirtualMachineTemplateRequestSpec {
|
|
340
|
+
/** templateName
|
|
341
|
+
* TemplateName holds the optional name for the new VirtualMachineTemplate.
|
|
342
|
+
If not specified the template will have the same name as the VirtualMachineTemplateRequest.
|
|
343
|
+
*
|
|
344
|
+
* @required {false}
|
|
345
|
+
*/
|
|
346
|
+
templateName?: string;
|
|
347
|
+
/** virtualMachineRef
|
|
348
|
+
* VirtualMachineReference holds a reference to a VirtualMachine.kubevirt.io
|
|
349
|
+
*
|
|
350
|
+
* @required {true}
|
|
351
|
+
*/
|
|
352
|
+
virtualMachineRef: V1alpha1VirtualMachineTemplateRequestSpecVirtualMachineRef;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
*
|
|
358
|
+
*
|
|
359
|
+
* The version of the OpenAPI document:
|
|
360
|
+
* Contact Email:
|
|
361
|
+
* License:
|
|
362
|
+
*
|
|
363
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
364
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
365
|
+
*/
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* VirtualMachineTemplateRequest is the Schema for the virtualmachinetemplaterequests API
|
|
369
|
+
*
|
|
370
|
+
* @export
|
|
371
|
+
*/
|
|
372
|
+
interface V1alpha1VirtualMachineTemplateRequest {
|
|
373
|
+
/** apiVersion
|
|
374
|
+
* APIVersion defines the versioned schema of this representation of an object.
|
|
375
|
+
Servers should convert recognized schemas to the latest internal value, and
|
|
376
|
+
may reject unrecognized values.
|
|
377
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
378
|
+
*
|
|
379
|
+
* @required {true}
|
|
380
|
+
*/
|
|
381
|
+
apiVersion: string;
|
|
382
|
+
/** kind
|
|
383
|
+
* Kind is a string value representing the REST resource this object represents.
|
|
384
|
+
Servers may infer this from the endpoint the client submits requests to.
|
|
385
|
+
Cannot be updated.
|
|
386
|
+
In CamelCase.
|
|
387
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
388
|
+
*
|
|
389
|
+
* @required {true}
|
|
390
|
+
*/
|
|
391
|
+
kind: string;
|
|
392
|
+
/** metadata
|
|
393
|
+
*
|
|
394
|
+
* @required {false}
|
|
395
|
+
* @originalType {V1alpha1VirtualMachineTemplateRequestMetadata}
|
|
396
|
+
*/
|
|
397
|
+
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
|
|
398
|
+
/** spec
|
|
399
|
+
* Spec defines the desired state of the template requests
|
|
400
|
+
*
|
|
401
|
+
* @required {true}
|
|
402
|
+
*/
|
|
403
|
+
spec: V1alpha1VirtualMachineTemplateRequestSpec;
|
|
404
|
+
/** status
|
|
405
|
+
* Status defines the observed state of the template request
|
|
406
|
+
*
|
|
407
|
+
* @required {false}
|
|
408
|
+
*/
|
|
409
|
+
status?: V1alpha1VirtualMachineTemplateRequestStatus;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
*
|
|
415
|
+
*
|
|
416
|
+
* The version of the OpenAPI document:
|
|
417
|
+
* Contact Email:
|
|
418
|
+
* License:
|
|
419
|
+
*
|
|
420
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
421
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
422
|
+
*/
|
|
423
|
+
/**
|
|
424
|
+
* Parameter defines a name/value combination that is to be substituted during
|
|
425
|
+
processing of the template.
|
|
426
|
+
*
|
|
427
|
+
* @export
|
|
428
|
+
*/
|
|
429
|
+
interface V1alpha1VirtualMachineTemplateSpecParameters {
|
|
430
|
+
/** description
|
|
431
|
+
* Description is the description of the parameter. Optional.
|
|
432
|
+
*
|
|
433
|
+
* @required {false}
|
|
434
|
+
*/
|
|
435
|
+
description?: string;
|
|
436
|
+
/** displayName
|
|
437
|
+
* DisplayName is an alternative name that can be shown in a UI
|
|
438
|
+
instead of the parameter's name. Optional.
|
|
439
|
+
*
|
|
440
|
+
* @required {false}
|
|
441
|
+
*/
|
|
442
|
+
displayName?: string;
|
|
443
|
+
/** from
|
|
444
|
+
* From is used as input for the generator specified in Generate. Optional.
|
|
445
|
+
*
|
|
446
|
+
* @required {false}
|
|
447
|
+
* @pattern {\[([a-zA-Z0-9\-\\]+)\](\{(\w+)\})}
|
|
448
|
+
*/
|
|
449
|
+
from?: string;
|
|
450
|
+
/** generate
|
|
451
|
+
* Generate specifies the generator to be used to generate a Value for this
|
|
452
|
+
parameter. The From field can be used to provide input to this generator
|
|
453
|
+
If empty, no generator is being used, leaving the result Value untouched. Optional.
|
|
454
|
+
|
|
455
|
+
The only supported generator is "expression", which accepts a From
|
|
456
|
+
value with a regex-like syntax, which should follow the form of "[a-zA-Z0-9]{length}".
|
|
457
|
+
The expression defines the range and length of the resulting random characters.
|
|
458
|
+
|
|
459
|
+
The following character classes are supported in the range:
|
|
460
|
+
|
|
461
|
+
range | characters
|
|
462
|
+
*
|
|
463
|
+
* @required {false}
|
|
464
|
+
* @originalType {string}
|
|
465
|
+
*/
|
|
466
|
+
generate?: 'expression';
|
|
467
|
+
/** name
|
|
468
|
+
* Name is the name of the parameter. It can be referenced in
|
|
469
|
+
the template VirtualMachine using ${PARAMETER_NAME}. Required.
|
|
470
|
+
*
|
|
471
|
+
* @required {true}
|
|
472
|
+
*/
|
|
473
|
+
name: string;
|
|
474
|
+
/** required
|
|
475
|
+
* Indicates that the parameter must have a Value or valid Generate and From values.
|
|
476
|
+
Defaults to false. Optional.
|
|
477
|
+
*
|
|
478
|
+
* @required {false}
|
|
479
|
+
*/
|
|
480
|
+
required?: boolean;
|
|
481
|
+
/** value
|
|
482
|
+
* Value holds the value of the Parameter. If specified, a generator will be
|
|
483
|
+
ignored. The value replaces all occurrences of the ${PARAMETER_NAME}
|
|
484
|
+
expression during processing of the template. Optional.
|
|
485
|
+
*
|
|
486
|
+
* @required {false}
|
|
487
|
+
*/
|
|
488
|
+
value?: string;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
*
|
|
494
|
+
*
|
|
495
|
+
* The version of the OpenAPI document:
|
|
496
|
+
* Contact Email:
|
|
497
|
+
* License:
|
|
498
|
+
*
|
|
499
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
500
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Spec defines the desired state of the template
|
|
505
|
+
*
|
|
506
|
+
* @export
|
|
507
|
+
*/
|
|
508
|
+
interface V1alpha1VirtualMachineTemplateSpec {
|
|
509
|
+
/** message
|
|
510
|
+
* Message is an optional instructional message for this template.
|
|
511
|
+
This field should inform the user how to utilize the newly created VirtualMachine.
|
|
512
|
+
*
|
|
513
|
+
* @required {false}
|
|
514
|
+
*/
|
|
515
|
+
message?: string;
|
|
516
|
+
/** parameters
|
|
517
|
+
* Parameter defines a name/value combination that is to be substituted during
|
|
518
|
+
processing of the template.
|
|
519
|
+
*
|
|
520
|
+
* @required {false}
|
|
521
|
+
*/
|
|
522
|
+
parameters?: V1alpha1VirtualMachineTemplateSpecParameters[];
|
|
523
|
+
/** virtualMachine
|
|
524
|
+
* VirtualMachine is the template VirtualMachine to include in this template.
|
|
525
|
+
If a namespace value is hardcoded, it will be removed during processing of the
|
|
526
|
+
template. If the namespace value however contains a ${PARAMETER_REFERENCE},
|
|
527
|
+
the resolved value after parameter substitution will be respected and the
|
|
528
|
+
VirtualMachine will be created in that namespace.
|
|
529
|
+
*
|
|
530
|
+
* @required {true}
|
|
531
|
+
* @originalType {not defined}
|
|
532
|
+
*/
|
|
533
|
+
virtualMachine: unknown | null;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
*
|
|
539
|
+
*
|
|
540
|
+
* The version of the OpenAPI document:
|
|
541
|
+
* Contact Email:
|
|
542
|
+
* License:
|
|
543
|
+
*
|
|
544
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
545
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
546
|
+
*/
|
|
547
|
+
/**
|
|
548
|
+
* Condition contains details for one aspect of the current state of this API Resource.
|
|
549
|
+
*
|
|
550
|
+
* @export
|
|
551
|
+
*/
|
|
552
|
+
interface V1alpha1VirtualMachineTemplateStatusConditions {
|
|
553
|
+
/** lastTransitionTime
|
|
554
|
+
* lastTransitionTime is the last time the condition transitioned from one status to another.
|
|
555
|
+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
|
556
|
+
*
|
|
557
|
+
* @required {true}
|
|
558
|
+
* @format {date-time}
|
|
559
|
+
*/
|
|
560
|
+
lastTransitionTime: string;
|
|
561
|
+
/** message
|
|
562
|
+
* message is a human readable message indicating details about the transition.
|
|
563
|
+
This may be an empty string.
|
|
564
|
+
*
|
|
565
|
+
* @required {true}
|
|
566
|
+
*/
|
|
567
|
+
message: string;
|
|
568
|
+
/** observedGeneration
|
|
569
|
+
* observedGeneration represents the .metadata.generation that the condition was set based upon.
|
|
570
|
+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
|
571
|
+
with respect to the current state of the instance.
|
|
572
|
+
*
|
|
573
|
+
* @required {false}
|
|
574
|
+
* @format {int64}
|
|
575
|
+
* @originalType {integer}
|
|
576
|
+
*/
|
|
577
|
+
observedGeneration?: number;
|
|
578
|
+
/** reason
|
|
579
|
+
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
|
580
|
+
Producers of specific condition types may define expected values and meanings for this field,
|
|
581
|
+
and whether the values are considered a guaranteed API.
|
|
582
|
+
The value should be a CamelCase string.
|
|
583
|
+
This field may not be empty.
|
|
584
|
+
*
|
|
585
|
+
* @required {true}
|
|
586
|
+
* @pattern {^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$}
|
|
587
|
+
*/
|
|
588
|
+
reason: string;
|
|
589
|
+
/** status
|
|
590
|
+
* status of the condition, one of True, False, Unknown.
|
|
591
|
+
*
|
|
592
|
+
* @required {true}
|
|
593
|
+
* @originalType {string}
|
|
594
|
+
*/
|
|
595
|
+
status: 'True' | 'False' | 'Unknown';
|
|
596
|
+
/** type
|
|
597
|
+
* type of condition in CamelCase or in foo.example.com/CamelCase.
|
|
598
|
+
*
|
|
599
|
+
* @required {true}
|
|
600
|
+
*/
|
|
601
|
+
type: string;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
*
|
|
607
|
+
*
|
|
608
|
+
* The version of the OpenAPI document:
|
|
609
|
+
* Contact Email:
|
|
610
|
+
* License:
|
|
611
|
+
*
|
|
612
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
613
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
614
|
+
*/
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Status defines the observed state of the template
|
|
618
|
+
*
|
|
619
|
+
* @export
|
|
620
|
+
*/
|
|
621
|
+
interface V1alpha1VirtualMachineTemplateStatus {
|
|
622
|
+
/** conditions
|
|
623
|
+
* Condition contains details for one aspect of the current state of this API Resource.
|
|
624
|
+
*
|
|
625
|
+
* @required {false}
|
|
626
|
+
*/
|
|
627
|
+
conditions?: V1alpha1VirtualMachineTemplateStatusConditions[];
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
*
|
|
633
|
+
*
|
|
634
|
+
* The version of the OpenAPI document:
|
|
635
|
+
* Contact Email:
|
|
636
|
+
* License:
|
|
637
|
+
*
|
|
638
|
+
* NOTE: This file is auto generated by crdtotypes (https://github.com/yaacov/crdtoapi/).
|
|
639
|
+
* https://github.com/yaacov/crdtoapi/README.crdtotypes
|
|
640
|
+
*/
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* VirtualMachineTemplate is the Schema for the virtualmachinetemplates API
|
|
644
|
+
*
|
|
645
|
+
* @export
|
|
646
|
+
*/
|
|
647
|
+
interface V1alpha1VirtualMachineTemplate {
|
|
648
|
+
/** apiVersion
|
|
649
|
+
* APIVersion defines the versioned schema of this representation of an object.
|
|
650
|
+
Servers should convert recognized schemas to the latest internal value, and
|
|
651
|
+
may reject unrecognized values.
|
|
652
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
653
|
+
*
|
|
654
|
+
* @required {true}
|
|
655
|
+
*/
|
|
656
|
+
apiVersion: string;
|
|
657
|
+
/** kind
|
|
658
|
+
* Kind is a string value representing the REST resource this object represents.
|
|
659
|
+
Servers may infer this from the endpoint the client submits requests to.
|
|
660
|
+
Cannot be updated.
|
|
661
|
+
In CamelCase.
|
|
662
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
663
|
+
*
|
|
664
|
+
* @required {true}
|
|
665
|
+
*/
|
|
666
|
+
kind: string;
|
|
667
|
+
/** metadata
|
|
668
|
+
*
|
|
669
|
+
* @required {false}
|
|
670
|
+
* @originalType {V1alpha1VirtualMachineTemplateMetadata}
|
|
671
|
+
*/
|
|
672
|
+
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
|
|
673
|
+
/** spec
|
|
674
|
+
* Spec defines the desired state of the template
|
|
675
|
+
*
|
|
676
|
+
* @required {true}
|
|
677
|
+
*/
|
|
678
|
+
spec: V1alpha1VirtualMachineTemplateSpec;
|
|
679
|
+
/** status
|
|
680
|
+
* Status defines the observed state of the template
|
|
681
|
+
*
|
|
682
|
+
* @required {false}
|
|
683
|
+
*/
|
|
684
|
+
status?: V1alpha1VirtualMachineTemplateStatus;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export type { IoK8sApimachineryPkgApisMetaV1ObjectMeta, IoK8sApimachineryPkgApisMetaV1OwnerReference, V1alpha1VirtualMachineTemplate, V1alpha1VirtualMachineTemplateRequest, V1alpha1VirtualMachineTemplateRequestSpec, V1alpha1VirtualMachineTemplateRequestSpecVirtualMachineRef, V1alpha1VirtualMachineTemplateRequestStatus, V1alpha1VirtualMachineTemplateRequestStatusConditions, V1alpha1VirtualMachineTemplateRequestStatusTemplateRef, V1alpha1VirtualMachineTemplateSpec, V1alpha1VirtualMachineTemplateSpecParameters, V1alpha1VirtualMachineTemplateStatus, V1alpha1VirtualMachineTemplateStatusConditions };
|