-
Notifications
You must be signed in to change notification settings - Fork 7
/
types_swagger_generated.go
89 lines (78 loc) · 4.33 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
// Code generated by swagger-doc. DO NOT EDIT.
package v1alpha1
func (VirtualMachineExport) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExport defines the operation of exporting a VM source\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
"status": "+optional",
}
}
func (VirtualMachineExportList) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportList is a list of VirtualMachineExport resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
"items": "+listType=atomic",
}
}
func (VirtualMachineExportSpec) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportSpec is the spec for a VirtualMachineExport resource",
"tokenSecretRef": "+optional\nTokenSecretRef is the name of the custom-defined secret that contains the token used by the export server pod",
"ttlDuration": "ttlDuration limits the lifetime of an export\nIf this field is set, after this duration has passed from counting from CreationTimestamp,\nthe export is eligible to be automatically deleted.\nIf this field is omitted, a reasonable default is applied.\n+optional",
}
}
func (VirtualMachineExportStatus) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportStatus is the status for a VirtualMachineExport resource",
"phase": "+optional",
"links": "+optional",
"tokenSecretRef": "+optional\nTokenSecretRef is the name of the secret that contains the token used by the export server pod",
"ttlExpirationTime": "The time at which the VM Export will be completely removed according to specified TTL\nFormula is CreationTimestamp + TTL",
"serviceName": "+optional\nServiceName is the name of the service created associated with the Virtual Machine export. It will be used to\ncreate the internal URLs for downloading the images",
"virtualMachineName": "+optional\nVirtualMachineName shows the name of the source virtual machine if the source is either a VirtualMachine or\na VirtualMachineSnapshot. This is mainly to easily identify the source VirtualMachine in case of a\nVirtualMachineSnapshot",
"conditions": "+optional\n+listType=atomic",
}
}
func (VirtualMachineExportLinks) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportLinks contains the links that point the exported VM resources",
"internal": "+optional",
"external": "+optional",
}
}
func (VirtualMachineExportLink) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportLink contains a list of volumes available for export, as well as the URLs to obtain these volumes",
"cert": "Cert is the public CA certificate base64 encoded",
"volumes": "Volumes is a list of available volumes to export\n+listType=map\n+listMapKey=name\n+optional",
"manifests": "Manifests is a list of available manifests for the export\n+listType=map\n+listMapKey=type\n+optional",
}
}
func (VirtualMachineExportManifest) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportManifest contains the type and URL of the exported manifest",
"type": "Type is the type of manifest returned",
"url": "Url is the url of the endpoint that returns the manifest",
}
}
func (VirtualMachineExportVolume) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportVolume contains the name and available formats for the exported volume",
"name": "Name is the name of the exported volume",
"formats": "+listType=map\n+listMapKey=format\n+optional",
}
}
func (VirtualMachineExportVolumeFormat) SwaggerDoc() map[string]string {
return map[string]string{
"": "VirtualMachineExportVolumeFormat contains the format type and URL to get the volume in that format",
"format": "Format is the format of the image at the specified URL",
"url": "Url is the url that contains the volume in the format specified",
}
}
func (Condition) SwaggerDoc() map[string]string {
return map[string]string{
"": "Condition defines conditions",
"lastProbeTime": "+optional\n+nullable",
"lastTransitionTime": "+optional\n+nullable",
"reason": "+optional",
"message": "+optional",
}
}