1
2
3
4
19
20
21
22
23
24 package api
25
26 import (
27 resource "k8s.io/apimachinery/pkg/api/resource"
28 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
29 intstr "k8s.io/apimachinery/pkg/util/intstr"
30 common "k8s.io/kube-openapi/pkg/common"
31 spec "k8s.io/kube-openapi/pkg/validation/spec"
32 )
33
34 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
35 return map[string]common.OpenAPIDefinition{
36 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource": schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref),
37 "k8s.io/api/core/v1.Affinity": schema_k8sio_api_core_v1_Affinity(ref),
38 "k8s.io/api/core/v1.AppArmorProfile": schema_k8sio_api_core_v1_AppArmorProfile(ref),
39 "k8s.io/api/core/v1.AttachedVolume": schema_k8sio_api_core_v1_AttachedVolume(ref),
40 "k8s.io/api/core/v1.AvoidPods": schema_k8sio_api_core_v1_AvoidPods(ref),
41 "k8s.io/api/core/v1.AzureDiskVolumeSource": schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref),
42 "k8s.io/api/core/v1.AzureFilePersistentVolumeSource": schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref),
43 "k8s.io/api/core/v1.AzureFileVolumeSource": schema_k8sio_api_core_v1_AzureFileVolumeSource(ref),
44 "k8s.io/api/core/v1.Binding": schema_k8sio_api_core_v1_Binding(ref),
45 "k8s.io/api/core/v1.CSIPersistentVolumeSource": schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref),
46 "k8s.io/api/core/v1.CSIVolumeSource": schema_k8sio_api_core_v1_CSIVolumeSource(ref),
47 "k8s.io/api/core/v1.Capabilities": schema_k8sio_api_core_v1_Capabilities(ref),
48 "k8s.io/api/core/v1.CephFSPersistentVolumeSource": schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref),
49 "k8s.io/api/core/v1.CephFSVolumeSource": schema_k8sio_api_core_v1_CephFSVolumeSource(ref),
50 "k8s.io/api/core/v1.CinderPersistentVolumeSource": schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref),
51 "k8s.io/api/core/v1.CinderVolumeSource": schema_k8sio_api_core_v1_CinderVolumeSource(ref),
52 "k8s.io/api/core/v1.ClaimSource": schema_k8sio_api_core_v1_ClaimSource(ref),
53 "k8s.io/api/core/v1.ClientIPConfig": schema_k8sio_api_core_v1_ClientIPConfig(ref),
54 "k8s.io/api/core/v1.ClusterTrustBundleProjection": schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref),
55 "k8s.io/api/core/v1.ComponentCondition": schema_k8sio_api_core_v1_ComponentCondition(ref),
56 "k8s.io/api/core/v1.ComponentStatus": schema_k8sio_api_core_v1_ComponentStatus(ref),
57 "k8s.io/api/core/v1.ComponentStatusList": schema_k8sio_api_core_v1_ComponentStatusList(ref),
58 "k8s.io/api/core/v1.ConfigMap": schema_k8sio_api_core_v1_ConfigMap(ref),
59 "k8s.io/api/core/v1.ConfigMapEnvSource": schema_k8sio_api_core_v1_ConfigMapEnvSource(ref),
60 "k8s.io/api/core/v1.ConfigMapKeySelector": schema_k8sio_api_core_v1_ConfigMapKeySelector(ref),
61 "k8s.io/api/core/v1.ConfigMapList": schema_k8sio_api_core_v1_ConfigMapList(ref),
62 "k8s.io/api/core/v1.ConfigMapNodeConfigSource": schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref),
63 "k8s.io/api/core/v1.ConfigMapProjection": schema_k8sio_api_core_v1_ConfigMapProjection(ref),
64 "k8s.io/api/core/v1.ConfigMapVolumeSource": schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref),
65 "k8s.io/api/core/v1.Container": schema_k8sio_api_core_v1_Container(ref),
66 "k8s.io/api/core/v1.ContainerImage": schema_k8sio_api_core_v1_ContainerImage(ref),
67 "k8s.io/api/core/v1.ContainerPort": schema_k8sio_api_core_v1_ContainerPort(ref),
68 "k8s.io/api/core/v1.ContainerResizePolicy": schema_k8sio_api_core_v1_ContainerResizePolicy(ref),
69 "k8s.io/api/core/v1.ContainerState": schema_k8sio_api_core_v1_ContainerState(ref),
70 "k8s.io/api/core/v1.ContainerStateRunning": schema_k8sio_api_core_v1_ContainerStateRunning(ref),
71 "k8s.io/api/core/v1.ContainerStateTerminated": schema_k8sio_api_core_v1_ContainerStateTerminated(ref),
72 "k8s.io/api/core/v1.ContainerStateWaiting": schema_k8sio_api_core_v1_ContainerStateWaiting(ref),
73 "k8s.io/api/core/v1.ContainerStatus": schema_k8sio_api_core_v1_ContainerStatus(ref),
74 "k8s.io/api/core/v1.DaemonEndpoint": schema_k8sio_api_core_v1_DaemonEndpoint(ref),
75 "k8s.io/api/core/v1.DownwardAPIProjection": schema_k8sio_api_core_v1_DownwardAPIProjection(ref),
76 "k8s.io/api/core/v1.DownwardAPIVolumeFile": schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref),
77 "k8s.io/api/core/v1.DownwardAPIVolumeSource": schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref),
78 "k8s.io/api/core/v1.EmptyDirVolumeSource": schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref),
79 "k8s.io/api/core/v1.EndpointAddress": schema_k8sio_api_core_v1_EndpointAddress(ref),
80 "k8s.io/api/core/v1.EndpointPort": schema_k8sio_api_core_v1_EndpointPort(ref),
81 "k8s.io/api/core/v1.EndpointSubset": schema_k8sio_api_core_v1_EndpointSubset(ref),
82 "k8s.io/api/core/v1.Endpoints": schema_k8sio_api_core_v1_Endpoints(ref),
83 "k8s.io/api/core/v1.EndpointsList": schema_k8sio_api_core_v1_EndpointsList(ref),
84 "k8s.io/api/core/v1.EnvFromSource": schema_k8sio_api_core_v1_EnvFromSource(ref),
85 "k8s.io/api/core/v1.EnvVar": schema_k8sio_api_core_v1_EnvVar(ref),
86 "k8s.io/api/core/v1.EnvVarSource": schema_k8sio_api_core_v1_EnvVarSource(ref),
87 "k8s.io/api/core/v1.EphemeralContainer": schema_k8sio_api_core_v1_EphemeralContainer(ref),
88 "k8s.io/api/core/v1.EphemeralContainerCommon": schema_k8sio_api_core_v1_EphemeralContainerCommon(ref),
89 "k8s.io/api/core/v1.EphemeralVolumeSource": schema_k8sio_api_core_v1_EphemeralVolumeSource(ref),
90 "k8s.io/api/core/v1.Event": schema_k8sio_api_core_v1_Event(ref),
91 "k8s.io/api/core/v1.EventList": schema_k8sio_api_core_v1_EventList(ref),
92 "k8s.io/api/core/v1.EventSeries": schema_k8sio_api_core_v1_EventSeries(ref),
93 "k8s.io/api/core/v1.EventSource": schema_k8sio_api_core_v1_EventSource(ref),
94 "k8s.io/api/core/v1.ExecAction": schema_k8sio_api_core_v1_ExecAction(ref),
95 "k8s.io/api/core/v1.FCVolumeSource": schema_k8sio_api_core_v1_FCVolumeSource(ref),
96 "k8s.io/api/core/v1.FlexPersistentVolumeSource": schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref),
97 "k8s.io/api/core/v1.FlexVolumeSource": schema_k8sio_api_core_v1_FlexVolumeSource(ref),
98 "k8s.io/api/core/v1.FlockerVolumeSource": schema_k8sio_api_core_v1_FlockerVolumeSource(ref),
99 "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource": schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref),
100 "k8s.io/api/core/v1.GRPCAction": schema_k8sio_api_core_v1_GRPCAction(ref),
101 "k8s.io/api/core/v1.GitRepoVolumeSource": schema_k8sio_api_core_v1_GitRepoVolumeSource(ref),
102 "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource": schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref),
103 "k8s.io/api/core/v1.GlusterfsVolumeSource": schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref),
104 "k8s.io/api/core/v1.HTTPGetAction": schema_k8sio_api_core_v1_HTTPGetAction(ref),
105 "k8s.io/api/core/v1.HTTPHeader": schema_k8sio_api_core_v1_HTTPHeader(ref),
106 "k8s.io/api/core/v1.HostAlias": schema_k8sio_api_core_v1_HostAlias(ref),
107 "k8s.io/api/core/v1.HostIP": schema_k8sio_api_core_v1_HostIP(ref),
108 "k8s.io/api/core/v1.HostPathVolumeSource": schema_k8sio_api_core_v1_HostPathVolumeSource(ref),
109 "k8s.io/api/core/v1.ISCSIPersistentVolumeSource": schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref),
110 "k8s.io/api/core/v1.ISCSIVolumeSource": schema_k8sio_api_core_v1_ISCSIVolumeSource(ref),
111 "k8s.io/api/core/v1.KeyToPath": schema_k8sio_api_core_v1_KeyToPath(ref),
112 "k8s.io/api/core/v1.Lifecycle": schema_k8sio_api_core_v1_Lifecycle(ref),
113 "k8s.io/api/core/v1.LifecycleHandler": schema_k8sio_api_core_v1_LifecycleHandler(ref),
114 "k8s.io/api/core/v1.LimitRange": schema_k8sio_api_core_v1_LimitRange(ref),
115 "k8s.io/api/core/v1.LimitRangeItem": schema_k8sio_api_core_v1_LimitRangeItem(ref),
116 "k8s.io/api/core/v1.LimitRangeList": schema_k8sio_api_core_v1_LimitRangeList(ref),
117 "k8s.io/api/core/v1.LimitRangeSpec": schema_k8sio_api_core_v1_LimitRangeSpec(ref),
118 "k8s.io/api/core/v1.List": schema_k8sio_api_core_v1_List(ref),
119 "k8s.io/api/core/v1.LoadBalancerIngress": schema_k8sio_api_core_v1_LoadBalancerIngress(ref),
120 "k8s.io/api/core/v1.LoadBalancerStatus": schema_k8sio_api_core_v1_LoadBalancerStatus(ref),
121 "k8s.io/api/core/v1.LocalObjectReference": schema_k8sio_api_core_v1_LocalObjectReference(ref),
122 "k8s.io/api/core/v1.LocalVolumeSource": schema_k8sio_api_core_v1_LocalVolumeSource(ref),
123 "k8s.io/api/core/v1.ModifyVolumeStatus": schema_k8sio_api_core_v1_ModifyVolumeStatus(ref),
124 "k8s.io/api/core/v1.NFSVolumeSource": schema_k8sio_api_core_v1_NFSVolumeSource(ref),
125 "k8s.io/api/core/v1.Namespace": schema_k8sio_api_core_v1_Namespace(ref),
126 "k8s.io/api/core/v1.NamespaceCondition": schema_k8sio_api_core_v1_NamespaceCondition(ref),
127 "k8s.io/api/core/v1.NamespaceList": schema_k8sio_api_core_v1_NamespaceList(ref),
128 "k8s.io/api/core/v1.NamespaceSpec": schema_k8sio_api_core_v1_NamespaceSpec(ref),
129 "k8s.io/api/core/v1.NamespaceStatus": schema_k8sio_api_core_v1_NamespaceStatus(ref),
130 "k8s.io/api/core/v1.Node": schema_k8sio_api_core_v1_Node(ref),
131 "k8s.io/api/core/v1.NodeAddress": schema_k8sio_api_core_v1_NodeAddress(ref),
132 "k8s.io/api/core/v1.NodeAffinity": schema_k8sio_api_core_v1_NodeAffinity(ref),
133 "k8s.io/api/core/v1.NodeCondition": schema_k8sio_api_core_v1_NodeCondition(ref),
134 "k8s.io/api/core/v1.NodeConfigSource": schema_k8sio_api_core_v1_NodeConfigSource(ref),
135 "k8s.io/api/core/v1.NodeConfigStatus": schema_k8sio_api_core_v1_NodeConfigStatus(ref),
136 "k8s.io/api/core/v1.NodeDaemonEndpoints": schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref),
137 "k8s.io/api/core/v1.NodeList": schema_k8sio_api_core_v1_NodeList(ref),
138 "k8s.io/api/core/v1.NodeProxyOptions": schema_k8sio_api_core_v1_NodeProxyOptions(ref),
139 "k8s.io/api/core/v1.NodeRuntimeHandler": schema_k8sio_api_core_v1_NodeRuntimeHandler(ref),
140 "k8s.io/api/core/v1.NodeRuntimeHandlerFeatures": schema_k8sio_api_core_v1_NodeRuntimeHandlerFeatures(ref),
141 "k8s.io/api/core/v1.NodeSelector": schema_k8sio_api_core_v1_NodeSelector(ref),
142 "k8s.io/api/core/v1.NodeSelectorRequirement": schema_k8sio_api_core_v1_NodeSelectorRequirement(ref),
143 "k8s.io/api/core/v1.NodeSelectorTerm": schema_k8sio_api_core_v1_NodeSelectorTerm(ref),
144 "k8s.io/api/core/v1.NodeSpec": schema_k8sio_api_core_v1_NodeSpec(ref),
145 "k8s.io/api/core/v1.NodeStatus": schema_k8sio_api_core_v1_NodeStatus(ref),
146 "k8s.io/api/core/v1.NodeSystemInfo": schema_k8sio_api_core_v1_NodeSystemInfo(ref),
147 "k8s.io/api/core/v1.ObjectFieldSelector": schema_k8sio_api_core_v1_ObjectFieldSelector(ref),
148 "k8s.io/api/core/v1.ObjectReference": schema_k8sio_api_core_v1_ObjectReference(ref),
149 "k8s.io/api/core/v1.PersistentVolume": schema_k8sio_api_core_v1_PersistentVolume(ref),
150 "k8s.io/api/core/v1.PersistentVolumeClaim": schema_k8sio_api_core_v1_PersistentVolumeClaim(ref),
151 "k8s.io/api/core/v1.PersistentVolumeClaimCondition": schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref),
152 "k8s.io/api/core/v1.PersistentVolumeClaimList": schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref),
153 "k8s.io/api/core/v1.PersistentVolumeClaimSpec": schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref),
154 "k8s.io/api/core/v1.PersistentVolumeClaimStatus": schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref),
155 "k8s.io/api/core/v1.PersistentVolumeClaimTemplate": schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref),
156 "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref),
157 "k8s.io/api/core/v1.PersistentVolumeList": schema_k8sio_api_core_v1_PersistentVolumeList(ref),
158 "k8s.io/api/core/v1.PersistentVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeSource(ref),
159 "k8s.io/api/core/v1.PersistentVolumeSpec": schema_k8sio_api_core_v1_PersistentVolumeSpec(ref),
160 "k8s.io/api/core/v1.PersistentVolumeStatus": schema_k8sio_api_core_v1_PersistentVolumeStatus(ref),
161 "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource": schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref),
162 "k8s.io/api/core/v1.Pod": schema_k8sio_api_core_v1_Pod(ref),
163 "k8s.io/api/core/v1.PodAffinity": schema_k8sio_api_core_v1_PodAffinity(ref),
164 "k8s.io/api/core/v1.PodAffinityTerm": schema_k8sio_api_core_v1_PodAffinityTerm(ref),
165 "k8s.io/api/core/v1.PodAntiAffinity": schema_k8sio_api_core_v1_PodAntiAffinity(ref),
166 "k8s.io/api/core/v1.PodAttachOptions": schema_k8sio_api_core_v1_PodAttachOptions(ref),
167 "k8s.io/api/core/v1.PodCondition": schema_k8sio_api_core_v1_PodCondition(ref),
168 "k8s.io/api/core/v1.PodDNSConfig": schema_k8sio_api_core_v1_PodDNSConfig(ref),
169 "k8s.io/api/core/v1.PodDNSConfigOption": schema_k8sio_api_core_v1_PodDNSConfigOption(ref),
170 "k8s.io/api/core/v1.PodExecOptions": schema_k8sio_api_core_v1_PodExecOptions(ref),
171 "k8s.io/api/core/v1.PodIP": schema_k8sio_api_core_v1_PodIP(ref),
172 "k8s.io/api/core/v1.PodList": schema_k8sio_api_core_v1_PodList(ref),
173 "k8s.io/api/core/v1.PodLogOptions": schema_k8sio_api_core_v1_PodLogOptions(ref),
174 "k8s.io/api/core/v1.PodOS": schema_k8sio_api_core_v1_PodOS(ref),
175 "k8s.io/api/core/v1.PodPortForwardOptions": schema_k8sio_api_core_v1_PodPortForwardOptions(ref),
176 "k8s.io/api/core/v1.PodProxyOptions": schema_k8sio_api_core_v1_PodProxyOptions(ref),
177 "k8s.io/api/core/v1.PodReadinessGate": schema_k8sio_api_core_v1_PodReadinessGate(ref),
178 "k8s.io/api/core/v1.PodResourceClaim": schema_k8sio_api_core_v1_PodResourceClaim(ref),
179 "k8s.io/api/core/v1.PodResourceClaimStatus": schema_k8sio_api_core_v1_PodResourceClaimStatus(ref),
180 "k8s.io/api/core/v1.PodSchedulingGate": schema_k8sio_api_core_v1_PodSchedulingGate(ref),
181 "k8s.io/api/core/v1.PodSecurityContext": schema_k8sio_api_core_v1_PodSecurityContext(ref),
182 "k8s.io/api/core/v1.PodSignature": schema_k8sio_api_core_v1_PodSignature(ref),
183 "k8s.io/api/core/v1.PodSpec": schema_k8sio_api_core_v1_PodSpec(ref),
184 "k8s.io/api/core/v1.PodStatus": schema_k8sio_api_core_v1_PodStatus(ref),
185 "k8s.io/api/core/v1.PodStatusResult": schema_k8sio_api_core_v1_PodStatusResult(ref),
186 "k8s.io/api/core/v1.PodTemplate": schema_k8sio_api_core_v1_PodTemplate(ref),
187 "k8s.io/api/core/v1.PodTemplateList": schema_k8sio_api_core_v1_PodTemplateList(ref),
188 "k8s.io/api/core/v1.PodTemplateSpec": schema_k8sio_api_core_v1_PodTemplateSpec(ref),
189 "k8s.io/api/core/v1.PortStatus": schema_k8sio_api_core_v1_PortStatus(ref),
190 "k8s.io/api/core/v1.PortworxVolumeSource": schema_k8sio_api_core_v1_PortworxVolumeSource(ref),
191 "k8s.io/api/core/v1.PreferAvoidPodsEntry": schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref),
192 "k8s.io/api/core/v1.PreferredSchedulingTerm": schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref),
193 "k8s.io/api/core/v1.Probe": schema_k8sio_api_core_v1_Probe(ref),
194 "k8s.io/api/core/v1.ProbeHandler": schema_k8sio_api_core_v1_ProbeHandler(ref),
195 "k8s.io/api/core/v1.ProjectedVolumeSource": schema_k8sio_api_core_v1_ProjectedVolumeSource(ref),
196 "k8s.io/api/core/v1.QuobyteVolumeSource": schema_k8sio_api_core_v1_QuobyteVolumeSource(ref),
197 "k8s.io/api/core/v1.RBDPersistentVolumeSource": schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref),
198 "k8s.io/api/core/v1.RBDVolumeSource": schema_k8sio_api_core_v1_RBDVolumeSource(ref),
199 "k8s.io/api/core/v1.RangeAllocation": schema_k8sio_api_core_v1_RangeAllocation(ref),
200 "k8s.io/api/core/v1.ReplicationController": schema_k8sio_api_core_v1_ReplicationController(ref),
201 "k8s.io/api/core/v1.ReplicationControllerCondition": schema_k8sio_api_core_v1_ReplicationControllerCondition(ref),
202 "k8s.io/api/core/v1.ReplicationControllerList": schema_k8sio_api_core_v1_ReplicationControllerList(ref),
203 "k8s.io/api/core/v1.ReplicationControllerSpec": schema_k8sio_api_core_v1_ReplicationControllerSpec(ref),
204 "k8s.io/api/core/v1.ReplicationControllerStatus": schema_k8sio_api_core_v1_ReplicationControllerStatus(ref),
205 "k8s.io/api/core/v1.ResourceClaim": schema_k8sio_api_core_v1_ResourceClaim(ref),
206 "k8s.io/api/core/v1.ResourceFieldSelector": schema_k8sio_api_core_v1_ResourceFieldSelector(ref),
207 "k8s.io/api/core/v1.ResourceQuota": schema_k8sio_api_core_v1_ResourceQuota(ref),
208 "k8s.io/api/core/v1.ResourceQuotaList": schema_k8sio_api_core_v1_ResourceQuotaList(ref),
209 "k8s.io/api/core/v1.ResourceQuotaSpec": schema_k8sio_api_core_v1_ResourceQuotaSpec(ref),
210 "k8s.io/api/core/v1.ResourceQuotaStatus": schema_k8sio_api_core_v1_ResourceQuotaStatus(ref),
211 "k8s.io/api/core/v1.ResourceRequirements": schema_k8sio_api_core_v1_ResourceRequirements(ref),
212 "k8s.io/api/core/v1.SELinuxOptions": schema_k8sio_api_core_v1_SELinuxOptions(ref),
213 "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource": schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref),
214 "k8s.io/api/core/v1.ScaleIOVolumeSource": schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref),
215 "k8s.io/api/core/v1.ScopeSelector": schema_k8sio_api_core_v1_ScopeSelector(ref),
216 "k8s.io/api/core/v1.ScopedResourceSelectorRequirement": schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref),
217 "k8s.io/api/core/v1.SeccompProfile": schema_k8sio_api_core_v1_SeccompProfile(ref),
218 "k8s.io/api/core/v1.Secret": schema_k8sio_api_core_v1_Secret(ref),
219 "k8s.io/api/core/v1.SecretEnvSource": schema_k8sio_api_core_v1_SecretEnvSource(ref),
220 "k8s.io/api/core/v1.SecretKeySelector": schema_k8sio_api_core_v1_SecretKeySelector(ref),
221 "k8s.io/api/core/v1.SecretList": schema_k8sio_api_core_v1_SecretList(ref),
222 "k8s.io/api/core/v1.SecretProjection": schema_k8sio_api_core_v1_SecretProjection(ref),
223 "k8s.io/api/core/v1.SecretReference": schema_k8sio_api_core_v1_SecretReference(ref),
224 "k8s.io/api/core/v1.SecretVolumeSource": schema_k8sio_api_core_v1_SecretVolumeSource(ref),
225 "k8s.io/api/core/v1.SecurityContext": schema_k8sio_api_core_v1_SecurityContext(ref),
226 "k8s.io/api/core/v1.SerializedReference": schema_k8sio_api_core_v1_SerializedReference(ref),
227 "k8s.io/api/core/v1.Service": schema_k8sio_api_core_v1_Service(ref),
228 "k8s.io/api/core/v1.ServiceAccount": schema_k8sio_api_core_v1_ServiceAccount(ref),
229 "k8s.io/api/core/v1.ServiceAccountList": schema_k8sio_api_core_v1_ServiceAccountList(ref),
230 "k8s.io/api/core/v1.ServiceAccountTokenProjection": schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref),
231 "k8s.io/api/core/v1.ServiceList": schema_k8sio_api_core_v1_ServiceList(ref),
232 "k8s.io/api/core/v1.ServicePort": schema_k8sio_api_core_v1_ServicePort(ref),
233 "k8s.io/api/core/v1.ServiceProxyOptions": schema_k8sio_api_core_v1_ServiceProxyOptions(ref),
234 "k8s.io/api/core/v1.ServiceSpec": schema_k8sio_api_core_v1_ServiceSpec(ref),
235 "k8s.io/api/core/v1.ServiceStatus": schema_k8sio_api_core_v1_ServiceStatus(ref),
236 "k8s.io/api/core/v1.SessionAffinityConfig": schema_k8sio_api_core_v1_SessionAffinityConfig(ref),
237 "k8s.io/api/core/v1.SleepAction": schema_k8sio_api_core_v1_SleepAction(ref),
238 "k8s.io/api/core/v1.StorageOSPersistentVolumeSource": schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref),
239 "k8s.io/api/core/v1.StorageOSVolumeSource": schema_k8sio_api_core_v1_StorageOSVolumeSource(ref),
240 "k8s.io/api/core/v1.Sysctl": schema_k8sio_api_core_v1_Sysctl(ref),
241 "k8s.io/api/core/v1.TCPSocketAction": schema_k8sio_api_core_v1_TCPSocketAction(ref),
242 "k8s.io/api/core/v1.Taint": schema_k8sio_api_core_v1_Taint(ref),
243 "k8s.io/api/core/v1.Toleration": schema_k8sio_api_core_v1_Toleration(ref),
244 "k8s.io/api/core/v1.TopologySelectorLabelRequirement": schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref),
245 "k8s.io/api/core/v1.TopologySelectorTerm": schema_k8sio_api_core_v1_TopologySelectorTerm(ref),
246 "k8s.io/api/core/v1.TopologySpreadConstraint": schema_k8sio_api_core_v1_TopologySpreadConstraint(ref),
247 "k8s.io/api/core/v1.TypedLocalObjectReference": schema_k8sio_api_core_v1_TypedLocalObjectReference(ref),
248 "k8s.io/api/core/v1.TypedObjectReference": schema_k8sio_api_core_v1_TypedObjectReference(ref),
249 "k8s.io/api/core/v1.Volume": schema_k8sio_api_core_v1_Volume(ref),
250 "k8s.io/api/core/v1.VolumeDevice": schema_k8sio_api_core_v1_VolumeDevice(ref),
251 "k8s.io/api/core/v1.VolumeMount": schema_k8sio_api_core_v1_VolumeMount(ref),
252 "k8s.io/api/core/v1.VolumeMountStatus": schema_k8sio_api_core_v1_VolumeMountStatus(ref),
253 "k8s.io/api/core/v1.VolumeNodeAffinity": schema_k8sio_api_core_v1_VolumeNodeAffinity(ref),
254 "k8s.io/api/core/v1.VolumeProjection": schema_k8sio_api_core_v1_VolumeProjection(ref),
255 "k8s.io/api/core/v1.VolumeResourceRequirements": schema_k8sio_api_core_v1_VolumeResourceRequirements(ref),
256 "k8s.io/api/core/v1.VolumeSource": schema_k8sio_api_core_v1_VolumeSource(ref),
257 "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource": schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref),
258 "k8s.io/api/core/v1.WeightedPodAffinityTerm": schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref),
259 "k8s.io/api/core/v1.WindowsSecurityContextOptions": schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref),
260 "k8s.io/apimachinery/pkg/api/resource.Quantity": schema_apimachinery_pkg_api_resource_Quantity(ref),
261 "k8s.io/apimachinery/pkg/api/resource.int64Amount": schema_apimachinery_pkg_api_resource_int64Amount(ref),
262 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref),
263 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref),
264 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref),
265 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref),
266 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref),
267 "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref),
268 "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref),
269 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref),
270 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref),
271 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref),
272 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref),
273 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref),
274 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref),
275 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref),
276 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref),
277 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref),
278 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref),
279 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref),
280 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref),
281 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref),
282 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref),
283 "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref),
284 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref),
285 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref),
286 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref),
287 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref),
288 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref),
289 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref),
290 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref),
291 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref),
292 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref),
293 "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref),
294 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref),
295 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref),
296 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref),
297 "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref),
298 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref),
299 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref),
300 "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref),
301 "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref),
302 "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref),
303 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref),
304 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref),
305 "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref),
306 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref),
307 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref),
308 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref),
309 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref),
310 "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref),
311 "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref),
312 "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref),
313 "k8s.io/apimachinery/pkg/util/intstr.IntOrString": schema_apimachinery_pkg_util_intstr_IntOrString(ref),
314 "kubevirt.io/api/clone/v1alpha1.Condition": schema_kubevirtio_api_clone_v1alpha1_Condition(ref),
315 "kubevirt.io/api/clone/v1alpha1.VirtualMachineClone": schema_kubevirtio_api_clone_v1alpha1_VirtualMachineClone(ref),
316 "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneList": schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneList(ref),
317 "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneSpec": schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneSpec(ref),
318 "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneStatus": schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneStatus(ref),
319 "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneTemplateFilters": schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneTemplateFilters(ref),
320 "kubevirt.io/api/core/v1.ACPI": schema_kubevirtio_api_core_v1_ACPI(ref),
321 "kubevirt.io/api/core/v1.AccessCredential": schema_kubevirtio_api_core_v1_AccessCredential(ref),
322 "kubevirt.io/api/core/v1.AccessCredentialSecretSource": schema_kubevirtio_api_core_v1_AccessCredentialSecretSource(ref),
323 "kubevirt.io/api/core/v1.AddVolumeOptions": schema_kubevirtio_api_core_v1_AddVolumeOptions(ref),
324 "kubevirt.io/api/core/v1.ArchConfiguration": schema_kubevirtio_api_core_v1_ArchConfiguration(ref),
325 "kubevirt.io/api/core/v1.ArchSpecificConfiguration": schema_kubevirtio_api_core_v1_ArchSpecificConfiguration(ref),
326 "kubevirt.io/api/core/v1.AuthorizedKeysFile": schema_kubevirtio_api_core_v1_AuthorizedKeysFile(ref),
327 "kubevirt.io/api/core/v1.BIOS": schema_kubevirtio_api_core_v1_BIOS(ref),
328 "kubevirt.io/api/core/v1.BlockSize": schema_kubevirtio_api_core_v1_BlockSize(ref),
329 "kubevirt.io/api/core/v1.Bootloader": schema_kubevirtio_api_core_v1_Bootloader(ref),
330 "kubevirt.io/api/core/v1.CDRomTarget": schema_kubevirtio_api_core_v1_CDRomTarget(ref),
331 "kubevirt.io/api/core/v1.CPU": schema_kubevirtio_api_core_v1_CPU(ref),
332 "kubevirt.io/api/core/v1.CPUFeature": schema_kubevirtio_api_core_v1_CPUFeature(ref),
333 "kubevirt.io/api/core/v1.CPUTopology": schema_kubevirtio_api_core_v1_CPUTopology(ref),
334 "kubevirt.io/api/core/v1.CertConfig": schema_kubevirtio_api_core_v1_CertConfig(ref),
335 "kubevirt.io/api/core/v1.Chassis": schema_kubevirtio_api_core_v1_Chassis(ref),
336 "kubevirt.io/api/core/v1.ClientPassthroughDevices": schema_kubevirtio_api_core_v1_ClientPassthroughDevices(ref),
337 "kubevirt.io/api/core/v1.Clock": schema_kubevirtio_api_core_v1_Clock(ref),
338 "kubevirt.io/api/core/v1.ClockOffset": schema_kubevirtio_api_core_v1_ClockOffset(ref),
339 "kubevirt.io/api/core/v1.ClockOffsetUTC": schema_kubevirtio_api_core_v1_ClockOffsetUTC(ref),
340 "kubevirt.io/api/core/v1.CloudInitConfigDriveSource": schema_kubevirtio_api_core_v1_CloudInitConfigDriveSource(ref),
341 "kubevirt.io/api/core/v1.CloudInitNoCloudSource": schema_kubevirtio_api_core_v1_CloudInitNoCloudSource(ref),
342 "kubevirt.io/api/core/v1.ClusterProfilerRequest": schema_kubevirtio_api_core_v1_ClusterProfilerRequest(ref),
343 "kubevirt.io/api/core/v1.ClusterProfilerResults": schema_kubevirtio_api_core_v1_ClusterProfilerResults(ref),
344 "kubevirt.io/api/core/v1.ComponentConfig": schema_kubevirtio_api_core_v1_ComponentConfig(ref),
345 "kubevirt.io/api/core/v1.ConfigDriveSSHPublicKeyAccessCredentialPropagation": schema_kubevirtio_api_core_v1_ConfigDriveSSHPublicKeyAccessCredentialPropagation(ref),
346 "kubevirt.io/api/core/v1.ConfigMapVolumeSource": schema_kubevirtio_api_core_v1_ConfigMapVolumeSource(ref),
347 "kubevirt.io/api/core/v1.ContainerDiskInfo": schema_kubevirtio_api_core_v1_ContainerDiskInfo(ref),
348 "kubevirt.io/api/core/v1.ContainerDiskSource": schema_kubevirtio_api_core_v1_ContainerDiskSource(ref),
349 "kubevirt.io/api/core/v1.CustomBlockSize": schema_kubevirtio_api_core_v1_CustomBlockSize(ref),
350 "kubevirt.io/api/core/v1.CustomProfile": schema_kubevirtio_api_core_v1_CustomProfile(ref),
351 "kubevirt.io/api/core/v1.CustomizeComponents": schema_kubevirtio_api_core_v1_CustomizeComponents(ref),
352 "kubevirt.io/api/core/v1.CustomizeComponentsPatch": schema_kubevirtio_api_core_v1_CustomizeComponentsPatch(ref),
353 "kubevirt.io/api/core/v1.DHCPOptions": schema_kubevirtio_api_core_v1_DHCPOptions(ref),
354 "kubevirt.io/api/core/v1.DHCPPrivateOptions": schema_kubevirtio_api_core_v1_DHCPPrivateOptions(ref),
355 "kubevirt.io/api/core/v1.DataVolumeSource": schema_kubevirtio_api_core_v1_DataVolumeSource(ref),
356 "kubevirt.io/api/core/v1.DataVolumeTemplateDummyStatus": schema_kubevirtio_api_core_v1_DataVolumeTemplateDummyStatus(ref),
357 "kubevirt.io/api/core/v1.DataVolumeTemplateSpec": schema_kubevirtio_api_core_v1_DataVolumeTemplateSpec(ref),
358 "kubevirt.io/api/core/v1.DeprecatedInterfaceMacvtap": schema_kubevirtio_api_core_v1_DeprecatedInterfaceMacvtap(ref),
359 "kubevirt.io/api/core/v1.DeprecatedInterfacePasst": schema_kubevirtio_api_core_v1_DeprecatedInterfacePasst(ref),
360 "kubevirt.io/api/core/v1.DeprecatedInterfaceSlirp": schema_kubevirtio_api_core_v1_DeprecatedInterfaceSlirp(ref),
361 "kubevirt.io/api/core/v1.DeveloperConfiguration": schema_kubevirtio_api_core_v1_DeveloperConfiguration(ref),
362 "kubevirt.io/api/core/v1.Devices": schema_kubevirtio_api_core_v1_Devices(ref),
363 "kubevirt.io/api/core/v1.DisableFreePageReporting": schema_kubevirtio_api_core_v1_DisableFreePageReporting(ref),
364 "kubevirt.io/api/core/v1.DisableSerialConsoleLog": schema_kubevirtio_api_core_v1_DisableSerialConsoleLog(ref),
365 "kubevirt.io/api/core/v1.Disk": schema_kubevirtio_api_core_v1_Disk(ref),
366 "kubevirt.io/api/core/v1.DiskDevice": schema_kubevirtio_api_core_v1_DiskDevice(ref),
367 "kubevirt.io/api/core/v1.DiskTarget": schema_kubevirtio_api_core_v1_DiskTarget(ref),
368 "kubevirt.io/api/core/v1.DiskVerification": schema_kubevirtio_api_core_v1_DiskVerification(ref),
369 "kubevirt.io/api/core/v1.DomainMemoryDumpInfo": schema_kubevirtio_api_core_v1_DomainMemoryDumpInfo(ref),
370 "kubevirt.io/api/core/v1.DomainSpec": schema_kubevirtio_api_core_v1_DomainSpec(ref),
371 "kubevirt.io/api/core/v1.DownwardAPIVolumeSource": schema_kubevirtio_api_core_v1_DownwardAPIVolumeSource(ref),
372 "kubevirt.io/api/core/v1.DownwardMetrics": schema_kubevirtio_api_core_v1_DownwardMetrics(ref),
373 "kubevirt.io/api/core/v1.DownwardMetricsVolumeSource": schema_kubevirtio_api_core_v1_DownwardMetricsVolumeSource(ref),
374 "kubevirt.io/api/core/v1.EFI": schema_kubevirtio_api_core_v1_EFI(ref),
375 "kubevirt.io/api/core/v1.EmptyDiskSource": schema_kubevirtio_api_core_v1_EmptyDiskSource(ref),
376 "kubevirt.io/api/core/v1.EphemeralVolumeSource": schema_kubevirtio_api_core_v1_EphemeralVolumeSource(ref),
377 "kubevirt.io/api/core/v1.FeatureAPIC": schema_kubevirtio_api_core_v1_FeatureAPIC(ref),
378 "kubevirt.io/api/core/v1.FeatureHyperv": schema_kubevirtio_api_core_v1_FeatureHyperv(ref),
379 "kubevirt.io/api/core/v1.FeatureKVM": schema_kubevirtio_api_core_v1_FeatureKVM(ref),
380 "kubevirt.io/api/core/v1.FeatureSpinlocks": schema_kubevirtio_api_core_v1_FeatureSpinlocks(ref),
381 "kubevirt.io/api/core/v1.FeatureState": schema_kubevirtio_api_core_v1_FeatureState(ref),
382 "kubevirt.io/api/core/v1.FeatureVendorID": schema_kubevirtio_api_core_v1_FeatureVendorID(ref),
383 "kubevirt.io/api/core/v1.Features": schema_kubevirtio_api_core_v1_Features(ref),
384 "kubevirt.io/api/core/v1.Filesystem": schema_kubevirtio_api_core_v1_Filesystem(ref),
385 "kubevirt.io/api/core/v1.FilesystemVirtiofs": schema_kubevirtio_api_core_v1_FilesystemVirtiofs(ref),
386 "kubevirt.io/api/core/v1.Firmware": schema_kubevirtio_api_core_v1_Firmware(ref),
387 "kubevirt.io/api/core/v1.Flags": schema_kubevirtio_api_core_v1_Flags(ref),
388 "kubevirt.io/api/core/v1.FreezeUnfreezeTimeout": schema_kubevirtio_api_core_v1_FreezeUnfreezeTimeout(ref),
389 "kubevirt.io/api/core/v1.GPU": schema_kubevirtio_api_core_v1_GPU(ref),
390 "kubevirt.io/api/core/v1.GenerationStatus": schema_kubevirtio_api_core_v1_GenerationStatus(ref),
391 "kubevirt.io/api/core/v1.GuestAgentCommandInfo": schema_kubevirtio_api_core_v1_GuestAgentCommandInfo(ref),
392 "kubevirt.io/api/core/v1.GuestAgentPing": schema_kubevirtio_api_core_v1_GuestAgentPing(ref),
393 "kubevirt.io/api/core/v1.HPETTimer": schema_kubevirtio_api_core_v1_HPETTimer(ref),
394 "kubevirt.io/api/core/v1.Handler": schema_kubevirtio_api_core_v1_Handler(ref),
395 "kubevirt.io/api/core/v1.HostDevice": schema_kubevirtio_api_core_v1_HostDevice(ref),
396 "kubevirt.io/api/core/v1.HostDisk": schema_kubevirtio_api_core_v1_HostDisk(ref),
397 "kubevirt.io/api/core/v1.HotplugVolumeSource": schema_kubevirtio_api_core_v1_HotplugVolumeSource(ref),
398 "kubevirt.io/api/core/v1.HotplugVolumeStatus": schema_kubevirtio_api_core_v1_HotplugVolumeStatus(ref),
399 "kubevirt.io/api/core/v1.Hugepages": schema_kubevirtio_api_core_v1_Hugepages(ref),
400 "kubevirt.io/api/core/v1.HyperVPassthrough": schema_kubevirtio_api_core_v1_HyperVPassthrough(ref),
401 "kubevirt.io/api/core/v1.HypervTimer": schema_kubevirtio_api_core_v1_HypervTimer(ref),
402 "kubevirt.io/api/core/v1.I6300ESBWatchdog": schema_kubevirtio_api_core_v1_I6300ESBWatchdog(ref),
403 "kubevirt.io/api/core/v1.InitrdInfo": schema_kubevirtio_api_core_v1_InitrdInfo(ref),
404 "kubevirt.io/api/core/v1.Input": schema_kubevirtio_api_core_v1_Input(ref),
405 "kubevirt.io/api/core/v1.InstancetypeMatcher": schema_kubevirtio_api_core_v1_InstancetypeMatcher(ref),
406 "kubevirt.io/api/core/v1.Interface": schema_kubevirtio_api_core_v1_Interface(ref),
407 "kubevirt.io/api/core/v1.InterfaceBindingMethod": schema_kubevirtio_api_core_v1_InterfaceBindingMethod(ref),
408 "kubevirt.io/api/core/v1.InterfaceBindingMigration": schema_kubevirtio_api_core_v1_InterfaceBindingMigration(ref),
409 "kubevirt.io/api/core/v1.InterfaceBindingPlugin": schema_kubevirtio_api_core_v1_InterfaceBindingPlugin(ref),
410 "kubevirt.io/api/core/v1.InterfaceBridge": schema_kubevirtio_api_core_v1_InterfaceBridge(ref),
411 "kubevirt.io/api/core/v1.InterfaceMasquerade": schema_kubevirtio_api_core_v1_InterfaceMasquerade(ref),
412 "kubevirt.io/api/core/v1.InterfaceSRIOV": schema_kubevirtio_api_core_v1_InterfaceSRIOV(ref),
413 "kubevirt.io/api/core/v1.KSMConfiguration": schema_kubevirtio_api_core_v1_KSMConfiguration(ref),
414 "kubevirt.io/api/core/v1.KVMTimer": schema_kubevirtio_api_core_v1_KVMTimer(ref),
415 "kubevirt.io/api/core/v1.KernelBoot": schema_kubevirtio_api_core_v1_KernelBoot(ref),
416 "kubevirt.io/api/core/v1.KernelBootContainer": schema_kubevirtio_api_core_v1_KernelBootContainer(ref),
417 "kubevirt.io/api/core/v1.KernelBootStatus": schema_kubevirtio_api_core_v1_KernelBootStatus(ref),
418 "kubevirt.io/api/core/v1.KernelInfo": schema_kubevirtio_api_core_v1_KernelInfo(ref),
419 "kubevirt.io/api/core/v1.KubeVirt": schema_kubevirtio_api_core_v1_KubeVirt(ref),
420 "kubevirt.io/api/core/v1.KubeVirtCertificateRotateStrategy": schema_kubevirtio_api_core_v1_KubeVirtCertificateRotateStrategy(ref),
421 "kubevirt.io/api/core/v1.KubeVirtCondition": schema_kubevirtio_api_core_v1_KubeVirtCondition(ref),
422 "kubevirt.io/api/core/v1.KubeVirtConfiguration": schema_kubevirtio_api_core_v1_KubeVirtConfiguration(ref),
423 "kubevirt.io/api/core/v1.KubeVirtList": schema_kubevirtio_api_core_v1_KubeVirtList(ref),
424 "kubevirt.io/api/core/v1.KubeVirtSelfSignConfiguration": schema_kubevirtio_api_core_v1_KubeVirtSelfSignConfiguration(ref),
425 "kubevirt.io/api/core/v1.KubeVirtSpec": schema_kubevirtio_api_core_v1_KubeVirtSpec(ref),
426 "kubevirt.io/api/core/v1.KubeVirtStatus": schema_kubevirtio_api_core_v1_KubeVirtStatus(ref),
427 "kubevirt.io/api/core/v1.KubeVirtWorkloadUpdateStrategy": schema_kubevirtio_api_core_v1_KubeVirtWorkloadUpdateStrategy(ref),
428 "kubevirt.io/api/core/v1.LaunchSecurity": schema_kubevirtio_api_core_v1_LaunchSecurity(ref),
429 "kubevirt.io/api/core/v1.LiveUpdateAffinity": schema_kubevirtio_api_core_v1_LiveUpdateAffinity(ref),
430 "kubevirt.io/api/core/v1.LiveUpdateCPU": schema_kubevirtio_api_core_v1_LiveUpdateCPU(ref),
431 "kubevirt.io/api/core/v1.LiveUpdateConfiguration": schema_kubevirtio_api_core_v1_LiveUpdateConfiguration(ref),
432 "kubevirt.io/api/core/v1.LiveUpdateMemory": schema_kubevirtio_api_core_v1_LiveUpdateMemory(ref),
433 "kubevirt.io/api/core/v1.LogVerbosity": schema_kubevirtio_api_core_v1_LogVerbosity(ref),
434 "kubevirt.io/api/core/v1.LunTarget": schema_kubevirtio_api_core_v1_LunTarget(ref),
435 "kubevirt.io/api/core/v1.Machine": schema_kubevirtio_api_core_v1_Machine(ref),
436 "kubevirt.io/api/core/v1.MediatedDevicesConfiguration": schema_kubevirtio_api_core_v1_MediatedDevicesConfiguration(ref),
437 "kubevirt.io/api/core/v1.MediatedHostDevice": schema_kubevirtio_api_core_v1_MediatedHostDevice(ref),
438 "kubevirt.io/api/core/v1.Memory": schema_kubevirtio_api_core_v1_Memory(ref),
439 "kubevirt.io/api/core/v1.MemoryDumpVolumeSource": schema_kubevirtio_api_core_v1_MemoryDumpVolumeSource(ref),
440 "kubevirt.io/api/core/v1.MemoryStatus": schema_kubevirtio_api_core_v1_MemoryStatus(ref),
441 "kubevirt.io/api/core/v1.MigrateOptions": schema_kubevirtio_api_core_v1_MigrateOptions(ref),
442 "kubevirt.io/api/core/v1.MigrationConfiguration": schema_kubevirtio_api_core_v1_MigrationConfiguration(ref),
443 "kubevirt.io/api/core/v1.MultusNetwork": schema_kubevirtio_api_core_v1_MultusNetwork(ref),
444 "kubevirt.io/api/core/v1.NUMA": schema_kubevirtio_api_core_v1_NUMA(ref),
445 "kubevirt.io/api/core/v1.NUMAGuestMappingPassthrough": schema_kubevirtio_api_core_v1_NUMAGuestMappingPassthrough(ref),
446 "kubevirt.io/api/core/v1.Network": schema_kubevirtio_api_core_v1_Network(ref),
447 "kubevirt.io/api/core/v1.NetworkConfiguration": schema_kubevirtio_api_core_v1_NetworkConfiguration(ref),
448 "kubevirt.io/api/core/v1.NetworkSource": schema_kubevirtio_api_core_v1_NetworkSource(ref),
449 "kubevirt.io/api/core/v1.NoCloudSSHPublicKeyAccessCredentialPropagation": schema_kubevirtio_api_core_v1_NoCloudSSHPublicKeyAccessCredentialPropagation(ref),
450 "kubevirt.io/api/core/v1.NodeMediatedDeviceTypesConfig": schema_kubevirtio_api_core_v1_NodeMediatedDeviceTypesConfig(ref),
451 "kubevirt.io/api/core/v1.NodePlacement": schema_kubevirtio_api_core_v1_NodePlacement(ref),
452 "kubevirt.io/api/core/v1.PITTimer": schema_kubevirtio_api_core_v1_PITTimer(ref),
453 "kubevirt.io/api/core/v1.PauseOptions": schema_kubevirtio_api_core_v1_PauseOptions(ref),
454 "kubevirt.io/api/core/v1.PciHostDevice": schema_kubevirtio_api_core_v1_PciHostDevice(ref),
455 "kubevirt.io/api/core/v1.PermittedHostDevices": schema_kubevirtio_api_core_v1_PermittedHostDevices(ref),
456 "kubevirt.io/api/core/v1.PersistentVolumeClaimInfo": schema_kubevirtio_api_core_v1_PersistentVolumeClaimInfo(ref),
457 "kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_kubevirtio_api_core_v1_PersistentVolumeClaimVolumeSource(ref),
458 "kubevirt.io/api/core/v1.PluginBinding": schema_kubevirtio_api_core_v1_PluginBinding(ref),
459 "kubevirt.io/api/core/v1.PodNetwork": schema_kubevirtio_api_core_v1_PodNetwork(ref),
460 "kubevirt.io/api/core/v1.Port": schema_kubevirtio_api_core_v1_Port(ref),
461 "kubevirt.io/api/core/v1.PreferenceMatcher": schema_kubevirtio_api_core_v1_PreferenceMatcher(ref),
462 "kubevirt.io/api/core/v1.Probe": schema_kubevirtio_api_core_v1_Probe(ref),
463 "kubevirt.io/api/core/v1.ProfilerResult": schema_kubevirtio_api_core_v1_ProfilerResult(ref),
464 "kubevirt.io/api/core/v1.QemuGuestAgentSSHPublicKeyAccessCredentialPropagation": schema_kubevirtio_api_core_v1_QemuGuestAgentSSHPublicKeyAccessCredentialPropagation(ref),
465 "kubevirt.io/api/core/v1.QemuGuestAgentUserPasswordAccessCredentialPropagation": schema_kubevirtio_api_core_v1_QemuGuestAgentUserPasswordAccessCredentialPropagation(ref),
466 "kubevirt.io/api/core/v1.RESTClientConfiguration": schema_kubevirtio_api_core_v1_RESTClientConfiguration(ref),
467 "kubevirt.io/api/core/v1.RTCTimer": schema_kubevirtio_api_core_v1_RTCTimer(ref),
468 "kubevirt.io/api/core/v1.RateLimiter": schema_kubevirtio_api_core_v1_RateLimiter(ref),
469 "kubevirt.io/api/core/v1.Realtime": schema_kubevirtio_api_core_v1_Realtime(ref),
470 "kubevirt.io/api/core/v1.ReloadableComponentConfiguration": schema_kubevirtio_api_core_v1_ReloadableComponentConfiguration(ref),
471 "kubevirt.io/api/core/v1.RemoveVolumeOptions": schema_kubevirtio_api_core_v1_RemoveVolumeOptions(ref),
472 "kubevirt.io/api/core/v1.ResourceRequirements": schema_kubevirtio_api_core_v1_ResourceRequirements(ref),
473 "kubevirt.io/api/core/v1.RestartOptions": schema_kubevirtio_api_core_v1_RestartOptions(ref),
474 "kubevirt.io/api/core/v1.Rng": schema_kubevirtio_api_core_v1_Rng(ref),
475 "kubevirt.io/api/core/v1.SEV": schema_kubevirtio_api_core_v1_SEV(ref),
476 "kubevirt.io/api/core/v1.SEVAttestation": schema_kubevirtio_api_core_v1_SEVAttestation(ref),
477 "kubevirt.io/api/core/v1.SEVMeasurementInfo": schema_kubevirtio_api_core_v1_SEVMeasurementInfo(ref),
478 "kubevirt.io/api/core/v1.SEVPlatformInfo": schema_kubevirtio_api_core_v1_SEVPlatformInfo(ref),
479 "kubevirt.io/api/core/v1.SEVPolicy": schema_kubevirtio_api_core_v1_SEVPolicy(ref),
480 "kubevirt.io/api/core/v1.SEVSecretOptions": schema_kubevirtio_api_core_v1_SEVSecretOptions(ref),
481 "kubevirt.io/api/core/v1.SEVSessionOptions": schema_kubevirtio_api_core_v1_SEVSessionOptions(ref),
482 "kubevirt.io/api/core/v1.SMBiosConfiguration": schema_kubevirtio_api_core_v1_SMBiosConfiguration(ref),
483 "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredential": schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredential(ref),
484 "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialPropagationMethod": schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredentialPropagationMethod(ref),
485 "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialSource": schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredentialSource(ref),
486 "kubevirt.io/api/core/v1.ScreenshotOptions": schema_kubevirtio_api_core_v1_ScreenshotOptions(ref),
487 "kubevirt.io/api/core/v1.SeccompConfiguration": schema_kubevirtio_api_core_v1_SeccompConfiguration(ref),
488 "kubevirt.io/api/core/v1.SecretVolumeSource": schema_kubevirtio_api_core_v1_SecretVolumeSource(ref),
489 "kubevirt.io/api/core/v1.ServiceAccountVolumeSource": schema_kubevirtio_api_core_v1_ServiceAccountVolumeSource(ref),
490 "kubevirt.io/api/core/v1.SoundDevice": schema_kubevirtio_api_core_v1_SoundDevice(ref),
491 "kubevirt.io/api/core/v1.StartOptions": schema_kubevirtio_api_core_v1_StartOptions(ref),
492 "kubevirt.io/api/core/v1.StopOptions": schema_kubevirtio_api_core_v1_StopOptions(ref),
493 "kubevirt.io/api/core/v1.StorageMigratedVolumeInfo": schema_kubevirtio_api_core_v1_StorageMigratedVolumeInfo(ref),
494 "kubevirt.io/api/core/v1.SupportContainerResources": schema_kubevirtio_api_core_v1_SupportContainerResources(ref),
495 "kubevirt.io/api/core/v1.SyNICTimer": schema_kubevirtio_api_core_v1_SyNICTimer(ref),
496 "kubevirt.io/api/core/v1.SysprepSource": schema_kubevirtio_api_core_v1_SysprepSource(ref),
497 "kubevirt.io/api/core/v1.TLSConfiguration": schema_kubevirtio_api_core_v1_TLSConfiguration(ref),
498 "kubevirt.io/api/core/v1.TPMDevice": schema_kubevirtio_api_core_v1_TPMDevice(ref),
499 "kubevirt.io/api/core/v1.Timer": schema_kubevirtio_api_core_v1_Timer(ref),
500 "kubevirt.io/api/core/v1.TokenBucketRateLimiter": schema_kubevirtio_api_core_v1_TokenBucketRateLimiter(ref),
501 "kubevirt.io/api/core/v1.TopologyHints": schema_kubevirtio_api_core_v1_TopologyHints(ref),
502 "kubevirt.io/api/core/v1.USBHostDevice": schema_kubevirtio_api_core_v1_USBHostDevice(ref),
503 "kubevirt.io/api/core/v1.USBSelector": schema_kubevirtio_api_core_v1_USBSelector(ref),
504 "kubevirt.io/api/core/v1.UnpauseOptions": schema_kubevirtio_api_core_v1_UnpauseOptions(ref),
505 "kubevirt.io/api/core/v1.UserPasswordAccessCredential": schema_kubevirtio_api_core_v1_UserPasswordAccessCredential(ref),
506 "kubevirt.io/api/core/v1.UserPasswordAccessCredentialPropagationMethod": schema_kubevirtio_api_core_v1_UserPasswordAccessCredentialPropagationMethod(ref),
507 "kubevirt.io/api/core/v1.UserPasswordAccessCredentialSource": schema_kubevirtio_api_core_v1_UserPasswordAccessCredentialSource(ref),
508 "kubevirt.io/api/core/v1.VGPUDisplayOptions": schema_kubevirtio_api_core_v1_VGPUDisplayOptions(ref),
509 "kubevirt.io/api/core/v1.VGPUOptions": schema_kubevirtio_api_core_v1_VGPUOptions(ref),
510 "kubevirt.io/api/core/v1.VMISelector": schema_kubevirtio_api_core_v1_VMISelector(ref),
511 "kubevirt.io/api/core/v1.VSOCKOptions": schema_kubevirtio_api_core_v1_VSOCKOptions(ref),
512 "kubevirt.io/api/core/v1.VirtualMachine": schema_kubevirtio_api_core_v1_VirtualMachine(ref),
513 "kubevirt.io/api/core/v1.VirtualMachineCondition": schema_kubevirtio_api_core_v1_VirtualMachineCondition(ref),
514 "kubevirt.io/api/core/v1.VirtualMachineInstance": schema_kubevirtio_api_core_v1_VirtualMachineInstance(ref),
515 "kubevirt.io/api/core/v1.VirtualMachineInstanceCondition": schema_kubevirtio_api_core_v1_VirtualMachineInstanceCondition(ref),
516 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystem": schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystem(ref),
517 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemDisk": schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemDisk(ref),
518 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemInfo": schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemInfo(ref),
519 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemList": schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemList(ref),
520 "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestAgentInfo": schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestAgentInfo(ref),
521 "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSInfo": schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSInfo(ref),
522 "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUser": schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSUser(ref),
523 "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUserList": schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSUserList(ref),
524 "kubevirt.io/api/core/v1.VirtualMachineInstanceList": schema_kubevirtio_api_core_v1_VirtualMachineInstanceList(ref),
525 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigration": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigration(ref),
526 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationCondition": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationCondition(ref),
527 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationList": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationList(ref),
528 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationPhaseTransitionTimestamp": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationPhaseTransitionTimestamp(ref),
529 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationSpec": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationSpec(ref),
530 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationState": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationState(ref),
531 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationStatus": schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationStatus(ref),
532 "kubevirt.io/api/core/v1.VirtualMachineInstanceNetworkInterface": schema_kubevirtio_api_core_v1_VirtualMachineInstanceNetworkInterface(ref),
533 "kubevirt.io/api/core/v1.VirtualMachineInstancePhaseTransitionTimestamp": schema_kubevirtio_api_core_v1_VirtualMachineInstancePhaseTransitionTimestamp(ref),
534 "kubevirt.io/api/core/v1.VirtualMachineInstancePreset": schema_kubevirtio_api_core_v1_VirtualMachineInstancePreset(ref),
535 "kubevirt.io/api/core/v1.VirtualMachineInstancePresetList": schema_kubevirtio_api_core_v1_VirtualMachineInstancePresetList(ref),
536 "kubevirt.io/api/core/v1.VirtualMachineInstancePresetSpec": schema_kubevirtio_api_core_v1_VirtualMachineInstancePresetSpec(ref),
537 "kubevirt.io/api/core/v1.VirtualMachineInstanceProfile": schema_kubevirtio_api_core_v1_VirtualMachineInstanceProfile(ref),
538 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSet": schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSet(ref),
539 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetCondition": schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetCondition(ref),
540 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetList": schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetList(ref),
541 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetSpec": schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetSpec(ref),
542 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetStatus": schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetStatus(ref),
543 "kubevirt.io/api/core/v1.VirtualMachineInstanceSpec": schema_kubevirtio_api_core_v1_VirtualMachineInstanceSpec(ref),
544 "kubevirt.io/api/core/v1.VirtualMachineInstanceStatus": schema_kubevirtio_api_core_v1_VirtualMachineInstanceStatus(ref),
545 "kubevirt.io/api/core/v1.VirtualMachineInstanceTemplateSpec": schema_kubevirtio_api_core_v1_VirtualMachineInstanceTemplateSpec(ref),
546 "kubevirt.io/api/core/v1.VirtualMachineList": schema_kubevirtio_api_core_v1_VirtualMachineList(ref),
547 "kubevirt.io/api/core/v1.VirtualMachineMemoryDumpRequest": schema_kubevirtio_api_core_v1_VirtualMachineMemoryDumpRequest(ref),
548 "kubevirt.io/api/core/v1.VirtualMachineOptions": schema_kubevirtio_api_core_v1_VirtualMachineOptions(ref),
549 "kubevirt.io/api/core/v1.VirtualMachineSpec": schema_kubevirtio_api_core_v1_VirtualMachineSpec(ref),
550 "kubevirt.io/api/core/v1.VirtualMachineStartFailure": schema_kubevirtio_api_core_v1_VirtualMachineStartFailure(ref),
551 "kubevirt.io/api/core/v1.VirtualMachineStateChangeRequest": schema_kubevirtio_api_core_v1_VirtualMachineStateChangeRequest(ref),
552 "kubevirt.io/api/core/v1.VirtualMachineStatus": schema_kubevirtio_api_core_v1_VirtualMachineStatus(ref),
553 "kubevirt.io/api/core/v1.VirtualMachineVolumeRequest": schema_kubevirtio_api_core_v1_VirtualMachineVolumeRequest(ref),
554 "kubevirt.io/api/core/v1.Volume": schema_kubevirtio_api_core_v1_Volume(ref),
555 "kubevirt.io/api/core/v1.VolumeSnapshotStatus": schema_kubevirtio_api_core_v1_VolumeSnapshotStatus(ref),
556 "kubevirt.io/api/core/v1.VolumeSource": schema_kubevirtio_api_core_v1_VolumeSource(ref),
557 "kubevirt.io/api/core/v1.VolumeStatus": schema_kubevirtio_api_core_v1_VolumeStatus(ref),
558 "kubevirt.io/api/core/v1.Watchdog": schema_kubevirtio_api_core_v1_Watchdog(ref),
559 "kubevirt.io/api/core/v1.WatchdogDevice": schema_kubevirtio_api_core_v1_WatchdogDevice(ref),
560 "kubevirt.io/api/export/v1alpha1.Condition": schema_kubevirtio_api_export_v1alpha1_Condition(ref),
561 "kubevirt.io/api/export/v1alpha1.VirtualMachineExport": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExport(ref),
562 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportLink": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportLink(ref),
563 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportLinks": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportLinks(ref),
564 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportList": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportList(ref),
565 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportManifest": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportManifest(ref),
566 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportSpec": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportSpec(ref),
567 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportStatus": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportStatus(ref),
568 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolume": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportVolume(ref),
569 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolumeFormat": schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportVolumeFormat(ref),
570 "kubevirt.io/api/export/v1beta1.Condition": schema_kubevirtio_api_export_v1beta1_Condition(ref),
571 "kubevirt.io/api/export/v1beta1.VirtualMachineExport": schema_kubevirtio_api_export_v1beta1_VirtualMachineExport(ref),
572 "kubevirt.io/api/export/v1beta1.VirtualMachineExportLink": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportLink(ref),
573 "kubevirt.io/api/export/v1beta1.VirtualMachineExportLinks": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportLinks(ref),
574 "kubevirt.io/api/export/v1beta1.VirtualMachineExportList": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportList(ref),
575 "kubevirt.io/api/export/v1beta1.VirtualMachineExportManifest": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportManifest(ref),
576 "kubevirt.io/api/export/v1beta1.VirtualMachineExportSpec": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportSpec(ref),
577 "kubevirt.io/api/export/v1beta1.VirtualMachineExportStatus": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportStatus(ref),
578 "kubevirt.io/api/export/v1beta1.VirtualMachineExportVolume": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportVolume(ref),
579 "kubevirt.io/api/export/v1beta1.VirtualMachineExportVolumeFormat": schema_kubevirtio_api_export_v1beta1_VirtualMachineExportVolumeFormat(ref),
580 "kubevirt.io/api/instancetype/v1alpha1.CPUInstancetype": schema_kubevirtio_api_instancetype_v1alpha1_CPUInstancetype(ref),
581 "kubevirt.io/api/instancetype/v1alpha1.CPUPreferences": schema_kubevirtio_api_instancetype_v1alpha1_CPUPreferences(ref),
582 "kubevirt.io/api/instancetype/v1alpha1.ClockPreferences": schema_kubevirtio_api_instancetype_v1alpha1_ClockPreferences(ref),
583 "kubevirt.io/api/instancetype/v1alpha1.DevicePreferences": schema_kubevirtio_api_instancetype_v1alpha1_DevicePreferences(ref),
584 "kubevirt.io/api/instancetype/v1alpha1.FeaturePreferences": schema_kubevirtio_api_instancetype_v1alpha1_FeaturePreferences(ref),
585 "kubevirt.io/api/instancetype/v1alpha1.FirmwarePreferences": schema_kubevirtio_api_instancetype_v1alpha1_FirmwarePreferences(ref),
586 "kubevirt.io/api/instancetype/v1alpha1.MachinePreferences": schema_kubevirtio_api_instancetype_v1alpha1_MachinePreferences(ref),
587 "kubevirt.io/api/instancetype/v1alpha1.MemoryInstancetype": schema_kubevirtio_api_instancetype_v1alpha1_MemoryInstancetype(ref),
588 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterInstancetype": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterInstancetype(ref),
589 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterInstancetypeList": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterInstancetypeList(ref),
590 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterPreference": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterPreference(ref),
591 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterPreferenceList": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterPreferenceList(ref),
592 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetype": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetype(ref),
593 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeList": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeList(ref),
594 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpec": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeSpec(ref),
595 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpecRevision": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeSpecRevision(ref),
596 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreference": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreference(ref),
597 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceList": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceList(ref),
598 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpec": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceSpec(ref),
599 "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpecRevision": schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceSpecRevision(ref),
600 "kubevirt.io/api/instancetype/v1alpha2.CPUInstancetype": schema_kubevirtio_api_instancetype_v1alpha2_CPUInstancetype(ref),
601 "kubevirt.io/api/instancetype/v1alpha2.CPUPreferences": schema_kubevirtio_api_instancetype_v1alpha2_CPUPreferences(ref),
602 "kubevirt.io/api/instancetype/v1alpha2.ClockPreferences": schema_kubevirtio_api_instancetype_v1alpha2_ClockPreferences(ref),
603 "kubevirt.io/api/instancetype/v1alpha2.DevicePreferences": schema_kubevirtio_api_instancetype_v1alpha2_DevicePreferences(ref),
604 "kubevirt.io/api/instancetype/v1alpha2.FeaturePreferences": schema_kubevirtio_api_instancetype_v1alpha2_FeaturePreferences(ref),
605 "kubevirt.io/api/instancetype/v1alpha2.FirmwarePreferences": schema_kubevirtio_api_instancetype_v1alpha2_FirmwarePreferences(ref),
606 "kubevirt.io/api/instancetype/v1alpha2.MachinePreferences": schema_kubevirtio_api_instancetype_v1alpha2_MachinePreferences(ref),
607 "kubevirt.io/api/instancetype/v1alpha2.MemoryInstancetype": schema_kubevirtio_api_instancetype_v1alpha2_MemoryInstancetype(ref),
608 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterInstancetype": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterInstancetype(ref),
609 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterInstancetypeList": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterInstancetypeList(ref),
610 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterPreference": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterPreference(ref),
611 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterPreferenceList": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterPreferenceList(ref),
612 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetype": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetype(ref),
613 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeList": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetypeList(ref),
614 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeSpec": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetypeSpec(ref),
615 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreference": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreference(ref),
616 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceList": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreferenceList(ref),
617 "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceSpec": schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreferenceSpec(ref),
618 "kubevirt.io/api/instancetype/v1alpha2.VolumePreferences": schema_kubevirtio_api_instancetype_v1alpha2_VolumePreferences(ref),
619 "kubevirt.io/api/instancetype/v1beta1.CPUInstancetype": schema_kubevirtio_api_instancetype_v1beta1_CPUInstancetype(ref),
620 "kubevirt.io/api/instancetype/v1beta1.CPUPreferenceRequirement": schema_kubevirtio_api_instancetype_v1beta1_CPUPreferenceRequirement(ref),
621 "kubevirt.io/api/instancetype/v1beta1.CPUPreferences": schema_kubevirtio_api_instancetype_v1beta1_CPUPreferences(ref),
622 "kubevirt.io/api/instancetype/v1beta1.ClockPreferences": schema_kubevirtio_api_instancetype_v1beta1_ClockPreferences(ref),
623 "kubevirt.io/api/instancetype/v1beta1.DevicePreferences": schema_kubevirtio_api_instancetype_v1beta1_DevicePreferences(ref),
624 "kubevirt.io/api/instancetype/v1beta1.FeaturePreferences": schema_kubevirtio_api_instancetype_v1beta1_FeaturePreferences(ref),
625 "kubevirt.io/api/instancetype/v1beta1.FirmwarePreferences": schema_kubevirtio_api_instancetype_v1beta1_FirmwarePreferences(ref),
626 "kubevirt.io/api/instancetype/v1beta1.MachinePreferences": schema_kubevirtio_api_instancetype_v1beta1_MachinePreferences(ref),
627 "kubevirt.io/api/instancetype/v1beta1.MemoryInstancetype": schema_kubevirtio_api_instancetype_v1beta1_MemoryInstancetype(ref),
628 "kubevirt.io/api/instancetype/v1beta1.MemoryPreferenceRequirement": schema_kubevirtio_api_instancetype_v1beta1_MemoryPreferenceRequirement(ref),
629 "kubevirt.io/api/instancetype/v1beta1.PreferenceRequirements": schema_kubevirtio_api_instancetype_v1beta1_PreferenceRequirements(ref),
630 "kubevirt.io/api/instancetype/v1beta1.SpreadOptions": schema_kubevirtio_api_instancetype_v1beta1_SpreadOptions(ref),
631 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterInstancetype": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterInstancetype(ref),
632 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterInstancetypeList": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterInstancetypeList(ref),
633 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterPreference": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterPreference(ref),
634 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterPreferenceList": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterPreferenceList(ref),
635 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetype": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetype(ref),
636 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeList": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetypeList(ref),
637 "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeSpec": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetypeSpec(ref),
638 "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreference": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreference(ref),
639 "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceList": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreferenceList(ref),
640 "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceSpec": schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreferenceSpec(ref),
641 "kubevirt.io/api/instancetype/v1beta1.VolumePreferences": schema_kubevirtio_api_instancetype_v1beta1_VolumePreferences(ref),
642 "kubevirt.io/api/migrations/v1alpha1.MigrationPolicy": schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicy(ref),
643 "kubevirt.io/api/migrations/v1alpha1.MigrationPolicyList": schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicyList(ref),
644 "kubevirt.io/api/migrations/v1alpha1.MigrationPolicySpec": schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicySpec(ref),
645 "kubevirt.io/api/migrations/v1alpha1.MigrationPolicyStatus": schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicyStatus(ref),
646 "kubevirt.io/api/migrations/v1alpha1.Selectors": schema_kubevirtio_api_migrations_v1alpha1_Selectors(ref),
647 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePool": schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePool(ref),
648 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolCondition": schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolCondition(ref),
649 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolList": schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolList(ref),
650 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolSpec": schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolSpec(ref),
651 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolStatus": schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolStatus(ref),
652 "kubevirt.io/api/pool/v1alpha1.VirtualMachineTemplateSpec": schema_kubevirtio_api_pool_v1alpha1_VirtualMachineTemplateSpec(ref),
653 "kubevirt.io/api/snapshot/v1alpha1.Condition": schema_kubevirtio_api_snapshot_v1alpha1_Condition(ref),
654 "kubevirt.io/api/snapshot/v1alpha1.Error": schema_kubevirtio_api_snapshot_v1alpha1_Error(ref),
655 "kubevirt.io/api/snapshot/v1alpha1.PersistentVolumeClaim": schema_kubevirtio_api_snapshot_v1alpha1_PersistentVolumeClaim(ref),
656 "kubevirt.io/api/snapshot/v1alpha1.SnapshotVolumesLists": schema_kubevirtio_api_snapshot_v1alpha1_SnapshotVolumesLists(ref),
657 "kubevirt.io/api/snapshot/v1alpha1.SourceSpec": schema_kubevirtio_api_snapshot_v1alpha1_SourceSpec(ref),
658 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachine": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachine(ref),
659 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestore": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestore(ref),
660 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreList": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreList(ref),
661 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreSpec": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreSpec(ref),
662 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreStatus": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreStatus(ref),
663 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshot": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshot(ref),
664 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContent": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContent(ref),
665 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentList": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentList(ref),
666 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentSpec": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentSpec(ref),
667 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentStatus": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentStatus(ref),
668 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotList": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotList(ref),
669 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotSpec": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotSpec(ref),
670 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotStatus": schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotStatus(ref),
671 "kubevirt.io/api/snapshot/v1alpha1.VolumeBackup": schema_kubevirtio_api_snapshot_v1alpha1_VolumeBackup(ref),
672 "kubevirt.io/api/snapshot/v1alpha1.VolumeRestore": schema_kubevirtio_api_snapshot_v1alpha1_VolumeRestore(ref),
673 "kubevirt.io/api/snapshot/v1alpha1.VolumeSnapshotStatus": schema_kubevirtio_api_snapshot_v1alpha1_VolumeSnapshotStatus(ref),
674 "kubevirt.io/api/snapshot/v1beta1.Condition": schema_kubevirtio_api_snapshot_v1beta1_Condition(ref),
675 "kubevirt.io/api/snapshot/v1beta1.Error": schema_kubevirtio_api_snapshot_v1beta1_Error(ref),
676 "kubevirt.io/api/snapshot/v1beta1.PersistentVolumeClaim": schema_kubevirtio_api_snapshot_v1beta1_PersistentVolumeClaim(ref),
677 "kubevirt.io/api/snapshot/v1beta1.SnapshotVolumesLists": schema_kubevirtio_api_snapshot_v1beta1_SnapshotVolumesLists(ref),
678 "kubevirt.io/api/snapshot/v1beta1.SourceSpec": schema_kubevirtio_api_snapshot_v1beta1_SourceSpec(ref),
679 "kubevirt.io/api/snapshot/v1beta1.VirtualMachine": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachine(ref),
680 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestore": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestore(ref),
681 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreList": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreList(ref),
682 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreSpec": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreSpec(ref),
683 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreStatus": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreStatus(ref),
684 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshot": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshot(ref),
685 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContent": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContent(ref),
686 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentList": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentList(ref),
687 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentSpec": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentSpec(ref),
688 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentStatus": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentStatus(ref),
689 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotList": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotList(ref),
690 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotSpec": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotSpec(ref),
691 "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotStatus": schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotStatus(ref),
692 "kubevirt.io/api/snapshot/v1beta1.VolumeBackup": schema_kubevirtio_api_snapshot_v1beta1_VolumeBackup(ref),
693 "kubevirt.io/api/snapshot/v1beta1.VolumeRestore": schema_kubevirtio_api_snapshot_v1beta1_VolumeRestore(ref),
694 "kubevirt.io/api/snapshot/v1beta1.VolumeSnapshotStatus": schema_kubevirtio_api_snapshot_v1beta1_VolumeSnapshotStatus(ref),
695 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDI": schema_pkg_apis_core_v1beta1_CDI(ref),
696 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDICertConfig": schema_pkg_apis_core_v1beta1_CDICertConfig(ref),
697 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfig": schema_pkg_apis_core_v1beta1_CDIConfig(ref),
698 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigList": schema_pkg_apis_core_v1beta1_CDIConfigList(ref),
699 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigSpec": schema_pkg_apis_core_v1beta1_CDIConfigSpec(ref),
700 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigStatus": schema_pkg_apis_core_v1beta1_CDIConfigStatus(ref),
701 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIList": schema_pkg_apis_core_v1beta1_CDIList(ref),
702 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDISpec": schema_pkg_apis_core_v1beta1_CDISpec(ref),
703 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIStatus": schema_pkg_apis_core_v1beta1_CDIStatus(ref),
704 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CertConfig": schema_pkg_apis_core_v1beta1_CertConfig(ref),
705 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ClaimPropertySet": schema_pkg_apis_core_v1beta1_ClaimPropertySet(ref),
706 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ConditionState": schema_pkg_apis_core_v1beta1_ConditionState(ref),
707 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCron": schema_pkg_apis_core_v1beta1_DataImportCron(ref),
708 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronCondition": schema_pkg_apis_core_v1beta1_DataImportCronCondition(ref),
709 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronList": schema_pkg_apis_core_v1beta1_DataImportCronList(ref),
710 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronSpec": schema_pkg_apis_core_v1beta1_DataImportCronSpec(ref),
711 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronStatus": schema_pkg_apis_core_v1beta1_DataImportCronStatus(ref),
712 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSource": schema_pkg_apis_core_v1beta1_DataSource(ref),
713 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceCondition": schema_pkg_apis_core_v1beta1_DataSourceCondition(ref),
714 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceList": schema_pkg_apis_core_v1beta1_DataSourceList(ref),
715 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSource": schema_pkg_apis_core_v1beta1_DataSourceSource(ref),
716 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSpec": schema_pkg_apis_core_v1beta1_DataSourceSpec(ref),
717 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceStatus": schema_pkg_apis_core_v1beta1_DataSourceStatus(ref),
718 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolume": schema_pkg_apis_core_v1beta1_DataVolume(ref),
719 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeBlankImage": schema_pkg_apis_core_v1beta1_DataVolumeBlankImage(ref),
720 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCheckpoint": schema_pkg_apis_core_v1beta1_DataVolumeCheckpoint(ref),
721 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCondition": schema_pkg_apis_core_v1beta1_DataVolumeCondition(ref),
722 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeList": schema_pkg_apis_core_v1beta1_DataVolumeList(ref),
723 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSource": schema_pkg_apis_core_v1beta1_DataVolumeSource(ref),
724 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceGCS": schema_pkg_apis_core_v1beta1_DataVolumeSourceGCS(ref),
725 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceHTTP": schema_pkg_apis_core_v1beta1_DataVolumeSourceHTTP(ref),
726 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceImageIO": schema_pkg_apis_core_v1beta1_DataVolumeSourceImageIO(ref),
727 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC": schema_pkg_apis_core_v1beta1_DataVolumeSourcePVC(ref),
728 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRef": schema_pkg_apis_core_v1beta1_DataVolumeSourceRef(ref),
729 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRegistry": schema_pkg_apis_core_v1beta1_DataVolumeSourceRegistry(ref),
730 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceS3": schema_pkg_apis_core_v1beta1_DataVolumeSourceS3(ref),
731 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceSnapshot": schema_pkg_apis_core_v1beta1_DataVolumeSourceSnapshot(ref),
732 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceUpload": schema_pkg_apis_core_v1beta1_DataVolumeSourceUpload(ref),
733 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceVDDK": schema_pkg_apis_core_v1beta1_DataVolumeSourceVDDK(ref),
734 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSpec": schema_pkg_apis_core_v1beta1_DataVolumeSpec(ref),
735 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeStatus": schema_pkg_apis_core_v1beta1_DataVolumeStatus(ref),
736 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.FilesystemOverhead": schema_pkg_apis_core_v1beta1_FilesystemOverhead(ref),
737 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportProxy": schema_pkg_apis_core_v1beta1_ImportProxy(ref),
738 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportSourceType": schema_pkg_apis_core_v1beta1_ImportSourceType(ref),
739 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportStatus": schema_pkg_apis_core_v1beta1_ImportStatus(ref),
740 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransfer": schema_pkg_apis_core_v1beta1_ObjectTransfer(ref),
741 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferCondition": schema_pkg_apis_core_v1beta1_ObjectTransferCondition(ref),
742 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferList": schema_pkg_apis_core_v1beta1_ObjectTransferList(ref),
743 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferSpec": schema_pkg_apis_core_v1beta1_ObjectTransferSpec(ref),
744 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferStatus": schema_pkg_apis_core_v1beta1_ObjectTransferStatus(ref),
745 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfile": schema_pkg_apis_core_v1beta1_StorageProfile(ref),
746 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileList": schema_pkg_apis_core_v1beta1_StorageProfileList(ref),
747 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileSpec": schema_pkg_apis_core_v1beta1_StorageProfileSpec(ref),
748 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileStatus": schema_pkg_apis_core_v1beta1_StorageProfileStatus(ref),
749 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageSpec": schema_pkg_apis_core_v1beta1_StorageSpec(ref),
750 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferSource": schema_pkg_apis_core_v1beta1_TransferSource(ref),
751 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferTarget": schema_pkg_apis_core_v1beta1_TransferTarget(ref),
752 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSource": schema_pkg_apis_core_v1beta1_VolumeCloneSource(ref),
753 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSourceList": schema_pkg_apis_core_v1beta1_VolumeCloneSourceList(ref),
754 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSourceSpec": schema_pkg_apis_core_v1beta1_VolumeCloneSourceSpec(ref),
755 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSource": schema_pkg_apis_core_v1beta1_VolumeImportSource(ref),
756 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceList": schema_pkg_apis_core_v1beta1_VolumeImportSourceList(ref),
757 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceSpec": schema_pkg_apis_core_v1beta1_VolumeImportSourceSpec(ref),
758 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceStatus": schema_pkg_apis_core_v1beta1_VolumeImportSourceStatus(ref),
759 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSource": schema_pkg_apis_core_v1beta1_VolumeUploadSource(ref),
760 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceList": schema_pkg_apis_core_v1beta1_VolumeUploadSourceList(ref),
761 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceSpec": schema_pkg_apis_core_v1beta1_VolumeUploadSourceSpec(ref),
762 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceStatus": schema_pkg_apis_core_v1beta1_VolumeUploadSourceStatus(ref),
763 }
764 }
765
766 func schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
767 return common.OpenAPIDefinition{
768 Schema: spec.Schema{
769 SchemaProps: spec.SchemaProps{
770 Description: "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
771 Type: []string{"object"},
772 Properties: map[string]spec.Schema{
773 "volumeID": {
774 SchemaProps: spec.SchemaProps{
775 Description: "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
776 Default: "",
777 Type: []string{"string"},
778 Format: "",
779 },
780 },
781 "fsType": {
782 SchemaProps: spec.SchemaProps{
783 Description: "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
784 Type: []string{"string"},
785 Format: "",
786 },
787 },
788 "partition": {
789 SchemaProps: spec.SchemaProps{
790 Description: "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
791 Type: []string{"integer"},
792 Format: "int32",
793 },
794 },
795 "readOnly": {
796 SchemaProps: spec.SchemaProps{
797 Description: "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
798 Type: []string{"boolean"},
799 Format: "",
800 },
801 },
802 },
803 Required: []string{"volumeID"},
804 },
805 },
806 }
807 }
808
809 func schema_k8sio_api_core_v1_Affinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
810 return common.OpenAPIDefinition{
811 Schema: spec.Schema{
812 SchemaProps: spec.SchemaProps{
813 Description: "Affinity is a group of affinity scheduling rules.",
814 Type: []string{"object"},
815 Properties: map[string]spec.Schema{
816 "nodeAffinity": {
817 SchemaProps: spec.SchemaProps{
818 Description: "Describes node affinity scheduling rules for the pod.",
819 Ref: ref("k8s.io/api/core/v1.NodeAffinity"),
820 },
821 },
822 "podAffinity": {
823 SchemaProps: spec.SchemaProps{
824 Description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
825 Ref: ref("k8s.io/api/core/v1.PodAffinity"),
826 },
827 },
828 "podAntiAffinity": {
829 SchemaProps: spec.SchemaProps{
830 Description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
831 Ref: ref("k8s.io/api/core/v1.PodAntiAffinity"),
832 },
833 },
834 },
835 },
836 },
837 Dependencies: []string{
838 "k8s.io/api/core/v1.NodeAffinity", "k8s.io/api/core/v1.PodAffinity", "k8s.io/api/core/v1.PodAntiAffinity"},
839 }
840 }
841
842 func schema_k8sio_api_core_v1_AppArmorProfile(ref common.ReferenceCallback) common.OpenAPIDefinition {
843 return common.OpenAPIDefinition{
844 Schema: spec.Schema{
845 SchemaProps: spec.SchemaProps{
846 Description: "AppArmorProfile defines a pod or container's AppArmor settings.",
847 Type: []string{"object"},
848 Properties: map[string]spec.Schema{
849 "type": {
850 SchemaProps: spec.SchemaProps{
851 Description: "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.\n\nPossible enum values:\n - `\"Localhost\"` indicates that a profile pre-loaded on the node should be used.\n - `\"RuntimeDefault\"` indicates that the container runtime's default AppArmor profile should be used.\n - `\"Unconfined\"` indicates that no AppArmor profile should be enforced.",
852 Default: "",
853 Type: []string{"string"},
854 Format: "",
855 Enum: []interface{}{"Localhost", "RuntimeDefault", "Unconfined"},
856 },
857 },
858 "localhostProfile": {
859 SchemaProps: spec.SchemaProps{
860 Description: "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
861 Type: []string{"string"},
862 Format: "",
863 },
864 },
865 },
866 Required: []string{"type"},
867 },
868 VendorExtensible: spec.VendorExtensible{
869 Extensions: spec.Extensions{
870 "x-kubernetes-unions": []interface{}{
871 map[string]interface{}{
872 "discriminator": "type",
873 "fields-to-discriminateBy": map[string]interface{}{
874 "localhostProfile": "LocalhostProfile",
875 },
876 },
877 },
878 },
879 },
880 },
881 }
882 }
883
884 func schema_k8sio_api_core_v1_AttachedVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
885 return common.OpenAPIDefinition{
886 Schema: spec.Schema{
887 SchemaProps: spec.SchemaProps{
888 Description: "AttachedVolume describes a volume attached to a node",
889 Type: []string{"object"},
890 Properties: map[string]spec.Schema{
891 "name": {
892 SchemaProps: spec.SchemaProps{
893 Description: "Name of the attached volume",
894 Default: "",
895 Type: []string{"string"},
896 Format: "",
897 },
898 },
899 "devicePath": {
900 SchemaProps: spec.SchemaProps{
901 Description: "DevicePath represents the device path where the volume should be available",
902 Default: "",
903 Type: []string{"string"},
904 Format: "",
905 },
906 },
907 },
908 Required: []string{"name", "devicePath"},
909 },
910 },
911 }
912 }
913
914 func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.OpenAPIDefinition {
915 return common.OpenAPIDefinition{
916 Schema: spec.Schema{
917 SchemaProps: spec.SchemaProps{
918 Description: "AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.",
919 Type: []string{"object"},
920 Properties: map[string]spec.Schema{
921 "preferAvoidPods": {
922 VendorExtensible: spec.VendorExtensible{
923 Extensions: spec.Extensions{
924 "x-kubernetes-list-type": "atomic",
925 },
926 },
927 SchemaProps: spec.SchemaProps{
928 Description: "Bounded-sized list of signatures of pods that should avoid this node, sorted in timestamp order from oldest to newest. Size of the slice is unspecified.",
929 Type: []string{"array"},
930 Items: &spec.SchemaOrArray{
931 Schema: &spec.Schema{
932 SchemaProps: spec.SchemaProps{
933 Default: map[string]interface{}{},
934 Ref: ref("k8s.io/api/core/v1.PreferAvoidPodsEntry"),
935 },
936 },
937 },
938 },
939 },
940 },
941 },
942 },
943 Dependencies: []string{
944 "k8s.io/api/core/v1.PreferAvoidPodsEntry"},
945 }
946 }
947
948 func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
949 return common.OpenAPIDefinition{
950 Schema: spec.Schema{
951 SchemaProps: spec.SchemaProps{
952 Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
953 Type: []string{"object"},
954 Properties: map[string]spec.Schema{
955 "diskName": {
956 SchemaProps: spec.SchemaProps{
957 Description: "diskName is the Name of the data disk in the blob storage",
958 Default: "",
959 Type: []string{"string"},
960 Format: "",
961 },
962 },
963 "diskURI": {
964 SchemaProps: spec.SchemaProps{
965 Description: "diskURI is the URI of data disk in the blob storage",
966 Default: "",
967 Type: []string{"string"},
968 Format: "",
969 },
970 },
971 "cachingMode": {
972 SchemaProps: spec.SchemaProps{
973 Description: "cachingMode is the Host Caching mode: None, Read Only, Read Write.\n\nPossible enum values:\n - `\"None\"`\n - `\"ReadOnly\"`\n - `\"ReadWrite\"`",
974 Type: []string{"string"},
975 Format: "",
976 Enum: []interface{}{"None", "ReadOnly", "ReadWrite"},
977 },
978 },
979 "fsType": {
980 SchemaProps: spec.SchemaProps{
981 Description: "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
982 Type: []string{"string"},
983 Format: "",
984 },
985 },
986 "readOnly": {
987 SchemaProps: spec.SchemaProps{
988 Description: "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
989 Type: []string{"boolean"},
990 Format: "",
991 },
992 },
993 "kind": {
994 SchemaProps: spec.SchemaProps{
995 Description: "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared\n\nPossible enum values:\n - `\"Dedicated\"`\n - `\"Managed\"`\n - `\"Shared\"`",
996 Type: []string{"string"},
997 Format: "",
998 Enum: []interface{}{"Dedicated", "Managed", "Shared"},
999 },
1000 },
1001 },
1002 Required: []string{"diskName", "diskURI"},
1003 },
1004 },
1005 }
1006 }
1007
1008 func schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1009 return common.OpenAPIDefinition{
1010 Schema: spec.Schema{
1011 SchemaProps: spec.SchemaProps{
1012 Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
1013 Type: []string{"object"},
1014 Properties: map[string]spec.Schema{
1015 "secretName": {
1016 SchemaProps: spec.SchemaProps{
1017 Description: "secretName is the name of secret that contains Azure Storage Account Name and Key",
1018 Default: "",
1019 Type: []string{"string"},
1020 Format: "",
1021 },
1022 },
1023 "shareName": {
1024 SchemaProps: spec.SchemaProps{
1025 Description: "shareName is the azure Share Name",
1026 Default: "",
1027 Type: []string{"string"},
1028 Format: "",
1029 },
1030 },
1031 "readOnly": {
1032 SchemaProps: spec.SchemaProps{
1033 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
1034 Type: []string{"boolean"},
1035 Format: "",
1036 },
1037 },
1038 "secretNamespace": {
1039 SchemaProps: spec.SchemaProps{
1040 Description: "secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
1041 Type: []string{"string"},
1042 Format: "",
1043 },
1044 },
1045 },
1046 Required: []string{"secretName", "shareName"},
1047 },
1048 },
1049 }
1050 }
1051
1052 func schema_k8sio_api_core_v1_AzureFileVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1053 return common.OpenAPIDefinition{
1054 Schema: spec.Schema{
1055 SchemaProps: spec.SchemaProps{
1056 Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
1057 Type: []string{"object"},
1058 Properties: map[string]spec.Schema{
1059 "secretName": {
1060 SchemaProps: spec.SchemaProps{
1061 Description: "secretName is the name of secret that contains Azure Storage Account Name and Key",
1062 Default: "",
1063 Type: []string{"string"},
1064 Format: "",
1065 },
1066 },
1067 "shareName": {
1068 SchemaProps: spec.SchemaProps{
1069 Description: "shareName is the azure share Name",
1070 Default: "",
1071 Type: []string{"string"},
1072 Format: "",
1073 },
1074 },
1075 "readOnly": {
1076 SchemaProps: spec.SchemaProps{
1077 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
1078 Type: []string{"boolean"},
1079 Format: "",
1080 },
1081 },
1082 },
1083 Required: []string{"secretName", "shareName"},
1084 },
1085 },
1086 }
1087 }
1088
1089 func schema_k8sio_api_core_v1_Binding(ref common.ReferenceCallback) common.OpenAPIDefinition {
1090 return common.OpenAPIDefinition{
1091 Schema: spec.Schema{
1092 SchemaProps: spec.SchemaProps{
1093 Description: "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
1094 Type: []string{"object"},
1095 Properties: map[string]spec.Schema{
1096 "kind": {
1097 SchemaProps: spec.SchemaProps{
1098 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1099 Type: []string{"string"},
1100 Format: "",
1101 },
1102 },
1103 "apiVersion": {
1104 SchemaProps: spec.SchemaProps{
1105 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1106 Type: []string{"string"},
1107 Format: "",
1108 },
1109 },
1110 "metadata": {
1111 SchemaProps: spec.SchemaProps{
1112 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
1113 Default: map[string]interface{}{},
1114 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
1115 },
1116 },
1117 "target": {
1118 SchemaProps: spec.SchemaProps{
1119 Description: "The target object that you want to bind to the standard object.",
1120 Default: map[string]interface{}{},
1121 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
1122 },
1123 },
1124 },
1125 Required: []string{"target"},
1126 },
1127 },
1128 Dependencies: []string{
1129 "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
1130 }
1131 }
1132
1133 func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1134 return common.OpenAPIDefinition{
1135 Schema: spec.Schema{
1136 SchemaProps: spec.SchemaProps{
1137 Description: "Represents storage that is managed by an external CSI volume driver (Beta feature)",
1138 Type: []string{"object"},
1139 Properties: map[string]spec.Schema{
1140 "driver": {
1141 SchemaProps: spec.SchemaProps{
1142 Description: "driver is the name of the driver to use for this volume. Required.",
1143 Default: "",
1144 Type: []string{"string"},
1145 Format: "",
1146 },
1147 },
1148 "volumeHandle": {
1149 SchemaProps: spec.SchemaProps{
1150 Description: "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.",
1151 Default: "",
1152 Type: []string{"string"},
1153 Format: "",
1154 },
1155 },
1156 "readOnly": {
1157 SchemaProps: spec.SchemaProps{
1158 Description: "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
1159 Type: []string{"boolean"},
1160 Format: "",
1161 },
1162 },
1163 "fsType": {
1164 SchemaProps: spec.SchemaProps{
1165 Description: "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
1166 Type: []string{"string"},
1167 Format: "",
1168 },
1169 },
1170 "volumeAttributes": {
1171 SchemaProps: spec.SchemaProps{
1172 Description: "volumeAttributes of the volume to publish.",
1173 Type: []string{"object"},
1174 AdditionalProperties: &spec.SchemaOrBool{
1175 Allows: true,
1176 Schema: &spec.Schema{
1177 SchemaProps: spec.SchemaProps{
1178 Default: "",
1179 Type: []string{"string"},
1180 Format: "",
1181 },
1182 },
1183 },
1184 },
1185 },
1186 "controllerPublishSecretRef": {
1187 SchemaProps: spec.SchemaProps{
1188 Description: "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
1189 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1190 },
1191 },
1192 "nodeStageSecretRef": {
1193 SchemaProps: spec.SchemaProps{
1194 Description: "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
1195 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1196 },
1197 },
1198 "nodePublishSecretRef": {
1199 SchemaProps: spec.SchemaProps{
1200 Description: "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
1201 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1202 },
1203 },
1204 "controllerExpandSecretRef": {
1205 SchemaProps: spec.SchemaProps{
1206 Description: "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
1207 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1208 },
1209 },
1210 "nodeExpandSecretRef": {
1211 SchemaProps: spec.SchemaProps{
1212 Description: "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.",
1213 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1214 },
1215 },
1216 },
1217 Required: []string{"driver", "volumeHandle"},
1218 },
1219 },
1220 Dependencies: []string{
1221 "k8s.io/api/core/v1.SecretReference"},
1222 }
1223 }
1224
1225 func schema_k8sio_api_core_v1_CSIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1226 return common.OpenAPIDefinition{
1227 Schema: spec.Schema{
1228 SchemaProps: spec.SchemaProps{
1229 Description: "Represents a source location of a volume to mount, managed by an external CSI driver",
1230 Type: []string{"object"},
1231 Properties: map[string]spec.Schema{
1232 "driver": {
1233 SchemaProps: spec.SchemaProps{
1234 Description: "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.",
1235 Default: "",
1236 Type: []string{"string"},
1237 Format: "",
1238 },
1239 },
1240 "readOnly": {
1241 SchemaProps: spec.SchemaProps{
1242 Description: "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).",
1243 Type: []string{"boolean"},
1244 Format: "",
1245 },
1246 },
1247 "fsType": {
1248 SchemaProps: spec.SchemaProps{
1249 Description: "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.",
1250 Type: []string{"string"},
1251 Format: "",
1252 },
1253 },
1254 "volumeAttributes": {
1255 SchemaProps: spec.SchemaProps{
1256 Description: "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.",
1257 Type: []string{"object"},
1258 AdditionalProperties: &spec.SchemaOrBool{
1259 Allows: true,
1260 Schema: &spec.Schema{
1261 SchemaProps: spec.SchemaProps{
1262 Default: "",
1263 Type: []string{"string"},
1264 Format: "",
1265 },
1266 },
1267 },
1268 },
1269 },
1270 "nodePublishSecretRef": {
1271 SchemaProps: spec.SchemaProps{
1272 Description: "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.",
1273 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
1274 },
1275 },
1276 },
1277 Required: []string{"driver"},
1278 },
1279 },
1280 Dependencies: []string{
1281 "k8s.io/api/core/v1.LocalObjectReference"},
1282 }
1283 }
1284
1285 func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common.OpenAPIDefinition {
1286 return common.OpenAPIDefinition{
1287 Schema: spec.Schema{
1288 SchemaProps: spec.SchemaProps{
1289 Description: "Adds and removes POSIX capabilities from running containers.",
1290 Type: []string{"object"},
1291 Properties: map[string]spec.Schema{
1292 "add": {
1293 VendorExtensible: spec.VendorExtensible{
1294 Extensions: spec.Extensions{
1295 "x-kubernetes-list-type": "atomic",
1296 },
1297 },
1298 SchemaProps: spec.SchemaProps{
1299 Description: "Added capabilities",
1300 Type: []string{"array"},
1301 Items: &spec.SchemaOrArray{
1302 Schema: &spec.Schema{
1303 SchemaProps: spec.SchemaProps{
1304 Default: "",
1305 Type: []string{"string"},
1306 Format: "",
1307 },
1308 },
1309 },
1310 },
1311 },
1312 "drop": {
1313 VendorExtensible: spec.VendorExtensible{
1314 Extensions: spec.Extensions{
1315 "x-kubernetes-list-type": "atomic",
1316 },
1317 },
1318 SchemaProps: spec.SchemaProps{
1319 Description: "Removed capabilities",
1320 Type: []string{"array"},
1321 Items: &spec.SchemaOrArray{
1322 Schema: &spec.Schema{
1323 SchemaProps: spec.SchemaProps{
1324 Default: "",
1325 Type: []string{"string"},
1326 Format: "",
1327 },
1328 },
1329 },
1330 },
1331 },
1332 },
1333 },
1334 },
1335 }
1336 }
1337
1338 func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1339 return common.OpenAPIDefinition{
1340 Schema: spec.Schema{
1341 SchemaProps: spec.SchemaProps{
1342 Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
1343 Type: []string{"object"},
1344 Properties: map[string]spec.Schema{
1345 "monitors": {
1346 VendorExtensible: spec.VendorExtensible{
1347 Extensions: spec.Extensions{
1348 "x-kubernetes-list-type": "atomic",
1349 },
1350 },
1351 SchemaProps: spec.SchemaProps{
1352 Description: "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1353 Type: []string{"array"},
1354 Items: &spec.SchemaOrArray{
1355 Schema: &spec.Schema{
1356 SchemaProps: spec.SchemaProps{
1357 Default: "",
1358 Type: []string{"string"},
1359 Format: "",
1360 },
1361 },
1362 },
1363 },
1364 },
1365 "path": {
1366 SchemaProps: spec.SchemaProps{
1367 Description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
1368 Type: []string{"string"},
1369 Format: "",
1370 },
1371 },
1372 "user": {
1373 SchemaProps: spec.SchemaProps{
1374 Description: "user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1375 Type: []string{"string"},
1376 Format: "",
1377 },
1378 },
1379 "secretFile": {
1380 SchemaProps: spec.SchemaProps{
1381 Description: "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1382 Type: []string{"string"},
1383 Format: "",
1384 },
1385 },
1386 "secretRef": {
1387 SchemaProps: spec.SchemaProps{
1388 Description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1389 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1390 },
1391 },
1392 "readOnly": {
1393 SchemaProps: spec.SchemaProps{
1394 Description: "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1395 Type: []string{"boolean"},
1396 Format: "",
1397 },
1398 },
1399 },
1400 Required: []string{"monitors"},
1401 },
1402 },
1403 Dependencies: []string{
1404 "k8s.io/api/core/v1.SecretReference"},
1405 }
1406 }
1407
1408 func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1409 return common.OpenAPIDefinition{
1410 Schema: spec.Schema{
1411 SchemaProps: spec.SchemaProps{
1412 Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
1413 Type: []string{"object"},
1414 Properties: map[string]spec.Schema{
1415 "monitors": {
1416 VendorExtensible: spec.VendorExtensible{
1417 Extensions: spec.Extensions{
1418 "x-kubernetes-list-type": "atomic",
1419 },
1420 },
1421 SchemaProps: spec.SchemaProps{
1422 Description: "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1423 Type: []string{"array"},
1424 Items: &spec.SchemaOrArray{
1425 Schema: &spec.Schema{
1426 SchemaProps: spec.SchemaProps{
1427 Default: "",
1428 Type: []string{"string"},
1429 Format: "",
1430 },
1431 },
1432 },
1433 },
1434 },
1435 "path": {
1436 SchemaProps: spec.SchemaProps{
1437 Description: "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
1438 Type: []string{"string"},
1439 Format: "",
1440 },
1441 },
1442 "user": {
1443 SchemaProps: spec.SchemaProps{
1444 Description: "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1445 Type: []string{"string"},
1446 Format: "",
1447 },
1448 },
1449 "secretFile": {
1450 SchemaProps: spec.SchemaProps{
1451 Description: "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1452 Type: []string{"string"},
1453 Format: "",
1454 },
1455 },
1456 "secretRef": {
1457 SchemaProps: spec.SchemaProps{
1458 Description: "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1459 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
1460 },
1461 },
1462 "readOnly": {
1463 SchemaProps: spec.SchemaProps{
1464 Description: "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
1465 Type: []string{"boolean"},
1466 Format: "",
1467 },
1468 },
1469 },
1470 Required: []string{"monitors"},
1471 },
1472 },
1473 Dependencies: []string{
1474 "k8s.io/api/core/v1.LocalObjectReference"},
1475 }
1476 }
1477
1478 func schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1479 return common.OpenAPIDefinition{
1480 Schema: spec.Schema{
1481 SchemaProps: spec.SchemaProps{
1482 Description: "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
1483 Type: []string{"object"},
1484 Properties: map[string]spec.Schema{
1485 "volumeID": {
1486 SchemaProps: spec.SchemaProps{
1487 Description: "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1488 Default: "",
1489 Type: []string{"string"},
1490 Format: "",
1491 },
1492 },
1493 "fsType": {
1494 SchemaProps: spec.SchemaProps{
1495 Description: "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1496 Type: []string{"string"},
1497 Format: "",
1498 },
1499 },
1500 "readOnly": {
1501 SchemaProps: spec.SchemaProps{
1502 Description: "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1503 Type: []string{"boolean"},
1504 Format: "",
1505 },
1506 },
1507 "secretRef": {
1508 SchemaProps: spec.SchemaProps{
1509 Description: "secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.",
1510 Ref: ref("k8s.io/api/core/v1.SecretReference"),
1511 },
1512 },
1513 },
1514 Required: []string{"volumeID"},
1515 },
1516 },
1517 Dependencies: []string{
1518 "k8s.io/api/core/v1.SecretReference"},
1519 }
1520 }
1521
1522 func schema_k8sio_api_core_v1_CinderVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1523 return common.OpenAPIDefinition{
1524 Schema: spec.Schema{
1525 SchemaProps: spec.SchemaProps{
1526 Description: "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
1527 Type: []string{"object"},
1528 Properties: map[string]spec.Schema{
1529 "volumeID": {
1530 SchemaProps: spec.SchemaProps{
1531 Description: "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1532 Default: "",
1533 Type: []string{"string"},
1534 Format: "",
1535 },
1536 },
1537 "fsType": {
1538 SchemaProps: spec.SchemaProps{
1539 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1540 Type: []string{"string"},
1541 Format: "",
1542 },
1543 },
1544 "readOnly": {
1545 SchemaProps: spec.SchemaProps{
1546 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
1547 Type: []string{"boolean"},
1548 Format: "",
1549 },
1550 },
1551 "secretRef": {
1552 SchemaProps: spec.SchemaProps{
1553 Description: "secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.",
1554 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
1555 },
1556 },
1557 },
1558 Required: []string{"volumeID"},
1559 },
1560 },
1561 Dependencies: []string{
1562 "k8s.io/api/core/v1.LocalObjectReference"},
1563 }
1564 }
1565
1566 func schema_k8sio_api_core_v1_ClaimSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1567 return common.OpenAPIDefinition{
1568 Schema: spec.Schema{
1569 SchemaProps: spec.SchemaProps{
1570 Description: "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
1571 Type: []string{"object"},
1572 Properties: map[string]spec.Schema{
1573 "resourceClaimName": {
1574 SchemaProps: spec.SchemaProps{
1575 Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
1576 Type: []string{"string"},
1577 Format: "",
1578 },
1579 },
1580 "resourceClaimTemplateName": {
1581 SchemaProps: spec.SchemaProps{
1582 Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
1583 Type: []string{"string"},
1584 Format: "",
1585 },
1586 },
1587 },
1588 },
1589 },
1590 }
1591 }
1592
1593 func schema_k8sio_api_core_v1_ClientIPConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
1594 return common.OpenAPIDefinition{
1595 Schema: spec.Schema{
1596 SchemaProps: spec.SchemaProps{
1597 Description: "ClientIPConfig represents the configurations of Client IP based session affinity.",
1598 Type: []string{"object"},
1599 Properties: map[string]spec.Schema{
1600 "timeoutSeconds": {
1601 SchemaProps: spec.SchemaProps{
1602 Description: "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
1603 Type: []string{"integer"},
1604 Format: "int32",
1605 },
1606 },
1607 },
1608 },
1609 },
1610 }
1611 }
1612
1613 func schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
1614 return common.OpenAPIDefinition{
1615 Schema: spec.Schema{
1616 SchemaProps: spec.SchemaProps{
1617 Description: "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.",
1618 Type: []string{"object"},
1619 Properties: map[string]spec.Schema{
1620 "name": {
1621 SchemaProps: spec.SchemaProps{
1622 Description: "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.",
1623 Type: []string{"string"},
1624 Format: "",
1625 },
1626 },
1627 "signerName": {
1628 SchemaProps: spec.SchemaProps{
1629 Description: "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.",
1630 Type: []string{"string"},
1631 Format: "",
1632 },
1633 },
1634 "labelSelector": {
1635 SchemaProps: spec.SchemaProps{
1636 Description: "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\".",
1637 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1638 },
1639 },
1640 "optional": {
1641 SchemaProps: spec.SchemaProps{
1642 Description: "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.",
1643 Type: []string{"boolean"},
1644 Format: "",
1645 },
1646 },
1647 "path": {
1648 SchemaProps: spec.SchemaProps{
1649 Description: "Relative path from the volume root to write the bundle.",
1650 Default: "",
1651 Type: []string{"string"},
1652 Format: "",
1653 },
1654 },
1655 },
1656 Required: []string{"path"},
1657 },
1658 },
1659 Dependencies: []string{
1660 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
1661 }
1662 }
1663
1664 func schema_k8sio_api_core_v1_ComponentCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
1665 return common.OpenAPIDefinition{
1666 Schema: spec.Schema{
1667 SchemaProps: spec.SchemaProps{
1668 Description: "Information about the condition of a component.",
1669 Type: []string{"object"},
1670 Properties: map[string]spec.Schema{
1671 "type": {
1672 SchemaProps: spec.SchemaProps{
1673 Description: "Type of condition for a component. Valid value: \"Healthy\"",
1674 Default: "",
1675 Type: []string{"string"},
1676 Format: "",
1677 },
1678 },
1679 "status": {
1680 SchemaProps: spec.SchemaProps{
1681 Description: "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".",
1682 Default: "",
1683 Type: []string{"string"},
1684 Format: "",
1685 },
1686 },
1687 "message": {
1688 SchemaProps: spec.SchemaProps{
1689 Description: "Message about the condition for a component. For example, information about a health check.",
1690 Type: []string{"string"},
1691 Format: "",
1692 },
1693 },
1694 "error": {
1695 SchemaProps: spec.SchemaProps{
1696 Description: "Condition error code for a component. For example, a health check error code.",
1697 Type: []string{"string"},
1698 Format: "",
1699 },
1700 },
1701 },
1702 Required: []string{"type", "status"},
1703 },
1704 },
1705 }
1706 }
1707
1708 func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
1709 return common.OpenAPIDefinition{
1710 Schema: spec.Schema{
1711 SchemaProps: spec.SchemaProps{
1712 Description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+",
1713 Type: []string{"object"},
1714 Properties: map[string]spec.Schema{
1715 "kind": {
1716 SchemaProps: spec.SchemaProps{
1717 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1718 Type: []string{"string"},
1719 Format: "",
1720 },
1721 },
1722 "apiVersion": {
1723 SchemaProps: spec.SchemaProps{
1724 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1725 Type: []string{"string"},
1726 Format: "",
1727 },
1728 },
1729 "metadata": {
1730 SchemaProps: spec.SchemaProps{
1731 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
1732 Default: map[string]interface{}{},
1733 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
1734 },
1735 },
1736 "conditions": {
1737 VendorExtensible: spec.VendorExtensible{
1738 Extensions: spec.Extensions{
1739 "x-kubernetes-list-map-keys": []interface{}{
1740 "type",
1741 },
1742 "x-kubernetes-list-type": "map",
1743 "x-kubernetes-patch-merge-key": "type",
1744 "x-kubernetes-patch-strategy": "merge",
1745 },
1746 },
1747 SchemaProps: spec.SchemaProps{
1748 Description: "List of component conditions observed",
1749 Type: []string{"array"},
1750 Items: &spec.SchemaOrArray{
1751 Schema: &spec.Schema{
1752 SchemaProps: spec.SchemaProps{
1753 Default: map[string]interface{}{},
1754 Ref: ref("k8s.io/api/core/v1.ComponentCondition"),
1755 },
1756 },
1757 },
1758 },
1759 },
1760 },
1761 },
1762 },
1763 Dependencies: []string{
1764 "k8s.io/api/core/v1.ComponentCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
1765 }
1766 }
1767
1768 func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
1769 return common.OpenAPIDefinition{
1770 Schema: spec.Schema{
1771 SchemaProps: spec.SchemaProps{
1772 Description: "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+",
1773 Type: []string{"object"},
1774 Properties: map[string]spec.Schema{
1775 "kind": {
1776 SchemaProps: spec.SchemaProps{
1777 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1778 Type: []string{"string"},
1779 Format: "",
1780 },
1781 },
1782 "apiVersion": {
1783 SchemaProps: spec.SchemaProps{
1784 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1785 Type: []string{"string"},
1786 Format: "",
1787 },
1788 },
1789 "metadata": {
1790 SchemaProps: spec.SchemaProps{
1791 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1792 Default: map[string]interface{}{},
1793 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1794 },
1795 },
1796 "items": {
1797 SchemaProps: spec.SchemaProps{
1798 Description: "List of ComponentStatus objects.",
1799 Type: []string{"array"},
1800 Items: &spec.SchemaOrArray{
1801 Schema: &spec.Schema{
1802 SchemaProps: spec.SchemaProps{
1803 Default: map[string]interface{}{},
1804 Ref: ref("k8s.io/api/core/v1.ComponentStatus"),
1805 },
1806 },
1807 },
1808 },
1809 },
1810 },
1811 Required: []string{"items"},
1812 },
1813 },
1814 Dependencies: []string{
1815 "k8s.io/api/core/v1.ComponentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
1816 }
1817 }
1818
1819 func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.OpenAPIDefinition {
1820 return common.OpenAPIDefinition{
1821 Schema: spec.Schema{
1822 SchemaProps: spec.SchemaProps{
1823 Description: "ConfigMap holds configuration data for pods to consume.",
1824 Type: []string{"object"},
1825 Properties: map[string]spec.Schema{
1826 "kind": {
1827 SchemaProps: spec.SchemaProps{
1828 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1829 Type: []string{"string"},
1830 Format: "",
1831 },
1832 },
1833 "apiVersion": {
1834 SchemaProps: spec.SchemaProps{
1835 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1836 Type: []string{"string"},
1837 Format: "",
1838 },
1839 },
1840 "metadata": {
1841 SchemaProps: spec.SchemaProps{
1842 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
1843 Default: map[string]interface{}{},
1844 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
1845 },
1846 },
1847 "immutable": {
1848 SchemaProps: spec.SchemaProps{
1849 Description: "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.",
1850 Type: []string{"boolean"},
1851 Format: "",
1852 },
1853 },
1854 "data": {
1855 SchemaProps: spec.SchemaProps{
1856 Description: "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.",
1857 Type: []string{"object"},
1858 AdditionalProperties: &spec.SchemaOrBool{
1859 Allows: true,
1860 Schema: &spec.Schema{
1861 SchemaProps: spec.SchemaProps{
1862 Default: "",
1863 Type: []string{"string"},
1864 Format: "",
1865 },
1866 },
1867 },
1868 },
1869 },
1870 "binaryData": {
1871 SchemaProps: spec.SchemaProps{
1872 Description: "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.",
1873 Type: []string{"object"},
1874 AdditionalProperties: &spec.SchemaOrBool{
1875 Allows: true,
1876 Schema: &spec.Schema{
1877 SchemaProps: spec.SchemaProps{
1878 Type: []string{"string"},
1879 Format: "byte",
1880 },
1881 },
1882 },
1883 },
1884 },
1885 },
1886 },
1887 },
1888 Dependencies: []string{
1889 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
1890 }
1891 }
1892
1893 func schema_k8sio_api_core_v1_ConfigMapEnvSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1894 return common.OpenAPIDefinition{
1895 Schema: spec.Schema{
1896 SchemaProps: spec.SchemaProps{
1897 Description: "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
1898 Type: []string{"object"},
1899 Properties: map[string]spec.Schema{
1900 "name": {
1901 SchemaProps: spec.SchemaProps{
1902 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
1903 Type: []string{"string"},
1904 Format: "",
1905 },
1906 },
1907 "optional": {
1908 SchemaProps: spec.SchemaProps{
1909 Description: "Specify whether the ConfigMap must be defined",
1910 Type: []string{"boolean"},
1911 Format: "",
1912 },
1913 },
1914 },
1915 },
1916 },
1917 }
1918 }
1919
1920 func schema_k8sio_api_core_v1_ConfigMapKeySelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
1921 return common.OpenAPIDefinition{
1922 Schema: spec.Schema{
1923 SchemaProps: spec.SchemaProps{
1924 Description: "Selects a key from a ConfigMap.",
1925 Type: []string{"object"},
1926 Properties: map[string]spec.Schema{
1927 "name": {
1928 SchemaProps: spec.SchemaProps{
1929 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
1930 Type: []string{"string"},
1931 Format: "",
1932 },
1933 },
1934 "key": {
1935 SchemaProps: spec.SchemaProps{
1936 Description: "The key to select.",
1937 Default: "",
1938 Type: []string{"string"},
1939 Format: "",
1940 },
1941 },
1942 "optional": {
1943 SchemaProps: spec.SchemaProps{
1944 Description: "Specify whether the ConfigMap or its key must be defined",
1945 Type: []string{"boolean"},
1946 Format: "",
1947 },
1948 },
1949 },
1950 Required: []string{"key"},
1951 },
1952 VendorExtensible: spec.VendorExtensible{
1953 Extensions: spec.Extensions{
1954 "x-kubernetes-map-type": "atomic",
1955 },
1956 },
1957 },
1958 }
1959 }
1960
1961 func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common.OpenAPIDefinition {
1962 return common.OpenAPIDefinition{
1963 Schema: spec.Schema{
1964 SchemaProps: spec.SchemaProps{
1965 Description: "ConfigMapList is a resource containing a list of ConfigMap objects.",
1966 Type: []string{"object"},
1967 Properties: map[string]spec.Schema{
1968 "kind": {
1969 SchemaProps: spec.SchemaProps{
1970 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
1971 Type: []string{"string"},
1972 Format: "",
1973 },
1974 },
1975 "apiVersion": {
1976 SchemaProps: spec.SchemaProps{
1977 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1978 Type: []string{"string"},
1979 Format: "",
1980 },
1981 },
1982 "metadata": {
1983 SchemaProps: spec.SchemaProps{
1984 Description: "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
1985 Default: map[string]interface{}{},
1986 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1987 },
1988 },
1989 "items": {
1990 SchemaProps: spec.SchemaProps{
1991 Description: "Items is the list of ConfigMaps.",
1992 Type: []string{"array"},
1993 Items: &spec.SchemaOrArray{
1994 Schema: &spec.Schema{
1995 SchemaProps: spec.SchemaProps{
1996 Default: map[string]interface{}{},
1997 Ref: ref("k8s.io/api/core/v1.ConfigMap"),
1998 },
1999 },
2000 },
2001 },
2002 },
2003 },
2004 Required: []string{"items"},
2005 },
2006 },
2007 Dependencies: []string{
2008 "k8s.io/api/core/v1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
2009 }
2010 }
2011
2012 func schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2013 return common.OpenAPIDefinition{
2014 Schema: spec.Schema{
2015 SchemaProps: spec.SchemaProps{
2016 Description: "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration",
2017 Type: []string{"object"},
2018 Properties: map[string]spec.Schema{
2019 "namespace": {
2020 SchemaProps: spec.SchemaProps{
2021 Description: "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
2022 Default: "",
2023 Type: []string{"string"},
2024 Format: "",
2025 },
2026 },
2027 "name": {
2028 SchemaProps: spec.SchemaProps{
2029 Description: "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
2030 Default: "",
2031 Type: []string{"string"},
2032 Format: "",
2033 },
2034 },
2035 "uid": {
2036 SchemaProps: spec.SchemaProps{
2037 Description: "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
2038 Type: []string{"string"},
2039 Format: "",
2040 },
2041 },
2042 "resourceVersion": {
2043 SchemaProps: spec.SchemaProps{
2044 Description: "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
2045 Type: []string{"string"},
2046 Format: "",
2047 },
2048 },
2049 "kubeletConfigKey": {
2050 SchemaProps: spec.SchemaProps{
2051 Description: "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
2052 Default: "",
2053 Type: []string{"string"},
2054 Format: "",
2055 },
2056 },
2057 },
2058 Required: []string{"namespace", "name", "kubeletConfigKey"},
2059 },
2060 },
2061 }
2062 }
2063
2064 func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
2065 return common.OpenAPIDefinition{
2066 Schema: spec.Schema{
2067 SchemaProps: spec.SchemaProps{
2068 Description: "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.",
2069 Type: []string{"object"},
2070 Properties: map[string]spec.Schema{
2071 "name": {
2072 SchemaProps: spec.SchemaProps{
2073 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
2074 Type: []string{"string"},
2075 Format: "",
2076 },
2077 },
2078 "items": {
2079 VendorExtensible: spec.VendorExtensible{
2080 Extensions: spec.Extensions{
2081 "x-kubernetes-list-type": "atomic",
2082 },
2083 },
2084 SchemaProps: spec.SchemaProps{
2085 Description: "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
2086 Type: []string{"array"},
2087 Items: &spec.SchemaOrArray{
2088 Schema: &spec.Schema{
2089 SchemaProps: spec.SchemaProps{
2090 Default: map[string]interface{}{},
2091 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
2092 },
2093 },
2094 },
2095 },
2096 },
2097 "optional": {
2098 SchemaProps: spec.SchemaProps{
2099 Description: "optional specify whether the ConfigMap or its keys must be defined",
2100 Type: []string{"boolean"},
2101 Format: "",
2102 },
2103 },
2104 },
2105 },
2106 },
2107 Dependencies: []string{
2108 "k8s.io/api/core/v1.KeyToPath"},
2109 }
2110 }
2111
2112 func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2113 return common.OpenAPIDefinition{
2114 Schema: spec.Schema{
2115 SchemaProps: spec.SchemaProps{
2116 Description: "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
2117 Type: []string{"object"},
2118 Properties: map[string]spec.Schema{
2119 "name": {
2120 SchemaProps: spec.SchemaProps{
2121 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
2122 Type: []string{"string"},
2123 Format: "",
2124 },
2125 },
2126 "items": {
2127 VendorExtensible: spec.VendorExtensible{
2128 Extensions: spec.Extensions{
2129 "x-kubernetes-list-type": "atomic",
2130 },
2131 },
2132 SchemaProps: spec.SchemaProps{
2133 Description: "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
2134 Type: []string{"array"},
2135 Items: &spec.SchemaOrArray{
2136 Schema: &spec.Schema{
2137 SchemaProps: spec.SchemaProps{
2138 Default: map[string]interface{}{},
2139 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
2140 },
2141 },
2142 },
2143 },
2144 },
2145 "defaultMode": {
2146 SchemaProps: spec.SchemaProps{
2147 Description: "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
2148 Type: []string{"integer"},
2149 Format: "int32",
2150 },
2151 },
2152 "optional": {
2153 SchemaProps: spec.SchemaProps{
2154 Description: "optional specify whether the ConfigMap or its keys must be defined",
2155 Type: []string{"boolean"},
2156 Format: "",
2157 },
2158 },
2159 },
2160 },
2161 },
2162 Dependencies: []string{
2163 "k8s.io/api/core/v1.KeyToPath"},
2164 }
2165 }
2166
2167 func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.OpenAPIDefinition {
2168 return common.OpenAPIDefinition{
2169 Schema: spec.Schema{
2170 SchemaProps: spec.SchemaProps{
2171 Description: "A single application container that you want to run within a pod.",
2172 Type: []string{"object"},
2173 Properties: map[string]spec.Schema{
2174 "name": {
2175 SchemaProps: spec.SchemaProps{
2176 Description: "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
2177 Default: "",
2178 Type: []string{"string"},
2179 Format: "",
2180 },
2181 },
2182 "image": {
2183 SchemaProps: spec.SchemaProps{
2184 Description: "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
2185 Type: []string{"string"},
2186 Format: "",
2187 },
2188 },
2189 "command": {
2190 VendorExtensible: spec.VendorExtensible{
2191 Extensions: spec.Extensions{
2192 "x-kubernetes-list-type": "atomic",
2193 },
2194 },
2195 SchemaProps: spec.SchemaProps{
2196 Description: "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
2197 Type: []string{"array"},
2198 Items: &spec.SchemaOrArray{
2199 Schema: &spec.Schema{
2200 SchemaProps: spec.SchemaProps{
2201 Default: "",
2202 Type: []string{"string"},
2203 Format: "",
2204 },
2205 },
2206 },
2207 },
2208 },
2209 "args": {
2210 VendorExtensible: spec.VendorExtensible{
2211 Extensions: spec.Extensions{
2212 "x-kubernetes-list-type": "atomic",
2213 },
2214 },
2215 SchemaProps: spec.SchemaProps{
2216 Description: "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
2217 Type: []string{"array"},
2218 Items: &spec.SchemaOrArray{
2219 Schema: &spec.Schema{
2220 SchemaProps: spec.SchemaProps{
2221 Default: "",
2222 Type: []string{"string"},
2223 Format: "",
2224 },
2225 },
2226 },
2227 },
2228 },
2229 "workingDir": {
2230 SchemaProps: spec.SchemaProps{
2231 Description: "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
2232 Type: []string{"string"},
2233 Format: "",
2234 },
2235 },
2236 "ports": {
2237 VendorExtensible: spec.VendorExtensible{
2238 Extensions: spec.Extensions{
2239 "x-kubernetes-list-map-keys": []interface{}{
2240 "containerPort",
2241 "protocol",
2242 },
2243 "x-kubernetes-list-type": "map",
2244 "x-kubernetes-patch-merge-key": "containerPort",
2245 "x-kubernetes-patch-strategy": "merge",
2246 },
2247 },
2248 SchemaProps: spec.SchemaProps{
2249 Description: "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
2250 Type: []string{"array"},
2251 Items: &spec.SchemaOrArray{
2252 Schema: &spec.Schema{
2253 SchemaProps: spec.SchemaProps{
2254 Default: map[string]interface{}{},
2255 Ref: ref("k8s.io/api/core/v1.ContainerPort"),
2256 },
2257 },
2258 },
2259 },
2260 },
2261 "envFrom": {
2262 VendorExtensible: spec.VendorExtensible{
2263 Extensions: spec.Extensions{
2264 "x-kubernetes-list-type": "atomic",
2265 },
2266 },
2267 SchemaProps: spec.SchemaProps{
2268 Description: "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
2269 Type: []string{"array"},
2270 Items: &spec.SchemaOrArray{
2271 Schema: &spec.Schema{
2272 SchemaProps: spec.SchemaProps{
2273 Default: map[string]interface{}{},
2274 Ref: ref("k8s.io/api/core/v1.EnvFromSource"),
2275 },
2276 },
2277 },
2278 },
2279 },
2280 "env": {
2281 VendorExtensible: spec.VendorExtensible{
2282 Extensions: spec.Extensions{
2283 "x-kubernetes-list-map-keys": []interface{}{
2284 "name",
2285 },
2286 "x-kubernetes-list-type": "map",
2287 "x-kubernetes-patch-merge-key": "name",
2288 "x-kubernetes-patch-strategy": "merge",
2289 },
2290 },
2291 SchemaProps: spec.SchemaProps{
2292 Description: "List of environment variables to set in the container. Cannot be updated.",
2293 Type: []string{"array"},
2294 Items: &spec.SchemaOrArray{
2295 Schema: &spec.Schema{
2296 SchemaProps: spec.SchemaProps{
2297 Default: map[string]interface{}{},
2298 Ref: ref("k8s.io/api/core/v1.EnvVar"),
2299 },
2300 },
2301 },
2302 },
2303 },
2304 "resources": {
2305 SchemaProps: spec.SchemaProps{
2306 Description: "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
2307 Default: map[string]interface{}{},
2308 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
2309 },
2310 },
2311 "resizePolicy": {
2312 VendorExtensible: spec.VendorExtensible{
2313 Extensions: spec.Extensions{
2314 "x-kubernetes-list-type": "atomic",
2315 },
2316 },
2317 SchemaProps: spec.SchemaProps{
2318 Description: "Resources resize policy for the container.",
2319 Type: []string{"array"},
2320 Items: &spec.SchemaOrArray{
2321 Schema: &spec.Schema{
2322 SchemaProps: spec.SchemaProps{
2323 Default: map[string]interface{}{},
2324 Ref: ref("k8s.io/api/core/v1.ContainerResizePolicy"),
2325 },
2326 },
2327 },
2328 },
2329 },
2330 "restartPolicy": {
2331 SchemaProps: spec.SchemaProps{
2332 Description: "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.",
2333 Type: []string{"string"},
2334 Format: "",
2335 },
2336 },
2337 "volumeMounts": {
2338 VendorExtensible: spec.VendorExtensible{
2339 Extensions: spec.Extensions{
2340 "x-kubernetes-list-map-keys": []interface{}{
2341 "mountPath",
2342 },
2343 "x-kubernetes-list-type": "map",
2344 "x-kubernetes-patch-merge-key": "mountPath",
2345 "x-kubernetes-patch-strategy": "merge",
2346 },
2347 },
2348 SchemaProps: spec.SchemaProps{
2349 Description: "Pod volumes to mount into the container's filesystem. Cannot be updated.",
2350 Type: []string{"array"},
2351 Items: &spec.SchemaOrArray{
2352 Schema: &spec.Schema{
2353 SchemaProps: spec.SchemaProps{
2354 Default: map[string]interface{}{},
2355 Ref: ref("k8s.io/api/core/v1.VolumeMount"),
2356 },
2357 },
2358 },
2359 },
2360 },
2361 "volumeDevices": {
2362 VendorExtensible: spec.VendorExtensible{
2363 Extensions: spec.Extensions{
2364 "x-kubernetes-list-map-keys": []interface{}{
2365 "devicePath",
2366 },
2367 "x-kubernetes-list-type": "map",
2368 "x-kubernetes-patch-merge-key": "devicePath",
2369 "x-kubernetes-patch-strategy": "merge",
2370 },
2371 },
2372 SchemaProps: spec.SchemaProps{
2373 Description: "volumeDevices is the list of block devices to be used by the container.",
2374 Type: []string{"array"},
2375 Items: &spec.SchemaOrArray{
2376 Schema: &spec.Schema{
2377 SchemaProps: spec.SchemaProps{
2378 Default: map[string]interface{}{},
2379 Ref: ref("k8s.io/api/core/v1.VolumeDevice"),
2380 },
2381 },
2382 },
2383 },
2384 },
2385 "livenessProbe": {
2386 SchemaProps: spec.SchemaProps{
2387 Description: "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
2388 Ref: ref("k8s.io/api/core/v1.Probe"),
2389 },
2390 },
2391 "readinessProbe": {
2392 SchemaProps: spec.SchemaProps{
2393 Description: "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
2394 Ref: ref("k8s.io/api/core/v1.Probe"),
2395 },
2396 },
2397 "startupProbe": {
2398 SchemaProps: spec.SchemaProps{
2399 Description: "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
2400 Ref: ref("k8s.io/api/core/v1.Probe"),
2401 },
2402 },
2403 "lifecycle": {
2404 SchemaProps: spec.SchemaProps{
2405 Description: "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
2406 Ref: ref("k8s.io/api/core/v1.Lifecycle"),
2407 },
2408 },
2409 "terminationMessagePath": {
2410 SchemaProps: spec.SchemaProps{
2411 Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
2412 Type: []string{"string"},
2413 Format: "",
2414 },
2415 },
2416 "terminationMessagePolicy": {
2417 SchemaProps: spec.SchemaProps{
2418 Description: "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.",
2419 Type: []string{"string"},
2420 Format: "",
2421 Enum: []interface{}{"FallbackToLogsOnError", "File"},
2422 },
2423 },
2424 "imagePullPolicy": {
2425 SchemaProps: spec.SchemaProps{
2426 Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
2427 Type: []string{"string"},
2428 Format: "",
2429 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
2430 },
2431 },
2432 "securityContext": {
2433 SchemaProps: spec.SchemaProps{
2434 Description: "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
2435 Ref: ref("k8s.io/api/core/v1.SecurityContext"),
2436 },
2437 },
2438 "stdin": {
2439 SchemaProps: spec.SchemaProps{
2440 Description: "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
2441 Type: []string{"boolean"},
2442 Format: "",
2443 },
2444 },
2445 "stdinOnce": {
2446 SchemaProps: spec.SchemaProps{
2447 Description: "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
2448 Type: []string{"boolean"},
2449 Format: "",
2450 },
2451 },
2452 "tty": {
2453 SchemaProps: spec.SchemaProps{
2454 Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
2455 Type: []string{"boolean"},
2456 Format: "",
2457 },
2458 },
2459 },
2460 Required: []string{"name"},
2461 },
2462 },
2463 Dependencies: []string{
2464 "k8s.io/api/core/v1.ContainerPort", "k8s.io/api/core/v1.ContainerResizePolicy", "k8s.io/api/core/v1.EnvFromSource", "k8s.io/api/core/v1.EnvVar", "k8s.io/api/core/v1.Lifecycle", "k8s.io/api/core/v1.Probe", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecurityContext", "k8s.io/api/core/v1.VolumeDevice", "k8s.io/api/core/v1.VolumeMount"},
2465 }
2466 }
2467
2468 func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) common.OpenAPIDefinition {
2469 return common.OpenAPIDefinition{
2470 Schema: spec.Schema{
2471 SchemaProps: spec.SchemaProps{
2472 Description: "Describe a container image",
2473 Type: []string{"object"},
2474 Properties: map[string]spec.Schema{
2475 "names": {
2476 VendorExtensible: spec.VendorExtensible{
2477 Extensions: spec.Extensions{
2478 "x-kubernetes-list-type": "atomic",
2479 },
2480 },
2481 SchemaProps: spec.SchemaProps{
2482 Description: "Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]",
2483 Type: []string{"array"},
2484 Items: &spec.SchemaOrArray{
2485 Schema: &spec.Schema{
2486 SchemaProps: spec.SchemaProps{
2487 Default: "",
2488 Type: []string{"string"},
2489 Format: "",
2490 },
2491 },
2492 },
2493 },
2494 },
2495 "sizeBytes": {
2496 SchemaProps: spec.SchemaProps{
2497 Description: "The size of the image in bytes.",
2498 Type: []string{"integer"},
2499 Format: "int64",
2500 },
2501 },
2502 },
2503 },
2504 },
2505 }
2506 }
2507
2508 func schema_k8sio_api_core_v1_ContainerPort(ref common.ReferenceCallback) common.OpenAPIDefinition {
2509 return common.OpenAPIDefinition{
2510 Schema: spec.Schema{
2511 SchemaProps: spec.SchemaProps{
2512 Description: "ContainerPort represents a network port in a single container.",
2513 Type: []string{"object"},
2514 Properties: map[string]spec.Schema{
2515 "name": {
2516 SchemaProps: spec.SchemaProps{
2517 Description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.",
2518 Type: []string{"string"},
2519 Format: "",
2520 },
2521 },
2522 "hostPort": {
2523 SchemaProps: spec.SchemaProps{
2524 Description: "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.",
2525 Type: []string{"integer"},
2526 Format: "int32",
2527 },
2528 },
2529 "containerPort": {
2530 SchemaProps: spec.SchemaProps{
2531 Description: "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.",
2532 Default: 0,
2533 Type: []string{"integer"},
2534 Format: "int32",
2535 },
2536 },
2537 "protocol": {
2538 SchemaProps: spec.SchemaProps{
2539 Description: "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.",
2540 Default: "TCP",
2541 Type: []string{"string"},
2542 Format: "",
2543 Enum: []interface{}{"SCTP", "TCP", "UDP"},
2544 },
2545 },
2546 "hostIP": {
2547 SchemaProps: spec.SchemaProps{
2548 Description: "What host IP to bind the external port to.",
2549 Type: []string{"string"},
2550 Format: "",
2551 },
2552 },
2553 },
2554 Required: []string{"containerPort"},
2555 },
2556 },
2557 }
2558 }
2559
2560 func schema_k8sio_api_core_v1_ContainerResizePolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
2561 return common.OpenAPIDefinition{
2562 Schema: spec.Schema{
2563 SchemaProps: spec.SchemaProps{
2564 Description: "ContainerResizePolicy represents resource resize policy for the container.",
2565 Type: []string{"object"},
2566 Properties: map[string]spec.Schema{
2567 "resourceName": {
2568 SchemaProps: spec.SchemaProps{
2569 Description: "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
2570 Default: "",
2571 Type: []string{"string"},
2572 Format: "",
2573 },
2574 },
2575 "restartPolicy": {
2576 SchemaProps: spec.SchemaProps{
2577 Description: "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
2578 Default: "",
2579 Type: []string{"string"},
2580 Format: "",
2581 },
2582 },
2583 },
2584 Required: []string{"resourceName", "restartPolicy"},
2585 },
2586 },
2587 }
2588 }
2589
2590 func schema_k8sio_api_core_v1_ContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition {
2591 return common.OpenAPIDefinition{
2592 Schema: spec.Schema{
2593 SchemaProps: spec.SchemaProps{
2594 Description: "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
2595 Type: []string{"object"},
2596 Properties: map[string]spec.Schema{
2597 "waiting": {
2598 SchemaProps: spec.SchemaProps{
2599 Description: "Details about a waiting container",
2600 Ref: ref("k8s.io/api/core/v1.ContainerStateWaiting"),
2601 },
2602 },
2603 "running": {
2604 SchemaProps: spec.SchemaProps{
2605 Description: "Details about a running container",
2606 Ref: ref("k8s.io/api/core/v1.ContainerStateRunning"),
2607 },
2608 },
2609 "terminated": {
2610 SchemaProps: spec.SchemaProps{
2611 Description: "Details about a terminated container",
2612 Ref: ref("k8s.io/api/core/v1.ContainerStateTerminated"),
2613 },
2614 },
2615 },
2616 },
2617 },
2618 Dependencies: []string{
2619 "k8s.io/api/core/v1.ContainerStateRunning", "k8s.io/api/core/v1.ContainerStateTerminated", "k8s.io/api/core/v1.ContainerStateWaiting"},
2620 }
2621 }
2622
2623 func schema_k8sio_api_core_v1_ContainerStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition {
2624 return common.OpenAPIDefinition{
2625 Schema: spec.Schema{
2626 SchemaProps: spec.SchemaProps{
2627 Description: "ContainerStateRunning is a running state of a container.",
2628 Type: []string{"object"},
2629 Properties: map[string]spec.Schema{
2630 "startedAt": {
2631 SchemaProps: spec.SchemaProps{
2632 Description: "Time at which the container was last (re-)started",
2633 Default: map[string]interface{}{},
2634 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2635 },
2636 },
2637 },
2638 },
2639 },
2640 Dependencies: []string{
2641 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2642 }
2643 }
2644
2645 func schema_k8sio_api_core_v1_ContainerStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition {
2646 return common.OpenAPIDefinition{
2647 Schema: spec.Schema{
2648 SchemaProps: spec.SchemaProps{
2649 Description: "ContainerStateTerminated is a terminated state of a container.",
2650 Type: []string{"object"},
2651 Properties: map[string]spec.Schema{
2652 "exitCode": {
2653 SchemaProps: spec.SchemaProps{
2654 Description: "Exit status from the last termination of the container",
2655 Default: 0,
2656 Type: []string{"integer"},
2657 Format: "int32",
2658 },
2659 },
2660 "signal": {
2661 SchemaProps: spec.SchemaProps{
2662 Description: "Signal from the last termination of the container",
2663 Type: []string{"integer"},
2664 Format: "int32",
2665 },
2666 },
2667 "reason": {
2668 SchemaProps: spec.SchemaProps{
2669 Description: "(brief) reason from the last termination of the container",
2670 Type: []string{"string"},
2671 Format: "",
2672 },
2673 },
2674 "message": {
2675 SchemaProps: spec.SchemaProps{
2676 Description: "Message regarding the last termination of the container",
2677 Type: []string{"string"},
2678 Format: "",
2679 },
2680 },
2681 "startedAt": {
2682 SchemaProps: spec.SchemaProps{
2683 Description: "Time at which previous execution of the container started",
2684 Default: map[string]interface{}{},
2685 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2686 },
2687 },
2688 "finishedAt": {
2689 SchemaProps: spec.SchemaProps{
2690 Description: "Time at which the container last terminated",
2691 Default: map[string]interface{}{},
2692 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2693 },
2694 },
2695 "containerID": {
2696 SchemaProps: spec.SchemaProps{
2697 Description: "Container's ID in the format '<type>://<container_id>'",
2698 Type: []string{"string"},
2699 Format: "",
2700 },
2701 },
2702 },
2703 Required: []string{"exitCode"},
2704 },
2705 },
2706 Dependencies: []string{
2707 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2708 }
2709 }
2710
2711 func schema_k8sio_api_core_v1_ContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition {
2712 return common.OpenAPIDefinition{
2713 Schema: spec.Schema{
2714 SchemaProps: spec.SchemaProps{
2715 Description: "ContainerStateWaiting is a waiting state of a container.",
2716 Type: []string{"object"},
2717 Properties: map[string]spec.Schema{
2718 "reason": {
2719 SchemaProps: spec.SchemaProps{
2720 Description: "(brief) reason the container is not yet running.",
2721 Type: []string{"string"},
2722 Format: "",
2723 },
2724 },
2725 "message": {
2726 SchemaProps: spec.SchemaProps{
2727 Description: "Message regarding why the container is not yet running.",
2728 Type: []string{"string"},
2729 Format: "",
2730 },
2731 },
2732 },
2733 },
2734 },
2735 }
2736 }
2737
2738 func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
2739 return common.OpenAPIDefinition{
2740 Schema: spec.Schema{
2741 SchemaProps: spec.SchemaProps{
2742 Description: "ContainerStatus contains details for the current status of this container.",
2743 Type: []string{"object"},
2744 Properties: map[string]spec.Schema{
2745 "name": {
2746 SchemaProps: spec.SchemaProps{
2747 Description: "Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.",
2748 Default: "",
2749 Type: []string{"string"},
2750 Format: "",
2751 },
2752 },
2753 "state": {
2754 SchemaProps: spec.SchemaProps{
2755 Description: "State holds details about the container's current condition.",
2756 Default: map[string]interface{}{},
2757 Ref: ref("k8s.io/api/core/v1.ContainerState"),
2758 },
2759 },
2760 "lastState": {
2761 SchemaProps: spec.SchemaProps{
2762 Description: "LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0.",
2763 Default: map[string]interface{}{},
2764 Ref: ref("k8s.io/api/core/v1.ContainerState"),
2765 },
2766 },
2767 "ready": {
2768 SchemaProps: spec.SchemaProps{
2769 Description: "Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field).\n\nThe value is typically used to determine whether a container is ready to accept traffic.",
2770 Default: false,
2771 Type: []string{"boolean"},
2772 Format: "",
2773 },
2774 },
2775 "restartCount": {
2776 SchemaProps: spec.SchemaProps{
2777 Description: "RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.",
2778 Default: 0,
2779 Type: []string{"integer"},
2780 Format: "int32",
2781 },
2782 },
2783 "image": {
2784 SchemaProps: spec.SchemaProps{
2785 Description: "Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.",
2786 Default: "",
2787 Type: []string{"string"},
2788 Format: "",
2789 },
2790 },
2791 "imageID": {
2792 SchemaProps: spec.SchemaProps{
2793 Description: "ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.",
2794 Default: "",
2795 Type: []string{"string"},
2796 Format: "",
2797 },
2798 },
2799 "containerID": {
2800 SchemaProps: spec.SchemaProps{
2801 Description: "ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").",
2802 Type: []string{"string"},
2803 Format: "",
2804 },
2805 },
2806 "started": {
2807 SchemaProps: spec.SchemaProps{
2808 Description: "Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.",
2809 Type: []string{"boolean"},
2810 Format: "",
2811 },
2812 },
2813 "allocatedResources": {
2814 SchemaProps: spec.SchemaProps{
2815 Description: "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.",
2816 Type: []string{"object"},
2817 AdditionalProperties: &spec.SchemaOrBool{
2818 Allows: true,
2819 Schema: &spec.Schema{
2820 SchemaProps: spec.SchemaProps{
2821 Default: map[string]interface{}{},
2822 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
2823 },
2824 },
2825 },
2826 },
2827 },
2828 "resources": {
2829 SchemaProps: spec.SchemaProps{
2830 Description: "Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.",
2831 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
2832 },
2833 },
2834 "volumeMounts": {
2835 VendorExtensible: spec.VendorExtensible{
2836 Extensions: spec.Extensions{
2837 "x-kubernetes-list-map-keys": []interface{}{
2838 "mountPath",
2839 },
2840 "x-kubernetes-list-type": "map",
2841 "x-kubernetes-patch-merge-key": "mountPath",
2842 "x-kubernetes-patch-strategy": "merge",
2843 },
2844 },
2845 SchemaProps: spec.SchemaProps{
2846 Description: "Status of volume mounts.",
2847 Type: []string{"array"},
2848 Items: &spec.SchemaOrArray{
2849 Schema: &spec.Schema{
2850 SchemaProps: spec.SchemaProps{
2851 Default: map[string]interface{}{},
2852 Ref: ref("k8s.io/api/core/v1.VolumeMountStatus"),
2853 },
2854 },
2855 },
2856 },
2857 },
2858 },
2859 Required: []string{"name", "ready", "restartCount", "image", "imageID"},
2860 },
2861 },
2862 Dependencies: []string{
2863 "k8s.io/api/core/v1.ContainerState", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.VolumeMountStatus", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
2864 }
2865 }
2866
2867 func schema_k8sio_api_core_v1_DaemonEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
2868 return common.OpenAPIDefinition{
2869 Schema: spec.Schema{
2870 SchemaProps: spec.SchemaProps{
2871 Description: "DaemonEndpoint contains information about a single Daemon endpoint.",
2872 Type: []string{"object"},
2873 Properties: map[string]spec.Schema{
2874 "Port": {
2875 SchemaProps: spec.SchemaProps{
2876 Description: "Port number of the given endpoint.",
2877 Default: 0,
2878 Type: []string{"integer"},
2879 Format: "int32",
2880 },
2881 },
2882 },
2883 Required: []string{"Port"},
2884 },
2885 },
2886 }
2887 }
2888
2889 func schema_k8sio_api_core_v1_DownwardAPIProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
2890 return common.OpenAPIDefinition{
2891 Schema: spec.Schema{
2892 SchemaProps: spec.SchemaProps{
2893 Description: "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.",
2894 Type: []string{"object"},
2895 Properties: map[string]spec.Schema{
2896 "items": {
2897 VendorExtensible: spec.VendorExtensible{
2898 Extensions: spec.Extensions{
2899 "x-kubernetes-list-type": "atomic",
2900 },
2901 },
2902 SchemaProps: spec.SchemaProps{
2903 Description: "Items is a list of DownwardAPIVolume file",
2904 Type: []string{"array"},
2905 Items: &spec.SchemaOrArray{
2906 Schema: &spec.Schema{
2907 SchemaProps: spec.SchemaProps{
2908 Default: map[string]interface{}{},
2909 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeFile"),
2910 },
2911 },
2912 },
2913 },
2914 },
2915 },
2916 },
2917 },
2918 Dependencies: []string{
2919 "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
2920 }
2921 }
2922
2923 func schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref common.ReferenceCallback) common.OpenAPIDefinition {
2924 return common.OpenAPIDefinition{
2925 Schema: spec.Schema{
2926 SchemaProps: spec.SchemaProps{
2927 Description: "DownwardAPIVolumeFile represents information to create the file containing the pod field",
2928 Type: []string{"object"},
2929 Properties: map[string]spec.Schema{
2930 "path": {
2931 SchemaProps: spec.SchemaProps{
2932 Description: "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'",
2933 Default: "",
2934 Type: []string{"string"},
2935 Format: "",
2936 },
2937 },
2938 "fieldRef": {
2939 SchemaProps: spec.SchemaProps{
2940 Description: "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.",
2941 Ref: ref("k8s.io/api/core/v1.ObjectFieldSelector"),
2942 },
2943 },
2944 "resourceFieldRef": {
2945 SchemaProps: spec.SchemaProps{
2946 Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.",
2947 Ref: ref("k8s.io/api/core/v1.ResourceFieldSelector"),
2948 },
2949 },
2950 "mode": {
2951 SchemaProps: spec.SchemaProps{
2952 Description: "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
2953 Type: []string{"integer"},
2954 Format: "int32",
2955 },
2956 },
2957 },
2958 Required: []string{"path"},
2959 },
2960 },
2961 Dependencies: []string{
2962 "k8s.io/api/core/v1.ObjectFieldSelector", "k8s.io/api/core/v1.ResourceFieldSelector"},
2963 }
2964 }
2965
2966 func schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2967 return common.OpenAPIDefinition{
2968 Schema: spec.Schema{
2969 SchemaProps: spec.SchemaProps{
2970 Description: "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
2971 Type: []string{"object"},
2972 Properties: map[string]spec.Schema{
2973 "items": {
2974 VendorExtensible: spec.VendorExtensible{
2975 Extensions: spec.Extensions{
2976 "x-kubernetes-list-type": "atomic",
2977 },
2978 },
2979 SchemaProps: spec.SchemaProps{
2980 Description: "Items is a list of downward API volume file",
2981 Type: []string{"array"},
2982 Items: &spec.SchemaOrArray{
2983 Schema: &spec.Schema{
2984 SchemaProps: spec.SchemaProps{
2985 Default: map[string]interface{}{},
2986 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeFile"),
2987 },
2988 },
2989 },
2990 },
2991 },
2992 "defaultMode": {
2993 SchemaProps: spec.SchemaProps{
2994 Description: "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
2995 Type: []string{"integer"},
2996 Format: "int32",
2997 },
2998 },
2999 },
3000 },
3001 },
3002 Dependencies: []string{
3003 "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
3004 }
3005 }
3006
3007 func schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3008 return common.OpenAPIDefinition{
3009 Schema: spec.Schema{
3010 SchemaProps: spec.SchemaProps{
3011 Description: "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
3012 Type: []string{"object"},
3013 Properties: map[string]spec.Schema{
3014 "medium": {
3015 SchemaProps: spec.SchemaProps{
3016 Description: "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
3017 Type: []string{"string"},
3018 Format: "",
3019 },
3020 },
3021 "sizeLimit": {
3022 SchemaProps: spec.SchemaProps{
3023 Description: "sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
3024 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
3025 },
3026 },
3027 },
3028 },
3029 },
3030 Dependencies: []string{
3031 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
3032 }
3033 }
3034
3035 func schema_k8sio_api_core_v1_EndpointAddress(ref common.ReferenceCallback) common.OpenAPIDefinition {
3036 return common.OpenAPIDefinition{
3037 Schema: spec.Schema{
3038 SchemaProps: spec.SchemaProps{
3039 Description: "EndpointAddress is a tuple that describes single IP address.",
3040 Type: []string{"object"},
3041 Properties: map[string]spec.Schema{
3042 "ip": {
3043 SchemaProps: spec.SchemaProps{
3044 Description: "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).",
3045 Default: "",
3046 Type: []string{"string"},
3047 Format: "",
3048 },
3049 },
3050 "hostname": {
3051 SchemaProps: spec.SchemaProps{
3052 Description: "The Hostname of this endpoint",
3053 Type: []string{"string"},
3054 Format: "",
3055 },
3056 },
3057 "nodeName": {
3058 SchemaProps: spec.SchemaProps{
3059 Description: "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.",
3060 Type: []string{"string"},
3061 Format: "",
3062 },
3063 },
3064 "targetRef": {
3065 SchemaProps: spec.SchemaProps{
3066 Description: "Reference to object providing the endpoint.",
3067 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
3068 },
3069 },
3070 },
3071 Required: []string{"ip"},
3072 },
3073 VendorExtensible: spec.VendorExtensible{
3074 Extensions: spec.Extensions{
3075 "x-kubernetes-map-type": "atomic",
3076 },
3077 },
3078 },
3079 Dependencies: []string{
3080 "k8s.io/api/core/v1.ObjectReference"},
3081 }
3082 }
3083
3084 func schema_k8sio_api_core_v1_EndpointPort(ref common.ReferenceCallback) common.OpenAPIDefinition {
3085 return common.OpenAPIDefinition{
3086 Schema: spec.Schema{
3087 SchemaProps: spec.SchemaProps{
3088 Description: "EndpointPort is a tuple that describes a single port.",
3089 Type: []string{"object"},
3090 Properties: map[string]spec.Schema{
3091 "name": {
3092 SchemaProps: spec.SchemaProps{
3093 Description: "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.",
3094 Type: []string{"string"},
3095 Format: "",
3096 },
3097 },
3098 "port": {
3099 SchemaProps: spec.SchemaProps{
3100 Description: "The port number of the endpoint.",
3101 Default: 0,
3102 Type: []string{"integer"},
3103 Format: "int32",
3104 },
3105 },
3106 "protocol": {
3107 SchemaProps: spec.SchemaProps{
3108 Description: "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.",
3109 Type: []string{"string"},
3110 Format: "",
3111 Enum: []interface{}{"SCTP", "TCP", "UDP"},
3112 },
3113 },
3114 "appProtocol": {
3115 SchemaProps: spec.SchemaProps{
3116 Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.",
3117 Type: []string{"string"},
3118 Format: "",
3119 },
3120 },
3121 },
3122 Required: []string{"port"},
3123 },
3124 VendorExtensible: spec.VendorExtensible{
3125 Extensions: spec.Extensions{
3126 "x-kubernetes-map-type": "atomic",
3127 },
3128 },
3129 },
3130 }
3131 }
3132
3133 func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) common.OpenAPIDefinition {
3134 return common.OpenAPIDefinition{
3135 Schema: spec.Schema{
3136 SchemaProps: spec.SchemaProps{
3137 Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
3138 Type: []string{"object"},
3139 Properties: map[string]spec.Schema{
3140 "addresses": {
3141 VendorExtensible: spec.VendorExtensible{
3142 Extensions: spec.Extensions{
3143 "x-kubernetes-list-type": "atomic",
3144 },
3145 },
3146 SchemaProps: spec.SchemaProps{
3147 Description: "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.",
3148 Type: []string{"array"},
3149 Items: &spec.SchemaOrArray{
3150 Schema: &spec.Schema{
3151 SchemaProps: spec.SchemaProps{
3152 Default: map[string]interface{}{},
3153 Ref: ref("k8s.io/api/core/v1.EndpointAddress"),
3154 },
3155 },
3156 },
3157 },
3158 },
3159 "notReadyAddresses": {
3160 VendorExtensible: spec.VendorExtensible{
3161 Extensions: spec.Extensions{
3162 "x-kubernetes-list-type": "atomic",
3163 },
3164 },
3165 SchemaProps: spec.SchemaProps{
3166 Description: "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.",
3167 Type: []string{"array"},
3168 Items: &spec.SchemaOrArray{
3169 Schema: &spec.Schema{
3170 SchemaProps: spec.SchemaProps{
3171 Default: map[string]interface{}{},
3172 Ref: ref("k8s.io/api/core/v1.EndpointAddress"),
3173 },
3174 },
3175 },
3176 },
3177 },
3178 "ports": {
3179 VendorExtensible: spec.VendorExtensible{
3180 Extensions: spec.Extensions{
3181 "x-kubernetes-list-type": "atomic",
3182 },
3183 },
3184 SchemaProps: spec.SchemaProps{
3185 Description: "Port numbers available on the related IP addresses.",
3186 Type: []string{"array"},
3187 Items: &spec.SchemaOrArray{
3188 Schema: &spec.Schema{
3189 SchemaProps: spec.SchemaProps{
3190 Default: map[string]interface{}{},
3191 Ref: ref("k8s.io/api/core/v1.EndpointPort"),
3192 },
3193 },
3194 },
3195 },
3196 },
3197 },
3198 },
3199 },
3200 Dependencies: []string{
3201 "k8s.io/api/core/v1.EndpointAddress", "k8s.io/api/core/v1.EndpointPort"},
3202 }
3203 }
3204
3205 func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
3206 return common.OpenAPIDefinition{
3207 Schema: spec.Schema{
3208 SchemaProps: spec.SchemaProps{
3209 Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]",
3210 Type: []string{"object"},
3211 Properties: map[string]spec.Schema{
3212 "kind": {
3213 SchemaProps: spec.SchemaProps{
3214 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
3215 Type: []string{"string"},
3216 Format: "",
3217 },
3218 },
3219 "apiVersion": {
3220 SchemaProps: spec.SchemaProps{
3221 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
3222 Type: []string{"string"},
3223 Format: "",
3224 },
3225 },
3226 "metadata": {
3227 SchemaProps: spec.SchemaProps{
3228 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
3229 Default: map[string]interface{}{},
3230 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
3231 },
3232 },
3233 "subsets": {
3234 VendorExtensible: spec.VendorExtensible{
3235 Extensions: spec.Extensions{
3236 "x-kubernetes-list-type": "atomic",
3237 },
3238 },
3239 SchemaProps: spec.SchemaProps{
3240 Description: "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.",
3241 Type: []string{"array"},
3242 Items: &spec.SchemaOrArray{
3243 Schema: &spec.Schema{
3244 SchemaProps: spec.SchemaProps{
3245 Default: map[string]interface{}{},
3246 Ref: ref("k8s.io/api/core/v1.EndpointSubset"),
3247 },
3248 },
3249 },
3250 },
3251 },
3252 },
3253 },
3254 },
3255 Dependencies: []string{
3256 "k8s.io/api/core/v1.EndpointSubset", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
3257 }
3258 }
3259
3260 func schema_k8sio_api_core_v1_EndpointsList(ref common.ReferenceCallback) common.OpenAPIDefinition {
3261 return common.OpenAPIDefinition{
3262 Schema: spec.Schema{
3263 SchemaProps: spec.SchemaProps{
3264 Description: "EndpointsList is a list of endpoints.",
3265 Type: []string{"object"},
3266 Properties: map[string]spec.Schema{
3267 "kind": {
3268 SchemaProps: spec.SchemaProps{
3269 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
3270 Type: []string{"string"},
3271 Format: "",
3272 },
3273 },
3274 "apiVersion": {
3275 SchemaProps: spec.SchemaProps{
3276 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
3277 Type: []string{"string"},
3278 Format: "",
3279 },
3280 },
3281 "metadata": {
3282 SchemaProps: spec.SchemaProps{
3283 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
3284 Default: map[string]interface{}{},
3285 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
3286 },
3287 },
3288 "items": {
3289 SchemaProps: spec.SchemaProps{
3290 Description: "List of endpoints.",
3291 Type: []string{"array"},
3292 Items: &spec.SchemaOrArray{
3293 Schema: &spec.Schema{
3294 SchemaProps: spec.SchemaProps{
3295 Default: map[string]interface{}{},
3296 Ref: ref("k8s.io/api/core/v1.Endpoints"),
3297 },
3298 },
3299 },
3300 },
3301 },
3302 },
3303 Required: []string{"items"},
3304 },
3305 },
3306 Dependencies: []string{
3307 "k8s.io/api/core/v1.Endpoints", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
3308 }
3309 }
3310
3311 func schema_k8sio_api_core_v1_EnvFromSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3312 return common.OpenAPIDefinition{
3313 Schema: spec.Schema{
3314 SchemaProps: spec.SchemaProps{
3315 Description: "EnvFromSource represents the source of a set of ConfigMaps",
3316 Type: []string{"object"},
3317 Properties: map[string]spec.Schema{
3318 "prefix": {
3319 SchemaProps: spec.SchemaProps{
3320 Description: "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
3321 Type: []string{"string"},
3322 Format: "",
3323 },
3324 },
3325 "configMapRef": {
3326 SchemaProps: spec.SchemaProps{
3327 Description: "The ConfigMap to select from",
3328 Ref: ref("k8s.io/api/core/v1.ConfigMapEnvSource"),
3329 },
3330 },
3331 "secretRef": {
3332 SchemaProps: spec.SchemaProps{
3333 Description: "The Secret to select from",
3334 Ref: ref("k8s.io/api/core/v1.SecretEnvSource"),
3335 },
3336 },
3337 },
3338 },
3339 },
3340 Dependencies: []string{
3341 "k8s.io/api/core/v1.ConfigMapEnvSource", "k8s.io/api/core/v1.SecretEnvSource"},
3342 }
3343 }
3344
3345 func schema_k8sio_api_core_v1_EnvVar(ref common.ReferenceCallback) common.OpenAPIDefinition {
3346 return common.OpenAPIDefinition{
3347 Schema: spec.Schema{
3348 SchemaProps: spec.SchemaProps{
3349 Description: "EnvVar represents an environment variable present in a Container.",
3350 Type: []string{"object"},
3351 Properties: map[string]spec.Schema{
3352 "name": {
3353 SchemaProps: spec.SchemaProps{
3354 Description: "Name of the environment variable. Must be a C_IDENTIFIER.",
3355 Default: "",
3356 Type: []string{"string"},
3357 Format: "",
3358 },
3359 },
3360 "value": {
3361 SchemaProps: spec.SchemaProps{
3362 Description: "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
3363 Type: []string{"string"},
3364 Format: "",
3365 },
3366 },
3367 "valueFrom": {
3368 SchemaProps: spec.SchemaProps{
3369 Description: "Source for the environment variable's value. Cannot be used if value is not empty.",
3370 Ref: ref("k8s.io/api/core/v1.EnvVarSource"),
3371 },
3372 },
3373 },
3374 Required: []string{"name"},
3375 },
3376 },
3377 Dependencies: []string{
3378 "k8s.io/api/core/v1.EnvVarSource"},
3379 }
3380 }
3381
3382 func schema_k8sio_api_core_v1_EnvVarSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3383 return common.OpenAPIDefinition{
3384 Schema: spec.Schema{
3385 SchemaProps: spec.SchemaProps{
3386 Description: "EnvVarSource represents a source for the value of an EnvVar.",
3387 Type: []string{"object"},
3388 Properties: map[string]spec.Schema{
3389 "fieldRef": {
3390 SchemaProps: spec.SchemaProps{
3391 Description: "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.",
3392 Ref: ref("k8s.io/api/core/v1.ObjectFieldSelector"),
3393 },
3394 },
3395 "resourceFieldRef": {
3396 SchemaProps: spec.SchemaProps{
3397 Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.",
3398 Ref: ref("k8s.io/api/core/v1.ResourceFieldSelector"),
3399 },
3400 },
3401 "configMapKeyRef": {
3402 SchemaProps: spec.SchemaProps{
3403 Description: "Selects a key of a ConfigMap.",
3404 Ref: ref("k8s.io/api/core/v1.ConfigMapKeySelector"),
3405 },
3406 },
3407 "secretKeyRef": {
3408 SchemaProps: spec.SchemaProps{
3409 Description: "Selects a key of a secret in the pod's namespace",
3410 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
3411 },
3412 },
3413 },
3414 },
3415 },
3416 Dependencies: []string{
3417 "k8s.io/api/core/v1.ConfigMapKeySelector", "k8s.io/api/core/v1.ObjectFieldSelector", "k8s.io/api/core/v1.ResourceFieldSelector", "k8s.io/api/core/v1.SecretKeySelector"},
3418 }
3419 }
3420
3421 func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) common.OpenAPIDefinition {
3422 return common.OpenAPIDefinition{
3423 Schema: spec.Schema{
3424 SchemaProps: spec.SchemaProps{
3425 Description: "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.",
3426 Type: []string{"object"},
3427 Properties: map[string]spec.Schema{
3428 "name": {
3429 SchemaProps: spec.SchemaProps{
3430 Description: "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.",
3431 Default: "",
3432 Type: []string{"string"},
3433 Format: "",
3434 },
3435 },
3436 "image": {
3437 SchemaProps: spec.SchemaProps{
3438 Description: "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images",
3439 Type: []string{"string"},
3440 Format: "",
3441 },
3442 },
3443 "command": {
3444 VendorExtensible: spec.VendorExtensible{
3445 Extensions: spec.Extensions{
3446 "x-kubernetes-list-type": "atomic",
3447 },
3448 },
3449 SchemaProps: spec.SchemaProps{
3450 Description: "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
3451 Type: []string{"array"},
3452 Items: &spec.SchemaOrArray{
3453 Schema: &spec.Schema{
3454 SchemaProps: spec.SchemaProps{
3455 Default: "",
3456 Type: []string{"string"},
3457 Format: "",
3458 },
3459 },
3460 },
3461 },
3462 },
3463 "args": {
3464 VendorExtensible: spec.VendorExtensible{
3465 Extensions: spec.Extensions{
3466 "x-kubernetes-list-type": "atomic",
3467 },
3468 },
3469 SchemaProps: spec.SchemaProps{
3470 Description: "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
3471 Type: []string{"array"},
3472 Items: &spec.SchemaOrArray{
3473 Schema: &spec.Schema{
3474 SchemaProps: spec.SchemaProps{
3475 Default: "",
3476 Type: []string{"string"},
3477 Format: "",
3478 },
3479 },
3480 },
3481 },
3482 },
3483 "workingDir": {
3484 SchemaProps: spec.SchemaProps{
3485 Description: "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
3486 Type: []string{"string"},
3487 Format: "",
3488 },
3489 },
3490 "ports": {
3491 VendorExtensible: spec.VendorExtensible{
3492 Extensions: spec.Extensions{
3493 "x-kubernetes-list-map-keys": []interface{}{
3494 "containerPort",
3495 "protocol",
3496 },
3497 "x-kubernetes-list-type": "map",
3498 "x-kubernetes-patch-merge-key": "containerPort",
3499 "x-kubernetes-patch-strategy": "merge",
3500 },
3501 },
3502 SchemaProps: spec.SchemaProps{
3503 Description: "Ports are not allowed for ephemeral containers.",
3504 Type: []string{"array"},
3505 Items: &spec.SchemaOrArray{
3506 Schema: &spec.Schema{
3507 SchemaProps: spec.SchemaProps{
3508 Default: map[string]interface{}{},
3509 Ref: ref("k8s.io/api/core/v1.ContainerPort"),
3510 },
3511 },
3512 },
3513 },
3514 },
3515 "envFrom": {
3516 VendorExtensible: spec.VendorExtensible{
3517 Extensions: spec.Extensions{
3518 "x-kubernetes-list-type": "atomic",
3519 },
3520 },
3521 SchemaProps: spec.SchemaProps{
3522 Description: "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
3523 Type: []string{"array"},
3524 Items: &spec.SchemaOrArray{
3525 Schema: &spec.Schema{
3526 SchemaProps: spec.SchemaProps{
3527 Default: map[string]interface{}{},
3528 Ref: ref("k8s.io/api/core/v1.EnvFromSource"),
3529 },
3530 },
3531 },
3532 },
3533 },
3534 "env": {
3535 VendorExtensible: spec.VendorExtensible{
3536 Extensions: spec.Extensions{
3537 "x-kubernetes-list-map-keys": []interface{}{
3538 "name",
3539 },
3540 "x-kubernetes-list-type": "map",
3541 "x-kubernetes-patch-merge-key": "name",
3542 "x-kubernetes-patch-strategy": "merge",
3543 },
3544 },
3545 SchemaProps: spec.SchemaProps{
3546 Description: "List of environment variables to set in the container. Cannot be updated.",
3547 Type: []string{"array"},
3548 Items: &spec.SchemaOrArray{
3549 Schema: &spec.Schema{
3550 SchemaProps: spec.SchemaProps{
3551 Default: map[string]interface{}{},
3552 Ref: ref("k8s.io/api/core/v1.EnvVar"),
3553 },
3554 },
3555 },
3556 },
3557 },
3558 "resources": {
3559 SchemaProps: spec.SchemaProps{
3560 Description: "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.",
3561 Default: map[string]interface{}{},
3562 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
3563 },
3564 },
3565 "resizePolicy": {
3566 VendorExtensible: spec.VendorExtensible{
3567 Extensions: spec.Extensions{
3568 "x-kubernetes-list-type": "atomic",
3569 },
3570 },
3571 SchemaProps: spec.SchemaProps{
3572 Description: "Resources resize policy for the container.",
3573 Type: []string{"array"},
3574 Items: &spec.SchemaOrArray{
3575 Schema: &spec.Schema{
3576 SchemaProps: spec.SchemaProps{
3577 Default: map[string]interface{}{},
3578 Ref: ref("k8s.io/api/core/v1.ContainerResizePolicy"),
3579 },
3580 },
3581 },
3582 },
3583 },
3584 "restartPolicy": {
3585 SchemaProps: spec.SchemaProps{
3586 Description: "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.",
3587 Type: []string{"string"},
3588 Format: "",
3589 },
3590 },
3591 "volumeMounts": {
3592 VendorExtensible: spec.VendorExtensible{
3593 Extensions: spec.Extensions{
3594 "x-kubernetes-list-map-keys": []interface{}{
3595 "mountPath",
3596 },
3597 "x-kubernetes-list-type": "map",
3598 "x-kubernetes-patch-merge-key": "mountPath",
3599 "x-kubernetes-patch-strategy": "merge",
3600 },
3601 },
3602 SchemaProps: spec.SchemaProps{
3603 Description: "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated.",
3604 Type: []string{"array"},
3605 Items: &spec.SchemaOrArray{
3606 Schema: &spec.Schema{
3607 SchemaProps: spec.SchemaProps{
3608 Default: map[string]interface{}{},
3609 Ref: ref("k8s.io/api/core/v1.VolumeMount"),
3610 },
3611 },
3612 },
3613 },
3614 },
3615 "volumeDevices": {
3616 VendorExtensible: spec.VendorExtensible{
3617 Extensions: spec.Extensions{
3618 "x-kubernetes-list-map-keys": []interface{}{
3619 "devicePath",
3620 },
3621 "x-kubernetes-list-type": "map",
3622 "x-kubernetes-patch-merge-key": "devicePath",
3623 "x-kubernetes-patch-strategy": "merge",
3624 },
3625 },
3626 SchemaProps: spec.SchemaProps{
3627 Description: "volumeDevices is the list of block devices to be used by the container.",
3628 Type: []string{"array"},
3629 Items: &spec.SchemaOrArray{
3630 Schema: &spec.Schema{
3631 SchemaProps: spec.SchemaProps{
3632 Default: map[string]interface{}{},
3633 Ref: ref("k8s.io/api/core/v1.VolumeDevice"),
3634 },
3635 },
3636 },
3637 },
3638 },
3639 "livenessProbe": {
3640 SchemaProps: spec.SchemaProps{
3641 Description: "Probes are not allowed for ephemeral containers.",
3642 Ref: ref("k8s.io/api/core/v1.Probe"),
3643 },
3644 },
3645 "readinessProbe": {
3646 SchemaProps: spec.SchemaProps{
3647 Description: "Probes are not allowed for ephemeral containers.",
3648 Ref: ref("k8s.io/api/core/v1.Probe"),
3649 },
3650 },
3651 "startupProbe": {
3652 SchemaProps: spec.SchemaProps{
3653 Description: "Probes are not allowed for ephemeral containers.",
3654 Ref: ref("k8s.io/api/core/v1.Probe"),
3655 },
3656 },
3657 "lifecycle": {
3658 SchemaProps: spec.SchemaProps{
3659 Description: "Lifecycle is not allowed for ephemeral containers.",
3660 Ref: ref("k8s.io/api/core/v1.Lifecycle"),
3661 },
3662 },
3663 "terminationMessagePath": {
3664 SchemaProps: spec.SchemaProps{
3665 Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
3666 Type: []string{"string"},
3667 Format: "",
3668 },
3669 },
3670 "terminationMessagePolicy": {
3671 SchemaProps: spec.SchemaProps{
3672 Description: "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.",
3673 Type: []string{"string"},
3674 Format: "",
3675 Enum: []interface{}{"FallbackToLogsOnError", "File"},
3676 },
3677 },
3678 "imagePullPolicy": {
3679 SchemaProps: spec.SchemaProps{
3680 Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
3681 Type: []string{"string"},
3682 Format: "",
3683 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
3684 },
3685 },
3686 "securityContext": {
3687 SchemaProps: spec.SchemaProps{
3688 Description: "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.",
3689 Ref: ref("k8s.io/api/core/v1.SecurityContext"),
3690 },
3691 },
3692 "stdin": {
3693 SchemaProps: spec.SchemaProps{
3694 Description: "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
3695 Type: []string{"boolean"},
3696 Format: "",
3697 },
3698 },
3699 "stdinOnce": {
3700 SchemaProps: spec.SchemaProps{
3701 Description: "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
3702 Type: []string{"boolean"},
3703 Format: "",
3704 },
3705 },
3706 "tty": {
3707 SchemaProps: spec.SchemaProps{
3708 Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
3709 Type: []string{"boolean"},
3710 Format: "",
3711 },
3712 },
3713 "targetContainerName": {
3714 SchemaProps: spec.SchemaProps{
3715 Description: "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.",
3716 Type: []string{"string"},
3717 Format: "",
3718 },
3719 },
3720 },
3721 Required: []string{"name"},
3722 },
3723 },
3724 Dependencies: []string{
3725 "k8s.io/api/core/v1.ContainerPort", "k8s.io/api/core/v1.ContainerResizePolicy", "k8s.io/api/core/v1.EnvFromSource", "k8s.io/api/core/v1.EnvVar", "k8s.io/api/core/v1.Lifecycle", "k8s.io/api/core/v1.Probe", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecurityContext", "k8s.io/api/core/v1.VolumeDevice", "k8s.io/api/core/v1.VolumeMount"},
3726 }
3727 }
3728
3729 func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallback) common.OpenAPIDefinition {
3730 return common.OpenAPIDefinition{
3731 Schema: spec.Schema{
3732 SchemaProps: spec.SchemaProps{
3733 Description: "EphemeralContainerCommon is a copy of all fields in Container to be inlined in EphemeralContainer. This separate type allows easy conversion from EphemeralContainer to Container and allows separate documentation for the fields of EphemeralContainer. When a new field is added to Container it must be added here as well.",
3734 Type: []string{"object"},
3735 Properties: map[string]spec.Schema{
3736 "name": {
3737 SchemaProps: spec.SchemaProps{
3738 Description: "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.",
3739 Default: "",
3740 Type: []string{"string"},
3741 Format: "",
3742 },
3743 },
3744 "image": {
3745 SchemaProps: spec.SchemaProps{
3746 Description: "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images",
3747 Type: []string{"string"},
3748 Format: "",
3749 },
3750 },
3751 "command": {
3752 VendorExtensible: spec.VendorExtensible{
3753 Extensions: spec.Extensions{
3754 "x-kubernetes-list-type": "atomic",
3755 },
3756 },
3757 SchemaProps: spec.SchemaProps{
3758 Description: "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
3759 Type: []string{"array"},
3760 Items: &spec.SchemaOrArray{
3761 Schema: &spec.Schema{
3762 SchemaProps: spec.SchemaProps{
3763 Default: "",
3764 Type: []string{"string"},
3765 Format: "",
3766 },
3767 },
3768 },
3769 },
3770 },
3771 "args": {
3772 VendorExtensible: spec.VendorExtensible{
3773 Extensions: spec.Extensions{
3774 "x-kubernetes-list-type": "atomic",
3775 },
3776 },
3777 SchemaProps: spec.SchemaProps{
3778 Description: "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
3779 Type: []string{"array"},
3780 Items: &spec.SchemaOrArray{
3781 Schema: &spec.Schema{
3782 SchemaProps: spec.SchemaProps{
3783 Default: "",
3784 Type: []string{"string"},
3785 Format: "",
3786 },
3787 },
3788 },
3789 },
3790 },
3791 "workingDir": {
3792 SchemaProps: spec.SchemaProps{
3793 Description: "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
3794 Type: []string{"string"},
3795 Format: "",
3796 },
3797 },
3798 "ports": {
3799 VendorExtensible: spec.VendorExtensible{
3800 Extensions: spec.Extensions{
3801 "x-kubernetes-list-map-keys": []interface{}{
3802 "containerPort",
3803 "protocol",
3804 },
3805 "x-kubernetes-list-type": "map",
3806 "x-kubernetes-patch-merge-key": "containerPort",
3807 "x-kubernetes-patch-strategy": "merge",
3808 },
3809 },
3810 SchemaProps: spec.SchemaProps{
3811 Description: "Ports are not allowed for ephemeral containers.",
3812 Type: []string{"array"},
3813 Items: &spec.SchemaOrArray{
3814 Schema: &spec.Schema{
3815 SchemaProps: spec.SchemaProps{
3816 Default: map[string]interface{}{},
3817 Ref: ref("k8s.io/api/core/v1.ContainerPort"),
3818 },
3819 },
3820 },
3821 },
3822 },
3823 "envFrom": {
3824 VendorExtensible: spec.VendorExtensible{
3825 Extensions: spec.Extensions{
3826 "x-kubernetes-list-type": "atomic",
3827 },
3828 },
3829 SchemaProps: spec.SchemaProps{
3830 Description: "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
3831 Type: []string{"array"},
3832 Items: &spec.SchemaOrArray{
3833 Schema: &spec.Schema{
3834 SchemaProps: spec.SchemaProps{
3835 Default: map[string]interface{}{},
3836 Ref: ref("k8s.io/api/core/v1.EnvFromSource"),
3837 },
3838 },
3839 },
3840 },
3841 },
3842 "env": {
3843 VendorExtensible: spec.VendorExtensible{
3844 Extensions: spec.Extensions{
3845 "x-kubernetes-list-map-keys": []interface{}{
3846 "name",
3847 },
3848 "x-kubernetes-list-type": "map",
3849 "x-kubernetes-patch-merge-key": "name",
3850 "x-kubernetes-patch-strategy": "merge",
3851 },
3852 },
3853 SchemaProps: spec.SchemaProps{
3854 Description: "List of environment variables to set in the container. Cannot be updated.",
3855 Type: []string{"array"},
3856 Items: &spec.SchemaOrArray{
3857 Schema: &spec.Schema{
3858 SchemaProps: spec.SchemaProps{
3859 Default: map[string]interface{}{},
3860 Ref: ref("k8s.io/api/core/v1.EnvVar"),
3861 },
3862 },
3863 },
3864 },
3865 },
3866 "resources": {
3867 SchemaProps: spec.SchemaProps{
3868 Description: "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.",
3869 Default: map[string]interface{}{},
3870 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
3871 },
3872 },
3873 "resizePolicy": {
3874 VendorExtensible: spec.VendorExtensible{
3875 Extensions: spec.Extensions{
3876 "x-kubernetes-list-type": "atomic",
3877 },
3878 },
3879 SchemaProps: spec.SchemaProps{
3880 Description: "Resources resize policy for the container.",
3881 Type: []string{"array"},
3882 Items: &spec.SchemaOrArray{
3883 Schema: &spec.Schema{
3884 SchemaProps: spec.SchemaProps{
3885 Default: map[string]interface{}{},
3886 Ref: ref("k8s.io/api/core/v1.ContainerResizePolicy"),
3887 },
3888 },
3889 },
3890 },
3891 },
3892 "restartPolicy": {
3893 SchemaProps: spec.SchemaProps{
3894 Description: "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.",
3895 Type: []string{"string"},
3896 Format: "",
3897 },
3898 },
3899 "volumeMounts": {
3900 VendorExtensible: spec.VendorExtensible{
3901 Extensions: spec.Extensions{
3902 "x-kubernetes-list-map-keys": []interface{}{
3903 "mountPath",
3904 },
3905 "x-kubernetes-list-type": "map",
3906 "x-kubernetes-patch-merge-key": "mountPath",
3907 "x-kubernetes-patch-strategy": "merge",
3908 },
3909 },
3910 SchemaProps: spec.SchemaProps{
3911 Description: "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated.",
3912 Type: []string{"array"},
3913 Items: &spec.SchemaOrArray{
3914 Schema: &spec.Schema{
3915 SchemaProps: spec.SchemaProps{
3916 Default: map[string]interface{}{},
3917 Ref: ref("k8s.io/api/core/v1.VolumeMount"),
3918 },
3919 },
3920 },
3921 },
3922 },
3923 "volumeDevices": {
3924 VendorExtensible: spec.VendorExtensible{
3925 Extensions: spec.Extensions{
3926 "x-kubernetes-list-map-keys": []interface{}{
3927 "devicePath",
3928 },
3929 "x-kubernetes-list-type": "map",
3930 "x-kubernetes-patch-merge-key": "devicePath",
3931 "x-kubernetes-patch-strategy": "merge",
3932 },
3933 },
3934 SchemaProps: spec.SchemaProps{
3935 Description: "volumeDevices is the list of block devices to be used by the container.",
3936 Type: []string{"array"},
3937 Items: &spec.SchemaOrArray{
3938 Schema: &spec.Schema{
3939 SchemaProps: spec.SchemaProps{
3940 Default: map[string]interface{}{},
3941 Ref: ref("k8s.io/api/core/v1.VolumeDevice"),
3942 },
3943 },
3944 },
3945 },
3946 },
3947 "livenessProbe": {
3948 SchemaProps: spec.SchemaProps{
3949 Description: "Probes are not allowed for ephemeral containers.",
3950 Ref: ref("k8s.io/api/core/v1.Probe"),
3951 },
3952 },
3953 "readinessProbe": {
3954 SchemaProps: spec.SchemaProps{
3955 Description: "Probes are not allowed for ephemeral containers.",
3956 Ref: ref("k8s.io/api/core/v1.Probe"),
3957 },
3958 },
3959 "startupProbe": {
3960 SchemaProps: spec.SchemaProps{
3961 Description: "Probes are not allowed for ephemeral containers.",
3962 Ref: ref("k8s.io/api/core/v1.Probe"),
3963 },
3964 },
3965 "lifecycle": {
3966 SchemaProps: spec.SchemaProps{
3967 Description: "Lifecycle is not allowed for ephemeral containers.",
3968 Ref: ref("k8s.io/api/core/v1.Lifecycle"),
3969 },
3970 },
3971 "terminationMessagePath": {
3972 SchemaProps: spec.SchemaProps{
3973 Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
3974 Type: []string{"string"},
3975 Format: "",
3976 },
3977 },
3978 "terminationMessagePolicy": {
3979 SchemaProps: spec.SchemaProps{
3980 Description: "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.",
3981 Type: []string{"string"},
3982 Format: "",
3983 Enum: []interface{}{"FallbackToLogsOnError", "File"},
3984 },
3985 },
3986 "imagePullPolicy": {
3987 SchemaProps: spec.SchemaProps{
3988 Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
3989 Type: []string{"string"},
3990 Format: "",
3991 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
3992 },
3993 },
3994 "securityContext": {
3995 SchemaProps: spec.SchemaProps{
3996 Description: "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.",
3997 Ref: ref("k8s.io/api/core/v1.SecurityContext"),
3998 },
3999 },
4000 "stdin": {
4001 SchemaProps: spec.SchemaProps{
4002 Description: "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
4003 Type: []string{"boolean"},
4004 Format: "",
4005 },
4006 },
4007 "stdinOnce": {
4008 SchemaProps: spec.SchemaProps{
4009 Description: "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
4010 Type: []string{"boolean"},
4011 Format: "",
4012 },
4013 },
4014 "tty": {
4015 SchemaProps: spec.SchemaProps{
4016 Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
4017 Type: []string{"boolean"},
4018 Format: "",
4019 },
4020 },
4021 },
4022 Required: []string{"name"},
4023 },
4024 },
4025 Dependencies: []string{
4026 "k8s.io/api/core/v1.ContainerPort", "k8s.io/api/core/v1.ContainerResizePolicy", "k8s.io/api/core/v1.EnvFromSource", "k8s.io/api/core/v1.EnvVar", "k8s.io/api/core/v1.Lifecycle", "k8s.io/api/core/v1.Probe", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecurityContext", "k8s.io/api/core/v1.VolumeDevice", "k8s.io/api/core/v1.VolumeMount"},
4027 }
4028 }
4029
4030 func schema_k8sio_api_core_v1_EphemeralVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4031 return common.OpenAPIDefinition{
4032 Schema: spec.Schema{
4033 SchemaProps: spec.SchemaProps{
4034 Description: "Represents an ephemeral volume that is handled by a normal storage driver.",
4035 Type: []string{"object"},
4036 Properties: map[string]spec.Schema{
4037 "volumeClaimTemplate": {
4038 SchemaProps: spec.SchemaProps{
4039 Description: "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `<pod name>-<volume name>` where `<volume name>` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil.",
4040 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimTemplate"),
4041 },
4042 },
4043 },
4044 },
4045 },
4046 Dependencies: []string{
4047 "k8s.io/api/core/v1.PersistentVolumeClaimTemplate"},
4048 }
4049 }
4050
4051 func schema_k8sio_api_core_v1_Event(ref common.ReferenceCallback) common.OpenAPIDefinition {
4052 return common.OpenAPIDefinition{
4053 Schema: spec.Schema{
4054 SchemaProps: spec.SchemaProps{
4055 Description: "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.",
4056 Type: []string{"object"},
4057 Properties: map[string]spec.Schema{
4058 "kind": {
4059 SchemaProps: spec.SchemaProps{
4060 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
4061 Type: []string{"string"},
4062 Format: "",
4063 },
4064 },
4065 "apiVersion": {
4066 SchemaProps: spec.SchemaProps{
4067 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
4068 Type: []string{"string"},
4069 Format: "",
4070 },
4071 },
4072 "metadata": {
4073 SchemaProps: spec.SchemaProps{
4074 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
4075 Default: map[string]interface{}{},
4076 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
4077 },
4078 },
4079 "involvedObject": {
4080 SchemaProps: spec.SchemaProps{
4081 Description: "The object that this event is about.",
4082 Default: map[string]interface{}{},
4083 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
4084 },
4085 },
4086 "reason": {
4087 SchemaProps: spec.SchemaProps{
4088 Description: "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.",
4089 Type: []string{"string"},
4090 Format: "",
4091 },
4092 },
4093 "message": {
4094 SchemaProps: spec.SchemaProps{
4095 Description: "A human-readable description of the status of this operation.",
4096 Type: []string{"string"},
4097 Format: "",
4098 },
4099 },
4100 "source": {
4101 SchemaProps: spec.SchemaProps{
4102 Description: "The component reporting this event. Should be a short machine understandable string.",
4103 Default: map[string]interface{}{},
4104 Ref: ref("k8s.io/api/core/v1.EventSource"),
4105 },
4106 },
4107 "firstTimestamp": {
4108 SchemaProps: spec.SchemaProps{
4109 Description: "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)",
4110 Default: map[string]interface{}{},
4111 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4112 },
4113 },
4114 "lastTimestamp": {
4115 SchemaProps: spec.SchemaProps{
4116 Description: "The time at which the most recent occurrence of this event was recorded.",
4117 Default: map[string]interface{}{},
4118 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4119 },
4120 },
4121 "count": {
4122 SchemaProps: spec.SchemaProps{
4123 Description: "The number of times this event has occurred.",
4124 Type: []string{"integer"},
4125 Format: "int32",
4126 },
4127 },
4128 "type": {
4129 SchemaProps: spec.SchemaProps{
4130 Description: "Type of this event (Normal, Warning), new types could be added in the future",
4131 Type: []string{"string"},
4132 Format: "",
4133 },
4134 },
4135 "eventTime": {
4136 SchemaProps: spec.SchemaProps{
4137 Description: "Time when this Event was first observed.",
4138 Default: map[string]interface{}{},
4139 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"),
4140 },
4141 },
4142 "series": {
4143 SchemaProps: spec.SchemaProps{
4144 Description: "Data about the Event series this event represents or nil if it's a singleton Event.",
4145 Ref: ref("k8s.io/api/core/v1.EventSeries"),
4146 },
4147 },
4148 "action": {
4149 SchemaProps: spec.SchemaProps{
4150 Description: "What action was taken/failed regarding to the Regarding object.",
4151 Type: []string{"string"},
4152 Format: "",
4153 },
4154 },
4155 "related": {
4156 SchemaProps: spec.SchemaProps{
4157 Description: "Optional secondary object for more complex actions.",
4158 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
4159 },
4160 },
4161 "reportingComponent": {
4162 SchemaProps: spec.SchemaProps{
4163 Description: "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.",
4164 Default: "",
4165 Type: []string{"string"},
4166 Format: "",
4167 },
4168 },
4169 "reportingInstance": {
4170 SchemaProps: spec.SchemaProps{
4171 Description: "ID of the controller instance, e.g. `kubelet-xyzf`.",
4172 Default: "",
4173 Type: []string{"string"},
4174 Format: "",
4175 },
4176 },
4177 },
4178 Required: []string{"metadata", "involvedObject"},
4179 },
4180 },
4181 Dependencies: []string{
4182 "k8s.io/api/core/v1.EventSeries", "k8s.io/api/core/v1.EventSource", "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
4183 }
4184 }
4185
4186 func schema_k8sio_api_core_v1_EventList(ref common.ReferenceCallback) common.OpenAPIDefinition {
4187 return common.OpenAPIDefinition{
4188 Schema: spec.Schema{
4189 SchemaProps: spec.SchemaProps{
4190 Description: "EventList is a list of events.",
4191 Type: []string{"object"},
4192 Properties: map[string]spec.Schema{
4193 "kind": {
4194 SchemaProps: spec.SchemaProps{
4195 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
4196 Type: []string{"string"},
4197 Format: "",
4198 },
4199 },
4200 "apiVersion": {
4201 SchemaProps: spec.SchemaProps{
4202 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
4203 Type: []string{"string"},
4204 Format: "",
4205 },
4206 },
4207 "metadata": {
4208 SchemaProps: spec.SchemaProps{
4209 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
4210 Default: map[string]interface{}{},
4211 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
4212 },
4213 },
4214 "items": {
4215 SchemaProps: spec.SchemaProps{
4216 Description: "List of events",
4217 Type: []string{"array"},
4218 Items: &spec.SchemaOrArray{
4219 Schema: &spec.Schema{
4220 SchemaProps: spec.SchemaProps{
4221 Default: map[string]interface{}{},
4222 Ref: ref("k8s.io/api/core/v1.Event"),
4223 },
4224 },
4225 },
4226 },
4227 },
4228 },
4229 Required: []string{"items"},
4230 },
4231 },
4232 Dependencies: []string{
4233 "k8s.io/api/core/v1.Event", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
4234 }
4235 }
4236
4237 func schema_k8sio_api_core_v1_EventSeries(ref common.ReferenceCallback) common.OpenAPIDefinition {
4238 return common.OpenAPIDefinition{
4239 Schema: spec.Schema{
4240 SchemaProps: spec.SchemaProps{
4241 Description: "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.",
4242 Type: []string{"object"},
4243 Properties: map[string]spec.Schema{
4244 "count": {
4245 SchemaProps: spec.SchemaProps{
4246 Description: "Number of occurrences in this series up to the last heartbeat time",
4247 Type: []string{"integer"},
4248 Format: "int32",
4249 },
4250 },
4251 "lastObservedTime": {
4252 SchemaProps: spec.SchemaProps{
4253 Description: "Time of the last occurrence observed",
4254 Default: map[string]interface{}{},
4255 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"),
4256 },
4257 },
4258 },
4259 },
4260 },
4261 Dependencies: []string{
4262 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"},
4263 }
4264 }
4265
4266 func schema_k8sio_api_core_v1_EventSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4267 return common.OpenAPIDefinition{
4268 Schema: spec.Schema{
4269 SchemaProps: spec.SchemaProps{
4270 Description: "EventSource contains information for an event.",
4271 Type: []string{"object"},
4272 Properties: map[string]spec.Schema{
4273 "component": {
4274 SchemaProps: spec.SchemaProps{
4275 Description: "Component from which the event is generated.",
4276 Type: []string{"string"},
4277 Format: "",
4278 },
4279 },
4280 "host": {
4281 SchemaProps: spec.SchemaProps{
4282 Description: "Node name on which the event is generated.",
4283 Type: []string{"string"},
4284 Format: "",
4285 },
4286 },
4287 },
4288 },
4289 },
4290 }
4291 }
4292
4293 func schema_k8sio_api_core_v1_ExecAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
4294 return common.OpenAPIDefinition{
4295 Schema: spec.Schema{
4296 SchemaProps: spec.SchemaProps{
4297 Description: "ExecAction describes a \"run in container\" action.",
4298 Type: []string{"object"},
4299 Properties: map[string]spec.Schema{
4300 "command": {
4301 VendorExtensible: spec.VendorExtensible{
4302 Extensions: spec.Extensions{
4303 "x-kubernetes-list-type": "atomic",
4304 },
4305 },
4306 SchemaProps: spec.SchemaProps{
4307 Description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.",
4308 Type: []string{"array"},
4309 Items: &spec.SchemaOrArray{
4310 Schema: &spec.Schema{
4311 SchemaProps: spec.SchemaProps{
4312 Default: "",
4313 Type: []string{"string"},
4314 Format: "",
4315 },
4316 },
4317 },
4318 },
4319 },
4320 },
4321 },
4322 },
4323 }
4324 }
4325
4326 func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4327 return common.OpenAPIDefinition{
4328 Schema: spec.Schema{
4329 SchemaProps: spec.SchemaProps{
4330 Description: "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
4331 Type: []string{"object"},
4332 Properties: map[string]spec.Schema{
4333 "targetWWNs": {
4334 VendorExtensible: spec.VendorExtensible{
4335 Extensions: spec.Extensions{
4336 "x-kubernetes-list-type": "atomic",
4337 },
4338 },
4339 SchemaProps: spec.SchemaProps{
4340 Description: "targetWWNs is Optional: FC target worldwide names (WWNs)",
4341 Type: []string{"array"},
4342 Items: &spec.SchemaOrArray{
4343 Schema: &spec.Schema{
4344 SchemaProps: spec.SchemaProps{
4345 Default: "",
4346 Type: []string{"string"},
4347 Format: "",
4348 },
4349 },
4350 },
4351 },
4352 },
4353 "lun": {
4354 SchemaProps: spec.SchemaProps{
4355 Description: "lun is Optional: FC target lun number",
4356 Type: []string{"integer"},
4357 Format: "int32",
4358 },
4359 },
4360 "fsType": {
4361 SchemaProps: spec.SchemaProps{
4362 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
4363 Type: []string{"string"},
4364 Format: "",
4365 },
4366 },
4367 "readOnly": {
4368 SchemaProps: spec.SchemaProps{
4369 Description: "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
4370 Type: []string{"boolean"},
4371 Format: "",
4372 },
4373 },
4374 "wwids": {
4375 VendorExtensible: spec.VendorExtensible{
4376 Extensions: spec.Extensions{
4377 "x-kubernetes-list-type": "atomic",
4378 },
4379 },
4380 SchemaProps: spec.SchemaProps{
4381 Description: "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.",
4382 Type: []string{"array"},
4383 Items: &spec.SchemaOrArray{
4384 Schema: &spec.Schema{
4385 SchemaProps: spec.SchemaProps{
4386 Default: "",
4387 Type: []string{"string"},
4388 Format: "",
4389 },
4390 },
4391 },
4392 },
4393 },
4394 },
4395 },
4396 },
4397 }
4398 }
4399
4400 func schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4401 return common.OpenAPIDefinition{
4402 Schema: spec.Schema{
4403 SchemaProps: spec.SchemaProps{
4404 Description: "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
4405 Type: []string{"object"},
4406 Properties: map[string]spec.Schema{
4407 "driver": {
4408 SchemaProps: spec.SchemaProps{
4409 Description: "driver is the name of the driver to use for this volume.",
4410 Default: "",
4411 Type: []string{"string"},
4412 Format: "",
4413 },
4414 },
4415 "fsType": {
4416 SchemaProps: spec.SchemaProps{
4417 Description: "fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
4418 Type: []string{"string"},
4419 Format: "",
4420 },
4421 },
4422 "secretRef": {
4423 SchemaProps: spec.SchemaProps{
4424 Description: "secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.",
4425 Ref: ref("k8s.io/api/core/v1.SecretReference"),
4426 },
4427 },
4428 "readOnly": {
4429 SchemaProps: spec.SchemaProps{
4430 Description: "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
4431 Type: []string{"boolean"},
4432 Format: "",
4433 },
4434 },
4435 "options": {
4436 SchemaProps: spec.SchemaProps{
4437 Description: "options is Optional: this field holds extra command options if any.",
4438 Type: []string{"object"},
4439 AdditionalProperties: &spec.SchemaOrBool{
4440 Allows: true,
4441 Schema: &spec.Schema{
4442 SchemaProps: spec.SchemaProps{
4443 Default: "",
4444 Type: []string{"string"},
4445 Format: "",
4446 },
4447 },
4448 },
4449 },
4450 },
4451 },
4452 Required: []string{"driver"},
4453 },
4454 },
4455 Dependencies: []string{
4456 "k8s.io/api/core/v1.SecretReference"},
4457 }
4458 }
4459
4460 func schema_k8sio_api_core_v1_FlexVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4461 return common.OpenAPIDefinition{
4462 Schema: spec.Schema{
4463 SchemaProps: spec.SchemaProps{
4464 Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
4465 Type: []string{"object"},
4466 Properties: map[string]spec.Schema{
4467 "driver": {
4468 SchemaProps: spec.SchemaProps{
4469 Description: "driver is the name of the driver to use for this volume.",
4470 Default: "",
4471 Type: []string{"string"},
4472 Format: "",
4473 },
4474 },
4475 "fsType": {
4476 SchemaProps: spec.SchemaProps{
4477 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
4478 Type: []string{"string"},
4479 Format: "",
4480 },
4481 },
4482 "secretRef": {
4483 SchemaProps: spec.SchemaProps{
4484 Description: "secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.",
4485 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
4486 },
4487 },
4488 "readOnly": {
4489 SchemaProps: spec.SchemaProps{
4490 Description: "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
4491 Type: []string{"boolean"},
4492 Format: "",
4493 },
4494 },
4495 "options": {
4496 SchemaProps: spec.SchemaProps{
4497 Description: "options is Optional: this field holds extra command options if any.",
4498 Type: []string{"object"},
4499 AdditionalProperties: &spec.SchemaOrBool{
4500 Allows: true,
4501 Schema: &spec.Schema{
4502 SchemaProps: spec.SchemaProps{
4503 Default: "",
4504 Type: []string{"string"},
4505 Format: "",
4506 },
4507 },
4508 },
4509 },
4510 },
4511 },
4512 Required: []string{"driver"},
4513 },
4514 },
4515 Dependencies: []string{
4516 "k8s.io/api/core/v1.LocalObjectReference"},
4517 }
4518 }
4519
4520 func schema_k8sio_api_core_v1_FlockerVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4521 return common.OpenAPIDefinition{
4522 Schema: spec.Schema{
4523 SchemaProps: spec.SchemaProps{
4524 Description: "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.",
4525 Type: []string{"object"},
4526 Properties: map[string]spec.Schema{
4527 "datasetName": {
4528 SchemaProps: spec.SchemaProps{
4529 Description: "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated",
4530 Type: []string{"string"},
4531 Format: "",
4532 },
4533 },
4534 "datasetUUID": {
4535 SchemaProps: spec.SchemaProps{
4536 Description: "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset",
4537 Type: []string{"string"},
4538 Format: "",
4539 },
4540 },
4541 },
4542 },
4543 },
4544 }
4545 }
4546
4547 func schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4548 return common.OpenAPIDefinition{
4549 Schema: spec.Schema{
4550 SchemaProps: spec.SchemaProps{
4551 Description: "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.",
4552 Type: []string{"object"},
4553 Properties: map[string]spec.Schema{
4554 "pdName": {
4555 SchemaProps: spec.SchemaProps{
4556 Description: "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
4557 Default: "",
4558 Type: []string{"string"},
4559 Format: "",
4560 },
4561 },
4562 "fsType": {
4563 SchemaProps: spec.SchemaProps{
4564 Description: "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
4565 Type: []string{"string"},
4566 Format: "",
4567 },
4568 },
4569 "partition": {
4570 SchemaProps: spec.SchemaProps{
4571 Description: "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
4572 Type: []string{"integer"},
4573 Format: "int32",
4574 },
4575 },
4576 "readOnly": {
4577 SchemaProps: spec.SchemaProps{
4578 Description: "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
4579 Type: []string{"boolean"},
4580 Format: "",
4581 },
4582 },
4583 },
4584 Required: []string{"pdName"},
4585 },
4586 },
4587 }
4588 }
4589
4590 func schema_k8sio_api_core_v1_GRPCAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
4591 return common.OpenAPIDefinition{
4592 Schema: spec.Schema{
4593 SchemaProps: spec.SchemaProps{
4594 Type: []string{"object"},
4595 Properties: map[string]spec.Schema{
4596 "port": {
4597 SchemaProps: spec.SchemaProps{
4598 Description: "Port number of the gRPC service. Number must be in the range 1 to 65535.",
4599 Default: 0,
4600 Type: []string{"integer"},
4601 Format: "int32",
4602 },
4603 },
4604 "service": {
4605 SchemaProps: spec.SchemaProps{
4606 Description: "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
4607 Default: "",
4608 Type: []string{"string"},
4609 Format: "",
4610 },
4611 },
4612 },
4613 Required: []string{"port"},
4614 },
4615 },
4616 }
4617 }
4618
4619 func schema_k8sio_api_core_v1_GitRepoVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4620 return common.OpenAPIDefinition{
4621 Schema: spec.Schema{
4622 SchemaProps: spec.SchemaProps{
4623 Description: "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
4624 Type: []string{"object"},
4625 Properties: map[string]spec.Schema{
4626 "repository": {
4627 SchemaProps: spec.SchemaProps{
4628 Description: "repository is the URL",
4629 Default: "",
4630 Type: []string{"string"},
4631 Format: "",
4632 },
4633 },
4634 "revision": {
4635 SchemaProps: spec.SchemaProps{
4636 Description: "revision is the commit hash for the specified revision.",
4637 Type: []string{"string"},
4638 Format: "",
4639 },
4640 },
4641 "directory": {
4642 SchemaProps: spec.SchemaProps{
4643 Description: "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.",
4644 Type: []string{"string"},
4645 Format: "",
4646 },
4647 },
4648 },
4649 Required: []string{"repository"},
4650 },
4651 },
4652 }
4653 }
4654
4655 func schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4656 return common.OpenAPIDefinition{
4657 Schema: spec.Schema{
4658 SchemaProps: spec.SchemaProps{
4659 Description: "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
4660 Type: []string{"object"},
4661 Properties: map[string]spec.Schema{
4662 "endpoints": {
4663 SchemaProps: spec.SchemaProps{
4664 Description: "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4665 Default: "",
4666 Type: []string{"string"},
4667 Format: "",
4668 },
4669 },
4670 "path": {
4671 SchemaProps: spec.SchemaProps{
4672 Description: "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4673 Default: "",
4674 Type: []string{"string"},
4675 Format: "",
4676 },
4677 },
4678 "readOnly": {
4679 SchemaProps: spec.SchemaProps{
4680 Description: "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4681 Type: []string{"boolean"},
4682 Format: "",
4683 },
4684 },
4685 "endpointsNamespace": {
4686 SchemaProps: spec.SchemaProps{
4687 Description: "endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4688 Type: []string{"string"},
4689 Format: "",
4690 },
4691 },
4692 },
4693 Required: []string{"endpoints", "path"},
4694 },
4695 },
4696 }
4697 }
4698
4699 func schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4700 return common.OpenAPIDefinition{
4701 Schema: spec.Schema{
4702 SchemaProps: spec.SchemaProps{
4703 Description: "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
4704 Type: []string{"object"},
4705 Properties: map[string]spec.Schema{
4706 "endpoints": {
4707 SchemaProps: spec.SchemaProps{
4708 Description: "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4709 Default: "",
4710 Type: []string{"string"},
4711 Format: "",
4712 },
4713 },
4714 "path": {
4715 SchemaProps: spec.SchemaProps{
4716 Description: "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4717 Default: "",
4718 Type: []string{"string"},
4719 Format: "",
4720 },
4721 },
4722 "readOnly": {
4723 SchemaProps: spec.SchemaProps{
4724 Description: "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
4725 Type: []string{"boolean"},
4726 Format: "",
4727 },
4728 },
4729 },
4730 Required: []string{"endpoints", "path"},
4731 },
4732 },
4733 }
4734 }
4735
4736 func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
4737 return common.OpenAPIDefinition{
4738 Schema: spec.Schema{
4739 SchemaProps: spec.SchemaProps{
4740 Description: "HTTPGetAction describes an action based on HTTP Get requests.",
4741 Type: []string{"object"},
4742 Properties: map[string]spec.Schema{
4743 "path": {
4744 SchemaProps: spec.SchemaProps{
4745 Description: "Path to access on the HTTP server.",
4746 Type: []string{"string"},
4747 Format: "",
4748 },
4749 },
4750 "port": {
4751 SchemaProps: spec.SchemaProps{
4752 Description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.",
4753 Default: map[string]interface{}{},
4754 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
4755 },
4756 },
4757 "host": {
4758 SchemaProps: spec.SchemaProps{
4759 Description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.",
4760 Type: []string{"string"},
4761 Format: "",
4762 },
4763 },
4764 "scheme": {
4765 SchemaProps: spec.SchemaProps{
4766 Description: "Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - `\"HTTP\"` means that the scheme used will be http://\n - `\"HTTPS\"` means that the scheme used will be https://",
4767 Type: []string{"string"},
4768 Format: "",
4769 Enum: []interface{}{"HTTP", "HTTPS"},
4770 },
4771 },
4772 "httpHeaders": {
4773 VendorExtensible: spec.VendorExtensible{
4774 Extensions: spec.Extensions{
4775 "x-kubernetes-list-type": "atomic",
4776 },
4777 },
4778 SchemaProps: spec.SchemaProps{
4779 Description: "Custom headers to set in the request. HTTP allows repeated headers.",
4780 Type: []string{"array"},
4781 Items: &spec.SchemaOrArray{
4782 Schema: &spec.Schema{
4783 SchemaProps: spec.SchemaProps{
4784 Default: map[string]interface{}{},
4785 Ref: ref("k8s.io/api/core/v1.HTTPHeader"),
4786 },
4787 },
4788 },
4789 },
4790 },
4791 },
4792 Required: []string{"port"},
4793 },
4794 },
4795 Dependencies: []string{
4796 "k8s.io/api/core/v1.HTTPHeader", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
4797 }
4798 }
4799
4800 func schema_k8sio_api_core_v1_HTTPHeader(ref common.ReferenceCallback) common.OpenAPIDefinition {
4801 return common.OpenAPIDefinition{
4802 Schema: spec.Schema{
4803 SchemaProps: spec.SchemaProps{
4804 Description: "HTTPHeader describes a custom header to be used in HTTP probes",
4805 Type: []string{"object"},
4806 Properties: map[string]spec.Schema{
4807 "name": {
4808 SchemaProps: spec.SchemaProps{
4809 Description: "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.",
4810 Default: "",
4811 Type: []string{"string"},
4812 Format: "",
4813 },
4814 },
4815 "value": {
4816 SchemaProps: spec.SchemaProps{
4817 Description: "The header field value",
4818 Default: "",
4819 Type: []string{"string"},
4820 Format: "",
4821 },
4822 },
4823 },
4824 Required: []string{"name", "value"},
4825 },
4826 },
4827 }
4828 }
4829
4830 func schema_k8sio_api_core_v1_HostAlias(ref common.ReferenceCallback) common.OpenAPIDefinition {
4831 return common.OpenAPIDefinition{
4832 Schema: spec.Schema{
4833 SchemaProps: spec.SchemaProps{
4834 Description: "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
4835 Type: []string{"object"},
4836 Properties: map[string]spec.Schema{
4837 "ip": {
4838 SchemaProps: spec.SchemaProps{
4839 Description: "IP address of the host file entry.",
4840 Type: []string{"string"},
4841 Format: "",
4842 },
4843 },
4844 "hostnames": {
4845 VendorExtensible: spec.VendorExtensible{
4846 Extensions: spec.Extensions{
4847 "x-kubernetes-list-type": "atomic",
4848 },
4849 },
4850 SchemaProps: spec.SchemaProps{
4851 Description: "Hostnames for the above IP address.",
4852 Type: []string{"array"},
4853 Items: &spec.SchemaOrArray{
4854 Schema: &spec.Schema{
4855 SchemaProps: spec.SchemaProps{
4856 Default: "",
4857 Type: []string{"string"},
4858 Format: "",
4859 },
4860 },
4861 },
4862 },
4863 },
4864 },
4865 },
4866 },
4867 }
4868 }
4869
4870 func schema_k8sio_api_core_v1_HostIP(ref common.ReferenceCallback) common.OpenAPIDefinition {
4871 return common.OpenAPIDefinition{
4872 Schema: spec.Schema{
4873 SchemaProps: spec.SchemaProps{
4874 Description: "HostIP represents a single IP address allocated to the host.",
4875 Type: []string{"object"},
4876 Properties: map[string]spec.Schema{
4877 "ip": {
4878 SchemaProps: spec.SchemaProps{
4879 Description: "IP is the IP address assigned to the host",
4880 Type: []string{"string"},
4881 Format: "",
4882 },
4883 },
4884 },
4885 },
4886 },
4887 }
4888 }
4889
4890 func schema_k8sio_api_core_v1_HostPathVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4891 return common.OpenAPIDefinition{
4892 Schema: spec.Schema{
4893 SchemaProps: spec.SchemaProps{
4894 Description: "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
4895 Type: []string{"object"},
4896 Properties: map[string]spec.Schema{
4897 "path": {
4898 SchemaProps: spec.SchemaProps{
4899 Description: "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
4900 Default: "",
4901 Type: []string{"string"},
4902 Format: "",
4903 },
4904 },
4905 "type": {
4906 SchemaProps: spec.SchemaProps{
4907 Description: "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n\nPossible enum values:\n - `\"\"` For backwards compatible, leave it empty if unset\n - `\"BlockDevice\"` A block device must exist at the given path\n - `\"CharDevice\"` A character device must exist at the given path\n - `\"Directory\"` A directory must exist at the given path\n - `\"DirectoryOrCreate\"` If nothing exists at the given path, an empty directory will be created there as needed with file mode 0755, having the same group and ownership with Kubelet.\n - `\"File\"` A file must exist at the given path\n - `\"FileOrCreate\"` If nothing exists at the given path, an empty file will be created there as needed with file mode 0644, having the same group and ownership with Kubelet.\n - `\"Socket\"` A UNIX socket must exist at the given path",
4908 Type: []string{"string"},
4909 Format: "",
4910 Enum: []interface{}{"", "BlockDevice", "CharDevice", "Directory", "DirectoryOrCreate", "File", "FileOrCreate", "Socket"},
4911 },
4912 },
4913 },
4914 Required: []string{"path"},
4915 },
4916 },
4917 }
4918 }
4919
4920 func schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4921 return common.OpenAPIDefinition{
4922 Schema: spec.Schema{
4923 SchemaProps: spec.SchemaProps{
4924 Description: "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
4925 Type: []string{"object"},
4926 Properties: map[string]spec.Schema{
4927 "targetPortal": {
4928 SchemaProps: spec.SchemaProps{
4929 Description: "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
4930 Default: "",
4931 Type: []string{"string"},
4932 Format: "",
4933 },
4934 },
4935 "iqn": {
4936 SchemaProps: spec.SchemaProps{
4937 Description: "iqn is Target iSCSI Qualified Name.",
4938 Default: "",
4939 Type: []string{"string"},
4940 Format: "",
4941 },
4942 },
4943 "lun": {
4944 SchemaProps: spec.SchemaProps{
4945 Description: "lun is iSCSI Target Lun number.",
4946 Default: 0,
4947 Type: []string{"integer"},
4948 Format: "int32",
4949 },
4950 },
4951 "iscsiInterface": {
4952 SchemaProps: spec.SchemaProps{
4953 Description: "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
4954 Type: []string{"string"},
4955 Format: "",
4956 },
4957 },
4958 "fsType": {
4959 SchemaProps: spec.SchemaProps{
4960 Description: "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi",
4961 Type: []string{"string"},
4962 Format: "",
4963 },
4964 },
4965 "readOnly": {
4966 SchemaProps: spec.SchemaProps{
4967 Description: "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
4968 Type: []string{"boolean"},
4969 Format: "",
4970 },
4971 },
4972 "portals": {
4973 VendorExtensible: spec.VendorExtensible{
4974 Extensions: spec.Extensions{
4975 "x-kubernetes-list-type": "atomic",
4976 },
4977 },
4978 SchemaProps: spec.SchemaProps{
4979 Description: "portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
4980 Type: []string{"array"},
4981 Items: &spec.SchemaOrArray{
4982 Schema: &spec.Schema{
4983 SchemaProps: spec.SchemaProps{
4984 Default: "",
4985 Type: []string{"string"},
4986 Format: "",
4987 },
4988 },
4989 },
4990 },
4991 },
4992 "chapAuthDiscovery": {
4993 SchemaProps: spec.SchemaProps{
4994 Description: "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication",
4995 Type: []string{"boolean"},
4996 Format: "",
4997 },
4998 },
4999 "chapAuthSession": {
5000 SchemaProps: spec.SchemaProps{
5001 Description: "chapAuthSession defines whether support iSCSI Session CHAP authentication",
5002 Type: []string{"boolean"},
5003 Format: "",
5004 },
5005 },
5006 "secretRef": {
5007 SchemaProps: spec.SchemaProps{
5008 Description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication",
5009 Ref: ref("k8s.io/api/core/v1.SecretReference"),
5010 },
5011 },
5012 "initiatorName": {
5013 SchemaProps: spec.SchemaProps{
5014 Description: "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
5015 Type: []string{"string"},
5016 Format: "",
5017 },
5018 },
5019 },
5020 Required: []string{"targetPortal", "iqn", "lun"},
5021 },
5022 },
5023 Dependencies: []string{
5024 "k8s.io/api/core/v1.SecretReference"},
5025 }
5026 }
5027
5028 func schema_k8sio_api_core_v1_ISCSIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5029 return common.OpenAPIDefinition{
5030 Schema: spec.Schema{
5031 SchemaProps: spec.SchemaProps{
5032 Description: "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
5033 Type: []string{"object"},
5034 Properties: map[string]spec.Schema{
5035 "targetPortal": {
5036 SchemaProps: spec.SchemaProps{
5037 Description: "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
5038 Default: "",
5039 Type: []string{"string"},
5040 Format: "",
5041 },
5042 },
5043 "iqn": {
5044 SchemaProps: spec.SchemaProps{
5045 Description: "iqn is the target iSCSI Qualified Name.",
5046 Default: "",
5047 Type: []string{"string"},
5048 Format: "",
5049 },
5050 },
5051 "lun": {
5052 SchemaProps: spec.SchemaProps{
5053 Description: "lun represents iSCSI Target Lun number.",
5054 Default: 0,
5055 Type: []string{"integer"},
5056 Format: "int32",
5057 },
5058 },
5059 "iscsiInterface": {
5060 SchemaProps: spec.SchemaProps{
5061 Description: "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
5062 Type: []string{"string"},
5063 Format: "",
5064 },
5065 },
5066 "fsType": {
5067 SchemaProps: spec.SchemaProps{
5068 Description: "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi",
5069 Type: []string{"string"},
5070 Format: "",
5071 },
5072 },
5073 "readOnly": {
5074 SchemaProps: spec.SchemaProps{
5075 Description: "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
5076 Type: []string{"boolean"},
5077 Format: "",
5078 },
5079 },
5080 "portals": {
5081 VendorExtensible: spec.VendorExtensible{
5082 Extensions: spec.Extensions{
5083 "x-kubernetes-list-type": "atomic",
5084 },
5085 },
5086 SchemaProps: spec.SchemaProps{
5087 Description: "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
5088 Type: []string{"array"},
5089 Items: &spec.SchemaOrArray{
5090 Schema: &spec.Schema{
5091 SchemaProps: spec.SchemaProps{
5092 Default: "",
5093 Type: []string{"string"},
5094 Format: "",
5095 },
5096 },
5097 },
5098 },
5099 },
5100 "chapAuthDiscovery": {
5101 SchemaProps: spec.SchemaProps{
5102 Description: "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication",
5103 Type: []string{"boolean"},
5104 Format: "",
5105 },
5106 },
5107 "chapAuthSession": {
5108 SchemaProps: spec.SchemaProps{
5109 Description: "chapAuthSession defines whether support iSCSI Session CHAP authentication",
5110 Type: []string{"boolean"},
5111 Format: "",
5112 },
5113 },
5114 "secretRef": {
5115 SchemaProps: spec.SchemaProps{
5116 Description: "secretRef is the CHAP Secret for iSCSI target and initiator authentication",
5117 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
5118 },
5119 },
5120 "initiatorName": {
5121 SchemaProps: spec.SchemaProps{
5122 Description: "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
5123 Type: []string{"string"},
5124 Format: "",
5125 },
5126 },
5127 },
5128 Required: []string{"targetPortal", "iqn", "lun"},
5129 },
5130 },
5131 Dependencies: []string{
5132 "k8s.io/api/core/v1.LocalObjectReference"},
5133 }
5134 }
5135
5136 func schema_k8sio_api_core_v1_KeyToPath(ref common.ReferenceCallback) common.OpenAPIDefinition {
5137 return common.OpenAPIDefinition{
5138 Schema: spec.Schema{
5139 SchemaProps: spec.SchemaProps{
5140 Description: "Maps a string key to a path within a volume.",
5141 Type: []string{"object"},
5142 Properties: map[string]spec.Schema{
5143 "key": {
5144 SchemaProps: spec.SchemaProps{
5145 Description: "key is the key to project.",
5146 Default: "",
5147 Type: []string{"string"},
5148 Format: "",
5149 },
5150 },
5151 "path": {
5152 SchemaProps: spec.SchemaProps{
5153 Description: "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.",
5154 Default: "",
5155 Type: []string{"string"},
5156 Format: "",
5157 },
5158 },
5159 "mode": {
5160 SchemaProps: spec.SchemaProps{
5161 Description: "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
5162 Type: []string{"integer"},
5163 Format: "int32",
5164 },
5165 },
5166 },
5167 Required: []string{"key", "path"},
5168 },
5169 },
5170 }
5171 }
5172
5173 func schema_k8sio_api_core_v1_Lifecycle(ref common.ReferenceCallback) common.OpenAPIDefinition {
5174 return common.OpenAPIDefinition{
5175 Schema: spec.Schema{
5176 SchemaProps: spec.SchemaProps{
5177 Description: "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.",
5178 Type: []string{"object"},
5179 Properties: map[string]spec.Schema{
5180 "postStart": {
5181 SchemaProps: spec.SchemaProps{
5182 Description: "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks",
5183 Ref: ref("k8s.io/api/core/v1.LifecycleHandler"),
5184 },
5185 },
5186 "preStop": {
5187 SchemaProps: spec.SchemaProps{
5188 Description: "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks",
5189 Ref: ref("k8s.io/api/core/v1.LifecycleHandler"),
5190 },
5191 },
5192 },
5193 },
5194 },
5195 Dependencies: []string{
5196 "k8s.io/api/core/v1.LifecycleHandler"},
5197 }
5198 }
5199
5200 func schema_k8sio_api_core_v1_LifecycleHandler(ref common.ReferenceCallback) common.OpenAPIDefinition {
5201 return common.OpenAPIDefinition{
5202 Schema: spec.Schema{
5203 SchemaProps: spec.SchemaProps{
5204 Description: "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.",
5205 Type: []string{"object"},
5206 Properties: map[string]spec.Schema{
5207 "exec": {
5208 SchemaProps: spec.SchemaProps{
5209 Description: "Exec specifies the action to take.",
5210 Ref: ref("k8s.io/api/core/v1.ExecAction"),
5211 },
5212 },
5213 "httpGet": {
5214 SchemaProps: spec.SchemaProps{
5215 Description: "HTTPGet specifies the http request to perform.",
5216 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
5217 },
5218 },
5219 "tcpSocket": {
5220 SchemaProps: spec.SchemaProps{
5221 Description: "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.",
5222 Ref: ref("k8s.io/api/core/v1.TCPSocketAction"),
5223 },
5224 },
5225 "sleep": {
5226 SchemaProps: spec.SchemaProps{
5227 Description: "Sleep represents the duration that the container should sleep before being terminated.",
5228 Ref: ref("k8s.io/api/core/v1.SleepAction"),
5229 },
5230 },
5231 },
5232 },
5233 },
5234 Dependencies: []string{
5235 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.SleepAction", "k8s.io/api/core/v1.TCPSocketAction"},
5236 }
5237 }
5238
5239 func schema_k8sio_api_core_v1_LimitRange(ref common.ReferenceCallback) common.OpenAPIDefinition {
5240 return common.OpenAPIDefinition{
5241 Schema: spec.Schema{
5242 SchemaProps: spec.SchemaProps{
5243 Description: "LimitRange sets resource usage limits for each kind of resource in a Namespace.",
5244 Type: []string{"object"},
5245 Properties: map[string]spec.Schema{
5246 "kind": {
5247 SchemaProps: spec.SchemaProps{
5248 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5249 Type: []string{"string"},
5250 Format: "",
5251 },
5252 },
5253 "apiVersion": {
5254 SchemaProps: spec.SchemaProps{
5255 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5256 Type: []string{"string"},
5257 Format: "",
5258 },
5259 },
5260 "metadata": {
5261 SchemaProps: spec.SchemaProps{
5262 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
5263 Default: map[string]interface{}{},
5264 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
5265 },
5266 },
5267 "spec": {
5268 SchemaProps: spec.SchemaProps{
5269 Description: "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
5270 Default: map[string]interface{}{},
5271 Ref: ref("k8s.io/api/core/v1.LimitRangeSpec"),
5272 },
5273 },
5274 },
5275 },
5276 },
5277 Dependencies: []string{
5278 "k8s.io/api/core/v1.LimitRangeSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
5279 }
5280 }
5281
5282 func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
5283 return common.OpenAPIDefinition{
5284 Schema: spec.Schema{
5285 SchemaProps: spec.SchemaProps{
5286 Description: "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.",
5287 Type: []string{"object"},
5288 Properties: map[string]spec.Schema{
5289 "type": {
5290 SchemaProps: spec.SchemaProps{
5291 Description: "Type of resource that this limit applies to.",
5292 Default: "",
5293 Type: []string{"string"},
5294 Format: "",
5295 },
5296 },
5297 "max": {
5298 SchemaProps: spec.SchemaProps{
5299 Description: "Max usage constraints on this kind by resource name.",
5300 Type: []string{"object"},
5301 AdditionalProperties: &spec.SchemaOrBool{
5302 Allows: true,
5303 Schema: &spec.Schema{
5304 SchemaProps: spec.SchemaProps{
5305 Default: map[string]interface{}{},
5306 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5307 },
5308 },
5309 },
5310 },
5311 },
5312 "min": {
5313 SchemaProps: spec.SchemaProps{
5314 Description: "Min usage constraints on this kind by resource name.",
5315 Type: []string{"object"},
5316 AdditionalProperties: &spec.SchemaOrBool{
5317 Allows: true,
5318 Schema: &spec.Schema{
5319 SchemaProps: spec.SchemaProps{
5320 Default: map[string]interface{}{},
5321 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5322 },
5323 },
5324 },
5325 },
5326 },
5327 "default": {
5328 SchemaProps: spec.SchemaProps{
5329 Description: "Default resource requirement limit value by resource name if resource limit is omitted.",
5330 Type: []string{"object"},
5331 AdditionalProperties: &spec.SchemaOrBool{
5332 Allows: true,
5333 Schema: &spec.Schema{
5334 SchemaProps: spec.SchemaProps{
5335 Default: map[string]interface{}{},
5336 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5337 },
5338 },
5339 },
5340 },
5341 },
5342 "defaultRequest": {
5343 SchemaProps: spec.SchemaProps{
5344 Description: "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.",
5345 Type: []string{"object"},
5346 AdditionalProperties: &spec.SchemaOrBool{
5347 Allows: true,
5348 Schema: &spec.Schema{
5349 SchemaProps: spec.SchemaProps{
5350 Default: map[string]interface{}{},
5351 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5352 },
5353 },
5354 },
5355 },
5356 },
5357 "maxLimitRequestRatio": {
5358 SchemaProps: spec.SchemaProps{
5359 Description: "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.",
5360 Type: []string{"object"},
5361 AdditionalProperties: &spec.SchemaOrBool{
5362 Allows: true,
5363 Schema: &spec.Schema{
5364 SchemaProps: spec.SchemaProps{
5365 Default: map[string]interface{}{},
5366 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5367 },
5368 },
5369 },
5370 },
5371 },
5372 },
5373 Required: []string{"type"},
5374 },
5375 },
5376 Dependencies: []string{
5377 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
5378 }
5379 }
5380
5381 func schema_k8sio_api_core_v1_LimitRangeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5382 return common.OpenAPIDefinition{
5383 Schema: spec.Schema{
5384 SchemaProps: spec.SchemaProps{
5385 Description: "LimitRangeList is a list of LimitRange items.",
5386 Type: []string{"object"},
5387 Properties: map[string]spec.Schema{
5388 "kind": {
5389 SchemaProps: spec.SchemaProps{
5390 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5391 Type: []string{"string"},
5392 Format: "",
5393 },
5394 },
5395 "apiVersion": {
5396 SchemaProps: spec.SchemaProps{
5397 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5398 Type: []string{"string"},
5399 Format: "",
5400 },
5401 },
5402 "metadata": {
5403 SchemaProps: spec.SchemaProps{
5404 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5405 Default: map[string]interface{}{},
5406 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5407 },
5408 },
5409 "items": {
5410 SchemaProps: spec.SchemaProps{
5411 Description: "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
5412 Type: []string{"array"},
5413 Items: &spec.SchemaOrArray{
5414 Schema: &spec.Schema{
5415 SchemaProps: spec.SchemaProps{
5416 Default: map[string]interface{}{},
5417 Ref: ref("k8s.io/api/core/v1.LimitRange"),
5418 },
5419 },
5420 },
5421 },
5422 },
5423 },
5424 Required: []string{"items"},
5425 },
5426 },
5427 Dependencies: []string{
5428 "k8s.io/api/core/v1.LimitRange", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5429 }
5430 }
5431
5432 func schema_k8sio_api_core_v1_LimitRangeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
5433 return common.OpenAPIDefinition{
5434 Schema: spec.Schema{
5435 SchemaProps: spec.SchemaProps{
5436 Description: "LimitRangeSpec defines a min/max usage limit for resources that match on kind.",
5437 Type: []string{"object"},
5438 Properties: map[string]spec.Schema{
5439 "limits": {
5440 VendorExtensible: spec.VendorExtensible{
5441 Extensions: spec.Extensions{
5442 "x-kubernetes-list-type": "atomic",
5443 },
5444 },
5445 SchemaProps: spec.SchemaProps{
5446 Description: "Limits is the list of LimitRangeItem objects that are enforced.",
5447 Type: []string{"array"},
5448 Items: &spec.SchemaOrArray{
5449 Schema: &spec.Schema{
5450 SchemaProps: spec.SchemaProps{
5451 Default: map[string]interface{}{},
5452 Ref: ref("k8s.io/api/core/v1.LimitRangeItem"),
5453 },
5454 },
5455 },
5456 },
5457 },
5458 },
5459 Required: []string{"limits"},
5460 },
5461 },
5462 Dependencies: []string{
5463 "k8s.io/api/core/v1.LimitRangeItem"},
5464 }
5465 }
5466
5467 func schema_k8sio_api_core_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
5468 return common.OpenAPIDefinition{
5469 Schema: spec.Schema{
5470 SchemaProps: spec.SchemaProps{
5471 Description: "List holds a list of objects, which may not be known by the server.",
5472 Type: []string{"object"},
5473 Properties: map[string]spec.Schema{
5474 "kind": {
5475 SchemaProps: spec.SchemaProps{
5476 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5477 Type: []string{"string"},
5478 Format: "",
5479 },
5480 },
5481 "apiVersion": {
5482 SchemaProps: spec.SchemaProps{
5483 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5484 Type: []string{"string"},
5485 Format: "",
5486 },
5487 },
5488 "metadata": {
5489 SchemaProps: spec.SchemaProps{
5490 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5491 Default: map[string]interface{}{},
5492 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5493 },
5494 },
5495 "items": {
5496 SchemaProps: spec.SchemaProps{
5497 Description: "List of objects",
5498 Type: []string{"array"},
5499 Items: &spec.SchemaOrArray{
5500 Schema: &spec.Schema{
5501 SchemaProps: spec.SchemaProps{
5502 Default: map[string]interface{}{},
5503 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
5504 },
5505 },
5506 },
5507 },
5508 },
5509 },
5510 Required: []string{"items"},
5511 },
5512 },
5513 Dependencies: []string{
5514 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
5515 }
5516 }
5517
5518 func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) common.OpenAPIDefinition {
5519 return common.OpenAPIDefinition{
5520 Schema: spec.Schema{
5521 SchemaProps: spec.SchemaProps{
5522 Description: "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
5523 Type: []string{"object"},
5524 Properties: map[string]spec.Schema{
5525 "ip": {
5526 SchemaProps: spec.SchemaProps{
5527 Description: "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
5528 Type: []string{"string"},
5529 Format: "",
5530 },
5531 },
5532 "hostname": {
5533 SchemaProps: spec.SchemaProps{
5534 Description: "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
5535 Type: []string{"string"},
5536 Format: "",
5537 },
5538 },
5539 "ipMode": {
5540 SchemaProps: spec.SchemaProps{
5541 Description: "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.",
5542 Type: []string{"string"},
5543 Format: "",
5544 },
5545 },
5546 "ports": {
5547 VendorExtensible: spec.VendorExtensible{
5548 Extensions: spec.Extensions{
5549 "x-kubernetes-list-type": "atomic",
5550 },
5551 },
5552 SchemaProps: spec.SchemaProps{
5553 Description: "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it",
5554 Type: []string{"array"},
5555 Items: &spec.SchemaOrArray{
5556 Schema: &spec.Schema{
5557 SchemaProps: spec.SchemaProps{
5558 Default: map[string]interface{}{},
5559 Ref: ref("k8s.io/api/core/v1.PortStatus"),
5560 },
5561 },
5562 },
5563 },
5564 },
5565 },
5566 },
5567 },
5568 Dependencies: []string{
5569 "k8s.io/api/core/v1.PortStatus"},
5570 }
5571 }
5572
5573 func schema_k8sio_api_core_v1_LoadBalancerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
5574 return common.OpenAPIDefinition{
5575 Schema: spec.Schema{
5576 SchemaProps: spec.SchemaProps{
5577 Description: "LoadBalancerStatus represents the status of a load-balancer.",
5578 Type: []string{"object"},
5579 Properties: map[string]spec.Schema{
5580 "ingress": {
5581 VendorExtensible: spec.VendorExtensible{
5582 Extensions: spec.Extensions{
5583 "x-kubernetes-list-type": "atomic",
5584 },
5585 },
5586 SchemaProps: spec.SchemaProps{
5587 Description: "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
5588 Type: []string{"array"},
5589 Items: &spec.SchemaOrArray{
5590 Schema: &spec.Schema{
5591 SchemaProps: spec.SchemaProps{
5592 Default: map[string]interface{}{},
5593 Ref: ref("k8s.io/api/core/v1.LoadBalancerIngress"),
5594 },
5595 },
5596 },
5597 },
5598 },
5599 },
5600 },
5601 },
5602 Dependencies: []string{
5603 "k8s.io/api/core/v1.LoadBalancerIngress"},
5604 }
5605 }
5606
5607 func schema_k8sio_api_core_v1_LocalObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
5608 return common.OpenAPIDefinition{
5609 Schema: spec.Schema{
5610 SchemaProps: spec.SchemaProps{
5611 Description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
5612 Type: []string{"object"},
5613 Properties: map[string]spec.Schema{
5614 "name": {
5615 SchemaProps: spec.SchemaProps{
5616 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
5617 Type: []string{"string"},
5618 Format: "",
5619 },
5620 },
5621 },
5622 },
5623 VendorExtensible: spec.VendorExtensible{
5624 Extensions: spec.Extensions{
5625 "x-kubernetes-map-type": "atomic",
5626 },
5627 },
5628 },
5629 }
5630 }
5631
5632 func schema_k8sio_api_core_v1_LocalVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5633 return common.OpenAPIDefinition{
5634 Schema: spec.Schema{
5635 SchemaProps: spec.SchemaProps{
5636 Description: "Local represents directly-attached storage with node affinity (Beta feature)",
5637 Type: []string{"object"},
5638 Properties: map[string]spec.Schema{
5639 "path": {
5640 SchemaProps: spec.SchemaProps{
5641 Description: "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).",
5642 Default: "",
5643 Type: []string{"string"},
5644 Format: "",
5645 },
5646 },
5647 "fsType": {
5648 SchemaProps: spec.SchemaProps{
5649 Description: "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified.",
5650 Type: []string{"string"},
5651 Format: "",
5652 },
5653 },
5654 },
5655 Required: []string{"path"},
5656 },
5657 },
5658 }
5659 }
5660
5661 func schema_k8sio_api_core_v1_ModifyVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
5662 return common.OpenAPIDefinition{
5663 Schema: spec.Schema{
5664 SchemaProps: spec.SchemaProps{
5665 Description: "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation",
5666 Type: []string{"object"},
5667 Properties: map[string]spec.Schema{
5668 "targetVolumeAttributesClassName": {
5669 SchemaProps: spec.SchemaProps{
5670 Description: "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled",
5671 Type: []string{"string"},
5672 Format: "",
5673 },
5674 },
5675 "status": {
5676 SchemaProps: spec.SchemaProps{
5677 Description: "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.\n\nPossible enum values:\n - `\"InProgress\"` InProgress indicates that the volume is being modified\n - `\"Infeasible\"` Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified\n - `\"Pending\"` Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing",
5678 Default: "",
5679 Type: []string{"string"},
5680 Format: "",
5681 Enum: []interface{}{"InProgress", "Infeasible", "Pending"},
5682 },
5683 },
5684 },
5685 Required: []string{"status"},
5686 },
5687 },
5688 }
5689 }
5690
5691 func schema_k8sio_api_core_v1_NFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5692 return common.OpenAPIDefinition{
5693 Schema: spec.Schema{
5694 SchemaProps: spec.SchemaProps{
5695 Description: "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
5696 Type: []string{"object"},
5697 Properties: map[string]spec.Schema{
5698 "server": {
5699 SchemaProps: spec.SchemaProps{
5700 Description: "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
5701 Default: "",
5702 Type: []string{"string"},
5703 Format: "",
5704 },
5705 },
5706 "path": {
5707 SchemaProps: spec.SchemaProps{
5708 Description: "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
5709 Default: "",
5710 Type: []string{"string"},
5711 Format: "",
5712 },
5713 },
5714 "readOnly": {
5715 SchemaProps: spec.SchemaProps{
5716 Description: "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
5717 Type: []string{"boolean"},
5718 Format: "",
5719 },
5720 },
5721 },
5722 Required: []string{"server", "path"},
5723 },
5724 },
5725 }
5726 }
5727
5728 func schema_k8sio_api_core_v1_Namespace(ref common.ReferenceCallback) common.OpenAPIDefinition {
5729 return common.OpenAPIDefinition{
5730 Schema: spec.Schema{
5731 SchemaProps: spec.SchemaProps{
5732 Description: "Namespace provides a scope for Names. Use of multiple namespaces is optional.",
5733 Type: []string{"object"},
5734 Properties: map[string]spec.Schema{
5735 "kind": {
5736 SchemaProps: spec.SchemaProps{
5737 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5738 Type: []string{"string"},
5739 Format: "",
5740 },
5741 },
5742 "apiVersion": {
5743 SchemaProps: spec.SchemaProps{
5744 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5745 Type: []string{"string"},
5746 Format: "",
5747 },
5748 },
5749 "metadata": {
5750 SchemaProps: spec.SchemaProps{
5751 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
5752 Default: map[string]interface{}{},
5753 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
5754 },
5755 },
5756 "spec": {
5757 SchemaProps: spec.SchemaProps{
5758 Description: "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
5759 Default: map[string]interface{}{},
5760 Ref: ref("k8s.io/api/core/v1.NamespaceSpec"),
5761 },
5762 },
5763 "status": {
5764 SchemaProps: spec.SchemaProps{
5765 Description: "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
5766 Default: map[string]interface{}{},
5767 Ref: ref("k8s.io/api/core/v1.NamespaceStatus"),
5768 },
5769 },
5770 },
5771 },
5772 },
5773 Dependencies: []string{
5774 "k8s.io/api/core/v1.NamespaceSpec", "k8s.io/api/core/v1.NamespaceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
5775 }
5776 }
5777
5778 func schema_k8sio_api_core_v1_NamespaceCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
5779 return common.OpenAPIDefinition{
5780 Schema: spec.Schema{
5781 SchemaProps: spec.SchemaProps{
5782 Description: "NamespaceCondition contains details about state of namespace.",
5783 Type: []string{"object"},
5784 Properties: map[string]spec.Schema{
5785 "type": {
5786 SchemaProps: spec.SchemaProps{
5787 Description: "Type of namespace controller condition.",
5788 Default: "",
5789 Type: []string{"string"},
5790 Format: "",
5791 },
5792 },
5793 "status": {
5794 SchemaProps: spec.SchemaProps{
5795 Description: "Status of the condition, one of True, False, Unknown.",
5796 Default: "",
5797 Type: []string{"string"},
5798 Format: "",
5799 },
5800 },
5801 "lastTransitionTime": {
5802 SchemaProps: spec.SchemaProps{
5803 Default: map[string]interface{}{},
5804 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
5805 },
5806 },
5807 "reason": {
5808 SchemaProps: spec.SchemaProps{
5809 Type: []string{"string"},
5810 Format: "",
5811 },
5812 },
5813 "message": {
5814 SchemaProps: spec.SchemaProps{
5815 Type: []string{"string"},
5816 Format: "",
5817 },
5818 },
5819 },
5820 Required: []string{"type", "status"},
5821 },
5822 },
5823 Dependencies: []string{
5824 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
5825 }
5826 }
5827
5828 func schema_k8sio_api_core_v1_NamespaceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5829 return common.OpenAPIDefinition{
5830 Schema: spec.Schema{
5831 SchemaProps: spec.SchemaProps{
5832 Description: "NamespaceList is a list of Namespaces.",
5833 Type: []string{"object"},
5834 Properties: map[string]spec.Schema{
5835 "kind": {
5836 SchemaProps: spec.SchemaProps{
5837 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5838 Type: []string{"string"},
5839 Format: "",
5840 },
5841 },
5842 "apiVersion": {
5843 SchemaProps: spec.SchemaProps{
5844 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5845 Type: []string{"string"},
5846 Format: "",
5847 },
5848 },
5849 "metadata": {
5850 SchemaProps: spec.SchemaProps{
5851 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5852 Default: map[string]interface{}{},
5853 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5854 },
5855 },
5856 "items": {
5857 SchemaProps: spec.SchemaProps{
5858 Description: "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
5859 Type: []string{"array"},
5860 Items: &spec.SchemaOrArray{
5861 Schema: &spec.Schema{
5862 SchemaProps: spec.SchemaProps{
5863 Default: map[string]interface{}{},
5864 Ref: ref("k8s.io/api/core/v1.Namespace"),
5865 },
5866 },
5867 },
5868 },
5869 },
5870 },
5871 Required: []string{"items"},
5872 },
5873 },
5874 Dependencies: []string{
5875 "k8s.io/api/core/v1.Namespace", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5876 }
5877 }
5878
5879 func schema_k8sio_api_core_v1_NamespaceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
5880 return common.OpenAPIDefinition{
5881 Schema: spec.Schema{
5882 SchemaProps: spec.SchemaProps{
5883 Description: "NamespaceSpec describes the attributes on a Namespace.",
5884 Type: []string{"object"},
5885 Properties: map[string]spec.Schema{
5886 "finalizers": {
5887 VendorExtensible: spec.VendorExtensible{
5888 Extensions: spec.Extensions{
5889 "x-kubernetes-list-type": "atomic",
5890 },
5891 },
5892 SchemaProps: spec.SchemaProps{
5893 Description: "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
5894 Type: []string{"array"},
5895 Items: &spec.SchemaOrArray{
5896 Schema: &spec.Schema{
5897 SchemaProps: spec.SchemaProps{
5898 Default: "",
5899 Type: []string{"string"},
5900 Format: "",
5901 },
5902 },
5903 },
5904 },
5905 },
5906 },
5907 },
5908 },
5909 }
5910 }
5911
5912 func schema_k8sio_api_core_v1_NamespaceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
5913 return common.OpenAPIDefinition{
5914 Schema: spec.Schema{
5915 SchemaProps: spec.SchemaProps{
5916 Description: "NamespaceStatus is information about the current status of a Namespace.",
5917 Type: []string{"object"},
5918 Properties: map[string]spec.Schema{
5919 "phase": {
5920 SchemaProps: spec.SchemaProps{
5921 Description: "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/\n\nPossible enum values:\n - `\"Active\"` means the namespace is available for use in the system\n - `\"Terminating\"` means the namespace is undergoing graceful termination",
5922 Type: []string{"string"},
5923 Format: "",
5924 Enum: []interface{}{"Active", "Terminating"},
5925 },
5926 },
5927 "conditions": {
5928 VendorExtensible: spec.VendorExtensible{
5929 Extensions: spec.Extensions{
5930 "x-kubernetes-list-map-keys": []interface{}{
5931 "type",
5932 },
5933 "x-kubernetes-list-type": "map",
5934 "x-kubernetes-patch-merge-key": "type",
5935 "x-kubernetes-patch-strategy": "merge",
5936 },
5937 },
5938 SchemaProps: spec.SchemaProps{
5939 Description: "Represents the latest available observations of a namespace's current state.",
5940 Type: []string{"array"},
5941 Items: &spec.SchemaOrArray{
5942 Schema: &spec.Schema{
5943 SchemaProps: spec.SchemaProps{
5944 Default: map[string]interface{}{},
5945 Ref: ref("k8s.io/api/core/v1.NamespaceCondition"),
5946 },
5947 },
5948 },
5949 },
5950 },
5951 },
5952 },
5953 },
5954 Dependencies: []string{
5955 "k8s.io/api/core/v1.NamespaceCondition"},
5956 }
5957 }
5958
5959 func schema_k8sio_api_core_v1_Node(ref common.ReferenceCallback) common.OpenAPIDefinition {
5960 return common.OpenAPIDefinition{
5961 Schema: spec.Schema{
5962 SchemaProps: spec.SchemaProps{
5963 Description: "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).",
5964 Type: []string{"object"},
5965 Properties: map[string]spec.Schema{
5966 "kind": {
5967 SchemaProps: spec.SchemaProps{
5968 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5969 Type: []string{"string"},
5970 Format: "",
5971 },
5972 },
5973 "apiVersion": {
5974 SchemaProps: spec.SchemaProps{
5975 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5976 Type: []string{"string"},
5977 Format: "",
5978 },
5979 },
5980 "metadata": {
5981 SchemaProps: spec.SchemaProps{
5982 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
5983 Default: map[string]interface{}{},
5984 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
5985 },
5986 },
5987 "spec": {
5988 SchemaProps: spec.SchemaProps{
5989 Description: "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
5990 Default: map[string]interface{}{},
5991 Ref: ref("k8s.io/api/core/v1.NodeSpec"),
5992 },
5993 },
5994 "status": {
5995 SchemaProps: spec.SchemaProps{
5996 Description: "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
5997 Default: map[string]interface{}{},
5998 Ref: ref("k8s.io/api/core/v1.NodeStatus"),
5999 },
6000 },
6001 },
6002 },
6003 },
6004 Dependencies: []string{
6005 "k8s.io/api/core/v1.NodeSpec", "k8s.io/api/core/v1.NodeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
6006 }
6007 }
6008
6009 func schema_k8sio_api_core_v1_NodeAddress(ref common.ReferenceCallback) common.OpenAPIDefinition {
6010 return common.OpenAPIDefinition{
6011 Schema: spec.Schema{
6012 SchemaProps: spec.SchemaProps{
6013 Description: "NodeAddress contains information for the node's address.",
6014 Type: []string{"object"},
6015 Properties: map[string]spec.Schema{
6016 "type": {
6017 SchemaProps: spec.SchemaProps{
6018 Description: "Node address type, one of Hostname, ExternalIP or InternalIP.",
6019 Default: "",
6020 Type: []string{"string"},
6021 Format: "",
6022 },
6023 },
6024 "address": {
6025 SchemaProps: spec.SchemaProps{
6026 Description: "The node address.",
6027 Default: "",
6028 Type: []string{"string"},
6029 Format: "",
6030 },
6031 },
6032 },
6033 Required: []string{"type", "address"},
6034 },
6035 },
6036 }
6037 }
6038
6039 func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
6040 return common.OpenAPIDefinition{
6041 Schema: spec.Schema{
6042 SchemaProps: spec.SchemaProps{
6043 Description: "Node affinity is a group of node affinity scheduling rules.",
6044 Type: []string{"object"},
6045 Properties: map[string]spec.Schema{
6046 "requiredDuringSchedulingIgnoredDuringExecution": {
6047 SchemaProps: spec.SchemaProps{
6048 Description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.",
6049 Ref: ref("k8s.io/api/core/v1.NodeSelector"),
6050 },
6051 },
6052 "preferredDuringSchedulingIgnoredDuringExecution": {
6053 VendorExtensible: spec.VendorExtensible{
6054 Extensions: spec.Extensions{
6055 "x-kubernetes-list-type": "atomic",
6056 },
6057 },
6058 SchemaProps: spec.SchemaProps{
6059 Description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.",
6060 Type: []string{"array"},
6061 Items: &spec.SchemaOrArray{
6062 Schema: &spec.Schema{
6063 SchemaProps: spec.SchemaProps{
6064 Default: map[string]interface{}{},
6065 Ref: ref("k8s.io/api/core/v1.PreferredSchedulingTerm"),
6066 },
6067 },
6068 },
6069 },
6070 },
6071 },
6072 },
6073 },
6074 Dependencies: []string{
6075 "k8s.io/api/core/v1.NodeSelector", "k8s.io/api/core/v1.PreferredSchedulingTerm"},
6076 }
6077 }
6078
6079 func schema_k8sio_api_core_v1_NodeCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
6080 return common.OpenAPIDefinition{
6081 Schema: spec.Schema{
6082 SchemaProps: spec.SchemaProps{
6083 Description: "NodeCondition contains condition information for a node.",
6084 Type: []string{"object"},
6085 Properties: map[string]spec.Schema{
6086 "type": {
6087 SchemaProps: spec.SchemaProps{
6088 Description: "Type of node condition.",
6089 Default: "",
6090 Type: []string{"string"},
6091 Format: "",
6092 },
6093 },
6094 "status": {
6095 SchemaProps: spec.SchemaProps{
6096 Description: "Status of the condition, one of True, False, Unknown.",
6097 Default: "",
6098 Type: []string{"string"},
6099 Format: "",
6100 },
6101 },
6102 "lastHeartbeatTime": {
6103 SchemaProps: spec.SchemaProps{
6104 Description: "Last time we got an update on a given condition.",
6105 Default: map[string]interface{}{},
6106 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6107 },
6108 },
6109 "lastTransitionTime": {
6110 SchemaProps: spec.SchemaProps{
6111 Description: "Last time the condition transit from one status to another.",
6112 Default: map[string]interface{}{},
6113 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6114 },
6115 },
6116 "reason": {
6117 SchemaProps: spec.SchemaProps{
6118 Description: "(brief) reason for the condition's last transition.",
6119 Type: []string{"string"},
6120 Format: "",
6121 },
6122 },
6123 "message": {
6124 SchemaProps: spec.SchemaProps{
6125 Description: "Human readable message indicating details about last transition.",
6126 Type: []string{"string"},
6127 Format: "",
6128 },
6129 },
6130 },
6131 Required: []string{"type", "status"},
6132 },
6133 },
6134 Dependencies: []string{
6135 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6136 }
6137 }
6138
6139 func schema_k8sio_api_core_v1_NodeConfigSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
6140 return common.OpenAPIDefinition{
6141 Schema: spec.Schema{
6142 SchemaProps: spec.SchemaProps{
6143 Description: "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22",
6144 Type: []string{"object"},
6145 Properties: map[string]spec.Schema{
6146 "configMap": {
6147 SchemaProps: spec.SchemaProps{
6148 Description: "ConfigMap is a reference to a Node's ConfigMap",
6149 Ref: ref("k8s.io/api/core/v1.ConfigMapNodeConfigSource"),
6150 },
6151 },
6152 },
6153 },
6154 },
6155 Dependencies: []string{
6156 "k8s.io/api/core/v1.ConfigMapNodeConfigSource"},
6157 }
6158 }
6159
6160 func schema_k8sio_api_core_v1_NodeConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6161 return common.OpenAPIDefinition{
6162 Schema: spec.Schema{
6163 SchemaProps: spec.SchemaProps{
6164 Description: "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.",
6165 Type: []string{"object"},
6166 Properties: map[string]spec.Schema{
6167 "assigned": {
6168 SchemaProps: spec.SchemaProps{
6169 Description: "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.",
6170 Ref: ref("k8s.io/api/core/v1.NodeConfigSource"),
6171 },
6172 },
6173 "active": {
6174 SchemaProps: spec.SchemaProps{
6175 Description: "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.",
6176 Ref: ref("k8s.io/api/core/v1.NodeConfigSource"),
6177 },
6178 },
6179 "lastKnownGood": {
6180 SchemaProps: spec.SchemaProps{
6181 Description: "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.",
6182 Ref: ref("k8s.io/api/core/v1.NodeConfigSource"),
6183 },
6184 },
6185 "error": {
6186 SchemaProps: spec.SchemaProps{
6187 Description: "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.",
6188 Type: []string{"string"},
6189 Format: "",
6190 },
6191 },
6192 },
6193 },
6194 },
6195 Dependencies: []string{
6196 "k8s.io/api/core/v1.NodeConfigSource"},
6197 }
6198 }
6199
6200 func schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
6201 return common.OpenAPIDefinition{
6202 Schema: spec.Schema{
6203 SchemaProps: spec.SchemaProps{
6204 Description: "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
6205 Type: []string{"object"},
6206 Properties: map[string]spec.Schema{
6207 "kubeletEndpoint": {
6208 SchemaProps: spec.SchemaProps{
6209 Description: "Endpoint on which Kubelet is listening.",
6210 Default: map[string]interface{}{},
6211 Ref: ref("k8s.io/api/core/v1.DaemonEndpoint"),
6212 },
6213 },
6214 },
6215 },
6216 },
6217 Dependencies: []string{
6218 "k8s.io/api/core/v1.DaemonEndpoint"},
6219 }
6220 }
6221
6222 func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
6223 return common.OpenAPIDefinition{
6224 Schema: spec.Schema{
6225 SchemaProps: spec.SchemaProps{
6226 Description: "NodeList is the whole list of all Nodes which have been registered with master.",
6227 Type: []string{"object"},
6228 Properties: map[string]spec.Schema{
6229 "kind": {
6230 SchemaProps: spec.SchemaProps{
6231 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6232 Type: []string{"string"},
6233 Format: "",
6234 },
6235 },
6236 "apiVersion": {
6237 SchemaProps: spec.SchemaProps{
6238 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6239 Type: []string{"string"},
6240 Format: "",
6241 },
6242 },
6243 "metadata": {
6244 SchemaProps: spec.SchemaProps{
6245 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6246 Default: map[string]interface{}{},
6247 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
6248 },
6249 },
6250 "items": {
6251 SchemaProps: spec.SchemaProps{
6252 Description: "List of nodes",
6253 Type: []string{"array"},
6254 Items: &spec.SchemaOrArray{
6255 Schema: &spec.Schema{
6256 SchemaProps: spec.SchemaProps{
6257 Default: map[string]interface{}{},
6258 Ref: ref("k8s.io/api/core/v1.Node"),
6259 },
6260 },
6261 },
6262 },
6263 },
6264 },
6265 Required: []string{"items"},
6266 },
6267 },
6268 Dependencies: []string{
6269 "k8s.io/api/core/v1.Node", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
6270 }
6271 }
6272
6273 func schema_k8sio_api_core_v1_NodeProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
6274 return common.OpenAPIDefinition{
6275 Schema: spec.Schema{
6276 SchemaProps: spec.SchemaProps{
6277 Description: "NodeProxyOptions is the query options to a Node's proxy call.",
6278 Type: []string{"object"},
6279 Properties: map[string]spec.Schema{
6280 "kind": {
6281 SchemaProps: spec.SchemaProps{
6282 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6283 Type: []string{"string"},
6284 Format: "",
6285 },
6286 },
6287 "apiVersion": {
6288 SchemaProps: spec.SchemaProps{
6289 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6290 Type: []string{"string"},
6291 Format: "",
6292 },
6293 },
6294 "path": {
6295 SchemaProps: spec.SchemaProps{
6296 Description: "Path is the URL path to use for the current proxy request to node.",
6297 Type: []string{"string"},
6298 Format: "",
6299 },
6300 },
6301 },
6302 },
6303 },
6304 }
6305 }
6306
6307 func schema_k8sio_api_core_v1_NodeRuntimeHandler(ref common.ReferenceCallback) common.OpenAPIDefinition {
6308 return common.OpenAPIDefinition{
6309 Schema: spec.Schema{
6310 SchemaProps: spec.SchemaProps{
6311 Description: "NodeRuntimeHandler is a set of runtime handler information.",
6312 Type: []string{"object"},
6313 Properties: map[string]spec.Schema{
6314 "name": {
6315 SchemaProps: spec.SchemaProps{
6316 Description: "Runtime handler name. Empty for the default runtime handler.",
6317 Default: "",
6318 Type: []string{"string"},
6319 Format: "",
6320 },
6321 },
6322 "features": {
6323 SchemaProps: spec.SchemaProps{
6324 Description: "Supported features.",
6325 Ref: ref("k8s.io/api/core/v1.NodeRuntimeHandlerFeatures"),
6326 },
6327 },
6328 },
6329 },
6330 },
6331 Dependencies: []string{
6332 "k8s.io/api/core/v1.NodeRuntimeHandlerFeatures"},
6333 }
6334 }
6335
6336 func schema_k8sio_api_core_v1_NodeRuntimeHandlerFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition {
6337 return common.OpenAPIDefinition{
6338 Schema: spec.Schema{
6339 SchemaProps: spec.SchemaProps{
6340 Description: "NodeRuntimeHandlerFeatures is a set of runtime features.",
6341 Type: []string{"object"},
6342 Properties: map[string]spec.Schema{
6343 "recursiveReadOnlyMounts": {
6344 SchemaProps: spec.SchemaProps{
6345 Description: "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.",
6346 Type: []string{"boolean"},
6347 Format: "",
6348 },
6349 },
6350 },
6351 },
6352 },
6353 }
6354 }
6355
6356 func schema_k8sio_api_core_v1_NodeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
6357 return common.OpenAPIDefinition{
6358 Schema: spec.Schema{
6359 SchemaProps: spec.SchemaProps{
6360 Description: "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
6361 Type: []string{"object"},
6362 Properties: map[string]spec.Schema{
6363 "nodeSelectorTerms": {
6364 VendorExtensible: spec.VendorExtensible{
6365 Extensions: spec.Extensions{
6366 "x-kubernetes-list-type": "atomic",
6367 },
6368 },
6369 SchemaProps: spec.SchemaProps{
6370 Description: "Required. A list of node selector terms. The terms are ORed.",
6371 Type: []string{"array"},
6372 Items: &spec.SchemaOrArray{
6373 Schema: &spec.Schema{
6374 SchemaProps: spec.SchemaProps{
6375 Default: map[string]interface{}{},
6376 Ref: ref("k8s.io/api/core/v1.NodeSelectorTerm"),
6377 },
6378 },
6379 },
6380 },
6381 },
6382 },
6383 Required: []string{"nodeSelectorTerms"},
6384 },
6385 VendorExtensible: spec.VendorExtensible{
6386 Extensions: spec.Extensions{
6387 "x-kubernetes-map-type": "atomic",
6388 },
6389 },
6390 },
6391 Dependencies: []string{
6392 "k8s.io/api/core/v1.NodeSelectorTerm"},
6393 }
6394 }
6395
6396 func schema_k8sio_api_core_v1_NodeSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
6397 return common.OpenAPIDefinition{
6398 Schema: spec.Schema{
6399 SchemaProps: spec.SchemaProps{
6400 Description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
6401 Type: []string{"object"},
6402 Properties: map[string]spec.Schema{
6403 "key": {
6404 SchemaProps: spec.SchemaProps{
6405 Description: "The label key that the selector applies to.",
6406 Default: "",
6407 Type: []string{"string"},
6408 Format: "",
6409 },
6410 },
6411 "operator": {
6412 SchemaProps: spec.SchemaProps{
6413 Description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"Gt\"`\n - `\"In\"`\n - `\"Lt\"`\n - `\"NotIn\"`",
6414 Default: "",
6415 Type: []string{"string"},
6416 Format: "",
6417 Enum: []interface{}{"DoesNotExist", "Exists", "Gt", "In", "Lt", "NotIn"},
6418 },
6419 },
6420 "values": {
6421 VendorExtensible: spec.VendorExtensible{
6422 Extensions: spec.Extensions{
6423 "x-kubernetes-list-type": "atomic",
6424 },
6425 },
6426 SchemaProps: spec.SchemaProps{
6427 Description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
6428 Type: []string{"array"},
6429 Items: &spec.SchemaOrArray{
6430 Schema: &spec.Schema{
6431 SchemaProps: spec.SchemaProps{
6432 Default: "",
6433 Type: []string{"string"},
6434 Format: "",
6435 },
6436 },
6437 },
6438 },
6439 },
6440 },
6441 Required: []string{"key", "operator"},
6442 },
6443 },
6444 }
6445 }
6446
6447 func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
6448 return common.OpenAPIDefinition{
6449 Schema: spec.Schema{
6450 SchemaProps: spec.SchemaProps{
6451 Description: "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
6452 Type: []string{"object"},
6453 Properties: map[string]spec.Schema{
6454 "matchExpressions": {
6455 VendorExtensible: spec.VendorExtensible{
6456 Extensions: spec.Extensions{
6457 "x-kubernetes-list-type": "atomic",
6458 },
6459 },
6460 SchemaProps: spec.SchemaProps{
6461 Description: "A list of node selector requirements by node's labels.",
6462 Type: []string{"array"},
6463 Items: &spec.SchemaOrArray{
6464 Schema: &spec.Schema{
6465 SchemaProps: spec.SchemaProps{
6466 Default: map[string]interface{}{},
6467 Ref: ref("k8s.io/api/core/v1.NodeSelectorRequirement"),
6468 },
6469 },
6470 },
6471 },
6472 },
6473 "matchFields": {
6474 VendorExtensible: spec.VendorExtensible{
6475 Extensions: spec.Extensions{
6476 "x-kubernetes-list-type": "atomic",
6477 },
6478 },
6479 SchemaProps: spec.SchemaProps{
6480 Description: "A list of node selector requirements by node's fields.",
6481 Type: []string{"array"},
6482 Items: &spec.SchemaOrArray{
6483 Schema: &spec.Schema{
6484 SchemaProps: spec.SchemaProps{
6485 Default: map[string]interface{}{},
6486 Ref: ref("k8s.io/api/core/v1.NodeSelectorRequirement"),
6487 },
6488 },
6489 },
6490 },
6491 },
6492 },
6493 },
6494 VendorExtensible: spec.VendorExtensible{
6495 Extensions: spec.Extensions{
6496 "x-kubernetes-map-type": "atomic",
6497 },
6498 },
6499 },
6500 Dependencies: []string{
6501 "k8s.io/api/core/v1.NodeSelectorRequirement"},
6502 }
6503 }
6504
6505 func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
6506 return common.OpenAPIDefinition{
6507 Schema: spec.Schema{
6508 SchemaProps: spec.SchemaProps{
6509 Description: "NodeSpec describes the attributes that a node is created with.",
6510 Type: []string{"object"},
6511 Properties: map[string]spec.Schema{
6512 "podCIDR": {
6513 SchemaProps: spec.SchemaProps{
6514 Description: "PodCIDR represents the pod IP range assigned to the node.",
6515 Type: []string{"string"},
6516 Format: "",
6517 },
6518 },
6519 "podCIDRs": {
6520 VendorExtensible: spec.VendorExtensible{
6521 Extensions: spec.Extensions{
6522 "x-kubernetes-list-type": "set",
6523 "x-kubernetes-patch-strategy": "merge",
6524 },
6525 },
6526 SchemaProps: spec.SchemaProps{
6527 Description: "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.",
6528 Type: []string{"array"},
6529 Items: &spec.SchemaOrArray{
6530 Schema: &spec.Schema{
6531 SchemaProps: spec.SchemaProps{
6532 Default: "",
6533 Type: []string{"string"},
6534 Format: "",
6535 },
6536 },
6537 },
6538 },
6539 },
6540 "providerID": {
6541 SchemaProps: spec.SchemaProps{
6542 Description: "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>",
6543 Type: []string{"string"},
6544 Format: "",
6545 },
6546 },
6547 "unschedulable": {
6548 SchemaProps: spec.SchemaProps{
6549 Description: "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration",
6550 Type: []string{"boolean"},
6551 Format: "",
6552 },
6553 },
6554 "taints": {
6555 VendorExtensible: spec.VendorExtensible{
6556 Extensions: spec.Extensions{
6557 "x-kubernetes-list-type": "atomic",
6558 },
6559 },
6560 SchemaProps: spec.SchemaProps{
6561 Description: "If specified, the node's taints.",
6562 Type: []string{"array"},
6563 Items: &spec.SchemaOrArray{
6564 Schema: &spec.Schema{
6565 SchemaProps: spec.SchemaProps{
6566 Default: map[string]interface{}{},
6567 Ref: ref("k8s.io/api/core/v1.Taint"),
6568 },
6569 },
6570 },
6571 },
6572 },
6573 "configSource": {
6574 SchemaProps: spec.SchemaProps{
6575 Description: "Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.",
6576 Ref: ref("k8s.io/api/core/v1.NodeConfigSource"),
6577 },
6578 },
6579 "externalID": {
6580 SchemaProps: spec.SchemaProps{
6581 Description: "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966",
6582 Type: []string{"string"},
6583 Format: "",
6584 },
6585 },
6586 },
6587 },
6588 },
6589 Dependencies: []string{
6590 "k8s.io/api/core/v1.NodeConfigSource", "k8s.io/api/core/v1.Taint"},
6591 }
6592 }
6593
6594 func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6595 return common.OpenAPIDefinition{
6596 Schema: spec.Schema{
6597 SchemaProps: spec.SchemaProps{
6598 Description: "NodeStatus is information about the current status of a node.",
6599 Type: []string{"object"},
6600 Properties: map[string]spec.Schema{
6601 "capacity": {
6602 SchemaProps: spec.SchemaProps{
6603 Description: "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
6604 Type: []string{"object"},
6605 AdditionalProperties: &spec.SchemaOrBool{
6606 Allows: true,
6607 Schema: &spec.Schema{
6608 SchemaProps: spec.SchemaProps{
6609 Default: map[string]interface{}{},
6610 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
6611 },
6612 },
6613 },
6614 },
6615 },
6616 "allocatable": {
6617 SchemaProps: spec.SchemaProps{
6618 Description: "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
6619 Type: []string{"object"},
6620 AdditionalProperties: &spec.SchemaOrBool{
6621 Allows: true,
6622 Schema: &spec.Schema{
6623 SchemaProps: spec.SchemaProps{
6624 Default: map[string]interface{}{},
6625 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
6626 },
6627 },
6628 },
6629 },
6630 },
6631 "phase": {
6632 SchemaProps: spec.SchemaProps{
6633 Description: "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.\n\nPossible enum values:\n - `\"Pending\"` means the node has been created/added by the system, but not configured.\n - `\"Running\"` means the node has been configured and has Kubernetes components running.\n - `\"Terminated\"` means the node has been removed from the cluster.",
6634 Type: []string{"string"},
6635 Format: "",
6636 Enum: []interface{}{"Pending", "Running", "Terminated"},
6637 },
6638 },
6639 "conditions": {
6640 VendorExtensible: spec.VendorExtensible{
6641 Extensions: spec.Extensions{
6642 "x-kubernetes-list-map-keys": []interface{}{
6643 "type",
6644 },
6645 "x-kubernetes-list-type": "map",
6646 "x-kubernetes-patch-merge-key": "type",
6647 "x-kubernetes-patch-strategy": "merge",
6648 },
6649 },
6650 SchemaProps: spec.SchemaProps{
6651 Description: "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
6652 Type: []string{"array"},
6653 Items: &spec.SchemaOrArray{
6654 Schema: &spec.Schema{
6655 SchemaProps: spec.SchemaProps{
6656 Default: map[string]interface{}{},
6657 Ref: ref("k8s.io/api/core/v1.NodeCondition"),
6658 },
6659 },
6660 },
6661 },
6662 },
6663 "addresses": {
6664 VendorExtensible: spec.VendorExtensible{
6665 Extensions: spec.Extensions{
6666 "x-kubernetes-list-map-keys": []interface{}{
6667 "type",
6668 },
6669 "x-kubernetes-list-type": "map",
6670 "x-kubernetes-patch-merge-key": "type",
6671 "x-kubernetes-patch-strategy": "merge",
6672 },
6673 },
6674 SchemaProps: spec.SchemaProps{
6675 Description: "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).",
6676 Type: []string{"array"},
6677 Items: &spec.SchemaOrArray{
6678 Schema: &spec.Schema{
6679 SchemaProps: spec.SchemaProps{
6680 Default: map[string]interface{}{},
6681 Ref: ref("k8s.io/api/core/v1.NodeAddress"),
6682 },
6683 },
6684 },
6685 },
6686 },
6687 "daemonEndpoints": {
6688 SchemaProps: spec.SchemaProps{
6689 Description: "Endpoints of daemons running on the Node.",
6690 Default: map[string]interface{}{},
6691 Ref: ref("k8s.io/api/core/v1.NodeDaemonEndpoints"),
6692 },
6693 },
6694 "nodeInfo": {
6695 SchemaProps: spec.SchemaProps{
6696 Description: "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info",
6697 Default: map[string]interface{}{},
6698 Ref: ref("k8s.io/api/core/v1.NodeSystemInfo"),
6699 },
6700 },
6701 "images": {
6702 VendorExtensible: spec.VendorExtensible{
6703 Extensions: spec.Extensions{
6704 "x-kubernetes-list-type": "atomic",
6705 },
6706 },
6707 SchemaProps: spec.SchemaProps{
6708 Description: "List of container images on this node",
6709 Type: []string{"array"},
6710 Items: &spec.SchemaOrArray{
6711 Schema: &spec.Schema{
6712 SchemaProps: spec.SchemaProps{
6713 Default: map[string]interface{}{},
6714 Ref: ref("k8s.io/api/core/v1.ContainerImage"),
6715 },
6716 },
6717 },
6718 },
6719 },
6720 "volumesInUse": {
6721 VendorExtensible: spec.VendorExtensible{
6722 Extensions: spec.Extensions{
6723 "x-kubernetes-list-type": "atomic",
6724 },
6725 },
6726 SchemaProps: spec.SchemaProps{
6727 Description: "List of attachable volumes in use (mounted) by the node.",
6728 Type: []string{"array"},
6729 Items: &spec.SchemaOrArray{
6730 Schema: &spec.Schema{
6731 SchemaProps: spec.SchemaProps{
6732 Default: "",
6733 Type: []string{"string"},
6734 Format: "",
6735 },
6736 },
6737 },
6738 },
6739 },
6740 "volumesAttached": {
6741 VendorExtensible: spec.VendorExtensible{
6742 Extensions: spec.Extensions{
6743 "x-kubernetes-list-type": "atomic",
6744 },
6745 },
6746 SchemaProps: spec.SchemaProps{
6747 Description: "List of volumes that are attached to the node.",
6748 Type: []string{"array"},
6749 Items: &spec.SchemaOrArray{
6750 Schema: &spec.Schema{
6751 SchemaProps: spec.SchemaProps{
6752 Default: map[string]interface{}{},
6753 Ref: ref("k8s.io/api/core/v1.AttachedVolume"),
6754 },
6755 },
6756 },
6757 },
6758 },
6759 "config": {
6760 SchemaProps: spec.SchemaProps{
6761 Description: "Status of the config assigned to the node via the dynamic Kubelet config feature.",
6762 Ref: ref("k8s.io/api/core/v1.NodeConfigStatus"),
6763 },
6764 },
6765 "runtimeHandlers": {
6766 VendorExtensible: spec.VendorExtensible{
6767 Extensions: spec.Extensions{
6768 "x-kubernetes-list-type": "atomic",
6769 },
6770 },
6771 SchemaProps: spec.SchemaProps{
6772 Description: "The available runtime handlers.",
6773 Type: []string{"array"},
6774 Items: &spec.SchemaOrArray{
6775 Schema: &spec.Schema{
6776 SchemaProps: spec.SchemaProps{
6777 Default: map[string]interface{}{},
6778 Ref: ref("k8s.io/api/core/v1.NodeRuntimeHandler"),
6779 },
6780 },
6781 },
6782 },
6783 },
6784 },
6785 },
6786 },
6787 Dependencies: []string{
6788 "k8s.io/api/core/v1.AttachedVolume", "k8s.io/api/core/v1.ContainerImage", "k8s.io/api/core/v1.NodeAddress", "k8s.io/api/core/v1.NodeCondition", "k8s.io/api/core/v1.NodeConfigStatus", "k8s.io/api/core/v1.NodeDaemonEndpoints", "k8s.io/api/core/v1.NodeRuntimeHandler", "k8s.io/api/core/v1.NodeSystemInfo", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
6789 }
6790 }
6791
6792 func schema_k8sio_api_core_v1_NodeSystemInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
6793 return common.OpenAPIDefinition{
6794 Schema: spec.Schema{
6795 SchemaProps: spec.SchemaProps{
6796 Description: "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
6797 Type: []string{"object"},
6798 Properties: map[string]spec.Schema{
6799 "machineID": {
6800 SchemaProps: spec.SchemaProps{
6801 Description: "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
6802 Default: "",
6803 Type: []string{"string"},
6804 Format: "",
6805 },
6806 },
6807 "systemUUID": {
6808 SchemaProps: spec.SchemaProps{
6809 Description: "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
6810 Default: "",
6811 Type: []string{"string"},
6812 Format: "",
6813 },
6814 },
6815 "bootID": {
6816 SchemaProps: spec.SchemaProps{
6817 Description: "Boot ID reported by the node.",
6818 Default: "",
6819 Type: []string{"string"},
6820 Format: "",
6821 },
6822 },
6823 "kernelVersion": {
6824 SchemaProps: spec.SchemaProps{
6825 Description: "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
6826 Default: "",
6827 Type: []string{"string"},
6828 Format: "",
6829 },
6830 },
6831 "osImage": {
6832 SchemaProps: spec.SchemaProps{
6833 Description: "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
6834 Default: "",
6835 Type: []string{"string"},
6836 Format: "",
6837 },
6838 },
6839 "containerRuntimeVersion": {
6840 SchemaProps: spec.SchemaProps{
6841 Description: "ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).",
6842 Default: "",
6843 Type: []string{"string"},
6844 Format: "",
6845 },
6846 },
6847 "kubeletVersion": {
6848 SchemaProps: spec.SchemaProps{
6849 Description: "Kubelet Version reported by the node.",
6850 Default: "",
6851 Type: []string{"string"},
6852 Format: "",
6853 },
6854 },
6855 "kubeProxyVersion": {
6856 SchemaProps: spec.SchemaProps{
6857 Description: "KubeProxy Version reported by the node.",
6858 Default: "",
6859 Type: []string{"string"},
6860 Format: "",
6861 },
6862 },
6863 "operatingSystem": {
6864 SchemaProps: spec.SchemaProps{
6865 Description: "The Operating System reported by the node",
6866 Default: "",
6867 Type: []string{"string"},
6868 Format: "",
6869 },
6870 },
6871 "architecture": {
6872 SchemaProps: spec.SchemaProps{
6873 Description: "The Architecture reported by the node",
6874 Default: "",
6875 Type: []string{"string"},
6876 Format: "",
6877 },
6878 },
6879 },
6880 Required: []string{"machineID", "systemUUID", "bootID", "kernelVersion", "osImage", "containerRuntimeVersion", "kubeletVersion", "kubeProxyVersion", "operatingSystem", "architecture"},
6881 },
6882 },
6883 }
6884 }
6885
6886 func schema_k8sio_api_core_v1_ObjectFieldSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
6887 return common.OpenAPIDefinition{
6888 Schema: spec.Schema{
6889 SchemaProps: spec.SchemaProps{
6890 Description: "ObjectFieldSelector selects an APIVersioned field of an object.",
6891 Type: []string{"object"},
6892 Properties: map[string]spec.Schema{
6893 "apiVersion": {
6894 SchemaProps: spec.SchemaProps{
6895 Description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
6896 Type: []string{"string"},
6897 Format: "",
6898 },
6899 },
6900 "fieldPath": {
6901 SchemaProps: spec.SchemaProps{
6902 Description: "Path of the field to select in the specified API version.",
6903 Default: "",
6904 Type: []string{"string"},
6905 Format: "",
6906 },
6907 },
6908 },
6909 Required: []string{"fieldPath"},
6910 },
6911 VendorExtensible: spec.VendorExtensible{
6912 Extensions: spec.Extensions{
6913 "x-kubernetes-map-type": "atomic",
6914 },
6915 },
6916 },
6917 }
6918 }
6919
6920 func schema_k8sio_api_core_v1_ObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
6921 return common.OpenAPIDefinition{
6922 Schema: spec.Schema{
6923 SchemaProps: spec.SchemaProps{
6924 Description: "ObjectReference contains enough information to let you inspect or modify the referred object.",
6925 Type: []string{"object"},
6926 Properties: map[string]spec.Schema{
6927 "kind": {
6928 SchemaProps: spec.SchemaProps{
6929 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6930 Type: []string{"string"},
6931 Format: "",
6932 },
6933 },
6934 "namespace": {
6935 SchemaProps: spec.SchemaProps{
6936 Description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
6937 Type: []string{"string"},
6938 Format: "",
6939 },
6940 },
6941 "name": {
6942 SchemaProps: spec.SchemaProps{
6943 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
6944 Type: []string{"string"},
6945 Format: "",
6946 },
6947 },
6948 "uid": {
6949 SchemaProps: spec.SchemaProps{
6950 Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
6951 Type: []string{"string"},
6952 Format: "",
6953 },
6954 },
6955 "apiVersion": {
6956 SchemaProps: spec.SchemaProps{
6957 Description: "API version of the referent.",
6958 Type: []string{"string"},
6959 Format: "",
6960 },
6961 },
6962 "resourceVersion": {
6963 SchemaProps: spec.SchemaProps{
6964 Description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
6965 Type: []string{"string"},
6966 Format: "",
6967 },
6968 },
6969 "fieldPath": {
6970 SchemaProps: spec.SchemaProps{
6971 Description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
6972 Type: []string{"string"},
6973 Format: "",
6974 },
6975 },
6976 },
6977 },
6978 VendorExtensible: spec.VendorExtensible{
6979 Extensions: spec.Extensions{
6980 "x-kubernetes-map-type": "atomic",
6981 },
6982 },
6983 },
6984 }
6985 }
6986
6987 func schema_k8sio_api_core_v1_PersistentVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
6988 return common.OpenAPIDefinition{
6989 Schema: spec.Schema{
6990 SchemaProps: spec.SchemaProps{
6991 Description: "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes",
6992 Type: []string{"object"},
6993 Properties: map[string]spec.Schema{
6994 "kind": {
6995 SchemaProps: spec.SchemaProps{
6996 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6997 Type: []string{"string"},
6998 Format: "",
6999 },
7000 },
7001 "apiVersion": {
7002 SchemaProps: spec.SchemaProps{
7003 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
7004 Type: []string{"string"},
7005 Format: "",
7006 },
7007 },
7008 "metadata": {
7009 SchemaProps: spec.SchemaProps{
7010 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
7011 Default: map[string]interface{}{},
7012 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7013 },
7014 },
7015 "spec": {
7016 SchemaProps: spec.SchemaProps{
7017 Description: "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes",
7018 Default: map[string]interface{}{},
7019 Ref: ref("k8s.io/api/core/v1.PersistentVolumeSpec"),
7020 },
7021 },
7022 "status": {
7023 SchemaProps: spec.SchemaProps{
7024 Description: "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes",
7025 Default: map[string]interface{}{},
7026 Ref: ref("k8s.io/api/core/v1.PersistentVolumeStatus"),
7027 },
7028 },
7029 },
7030 },
7031 },
7032 Dependencies: []string{
7033 "k8s.io/api/core/v1.PersistentVolumeSpec", "k8s.io/api/core/v1.PersistentVolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7034 }
7035 }
7036
7037 func schema_k8sio_api_core_v1_PersistentVolumeClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
7038 return common.OpenAPIDefinition{
7039 Schema: spec.Schema{
7040 SchemaProps: spec.SchemaProps{
7041 Description: "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
7042 Type: []string{"object"},
7043 Properties: map[string]spec.Schema{
7044 "kind": {
7045 SchemaProps: spec.SchemaProps{
7046 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
7047 Type: []string{"string"},
7048 Format: "",
7049 },
7050 },
7051 "apiVersion": {
7052 SchemaProps: spec.SchemaProps{
7053 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
7054 Type: []string{"string"},
7055 Format: "",
7056 },
7057 },
7058 "metadata": {
7059 SchemaProps: spec.SchemaProps{
7060 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
7061 Default: map[string]interface{}{},
7062 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7063 },
7064 },
7065 "spec": {
7066 SchemaProps: spec.SchemaProps{
7067 Description: "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
7068 Default: map[string]interface{}{},
7069 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
7070 },
7071 },
7072 "status": {
7073 SchemaProps: spec.SchemaProps{
7074 Description: "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
7075 Default: map[string]interface{}{},
7076 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimStatus"),
7077 },
7078 },
7079 },
7080 },
7081 },
7082 Dependencies: []string{
7083 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/api/core/v1.PersistentVolumeClaimStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7084 }
7085 }
7086
7087 func schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
7088 return common.OpenAPIDefinition{
7089 Schema: spec.Schema{
7090 SchemaProps: spec.SchemaProps{
7091 Description: "PersistentVolumeClaimCondition contains details about state of pvc",
7092 Type: []string{"object"},
7093 Properties: map[string]spec.Schema{
7094 "type": {
7095 SchemaProps: spec.SchemaProps{
7096 Default: "",
7097 Type: []string{"string"},
7098 Format: "",
7099 },
7100 },
7101 "status": {
7102 SchemaProps: spec.SchemaProps{
7103 Default: "",
7104 Type: []string{"string"},
7105 Format: "",
7106 },
7107 },
7108 "lastProbeTime": {
7109 SchemaProps: spec.SchemaProps{
7110 Description: "lastProbeTime is the time we probed the condition.",
7111 Default: map[string]interface{}{},
7112 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
7113 },
7114 },
7115 "lastTransitionTime": {
7116 SchemaProps: spec.SchemaProps{
7117 Description: "lastTransitionTime is the time the condition transitioned from one status to another.",
7118 Default: map[string]interface{}{},
7119 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
7120 },
7121 },
7122 "reason": {
7123 SchemaProps: spec.SchemaProps{
7124 Description: "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized.",
7125 Type: []string{"string"},
7126 Format: "",
7127 },
7128 },
7129 "message": {
7130 SchemaProps: spec.SchemaProps{
7131 Description: "message is the human-readable message indicating details about last transition.",
7132 Type: []string{"string"},
7133 Format: "",
7134 },
7135 },
7136 },
7137 Required: []string{"type", "status"},
7138 },
7139 },
7140 Dependencies: []string{
7141 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
7142 }
7143 }
7144
7145 func schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref common.ReferenceCallback) common.OpenAPIDefinition {
7146 return common.OpenAPIDefinition{
7147 Schema: spec.Schema{
7148 SchemaProps: spec.SchemaProps{
7149 Description: "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.",
7150 Type: []string{"object"},
7151 Properties: map[string]spec.Schema{
7152 "kind": {
7153 SchemaProps: spec.SchemaProps{
7154 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
7155 Type: []string{"string"},
7156 Format: "",
7157 },
7158 },
7159 "apiVersion": {
7160 SchemaProps: spec.SchemaProps{
7161 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
7162 Type: []string{"string"},
7163 Format: "",
7164 },
7165 },
7166 "metadata": {
7167 SchemaProps: spec.SchemaProps{
7168 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
7169 Default: map[string]interface{}{},
7170 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
7171 },
7172 },
7173 "items": {
7174 SchemaProps: spec.SchemaProps{
7175 Description: "items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
7176 Type: []string{"array"},
7177 Items: &spec.SchemaOrArray{
7178 Schema: &spec.Schema{
7179 SchemaProps: spec.SchemaProps{
7180 Default: map[string]interface{}{},
7181 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaim"),
7182 },
7183 },
7184 },
7185 },
7186 },
7187 },
7188 Required: []string{"items"},
7189 },
7190 },
7191 Dependencies: []string{
7192 "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
7193 }
7194 }
7195
7196 func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
7197 return common.OpenAPIDefinition{
7198 Schema: spec.Schema{
7199 SchemaProps: spec.SchemaProps{
7200 Description: "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
7201 Type: []string{"object"},
7202 Properties: map[string]spec.Schema{
7203 "accessModes": {
7204 VendorExtensible: spec.VendorExtensible{
7205 Extensions: spec.Extensions{
7206 "x-kubernetes-list-type": "atomic",
7207 },
7208 },
7209 SchemaProps: spec.SchemaProps{
7210 Description: "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
7211 Type: []string{"array"},
7212 Items: &spec.SchemaOrArray{
7213 Schema: &spec.Schema{
7214 SchemaProps: spec.SchemaProps{
7215 Default: "",
7216 Type: []string{"string"},
7217 Format: "",
7218 },
7219 },
7220 },
7221 },
7222 },
7223 "selector": {
7224 SchemaProps: spec.SchemaProps{
7225 Description: "selector is a label query over volumes to consider for binding.",
7226 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
7227 },
7228 },
7229 "resources": {
7230 SchemaProps: spec.SchemaProps{
7231 Description: "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
7232 Default: map[string]interface{}{},
7233 Ref: ref("k8s.io/api/core/v1.VolumeResourceRequirements"),
7234 },
7235 },
7236 "volumeName": {
7237 SchemaProps: spec.SchemaProps{
7238 Description: "volumeName is the binding reference to the PersistentVolume backing this claim.",
7239 Type: []string{"string"},
7240 Format: "",
7241 },
7242 },
7243 "storageClassName": {
7244 SchemaProps: spec.SchemaProps{
7245 Description: "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
7246 Type: []string{"string"},
7247 Format: "",
7248 },
7249 },
7250 "volumeMode": {
7251 SchemaProps: spec.SchemaProps{
7252 Description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.",
7253 Type: []string{"string"},
7254 Format: "",
7255 Enum: []interface{}{"Block", "Filesystem"},
7256 },
7257 },
7258 "dataSource": {
7259 SchemaProps: spec.SchemaProps{
7260 Description: "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.",
7261 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
7262 },
7263 },
7264 "dataSourceRef": {
7265 SchemaProps: spec.SchemaProps{
7266 Description: "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.",
7267 Ref: ref("k8s.io/api/core/v1.TypedObjectReference"),
7268 },
7269 },
7270 "volumeAttributesClassName": {
7271 SchemaProps: spec.SchemaProps{
7272 Description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
7273 Type: []string{"string"},
7274 Format: "",
7275 },
7276 },
7277 },
7278 },
7279 },
7280 Dependencies: []string{
7281 "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/api/core/v1.TypedObjectReference", "k8s.io/api/core/v1.VolumeResourceRequirements", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
7282 }
7283 }
7284
7285 func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7286 return common.OpenAPIDefinition{
7287 Schema: spec.Schema{
7288 SchemaProps: spec.SchemaProps{
7289 Description: "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
7290 Type: []string{"object"},
7291 Properties: map[string]spec.Schema{
7292 "phase": {
7293 SchemaProps: spec.SchemaProps{
7294 Description: "phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound",
7295 Type: []string{"string"},
7296 Format: "",
7297 Enum: []interface{}{"Bound", "Lost", "Pending"},
7298 },
7299 },
7300 "accessModes": {
7301 VendorExtensible: spec.VendorExtensible{
7302 Extensions: spec.Extensions{
7303 "x-kubernetes-list-type": "atomic",
7304 },
7305 },
7306 SchemaProps: spec.SchemaProps{
7307 Description: "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
7308 Type: []string{"array"},
7309 Items: &spec.SchemaOrArray{
7310 Schema: &spec.Schema{
7311 SchemaProps: spec.SchemaProps{
7312 Default: "",
7313 Type: []string{"string"},
7314 Format: "",
7315 },
7316 },
7317 },
7318 },
7319 },
7320 "capacity": {
7321 SchemaProps: spec.SchemaProps{
7322 Description: "capacity represents the actual resources of the underlying volume.",
7323 Type: []string{"object"},
7324 AdditionalProperties: &spec.SchemaOrBool{
7325 Allows: true,
7326 Schema: &spec.Schema{
7327 SchemaProps: spec.SchemaProps{
7328 Default: map[string]interface{}{},
7329 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
7330 },
7331 },
7332 },
7333 },
7334 },
7335 "conditions": {
7336 VendorExtensible: spec.VendorExtensible{
7337 Extensions: spec.Extensions{
7338 "x-kubernetes-list-map-keys": []interface{}{
7339 "type",
7340 },
7341 "x-kubernetes-list-type": "map",
7342 "x-kubernetes-patch-merge-key": "type",
7343 "x-kubernetes-patch-strategy": "merge",
7344 },
7345 },
7346 SchemaProps: spec.SchemaProps{
7347 Description: "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.",
7348 Type: []string{"array"},
7349 Items: &spec.SchemaOrArray{
7350 Schema: &spec.Schema{
7351 SchemaProps: spec.SchemaProps{
7352 Default: map[string]interface{}{},
7353 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimCondition"),
7354 },
7355 },
7356 },
7357 },
7358 },
7359 "allocatedResources": {
7360 SchemaProps: spec.SchemaProps{
7361 Description: "allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
7362 Type: []string{"object"},
7363 AdditionalProperties: &spec.SchemaOrBool{
7364 Allows: true,
7365 Schema: &spec.Schema{
7366 SchemaProps: spec.SchemaProps{
7367 Default: map[string]interface{}{},
7368 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
7369 },
7370 },
7371 },
7372 },
7373 },
7374 "allocatedResourceStatuses": {
7375 VendorExtensible: spec.VendorExtensible{
7376 Extensions: spec.Extensions{
7377 "x-kubernetes-map-type": "granular",
7378 },
7379 },
7380 SchemaProps: spec.SchemaProps{
7381 Description: "allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
7382 Type: []string{"object"},
7383 AdditionalProperties: &spec.SchemaOrBool{
7384 Allows: true,
7385 Schema: &spec.Schema{
7386 SchemaProps: spec.SchemaProps{
7387 Default: "",
7388 Type: []string{"string"},
7389 Format: "",
7390 },
7391 },
7392 },
7393 },
7394 },
7395 "currentVolumeAttributesClassName": {
7396 SchemaProps: spec.SchemaProps{
7397 Description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.",
7398 Type: []string{"string"},
7399 Format: "",
7400 },
7401 },
7402 "modifyVolumeStatus": {
7403 SchemaProps: spec.SchemaProps{
7404 Description: "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.",
7405 Ref: ref("k8s.io/api/core/v1.ModifyVolumeStatus"),
7406 },
7407 },
7408 },
7409 },
7410 },
7411 Dependencies: []string{
7412 "k8s.io/api/core/v1.ModifyVolumeStatus", "k8s.io/api/core/v1.PersistentVolumeClaimCondition", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
7413 }
7414 }
7415
7416 func schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
7417 return common.OpenAPIDefinition{
7418 Schema: spec.Schema{
7419 SchemaProps: spec.SchemaProps{
7420 Description: "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.",
7421 Type: []string{"object"},
7422 Properties: map[string]spec.Schema{
7423 "metadata": {
7424 SchemaProps: spec.SchemaProps{
7425 Description: "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.",
7426 Default: map[string]interface{}{},
7427 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7428 },
7429 },
7430 "spec": {
7431 SchemaProps: spec.SchemaProps{
7432 Description: "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.",
7433 Default: map[string]interface{}{},
7434 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
7435 },
7436 },
7437 },
7438 Required: []string{"spec"},
7439 },
7440 },
7441 Dependencies: []string{
7442 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7443 }
7444 }
7445
7446 func schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7447 return common.OpenAPIDefinition{
7448 Schema: spec.Schema{
7449 SchemaProps: spec.SchemaProps{
7450 Description: "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).",
7451 Type: []string{"object"},
7452 Properties: map[string]spec.Schema{
7453 "claimName": {
7454 SchemaProps: spec.SchemaProps{
7455 Description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
7456 Default: "",
7457 Type: []string{"string"},
7458 Format: "",
7459 },
7460 },
7461 "readOnly": {
7462 SchemaProps: spec.SchemaProps{
7463 Description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
7464 Type: []string{"boolean"},
7465 Format: "",
7466 },
7467 },
7468 },
7469 Required: []string{"claimName"},
7470 },
7471 },
7472 }
7473 }
7474
7475 func schema_k8sio_api_core_v1_PersistentVolumeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
7476 return common.OpenAPIDefinition{
7477 Schema: spec.Schema{
7478 SchemaProps: spec.SchemaProps{
7479 Description: "PersistentVolumeList is a list of PersistentVolume items.",
7480 Type: []string{"object"},
7481 Properties: map[string]spec.Schema{
7482 "kind": {
7483 SchemaProps: spec.SchemaProps{
7484 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
7485 Type: []string{"string"},
7486 Format: "",
7487 },
7488 },
7489 "apiVersion": {
7490 SchemaProps: spec.SchemaProps{
7491 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
7492 Type: []string{"string"},
7493 Format: "",
7494 },
7495 },
7496 "metadata": {
7497 SchemaProps: spec.SchemaProps{
7498 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
7499 Default: map[string]interface{}{},
7500 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
7501 },
7502 },
7503 "items": {
7504 SchemaProps: spec.SchemaProps{
7505 Description: "items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes",
7506 Type: []string{"array"},
7507 Items: &spec.SchemaOrArray{
7508 Schema: &spec.Schema{
7509 SchemaProps: spec.SchemaProps{
7510 Default: map[string]interface{}{},
7511 Ref: ref("k8s.io/api/core/v1.PersistentVolume"),
7512 },
7513 },
7514 },
7515 },
7516 },
7517 },
7518 Required: []string{"items"},
7519 },
7520 },
7521 Dependencies: []string{
7522 "k8s.io/api/core/v1.PersistentVolume", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
7523 }
7524 }
7525
7526 func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7527 return common.OpenAPIDefinition{
7528 Schema: spec.Schema{
7529 SchemaProps: spec.SchemaProps{
7530 Description: "PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.",
7531 Type: []string{"object"},
7532 Properties: map[string]spec.Schema{
7533 "gcePersistentDisk": {
7534 SchemaProps: spec.SchemaProps{
7535 Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
7536 Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
7537 },
7538 },
7539 "awsElasticBlockStore": {
7540 SchemaProps: spec.SchemaProps{
7541 Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
7542 Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
7543 },
7544 },
7545 "hostPath": {
7546 SchemaProps: spec.SchemaProps{
7547 Description: "hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
7548 Ref: ref("k8s.io/api/core/v1.HostPathVolumeSource"),
7549 },
7550 },
7551 "glusterfs": {
7552 SchemaProps: spec.SchemaProps{
7553 Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
7554 Ref: ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"),
7555 },
7556 },
7557 "nfs": {
7558 SchemaProps: spec.SchemaProps{
7559 Description: "nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
7560 Ref: ref("k8s.io/api/core/v1.NFSVolumeSource"),
7561 },
7562 },
7563 "rbd": {
7564 SchemaProps: spec.SchemaProps{
7565 Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
7566 Ref: ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"),
7567 },
7568 },
7569 "iscsi": {
7570 SchemaProps: spec.SchemaProps{
7571 Description: "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.",
7572 Ref: ref("k8s.io/api/core/v1.ISCSIPersistentVolumeSource"),
7573 },
7574 },
7575 "cinder": {
7576 SchemaProps: spec.SchemaProps{
7577 Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
7578 Ref: ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"),
7579 },
7580 },
7581 "cephfs": {
7582 SchemaProps: spec.SchemaProps{
7583 Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
7584 Ref: ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"),
7585 },
7586 },
7587 "fc": {
7588 SchemaProps: spec.SchemaProps{
7589 Description: "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
7590 Ref: ref("k8s.io/api/core/v1.FCVolumeSource"),
7591 },
7592 },
7593 "flocker": {
7594 SchemaProps: spec.SchemaProps{
7595 Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running",
7596 Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"),
7597 },
7598 },
7599 "flexVolume": {
7600 SchemaProps: spec.SchemaProps{
7601 Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
7602 Ref: ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"),
7603 },
7604 },
7605 "azureFile": {
7606 SchemaProps: spec.SchemaProps{
7607 Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.",
7608 Ref: ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"),
7609 },
7610 },
7611 "vsphereVolume": {
7612 SchemaProps: spec.SchemaProps{
7613 Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
7614 Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
7615 },
7616 },
7617 "quobyte": {
7618 SchemaProps: spec.SchemaProps{
7619 Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
7620 Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
7621 },
7622 },
7623 "azureDisk": {
7624 SchemaProps: spec.SchemaProps{
7625 Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
7626 Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
7627 },
7628 },
7629 "photonPersistentDisk": {
7630 SchemaProps: spec.SchemaProps{
7631 Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
7632 Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
7633 },
7634 },
7635 "portworxVolume": {
7636 SchemaProps: spec.SchemaProps{
7637 Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine",
7638 Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"),
7639 },
7640 },
7641 "scaleIO": {
7642 SchemaProps: spec.SchemaProps{
7643 Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
7644 Ref: ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"),
7645 },
7646 },
7647 "local": {
7648 SchemaProps: spec.SchemaProps{
7649 Description: "local represents directly-attached storage with node affinity",
7650 Ref: ref("k8s.io/api/core/v1.LocalVolumeSource"),
7651 },
7652 },
7653 "storageos": {
7654 SchemaProps: spec.SchemaProps{
7655 Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md",
7656 Ref: ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"),
7657 },
7658 },
7659 "csi": {
7660 SchemaProps: spec.SchemaProps{
7661 Description: "csi represents storage that is handled by an external CSI driver (Beta feature).",
7662 Ref: ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"),
7663 },
7664 },
7665 },
7666 },
7667 },
7668 Dependencies: []string{
7669 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFilePersistentVolumeSource", "k8s.io/api/core/v1.CSIPersistentVolumeSource", "k8s.io/api/core/v1.CephFSPersistentVolumeSource", "k8s.io/api/core/v1.CinderPersistentVolumeSource", "k8s.io/api/core/v1.FCVolumeSource", "k8s.io/api/core/v1.FlexPersistentVolumeSource", "k8s.io/api/core/v1.FlockerVolumeSource", "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource", "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource", "k8s.io/api/core/v1.HostPathVolumeSource", "k8s.io/api/core/v1.ISCSIPersistentVolumeSource", "k8s.io/api/core/v1.LocalVolumeSource", "k8s.io/api/core/v1.NFSVolumeSource", "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource", "k8s.io/api/core/v1.PortworxVolumeSource", "k8s.io/api/core/v1.QuobyteVolumeSource", "k8s.io/api/core/v1.RBDPersistentVolumeSource", "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource", "k8s.io/api/core/v1.StorageOSPersistentVolumeSource", "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"},
7670 }
7671 }
7672
7673 func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
7674 return common.OpenAPIDefinition{
7675 Schema: spec.Schema{
7676 SchemaProps: spec.SchemaProps{
7677 Description: "PersistentVolumeSpec is the specification of a persistent volume.",
7678 Type: []string{"object"},
7679 Properties: map[string]spec.Schema{
7680 "capacity": {
7681 SchemaProps: spec.SchemaProps{
7682 Description: "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
7683 Type: []string{"object"},
7684 AdditionalProperties: &spec.SchemaOrBool{
7685 Allows: true,
7686 Schema: &spec.Schema{
7687 SchemaProps: spec.SchemaProps{
7688 Default: map[string]interface{}{},
7689 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
7690 },
7691 },
7692 },
7693 },
7694 },
7695 "gcePersistentDisk": {
7696 SchemaProps: spec.SchemaProps{
7697 Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
7698 Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
7699 },
7700 },
7701 "awsElasticBlockStore": {
7702 SchemaProps: spec.SchemaProps{
7703 Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
7704 Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
7705 },
7706 },
7707 "hostPath": {
7708 SchemaProps: spec.SchemaProps{
7709 Description: "hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
7710 Ref: ref("k8s.io/api/core/v1.HostPathVolumeSource"),
7711 },
7712 },
7713 "glusterfs": {
7714 SchemaProps: spec.SchemaProps{
7715 Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
7716 Ref: ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"),
7717 },
7718 },
7719 "nfs": {
7720 SchemaProps: spec.SchemaProps{
7721 Description: "nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
7722 Ref: ref("k8s.io/api/core/v1.NFSVolumeSource"),
7723 },
7724 },
7725 "rbd": {
7726 SchemaProps: spec.SchemaProps{
7727 Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
7728 Ref: ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"),
7729 },
7730 },
7731 "iscsi": {
7732 SchemaProps: spec.SchemaProps{
7733 Description: "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.",
7734 Ref: ref("k8s.io/api/core/v1.ISCSIPersistentVolumeSource"),
7735 },
7736 },
7737 "cinder": {
7738 SchemaProps: spec.SchemaProps{
7739 Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
7740 Ref: ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"),
7741 },
7742 },
7743 "cephfs": {
7744 SchemaProps: spec.SchemaProps{
7745 Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
7746 Ref: ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"),
7747 },
7748 },
7749 "fc": {
7750 SchemaProps: spec.SchemaProps{
7751 Description: "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
7752 Ref: ref("k8s.io/api/core/v1.FCVolumeSource"),
7753 },
7754 },
7755 "flocker": {
7756 SchemaProps: spec.SchemaProps{
7757 Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running",
7758 Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"),
7759 },
7760 },
7761 "flexVolume": {
7762 SchemaProps: spec.SchemaProps{
7763 Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
7764 Ref: ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"),
7765 },
7766 },
7767 "azureFile": {
7768 SchemaProps: spec.SchemaProps{
7769 Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.",
7770 Ref: ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"),
7771 },
7772 },
7773 "vsphereVolume": {
7774 SchemaProps: spec.SchemaProps{
7775 Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
7776 Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
7777 },
7778 },
7779 "quobyte": {
7780 SchemaProps: spec.SchemaProps{
7781 Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
7782 Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
7783 },
7784 },
7785 "azureDisk": {
7786 SchemaProps: spec.SchemaProps{
7787 Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
7788 Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
7789 },
7790 },
7791 "photonPersistentDisk": {
7792 SchemaProps: spec.SchemaProps{
7793 Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
7794 Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
7795 },
7796 },
7797 "portworxVolume": {
7798 SchemaProps: spec.SchemaProps{
7799 Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine",
7800 Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"),
7801 },
7802 },
7803 "scaleIO": {
7804 SchemaProps: spec.SchemaProps{
7805 Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
7806 Ref: ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"),
7807 },
7808 },
7809 "local": {
7810 SchemaProps: spec.SchemaProps{
7811 Description: "local represents directly-attached storage with node affinity",
7812 Ref: ref("k8s.io/api/core/v1.LocalVolumeSource"),
7813 },
7814 },
7815 "storageos": {
7816 SchemaProps: spec.SchemaProps{
7817 Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md",
7818 Ref: ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"),
7819 },
7820 },
7821 "csi": {
7822 SchemaProps: spec.SchemaProps{
7823 Description: "csi represents storage that is handled by an external CSI driver (Beta feature).",
7824 Ref: ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"),
7825 },
7826 },
7827 "accessModes": {
7828 VendorExtensible: spec.VendorExtensible{
7829 Extensions: spec.Extensions{
7830 "x-kubernetes-list-type": "atomic",
7831 },
7832 },
7833 SchemaProps: spec.SchemaProps{
7834 Description: "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
7835 Type: []string{"array"},
7836 Items: &spec.SchemaOrArray{
7837 Schema: &spec.Schema{
7838 SchemaProps: spec.SchemaProps{
7839 Default: "",
7840 Type: []string{"string"},
7841 Format: "",
7842 },
7843 },
7844 },
7845 },
7846 },
7847 "claimRef": {
7848 VendorExtensible: spec.VendorExtensible{
7849 Extensions: spec.Extensions{
7850 "x-kubernetes-map-type": "granular",
7851 },
7852 },
7853 SchemaProps: spec.SchemaProps{
7854 Description: "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding",
7855 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
7856 },
7857 },
7858 "persistentVolumeReclaimPolicy": {
7859 SchemaProps: spec.SchemaProps{
7860 Description: "persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.",
7861 Type: []string{"string"},
7862 Format: "",
7863 Enum: []interface{}{"Delete", "Recycle", "Retain"},
7864 },
7865 },
7866 "storageClassName": {
7867 SchemaProps: spec.SchemaProps{
7868 Description: "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
7869 Type: []string{"string"},
7870 Format: "",
7871 },
7872 },
7873 "mountOptions": {
7874 VendorExtensible: spec.VendorExtensible{
7875 Extensions: spec.Extensions{
7876 "x-kubernetes-list-type": "atomic",
7877 },
7878 },
7879 SchemaProps: spec.SchemaProps{
7880 Description: "mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
7881 Type: []string{"array"},
7882 Items: &spec.SchemaOrArray{
7883 Schema: &spec.Schema{
7884 SchemaProps: spec.SchemaProps{
7885 Default: "",
7886 Type: []string{"string"},
7887 Format: "",
7888 },
7889 },
7890 },
7891 },
7892 },
7893 "volumeMode": {
7894 SchemaProps: spec.SchemaProps{
7895 Description: "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.",
7896 Type: []string{"string"},
7897 Format: "",
7898 Enum: []interface{}{"Block", "Filesystem"},
7899 },
7900 },
7901 "nodeAffinity": {
7902 SchemaProps: spec.SchemaProps{
7903 Description: "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.",
7904 Ref: ref("k8s.io/api/core/v1.VolumeNodeAffinity"),
7905 },
7906 },
7907 "volumeAttributesClassName": {
7908 SchemaProps: spec.SchemaProps{
7909 Description: "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.",
7910 Type: []string{"string"},
7911 Format: "",
7912 },
7913 },
7914 },
7915 },
7916 },
7917 Dependencies: []string{
7918 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFilePersistentVolumeSource", "k8s.io/api/core/v1.CSIPersistentVolumeSource", "k8s.io/api/core/v1.CephFSPersistentVolumeSource", "k8s.io/api/core/v1.CinderPersistentVolumeSource", "k8s.io/api/core/v1.FCVolumeSource", "k8s.io/api/core/v1.FlexPersistentVolumeSource", "k8s.io/api/core/v1.FlockerVolumeSource", "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource", "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource", "k8s.io/api/core/v1.HostPathVolumeSource", "k8s.io/api/core/v1.ISCSIPersistentVolumeSource", "k8s.io/api/core/v1.LocalVolumeSource", "k8s.io/api/core/v1.NFSVolumeSource", "k8s.io/api/core/v1.ObjectReference", "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource", "k8s.io/api/core/v1.PortworxVolumeSource", "k8s.io/api/core/v1.QuobyteVolumeSource", "k8s.io/api/core/v1.RBDPersistentVolumeSource", "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource", "k8s.io/api/core/v1.StorageOSPersistentVolumeSource", "k8s.io/api/core/v1.VolumeNodeAffinity", "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
7919 }
7920 }
7921
7922 func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7923 return common.OpenAPIDefinition{
7924 Schema: spec.Schema{
7925 SchemaProps: spec.SchemaProps{
7926 Description: "PersistentVolumeStatus is the current status of a persistent volume.",
7927 Type: []string{"object"},
7928 Properties: map[string]spec.Schema{
7929 "phase": {
7930 SchemaProps: spec.SchemaProps{
7931 Description: "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase\n\nPossible enum values:\n - `\"Available\"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims\n - `\"Bound\"` used for PersistentVolumes that are bound\n - `\"Failed\"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim\n - `\"Pending\"` used for PersistentVolumes that are not available\n - `\"Released\"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource",
7932 Type: []string{"string"},
7933 Format: "",
7934 Enum: []interface{}{"Available", "Bound", "Failed", "Pending", "Released"},
7935 },
7936 },
7937 "message": {
7938 SchemaProps: spec.SchemaProps{
7939 Description: "message is a human-readable message indicating details about why the volume is in this state.",
7940 Type: []string{"string"},
7941 Format: "",
7942 },
7943 },
7944 "reason": {
7945 SchemaProps: spec.SchemaProps{
7946 Description: "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
7947 Type: []string{"string"},
7948 Format: "",
7949 },
7950 },
7951 "lastPhaseTransitionTime": {
7952 SchemaProps: spec.SchemaProps{
7953 Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).",
7954 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
7955 },
7956 },
7957 },
7958 },
7959 },
7960 Dependencies: []string{
7961 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
7962 }
7963 }
7964
7965 func schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7966 return common.OpenAPIDefinition{
7967 Schema: spec.Schema{
7968 SchemaProps: spec.SchemaProps{
7969 Description: "Represents a Photon Controller persistent disk resource.",
7970 Type: []string{"object"},
7971 Properties: map[string]spec.Schema{
7972 "pdID": {
7973 SchemaProps: spec.SchemaProps{
7974 Description: "pdID is the ID that identifies Photon Controller persistent disk",
7975 Default: "",
7976 Type: []string{"string"},
7977 Format: "",
7978 },
7979 },
7980 "fsType": {
7981 SchemaProps: spec.SchemaProps{
7982 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
7983 Type: []string{"string"},
7984 Format: "",
7985 },
7986 },
7987 },
7988 Required: []string{"pdID"},
7989 },
7990 },
7991 }
7992 }
7993
7994 func schema_k8sio_api_core_v1_Pod(ref common.ReferenceCallback) common.OpenAPIDefinition {
7995 return common.OpenAPIDefinition{
7996 Schema: spec.Schema{
7997 SchemaProps: spec.SchemaProps{
7998 Description: "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.",
7999 Type: []string{"object"},
8000 Properties: map[string]spec.Schema{
8001 "kind": {
8002 SchemaProps: spec.SchemaProps{
8003 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8004 Type: []string{"string"},
8005 Format: "",
8006 },
8007 },
8008 "apiVersion": {
8009 SchemaProps: spec.SchemaProps{
8010 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8011 Type: []string{"string"},
8012 Format: "",
8013 },
8014 },
8015 "metadata": {
8016 SchemaProps: spec.SchemaProps{
8017 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
8018 Default: map[string]interface{}{},
8019 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
8020 },
8021 },
8022 "spec": {
8023 SchemaProps: spec.SchemaProps{
8024 Description: "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
8025 Default: map[string]interface{}{},
8026 Ref: ref("k8s.io/api/core/v1.PodSpec"),
8027 },
8028 },
8029 "status": {
8030 SchemaProps: spec.SchemaProps{
8031 Description: "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
8032 Default: map[string]interface{}{},
8033 Ref: ref("k8s.io/api/core/v1.PodStatus"),
8034 },
8035 },
8036 },
8037 },
8038 },
8039 Dependencies: []string{
8040 "k8s.io/api/core/v1.PodSpec", "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
8041 }
8042 }
8043
8044 func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
8045 return common.OpenAPIDefinition{
8046 Schema: spec.Schema{
8047 SchemaProps: spec.SchemaProps{
8048 Description: "Pod affinity is a group of inter pod affinity scheduling rules.",
8049 Type: []string{"object"},
8050 Properties: map[string]spec.Schema{
8051 "requiredDuringSchedulingIgnoredDuringExecution": {
8052 VendorExtensible: spec.VendorExtensible{
8053 Extensions: spec.Extensions{
8054 "x-kubernetes-list-type": "atomic",
8055 },
8056 },
8057 SchemaProps: spec.SchemaProps{
8058 Description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
8059 Type: []string{"array"},
8060 Items: &spec.SchemaOrArray{
8061 Schema: &spec.Schema{
8062 SchemaProps: spec.SchemaProps{
8063 Default: map[string]interface{}{},
8064 Ref: ref("k8s.io/api/core/v1.PodAffinityTerm"),
8065 },
8066 },
8067 },
8068 },
8069 },
8070 "preferredDuringSchedulingIgnoredDuringExecution": {
8071 VendorExtensible: spec.VendorExtensible{
8072 Extensions: spec.Extensions{
8073 "x-kubernetes-list-type": "atomic",
8074 },
8075 },
8076 SchemaProps: spec.SchemaProps{
8077 Description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
8078 Type: []string{"array"},
8079 Items: &spec.SchemaOrArray{
8080 Schema: &spec.Schema{
8081 SchemaProps: spec.SchemaProps{
8082 Default: map[string]interface{}{},
8083 Ref: ref("k8s.io/api/core/v1.WeightedPodAffinityTerm"),
8084 },
8085 },
8086 },
8087 },
8088 },
8089 },
8090 },
8091 },
8092 Dependencies: []string{
8093 "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
8094 }
8095 }
8096
8097 func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
8098 return common.OpenAPIDefinition{
8099 Schema: spec.Schema{
8100 SchemaProps: spec.SchemaProps{
8101 Description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running",
8102 Type: []string{"object"},
8103 Properties: map[string]spec.Schema{
8104 "labelSelector": {
8105 SchemaProps: spec.SchemaProps{
8106 Description: "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
8107 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
8108 },
8109 },
8110 "namespaces": {
8111 VendorExtensible: spec.VendorExtensible{
8112 Extensions: spec.Extensions{
8113 "x-kubernetes-list-type": "atomic",
8114 },
8115 },
8116 SchemaProps: spec.SchemaProps{
8117 Description: "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
8118 Type: []string{"array"},
8119 Items: &spec.SchemaOrArray{
8120 Schema: &spec.Schema{
8121 SchemaProps: spec.SchemaProps{
8122 Default: "",
8123 Type: []string{"string"},
8124 Format: "",
8125 },
8126 },
8127 },
8128 },
8129 },
8130 "topologyKey": {
8131 SchemaProps: spec.SchemaProps{
8132 Description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
8133 Default: "",
8134 Type: []string{"string"},
8135 Format: "",
8136 },
8137 },
8138 "namespaceSelector": {
8139 SchemaProps: spec.SchemaProps{
8140 Description: "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
8141 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
8142 },
8143 },
8144 "matchLabelKeys": {
8145 VendorExtensible: spec.VendorExtensible{
8146 Extensions: spec.Extensions{
8147 "x-kubernetes-list-type": "atomic",
8148 },
8149 },
8150 SchemaProps: spec.SchemaProps{
8151 Description: "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
8152 Type: []string{"array"},
8153 Items: &spec.SchemaOrArray{
8154 Schema: &spec.Schema{
8155 SchemaProps: spec.SchemaProps{
8156 Default: "",
8157 Type: []string{"string"},
8158 Format: "",
8159 },
8160 },
8161 },
8162 },
8163 },
8164 "mismatchLabelKeys": {
8165 VendorExtensible: spec.VendorExtensible{
8166 Extensions: spec.Extensions{
8167 "x-kubernetes-list-type": "atomic",
8168 },
8169 },
8170 SchemaProps: spec.SchemaProps{
8171 Description: "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
8172 Type: []string{"array"},
8173 Items: &spec.SchemaOrArray{
8174 Schema: &spec.Schema{
8175 SchemaProps: spec.SchemaProps{
8176 Default: "",
8177 Type: []string{"string"},
8178 Format: "",
8179 },
8180 },
8181 },
8182 },
8183 },
8184 },
8185 Required: []string{"topologyKey"},
8186 },
8187 },
8188 Dependencies: []string{
8189 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
8190 }
8191 }
8192
8193 func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
8194 return common.OpenAPIDefinition{
8195 Schema: spec.Schema{
8196 SchemaProps: spec.SchemaProps{
8197 Description: "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
8198 Type: []string{"object"},
8199 Properties: map[string]spec.Schema{
8200 "requiredDuringSchedulingIgnoredDuringExecution": {
8201 VendorExtensible: spec.VendorExtensible{
8202 Extensions: spec.Extensions{
8203 "x-kubernetes-list-type": "atomic",
8204 },
8205 },
8206 SchemaProps: spec.SchemaProps{
8207 Description: "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
8208 Type: []string{"array"},
8209 Items: &spec.SchemaOrArray{
8210 Schema: &spec.Schema{
8211 SchemaProps: spec.SchemaProps{
8212 Default: map[string]interface{}{},
8213 Ref: ref("k8s.io/api/core/v1.PodAffinityTerm"),
8214 },
8215 },
8216 },
8217 },
8218 },
8219 "preferredDuringSchedulingIgnoredDuringExecution": {
8220 VendorExtensible: spec.VendorExtensible{
8221 Extensions: spec.Extensions{
8222 "x-kubernetes-list-type": "atomic",
8223 },
8224 },
8225 SchemaProps: spec.SchemaProps{
8226 Description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
8227 Type: []string{"array"},
8228 Items: &spec.SchemaOrArray{
8229 Schema: &spec.Schema{
8230 SchemaProps: spec.SchemaProps{
8231 Default: map[string]interface{}{},
8232 Ref: ref("k8s.io/api/core/v1.WeightedPodAffinityTerm"),
8233 },
8234 },
8235 },
8236 },
8237 },
8238 },
8239 },
8240 },
8241 Dependencies: []string{
8242 "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
8243 }
8244 }
8245
8246 func schema_k8sio_api_core_v1_PodAttachOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8247 return common.OpenAPIDefinition{
8248 Schema: spec.Schema{
8249 SchemaProps: spec.SchemaProps{
8250 Description: "PodAttachOptions is the query options to a Pod's remote attach call.",
8251 Type: []string{"object"},
8252 Properties: map[string]spec.Schema{
8253 "kind": {
8254 SchemaProps: spec.SchemaProps{
8255 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8256 Type: []string{"string"},
8257 Format: "",
8258 },
8259 },
8260 "apiVersion": {
8261 SchemaProps: spec.SchemaProps{
8262 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8263 Type: []string{"string"},
8264 Format: "",
8265 },
8266 },
8267 "stdin": {
8268 SchemaProps: spec.SchemaProps{
8269 Description: "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
8270 Type: []string{"boolean"},
8271 Format: "",
8272 },
8273 },
8274 "stdout": {
8275 SchemaProps: spec.SchemaProps{
8276 Description: "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
8277 Type: []string{"boolean"},
8278 Format: "",
8279 },
8280 },
8281 "stderr": {
8282 SchemaProps: spec.SchemaProps{
8283 Description: "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
8284 Type: []string{"boolean"},
8285 Format: "",
8286 },
8287 },
8288 "tty": {
8289 SchemaProps: spec.SchemaProps{
8290 Description: "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
8291 Type: []string{"boolean"},
8292 Format: "",
8293 },
8294 },
8295 "container": {
8296 SchemaProps: spec.SchemaProps{
8297 Description: "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
8298 Type: []string{"string"},
8299 Format: "",
8300 },
8301 },
8302 },
8303 },
8304 },
8305 }
8306 }
8307
8308 func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
8309 return common.OpenAPIDefinition{
8310 Schema: spec.Schema{
8311 SchemaProps: spec.SchemaProps{
8312 Description: "PodCondition contains details for the current condition of this pod.",
8313 Type: []string{"object"},
8314 Properties: map[string]spec.Schema{
8315 "type": {
8316 SchemaProps: spec.SchemaProps{
8317 Description: "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
8318 Default: "",
8319 Type: []string{"string"},
8320 Format: "",
8321 },
8322 },
8323 "status": {
8324 SchemaProps: spec.SchemaProps{
8325 Description: "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
8326 Default: "",
8327 Type: []string{"string"},
8328 Format: "",
8329 },
8330 },
8331 "lastProbeTime": {
8332 SchemaProps: spec.SchemaProps{
8333 Description: "Last time we probed the condition.",
8334 Default: map[string]interface{}{},
8335 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8336 },
8337 },
8338 "lastTransitionTime": {
8339 SchemaProps: spec.SchemaProps{
8340 Description: "Last time the condition transitioned from one status to another.",
8341 Default: map[string]interface{}{},
8342 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8343 },
8344 },
8345 "reason": {
8346 SchemaProps: spec.SchemaProps{
8347 Description: "Unique, one-word, CamelCase reason for the condition's last transition.",
8348 Type: []string{"string"},
8349 Format: "",
8350 },
8351 },
8352 "message": {
8353 SchemaProps: spec.SchemaProps{
8354 Description: "Human-readable message indicating details about last transition.",
8355 Type: []string{"string"},
8356 Format: "",
8357 },
8358 },
8359 },
8360 Required: []string{"type", "status"},
8361 },
8362 },
8363 Dependencies: []string{
8364 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
8365 }
8366 }
8367
8368 func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
8369 return common.OpenAPIDefinition{
8370 Schema: spec.Schema{
8371 SchemaProps: spec.SchemaProps{
8372 Description: "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.",
8373 Type: []string{"object"},
8374 Properties: map[string]spec.Schema{
8375 "nameservers": {
8376 VendorExtensible: spec.VendorExtensible{
8377 Extensions: spec.Extensions{
8378 "x-kubernetes-list-type": "atomic",
8379 },
8380 },
8381 SchemaProps: spec.SchemaProps{
8382 Description: "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.",
8383 Type: []string{"array"},
8384 Items: &spec.SchemaOrArray{
8385 Schema: &spec.Schema{
8386 SchemaProps: spec.SchemaProps{
8387 Default: "",
8388 Type: []string{"string"},
8389 Format: "",
8390 },
8391 },
8392 },
8393 },
8394 },
8395 "searches": {
8396 VendorExtensible: spec.VendorExtensible{
8397 Extensions: spec.Extensions{
8398 "x-kubernetes-list-type": "atomic",
8399 },
8400 },
8401 SchemaProps: spec.SchemaProps{
8402 Description: "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.",
8403 Type: []string{"array"},
8404 Items: &spec.SchemaOrArray{
8405 Schema: &spec.Schema{
8406 SchemaProps: spec.SchemaProps{
8407 Default: "",
8408 Type: []string{"string"},
8409 Format: "",
8410 },
8411 },
8412 },
8413 },
8414 },
8415 "options": {
8416 VendorExtensible: spec.VendorExtensible{
8417 Extensions: spec.Extensions{
8418 "x-kubernetes-list-type": "atomic",
8419 },
8420 },
8421 SchemaProps: spec.SchemaProps{
8422 Description: "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.",
8423 Type: []string{"array"},
8424 Items: &spec.SchemaOrArray{
8425 Schema: &spec.Schema{
8426 SchemaProps: spec.SchemaProps{
8427 Default: map[string]interface{}{},
8428 Ref: ref("k8s.io/api/core/v1.PodDNSConfigOption"),
8429 },
8430 },
8431 },
8432 },
8433 },
8434 },
8435 },
8436 },
8437 Dependencies: []string{
8438 "k8s.io/api/core/v1.PodDNSConfigOption"},
8439 }
8440 }
8441
8442 func schema_k8sio_api_core_v1_PodDNSConfigOption(ref common.ReferenceCallback) common.OpenAPIDefinition {
8443 return common.OpenAPIDefinition{
8444 Schema: spec.Schema{
8445 SchemaProps: spec.SchemaProps{
8446 Description: "PodDNSConfigOption defines DNS resolver options of a pod.",
8447 Type: []string{"object"},
8448 Properties: map[string]spec.Schema{
8449 "name": {
8450 SchemaProps: spec.SchemaProps{
8451 Description: "Required.",
8452 Type: []string{"string"},
8453 Format: "",
8454 },
8455 },
8456 "value": {
8457 SchemaProps: spec.SchemaProps{
8458 Type: []string{"string"},
8459 Format: "",
8460 },
8461 },
8462 },
8463 },
8464 },
8465 }
8466 }
8467
8468 func schema_k8sio_api_core_v1_PodExecOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8469 return common.OpenAPIDefinition{
8470 Schema: spec.Schema{
8471 SchemaProps: spec.SchemaProps{
8472 Description: "PodExecOptions is the query options to a Pod's remote exec call.",
8473 Type: []string{"object"},
8474 Properties: map[string]spec.Schema{
8475 "kind": {
8476 SchemaProps: spec.SchemaProps{
8477 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8478 Type: []string{"string"},
8479 Format: "",
8480 },
8481 },
8482 "apiVersion": {
8483 SchemaProps: spec.SchemaProps{
8484 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8485 Type: []string{"string"},
8486 Format: "",
8487 },
8488 },
8489 "stdin": {
8490 SchemaProps: spec.SchemaProps{
8491 Description: "Redirect the standard input stream of the pod for this call. Defaults to false.",
8492 Type: []string{"boolean"},
8493 Format: "",
8494 },
8495 },
8496 "stdout": {
8497 SchemaProps: spec.SchemaProps{
8498 Description: "Redirect the standard output stream of the pod for this call.",
8499 Type: []string{"boolean"},
8500 Format: "",
8501 },
8502 },
8503 "stderr": {
8504 SchemaProps: spec.SchemaProps{
8505 Description: "Redirect the standard error stream of the pod for this call.",
8506 Type: []string{"boolean"},
8507 Format: "",
8508 },
8509 },
8510 "tty": {
8511 SchemaProps: spec.SchemaProps{
8512 Description: "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
8513 Type: []string{"boolean"},
8514 Format: "",
8515 },
8516 },
8517 "container": {
8518 SchemaProps: spec.SchemaProps{
8519 Description: "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
8520 Type: []string{"string"},
8521 Format: "",
8522 },
8523 },
8524 "command": {
8525 VendorExtensible: spec.VendorExtensible{
8526 Extensions: spec.Extensions{
8527 "x-kubernetes-list-type": "atomic",
8528 },
8529 },
8530 SchemaProps: spec.SchemaProps{
8531 Description: "Command is the remote command to execute. argv array. Not executed within a shell.",
8532 Type: []string{"array"},
8533 Items: &spec.SchemaOrArray{
8534 Schema: &spec.Schema{
8535 SchemaProps: spec.SchemaProps{
8536 Default: "",
8537 Type: []string{"string"},
8538 Format: "",
8539 },
8540 },
8541 },
8542 },
8543 },
8544 },
8545 Required: []string{"command"},
8546 },
8547 },
8548 }
8549 }
8550
8551 func schema_k8sio_api_core_v1_PodIP(ref common.ReferenceCallback) common.OpenAPIDefinition {
8552 return common.OpenAPIDefinition{
8553 Schema: spec.Schema{
8554 SchemaProps: spec.SchemaProps{
8555 Description: "PodIP represents a single IP address allocated to the pod.",
8556 Type: []string{"object"},
8557 Properties: map[string]spec.Schema{
8558 "ip": {
8559 SchemaProps: spec.SchemaProps{
8560 Description: "IP is the IP address assigned to the pod",
8561 Type: []string{"string"},
8562 Format: "",
8563 },
8564 },
8565 },
8566 },
8567 },
8568 }
8569 }
8570
8571 func schema_k8sio_api_core_v1_PodList(ref common.ReferenceCallback) common.OpenAPIDefinition {
8572 return common.OpenAPIDefinition{
8573 Schema: spec.Schema{
8574 SchemaProps: spec.SchemaProps{
8575 Description: "PodList is a list of Pods.",
8576 Type: []string{"object"},
8577 Properties: map[string]spec.Schema{
8578 "kind": {
8579 SchemaProps: spec.SchemaProps{
8580 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8581 Type: []string{"string"},
8582 Format: "",
8583 },
8584 },
8585 "apiVersion": {
8586 SchemaProps: spec.SchemaProps{
8587 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8588 Type: []string{"string"},
8589 Format: "",
8590 },
8591 },
8592 "metadata": {
8593 SchemaProps: spec.SchemaProps{
8594 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8595 Default: map[string]interface{}{},
8596 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
8597 },
8598 },
8599 "items": {
8600 SchemaProps: spec.SchemaProps{
8601 Description: "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md",
8602 Type: []string{"array"},
8603 Items: &spec.SchemaOrArray{
8604 Schema: &spec.Schema{
8605 SchemaProps: spec.SchemaProps{
8606 Default: map[string]interface{}{},
8607 Ref: ref("k8s.io/api/core/v1.Pod"),
8608 },
8609 },
8610 },
8611 },
8612 },
8613 },
8614 Required: []string{"items"},
8615 },
8616 },
8617 Dependencies: []string{
8618 "k8s.io/api/core/v1.Pod", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
8619 }
8620 }
8621
8622 func schema_k8sio_api_core_v1_PodLogOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8623 return common.OpenAPIDefinition{
8624 Schema: spec.Schema{
8625 SchemaProps: spec.SchemaProps{
8626 Description: "PodLogOptions is the query options for a Pod's logs REST call.",
8627 Type: []string{"object"},
8628 Properties: map[string]spec.Schema{
8629 "kind": {
8630 SchemaProps: spec.SchemaProps{
8631 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8632 Type: []string{"string"},
8633 Format: "",
8634 },
8635 },
8636 "apiVersion": {
8637 SchemaProps: spec.SchemaProps{
8638 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8639 Type: []string{"string"},
8640 Format: "",
8641 },
8642 },
8643 "container": {
8644 SchemaProps: spec.SchemaProps{
8645 Description: "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
8646 Type: []string{"string"},
8647 Format: "",
8648 },
8649 },
8650 "follow": {
8651 SchemaProps: spec.SchemaProps{
8652 Description: "Follow the log stream of the pod. Defaults to false.",
8653 Type: []string{"boolean"},
8654 Format: "",
8655 },
8656 },
8657 "previous": {
8658 SchemaProps: spec.SchemaProps{
8659 Description: "Return previous terminated container logs. Defaults to false.",
8660 Type: []string{"boolean"},
8661 Format: "",
8662 },
8663 },
8664 "sinceSeconds": {
8665 SchemaProps: spec.SchemaProps{
8666 Description: "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
8667 Type: []string{"integer"},
8668 Format: "int64",
8669 },
8670 },
8671 "sinceTime": {
8672 SchemaProps: spec.SchemaProps{
8673 Description: "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
8674 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8675 },
8676 },
8677 "timestamps": {
8678 SchemaProps: spec.SchemaProps{
8679 Description: "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
8680 Type: []string{"boolean"},
8681 Format: "",
8682 },
8683 },
8684 "tailLines": {
8685 SchemaProps: spec.SchemaProps{
8686 Description: "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime",
8687 Type: []string{"integer"},
8688 Format: "int64",
8689 },
8690 },
8691 "limitBytes": {
8692 SchemaProps: spec.SchemaProps{
8693 Description: "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
8694 Type: []string{"integer"},
8695 Format: "int64",
8696 },
8697 },
8698 "insecureSkipTLSVerifyBackend": {
8699 SchemaProps: spec.SchemaProps{
8700 Description: "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
8701 Type: []string{"boolean"},
8702 Format: "",
8703 },
8704 },
8705 },
8706 },
8707 },
8708 Dependencies: []string{
8709 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
8710 }
8711 }
8712
8713 func schema_k8sio_api_core_v1_PodOS(ref common.ReferenceCallback) common.OpenAPIDefinition {
8714 return common.OpenAPIDefinition{
8715 Schema: spec.Schema{
8716 SchemaProps: spec.SchemaProps{
8717 Description: "PodOS defines the OS parameters of a pod.",
8718 Type: []string{"object"},
8719 Properties: map[string]spec.Schema{
8720 "name": {
8721 SchemaProps: spec.SchemaProps{
8722 Description: "Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null",
8723 Default: "",
8724 Type: []string{"string"},
8725 Format: "",
8726 },
8727 },
8728 },
8729 Required: []string{"name"},
8730 },
8731 },
8732 }
8733 }
8734
8735 func schema_k8sio_api_core_v1_PodPortForwardOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8736 return common.OpenAPIDefinition{
8737 Schema: spec.Schema{
8738 SchemaProps: spec.SchemaProps{
8739 Description: "PodPortForwardOptions is the query options to a Pod's port forward call when using WebSockets. The `port` query parameter must specify the port or ports (comma separated) to forward over. Port forwarding over SPDY does not use these options. It requires the port to be passed in the `port` header as part of request.",
8740 Type: []string{"object"},
8741 Properties: map[string]spec.Schema{
8742 "kind": {
8743 SchemaProps: spec.SchemaProps{
8744 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8745 Type: []string{"string"},
8746 Format: "",
8747 },
8748 },
8749 "apiVersion": {
8750 SchemaProps: spec.SchemaProps{
8751 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8752 Type: []string{"string"},
8753 Format: "",
8754 },
8755 },
8756 "ports": {
8757 VendorExtensible: spec.VendorExtensible{
8758 Extensions: spec.Extensions{
8759 "x-kubernetes-list-type": "atomic",
8760 },
8761 },
8762 SchemaProps: spec.SchemaProps{
8763 Description: "List of ports to forward Required when using WebSockets",
8764 Type: []string{"array"},
8765 Items: &spec.SchemaOrArray{
8766 Schema: &spec.Schema{
8767 SchemaProps: spec.SchemaProps{
8768 Default: 0,
8769 Type: []string{"integer"},
8770 Format: "int32",
8771 },
8772 },
8773 },
8774 },
8775 },
8776 },
8777 },
8778 },
8779 }
8780 }
8781
8782 func schema_k8sio_api_core_v1_PodProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8783 return common.OpenAPIDefinition{
8784 Schema: spec.Schema{
8785 SchemaProps: spec.SchemaProps{
8786 Description: "PodProxyOptions is the query options to a Pod's proxy call.",
8787 Type: []string{"object"},
8788 Properties: map[string]spec.Schema{
8789 "kind": {
8790 SchemaProps: spec.SchemaProps{
8791 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
8792 Type: []string{"string"},
8793 Format: "",
8794 },
8795 },
8796 "apiVersion": {
8797 SchemaProps: spec.SchemaProps{
8798 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
8799 Type: []string{"string"},
8800 Format: "",
8801 },
8802 },
8803 "path": {
8804 SchemaProps: spec.SchemaProps{
8805 Description: "Path is the URL path to use for the current proxy request to pod.",
8806 Type: []string{"string"},
8807 Format: "",
8808 },
8809 },
8810 },
8811 },
8812 },
8813 }
8814 }
8815
8816 func schema_k8sio_api_core_v1_PodReadinessGate(ref common.ReferenceCallback) common.OpenAPIDefinition {
8817 return common.OpenAPIDefinition{
8818 Schema: spec.Schema{
8819 SchemaProps: spec.SchemaProps{
8820 Description: "PodReadinessGate contains the reference to a pod condition",
8821 Type: []string{"object"},
8822 Properties: map[string]spec.Schema{
8823 "conditionType": {
8824 SchemaProps: spec.SchemaProps{
8825 Description: "ConditionType refers to a condition in the pod's condition list with matching type.",
8826 Default: "",
8827 Type: []string{"string"},
8828 Format: "",
8829 },
8830 },
8831 },
8832 Required: []string{"conditionType"},
8833 },
8834 },
8835 }
8836 }
8837
8838 func schema_k8sio_api_core_v1_PodResourceClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
8839 return common.OpenAPIDefinition{
8840 Schema: spec.Schema{
8841 SchemaProps: spec.SchemaProps{
8842 Description: "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.",
8843 Type: []string{"object"},
8844 Properties: map[string]spec.Schema{
8845 "name": {
8846 SchemaProps: spec.SchemaProps{
8847 Description: "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.",
8848 Default: "",
8849 Type: []string{"string"},
8850 Format: "",
8851 },
8852 },
8853 "source": {
8854 SchemaProps: spec.SchemaProps{
8855 Description: "Source describes where to find the ResourceClaim.",
8856 Default: map[string]interface{}{},
8857 Ref: ref("k8s.io/api/core/v1.ClaimSource"),
8858 },
8859 },
8860 },
8861 Required: []string{"name"},
8862 },
8863 },
8864 Dependencies: []string{
8865 "k8s.io/api/core/v1.ClaimSource"},
8866 }
8867 }
8868
8869 func schema_k8sio_api_core_v1_PodResourceClaimStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
8870 return common.OpenAPIDefinition{
8871 Schema: spec.Schema{
8872 SchemaProps: spec.SchemaProps{
8873 Description: "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.",
8874 Type: []string{"object"},
8875 Properties: map[string]spec.Schema{
8876 "name": {
8877 SchemaProps: spec.SchemaProps{
8878 Description: "Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.",
8879 Default: "",
8880 Type: []string{"string"},
8881 Format: "",
8882 },
8883 },
8884 "resourceClaimName": {
8885 SchemaProps: spec.SchemaProps{
8886 Description: "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.",
8887 Type: []string{"string"},
8888 Format: "",
8889 },
8890 },
8891 },
8892 Required: []string{"name"},
8893 },
8894 },
8895 }
8896 }
8897
8898 func schema_k8sio_api_core_v1_PodSchedulingGate(ref common.ReferenceCallback) common.OpenAPIDefinition {
8899 return common.OpenAPIDefinition{
8900 Schema: spec.Schema{
8901 SchemaProps: spec.SchemaProps{
8902 Description: "PodSchedulingGate is associated to a Pod to guard its scheduling.",
8903 Type: []string{"object"},
8904 Properties: map[string]spec.Schema{
8905 "name": {
8906 SchemaProps: spec.SchemaProps{
8907 Description: "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
8908 Default: "",
8909 Type: []string{"string"},
8910 Format: "",
8911 },
8912 },
8913 },
8914 Required: []string{"name"},
8915 },
8916 },
8917 }
8918 }
8919
8920 func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition {
8921 return common.OpenAPIDefinition{
8922 Schema: spec.Schema{
8923 SchemaProps: spec.SchemaProps{
8924 Description: "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
8925 Type: []string{"object"},
8926 Properties: map[string]spec.Schema{
8927 "seLinuxOptions": {
8928 SchemaProps: spec.SchemaProps{
8929 Description: "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
8930 Ref: ref("k8s.io/api/core/v1.SELinuxOptions"),
8931 },
8932 },
8933 "windowsOptions": {
8934 SchemaProps: spec.SchemaProps{
8935 Description: "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
8936 Ref: ref("k8s.io/api/core/v1.WindowsSecurityContextOptions"),
8937 },
8938 },
8939 "runAsUser": {
8940 SchemaProps: spec.SchemaProps{
8941 Description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
8942 Type: []string{"integer"},
8943 Format: "int64",
8944 },
8945 },
8946 "runAsGroup": {
8947 SchemaProps: spec.SchemaProps{
8948 Description: "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.",
8949 Type: []string{"integer"},
8950 Format: "int64",
8951 },
8952 },
8953 "runAsNonRoot": {
8954 SchemaProps: spec.SchemaProps{
8955 Description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
8956 Type: []string{"boolean"},
8957 Format: "",
8958 },
8959 },
8960 "supplementalGroups": {
8961 VendorExtensible: spec.VendorExtensible{
8962 Extensions: spec.Extensions{
8963 "x-kubernetes-list-type": "atomic",
8964 },
8965 },
8966 SchemaProps: spec.SchemaProps{
8967 Description: "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.",
8968 Type: []string{"array"},
8969 Items: &spec.SchemaOrArray{
8970 Schema: &spec.Schema{
8971 SchemaProps: spec.SchemaProps{
8972 Default: 0,
8973 Type: []string{"integer"},
8974 Format: "int64",
8975 },
8976 },
8977 },
8978 },
8979 },
8980 "fsGroup": {
8981 SchemaProps: spec.SchemaProps{
8982 Description: "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.",
8983 Type: []string{"integer"},
8984 Format: "int64",
8985 },
8986 },
8987 "sysctls": {
8988 VendorExtensible: spec.VendorExtensible{
8989 Extensions: spec.Extensions{
8990 "x-kubernetes-list-type": "atomic",
8991 },
8992 },
8993 SchemaProps: spec.SchemaProps{
8994 Description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
8995 Type: []string{"array"},
8996 Items: &spec.SchemaOrArray{
8997 Schema: &spec.Schema{
8998 SchemaProps: spec.SchemaProps{
8999 Default: map[string]interface{}{},
9000 Ref: ref("k8s.io/api/core/v1.Sysctl"),
9001 },
9002 },
9003 },
9004 },
9005 },
9006 "fsGroupChangePolicy": {
9007 SchemaProps: spec.SchemaProps{
9008 Description: "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Always\"` indicates that volume's ownership and permissions should always be changed whenever volume is mounted inside a Pod. This the default behavior.\n - `\"OnRootMismatch\"` indicates that volume's ownership and permissions will be changed only when permission and ownership of root directory does not match with expected permissions on the volume. This can help shorten the time it takes to change ownership and permissions of a volume.",
9009 Type: []string{"string"},
9010 Format: "",
9011 Enum: []interface{}{"Always", "OnRootMismatch"},
9012 },
9013 },
9014 "seccompProfile": {
9015 SchemaProps: spec.SchemaProps{
9016 Description: "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
9017 Ref: ref("k8s.io/api/core/v1.SeccompProfile"),
9018 },
9019 },
9020 "appArmorProfile": {
9021 SchemaProps: spec.SchemaProps{
9022 Description: "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
9023 Ref: ref("k8s.io/api/core/v1.AppArmorProfile"),
9024 },
9025 },
9026 },
9027 },
9028 },
9029 Dependencies: []string{
9030 "k8s.io/api/core/v1.AppArmorProfile", "k8s.io/api/core/v1.SELinuxOptions", "k8s.io/api/core/v1.SeccompProfile", "k8s.io/api/core/v1.Sysctl", "k8s.io/api/core/v1.WindowsSecurityContextOptions"},
9031 }
9032 }
9033
9034 func schema_k8sio_api_core_v1_PodSignature(ref common.ReferenceCallback) common.OpenAPIDefinition {
9035 return common.OpenAPIDefinition{
9036 Schema: spec.Schema{
9037 SchemaProps: spec.SchemaProps{
9038 Description: "Describes the class of pods that should avoid this node. Exactly one field should be set.",
9039 Type: []string{"object"},
9040 Properties: map[string]spec.Schema{
9041 "podController": {
9042 SchemaProps: spec.SchemaProps{
9043 Description: "Reference to controller whose pods should avoid this node.",
9044 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
9045 },
9046 },
9047 },
9048 },
9049 },
9050 Dependencies: []string{
9051 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"},
9052 }
9053 }
9054
9055 func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
9056 return common.OpenAPIDefinition{
9057 Schema: spec.Schema{
9058 SchemaProps: spec.SchemaProps{
9059 Description: "PodSpec is a description of a pod.",
9060 Type: []string{"object"},
9061 Properties: map[string]spec.Schema{
9062 "volumes": {
9063 VendorExtensible: spec.VendorExtensible{
9064 Extensions: spec.Extensions{
9065 "x-kubernetes-list-map-keys": []interface{}{
9066 "name",
9067 },
9068 "x-kubernetes-list-type": "map",
9069 "x-kubernetes-patch-merge-key": "name",
9070 "x-kubernetes-patch-strategy": "merge,retainKeys",
9071 },
9072 },
9073 SchemaProps: spec.SchemaProps{
9074 Description: "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes",
9075 Type: []string{"array"},
9076 Items: &spec.SchemaOrArray{
9077 Schema: &spec.Schema{
9078 SchemaProps: spec.SchemaProps{
9079 Default: map[string]interface{}{},
9080 Ref: ref("k8s.io/api/core/v1.Volume"),
9081 },
9082 },
9083 },
9084 },
9085 },
9086 "initContainers": {
9087 VendorExtensible: spec.VendorExtensible{
9088 Extensions: spec.Extensions{
9089 "x-kubernetes-list-map-keys": []interface{}{
9090 "name",
9091 },
9092 "x-kubernetes-list-type": "map",
9093 "x-kubernetes-patch-merge-key": "name",
9094 "x-kubernetes-patch-strategy": "merge",
9095 },
9096 },
9097 SchemaProps: spec.SchemaProps{
9098 Description: "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
9099 Type: []string{"array"},
9100 Items: &spec.SchemaOrArray{
9101 Schema: &spec.Schema{
9102 SchemaProps: spec.SchemaProps{
9103 Default: map[string]interface{}{},
9104 Ref: ref("k8s.io/api/core/v1.Container"),
9105 },
9106 },
9107 },
9108 },
9109 },
9110 "containers": {
9111 VendorExtensible: spec.VendorExtensible{
9112 Extensions: spec.Extensions{
9113 "x-kubernetes-list-map-keys": []interface{}{
9114 "name",
9115 },
9116 "x-kubernetes-list-type": "map",
9117 "x-kubernetes-patch-merge-key": "name",
9118 "x-kubernetes-patch-strategy": "merge",
9119 },
9120 },
9121 SchemaProps: spec.SchemaProps{
9122 Description: "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.",
9123 Type: []string{"array"},
9124 Items: &spec.SchemaOrArray{
9125 Schema: &spec.Schema{
9126 SchemaProps: spec.SchemaProps{
9127 Default: map[string]interface{}{},
9128 Ref: ref("k8s.io/api/core/v1.Container"),
9129 },
9130 },
9131 },
9132 },
9133 },
9134 "ephemeralContainers": {
9135 VendorExtensible: spec.VendorExtensible{
9136 Extensions: spec.Extensions{
9137 "x-kubernetes-list-map-keys": []interface{}{
9138 "name",
9139 },
9140 "x-kubernetes-list-type": "map",
9141 "x-kubernetes-patch-merge-key": "name",
9142 "x-kubernetes-patch-strategy": "merge",
9143 },
9144 },
9145 SchemaProps: spec.SchemaProps{
9146 Description: "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.",
9147 Type: []string{"array"},
9148 Items: &spec.SchemaOrArray{
9149 Schema: &spec.Schema{
9150 SchemaProps: spec.SchemaProps{
9151 Default: map[string]interface{}{},
9152 Ref: ref("k8s.io/api/core/v1.EphemeralContainer"),
9153 },
9154 },
9155 },
9156 },
9157 },
9158 "restartPolicy": {
9159 SchemaProps: spec.SchemaProps{
9160 Description: "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy\n\nPossible enum values:\n - `\"Always\"`\n - `\"Never\"`\n - `\"OnFailure\"`",
9161 Type: []string{"string"},
9162 Format: "",
9163 Enum: []interface{}{"Always", "Never", "OnFailure"},
9164 },
9165 },
9166 "terminationGracePeriodSeconds": {
9167 SchemaProps: spec.SchemaProps{
9168 Description: "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.",
9169 Type: []string{"integer"},
9170 Format: "int64",
9171 },
9172 },
9173 "activeDeadlineSeconds": {
9174 SchemaProps: spec.SchemaProps{
9175 Description: "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.",
9176 Type: []string{"integer"},
9177 Format: "int64",
9178 },
9179 },
9180 "dnsPolicy": {
9181 SchemaProps: spec.SchemaProps{
9182 Description: "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.\n\nPossible enum values:\n - `\"ClusterFirst\"` indicates that the pod should use cluster DNS first unless hostNetwork is true, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"ClusterFirstWithHostNet\"` indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"Default\"` indicates that the pod should use the default (as determined by kubelet) DNS settings.\n - `\"None\"` indicates that the pod should use empty DNS settings. DNS parameters such as nameservers and search paths should be defined via DNSConfig.",
9183 Type: []string{"string"},
9184 Format: "",
9185 Enum: []interface{}{"ClusterFirst", "ClusterFirstWithHostNet", "Default", "None"},
9186 },
9187 },
9188 "nodeSelector": {
9189 VendorExtensible: spec.VendorExtensible{
9190 Extensions: spec.Extensions{
9191 "x-kubernetes-map-type": "atomic",
9192 },
9193 },
9194 SchemaProps: spec.SchemaProps{
9195 Description: "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
9196 Type: []string{"object"},
9197 AdditionalProperties: &spec.SchemaOrBool{
9198 Allows: true,
9199 Schema: &spec.Schema{
9200 SchemaProps: spec.SchemaProps{
9201 Default: "",
9202 Type: []string{"string"},
9203 Format: "",
9204 },
9205 },
9206 },
9207 },
9208 },
9209 "serviceAccountName": {
9210 SchemaProps: spec.SchemaProps{
9211 Description: "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
9212 Type: []string{"string"},
9213 Format: "",
9214 },
9215 },
9216 "serviceAccount": {
9217 SchemaProps: spec.SchemaProps{
9218 Description: "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
9219 Type: []string{"string"},
9220 Format: "",
9221 },
9222 },
9223 "automountServiceAccountToken": {
9224 SchemaProps: spec.SchemaProps{
9225 Description: "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.",
9226 Type: []string{"boolean"},
9227 Format: "",
9228 },
9229 },
9230 "nodeName": {
9231 SchemaProps: spec.SchemaProps{
9232 Description: "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
9233 Type: []string{"string"},
9234 Format: "",
9235 },
9236 },
9237 "hostNetwork": {
9238 SchemaProps: spec.SchemaProps{
9239 Description: "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.",
9240 Type: []string{"boolean"},
9241 Format: "",
9242 },
9243 },
9244 "hostPID": {
9245 SchemaProps: spec.SchemaProps{
9246 Description: "Use the host's pid namespace. Optional: Default to false.",
9247 Type: []string{"boolean"},
9248 Format: "",
9249 },
9250 },
9251 "hostIPC": {
9252 SchemaProps: spec.SchemaProps{
9253 Description: "Use the host's ipc namespace. Optional: Default to false.",
9254 Type: []string{"boolean"},
9255 Format: "",
9256 },
9257 },
9258 "shareProcessNamespace": {
9259 SchemaProps: spec.SchemaProps{
9260 Description: "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.",
9261 Type: []string{"boolean"},
9262 Format: "",
9263 },
9264 },
9265 "securityContext": {
9266 SchemaProps: spec.SchemaProps{
9267 Description: "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
9268 Ref: ref("k8s.io/api/core/v1.PodSecurityContext"),
9269 },
9270 },
9271 "imagePullSecrets": {
9272 VendorExtensible: spec.VendorExtensible{
9273 Extensions: spec.Extensions{
9274 "x-kubernetes-list-map-keys": []interface{}{
9275 "name",
9276 },
9277 "x-kubernetes-list-type": "map",
9278 "x-kubernetes-patch-merge-key": "name",
9279 "x-kubernetes-patch-strategy": "merge",
9280 },
9281 },
9282 SchemaProps: spec.SchemaProps{
9283 Description: "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
9284 Type: []string{"array"},
9285 Items: &spec.SchemaOrArray{
9286 Schema: &spec.Schema{
9287 SchemaProps: spec.SchemaProps{
9288 Default: map[string]interface{}{},
9289 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
9290 },
9291 },
9292 },
9293 },
9294 },
9295 "hostname": {
9296 SchemaProps: spec.SchemaProps{
9297 Description: "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
9298 Type: []string{"string"},
9299 Format: "",
9300 },
9301 },
9302 "subdomain": {
9303 SchemaProps: spec.SchemaProps{
9304 Description: "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.",
9305 Type: []string{"string"},
9306 Format: "",
9307 },
9308 },
9309 "affinity": {
9310 SchemaProps: spec.SchemaProps{
9311 Description: "If specified, the pod's scheduling constraints",
9312 Ref: ref("k8s.io/api/core/v1.Affinity"),
9313 },
9314 },
9315 "schedulerName": {
9316 SchemaProps: spec.SchemaProps{
9317 Description: "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
9318 Type: []string{"string"},
9319 Format: "",
9320 },
9321 },
9322 "tolerations": {
9323 VendorExtensible: spec.VendorExtensible{
9324 Extensions: spec.Extensions{
9325 "x-kubernetes-list-type": "atomic",
9326 },
9327 },
9328 SchemaProps: spec.SchemaProps{
9329 Description: "If specified, the pod's tolerations.",
9330 Type: []string{"array"},
9331 Items: &spec.SchemaOrArray{
9332 Schema: &spec.Schema{
9333 SchemaProps: spec.SchemaProps{
9334 Default: map[string]interface{}{},
9335 Ref: ref("k8s.io/api/core/v1.Toleration"),
9336 },
9337 },
9338 },
9339 },
9340 },
9341 "hostAliases": {
9342 VendorExtensible: spec.VendorExtensible{
9343 Extensions: spec.Extensions{
9344 "x-kubernetes-list-map-keys": []interface{}{
9345 "ip",
9346 },
9347 "x-kubernetes-list-type": "map",
9348 "x-kubernetes-patch-merge-key": "ip",
9349 "x-kubernetes-patch-strategy": "merge",
9350 },
9351 },
9352 SchemaProps: spec.SchemaProps{
9353 Description: "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified.",
9354 Type: []string{"array"},
9355 Items: &spec.SchemaOrArray{
9356 Schema: &spec.Schema{
9357 SchemaProps: spec.SchemaProps{
9358 Default: map[string]interface{}{},
9359 Ref: ref("k8s.io/api/core/v1.HostAlias"),
9360 },
9361 },
9362 },
9363 },
9364 },
9365 "priorityClassName": {
9366 SchemaProps: spec.SchemaProps{
9367 Description: "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.",
9368 Type: []string{"string"},
9369 Format: "",
9370 },
9371 },
9372 "priority": {
9373 SchemaProps: spec.SchemaProps{
9374 Description: "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.",
9375 Type: []string{"integer"},
9376 Format: "int32",
9377 },
9378 },
9379 "dnsConfig": {
9380 SchemaProps: spec.SchemaProps{
9381 Description: "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
9382 Ref: ref("k8s.io/api/core/v1.PodDNSConfig"),
9383 },
9384 },
9385 "readinessGates": {
9386 VendorExtensible: spec.VendorExtensible{
9387 Extensions: spec.Extensions{
9388 "x-kubernetes-list-type": "atomic",
9389 },
9390 },
9391 SchemaProps: spec.SchemaProps{
9392 Description: "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates",
9393 Type: []string{"array"},
9394 Items: &spec.SchemaOrArray{
9395 Schema: &spec.Schema{
9396 SchemaProps: spec.SchemaProps{
9397 Default: map[string]interface{}{},
9398 Ref: ref("k8s.io/api/core/v1.PodReadinessGate"),
9399 },
9400 },
9401 },
9402 },
9403 },
9404 "runtimeClassName": {
9405 SchemaProps: spec.SchemaProps{
9406 Description: "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class",
9407 Type: []string{"string"},
9408 Format: "",
9409 },
9410 },
9411 "enableServiceLinks": {
9412 SchemaProps: spec.SchemaProps{
9413 Description: "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",
9414 Type: []string{"boolean"},
9415 Format: "",
9416 },
9417 },
9418 "preemptionPolicy": {
9419 SchemaProps: spec.SchemaProps{
9420 Description: "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.\n\nPossible enum values:\n - `\"Never\"` means that pod never preempts other pods with lower priority.\n - `\"PreemptLowerPriority\"` means that pod can preempt other pods with lower priority.",
9421 Type: []string{"string"},
9422 Format: "",
9423 Enum: []interface{}{"Never", "PreemptLowerPriority"},
9424 },
9425 },
9426 "overhead": {
9427 SchemaProps: spec.SchemaProps{
9428 Description: "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
9429 Type: []string{"object"},
9430 AdditionalProperties: &spec.SchemaOrBool{
9431 Allows: true,
9432 Schema: &spec.Schema{
9433 SchemaProps: spec.SchemaProps{
9434 Default: map[string]interface{}{},
9435 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
9436 },
9437 },
9438 },
9439 },
9440 },
9441 "topologySpreadConstraints": {
9442 VendorExtensible: spec.VendorExtensible{
9443 Extensions: spec.Extensions{
9444 "x-kubernetes-list-map-keys": []interface{}{
9445 "topologyKey",
9446 "whenUnsatisfiable",
9447 },
9448 "x-kubernetes-list-type": "map",
9449 "x-kubernetes-patch-merge-key": "topologyKey",
9450 "x-kubernetes-patch-strategy": "merge",
9451 },
9452 },
9453 SchemaProps: spec.SchemaProps{
9454 Description: "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.",
9455 Type: []string{"array"},
9456 Items: &spec.SchemaOrArray{
9457 Schema: &spec.Schema{
9458 SchemaProps: spec.SchemaProps{
9459 Default: map[string]interface{}{},
9460 Ref: ref("k8s.io/api/core/v1.TopologySpreadConstraint"),
9461 },
9462 },
9463 },
9464 },
9465 },
9466 "setHostnameAsFQDN": {
9467 SchemaProps: spec.SchemaProps{
9468 Description: "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.",
9469 Type: []string{"boolean"},
9470 Format: "",
9471 },
9472 },
9473 "os": {
9474 SchemaProps: spec.SchemaProps{
9475 Description: "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup",
9476 Ref: ref("k8s.io/api/core/v1.PodOS"),
9477 },
9478 },
9479 "hostUsers": {
9480 SchemaProps: spec.SchemaProps{
9481 Description: "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.",
9482 Type: []string{"boolean"},
9483 Format: "",
9484 },
9485 },
9486 "schedulingGates": {
9487 VendorExtensible: spec.VendorExtensible{
9488 Extensions: spec.Extensions{
9489 "x-kubernetes-list-map-keys": []interface{}{
9490 "name",
9491 },
9492 "x-kubernetes-list-type": "map",
9493 "x-kubernetes-patch-merge-key": "name",
9494 "x-kubernetes-patch-strategy": "merge",
9495 },
9496 },
9497 SchemaProps: spec.SchemaProps{
9498 Description: "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.",
9499 Type: []string{"array"},
9500 Items: &spec.SchemaOrArray{
9501 Schema: &spec.Schema{
9502 SchemaProps: spec.SchemaProps{
9503 Default: map[string]interface{}{},
9504 Ref: ref("k8s.io/api/core/v1.PodSchedulingGate"),
9505 },
9506 },
9507 },
9508 },
9509 },
9510 "resourceClaims": {
9511 VendorExtensible: spec.VendorExtensible{
9512 Extensions: spec.Extensions{
9513 "x-kubernetes-list-map-keys": []interface{}{
9514 "name",
9515 },
9516 "x-kubernetes-list-type": "map",
9517 "x-kubernetes-patch-merge-key": "name",
9518 "x-kubernetes-patch-strategy": "merge,retainKeys",
9519 },
9520 },
9521 SchemaProps: spec.SchemaProps{
9522 Description: "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable.",
9523 Type: []string{"array"},
9524 Items: &spec.SchemaOrArray{
9525 Schema: &spec.Schema{
9526 SchemaProps: spec.SchemaProps{
9527 Default: map[string]interface{}{},
9528 Ref: ref("k8s.io/api/core/v1.PodResourceClaim"),
9529 },
9530 },
9531 },
9532 },
9533 },
9534 },
9535 Required: []string{"containers"},
9536 },
9537 },
9538 Dependencies: []string{
9539 "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.EphemeralContainer", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodOS", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodResourceClaim", "k8s.io/api/core/v1.PodSchedulingGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.TopologySpreadConstraint", "k8s.io/api/core/v1.Volume", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
9540 }
9541 }
9542
9543 func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
9544 return common.OpenAPIDefinition{
9545 Schema: spec.Schema{
9546 SchemaProps: spec.SchemaProps{
9547 Description: "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.",
9548 Type: []string{"object"},
9549 Properties: map[string]spec.Schema{
9550 "phase": {
9551 SchemaProps: spec.SchemaProps{
9552 Description: "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase\n\nPossible enum values:\n - `\"Failed\"` means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).\n - `\"Pending\"` means the pod has been accepted by the system, but one or more of the containers has not been started. This includes time before being bound to a node, as well as time spent pulling images onto the host.\n - `\"Running\"` means the pod has been bound to a node and all of the containers have been started. At least one container is still running or is in the process of being restarted.\n - `\"Succeeded\"` means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.\n - `\"Unknown\"` means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. Deprecated: It isn't being set since 2015 (74da3b14b0c0f658b3bb8d2def5094686d0e9095)",
9553 Type: []string{"string"},
9554 Format: "",
9555 Enum: []interface{}{"Failed", "Pending", "Running", "Succeeded", "Unknown"},
9556 },
9557 },
9558 "conditions": {
9559 VendorExtensible: spec.VendorExtensible{
9560 Extensions: spec.Extensions{
9561 "x-kubernetes-list-map-keys": []interface{}{
9562 "type",
9563 },
9564 "x-kubernetes-list-type": "map",
9565 "x-kubernetes-patch-merge-key": "type",
9566 "x-kubernetes-patch-strategy": "merge",
9567 },
9568 },
9569 SchemaProps: spec.SchemaProps{
9570 Description: "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
9571 Type: []string{"array"},
9572 Items: &spec.SchemaOrArray{
9573 Schema: &spec.Schema{
9574 SchemaProps: spec.SchemaProps{
9575 Default: map[string]interface{}{},
9576 Ref: ref("k8s.io/api/core/v1.PodCondition"),
9577 },
9578 },
9579 },
9580 },
9581 },
9582 "message": {
9583 SchemaProps: spec.SchemaProps{
9584 Description: "A human readable message indicating details about why the pod is in this condition.",
9585 Type: []string{"string"},
9586 Format: "",
9587 },
9588 },
9589 "reason": {
9590 SchemaProps: spec.SchemaProps{
9591 Description: "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'",
9592 Type: []string{"string"},
9593 Format: "",
9594 },
9595 },
9596 "nominatedNodeName": {
9597 SchemaProps: spec.SchemaProps{
9598 Description: "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.",
9599 Type: []string{"string"},
9600 Format: "",
9601 },
9602 },
9603 "hostIP": {
9604 SchemaProps: spec.SchemaProps{
9605 Description: "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod",
9606 Type: []string{"string"},
9607 Format: "",
9608 },
9609 },
9610 "hostIPs": {
9611 VendorExtensible: spec.VendorExtensible{
9612 Extensions: spec.Extensions{
9613 "x-kubernetes-list-type": "atomic",
9614 "x-kubernetes-patch-merge-key": "ip",
9615 "x-kubernetes-patch-strategy": "merge",
9616 },
9617 },
9618 SchemaProps: spec.SchemaProps{
9619 Description: "hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod.",
9620 Type: []string{"array"},
9621 Items: &spec.SchemaOrArray{
9622 Schema: &spec.Schema{
9623 SchemaProps: spec.SchemaProps{
9624 Default: map[string]interface{}{},
9625 Ref: ref("k8s.io/api/core/v1.HostIP"),
9626 },
9627 },
9628 },
9629 },
9630 },
9631 "podIP": {
9632 SchemaProps: spec.SchemaProps{
9633 Description: "podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.",
9634 Type: []string{"string"},
9635 Format: "",
9636 },
9637 },
9638 "podIPs": {
9639 VendorExtensible: spec.VendorExtensible{
9640 Extensions: spec.Extensions{
9641 "x-kubernetes-list-map-keys": []interface{}{
9642 "ip",
9643 },
9644 "x-kubernetes-list-type": "map",
9645 "x-kubernetes-patch-merge-key": "ip",
9646 "x-kubernetes-patch-strategy": "merge",
9647 },
9648 },
9649 SchemaProps: spec.SchemaProps{
9650 Description: "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.",
9651 Type: []string{"array"},
9652 Items: &spec.SchemaOrArray{
9653 Schema: &spec.Schema{
9654 SchemaProps: spec.SchemaProps{
9655 Default: map[string]interface{}{},
9656 Ref: ref("k8s.io/api/core/v1.PodIP"),
9657 },
9658 },
9659 },
9660 },
9661 },
9662 "startTime": {
9663 SchemaProps: spec.SchemaProps{
9664 Description: "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.",
9665 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
9666 },
9667 },
9668 "initContainerStatuses": {
9669 VendorExtensible: spec.VendorExtensible{
9670 Extensions: spec.Extensions{
9671 "x-kubernetes-list-type": "atomic",
9672 },
9673 },
9674 SchemaProps: spec.SchemaProps{
9675 Description: "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
9676 Type: []string{"array"},
9677 Items: &spec.SchemaOrArray{
9678 Schema: &spec.Schema{
9679 SchemaProps: spec.SchemaProps{
9680 Default: map[string]interface{}{},
9681 Ref: ref("k8s.io/api/core/v1.ContainerStatus"),
9682 },
9683 },
9684 },
9685 },
9686 },
9687 "containerStatuses": {
9688 VendorExtensible: spec.VendorExtensible{
9689 Extensions: spec.Extensions{
9690 "x-kubernetes-list-type": "atomic",
9691 },
9692 },
9693 SchemaProps: spec.SchemaProps{
9694 Description: "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
9695 Type: []string{"array"},
9696 Items: &spec.SchemaOrArray{
9697 Schema: &spec.Schema{
9698 SchemaProps: spec.SchemaProps{
9699 Default: map[string]interface{}{},
9700 Ref: ref("k8s.io/api/core/v1.ContainerStatus"),
9701 },
9702 },
9703 },
9704 },
9705 },
9706 "qosClass": {
9707 SchemaProps: spec.SchemaProps{
9708 Description: "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes\n\nPossible enum values:\n - `\"BestEffort\"` is the BestEffort qos class.\n - `\"Burstable\"` is the Burstable qos class.\n - `\"Guaranteed\"` is the Guaranteed qos class.",
9709 Type: []string{"string"},
9710 Format: "",
9711 Enum: []interface{}{"BestEffort", "Burstable", "Guaranteed"},
9712 },
9713 },
9714 "ephemeralContainerStatuses": {
9715 VendorExtensible: spec.VendorExtensible{
9716 Extensions: spec.Extensions{
9717 "x-kubernetes-list-type": "atomic",
9718 },
9719 },
9720 SchemaProps: spec.SchemaProps{
9721 Description: "Status for any ephemeral containers that have run in this pod.",
9722 Type: []string{"array"},
9723 Items: &spec.SchemaOrArray{
9724 Schema: &spec.Schema{
9725 SchemaProps: spec.SchemaProps{
9726 Default: map[string]interface{}{},
9727 Ref: ref("k8s.io/api/core/v1.ContainerStatus"),
9728 },
9729 },
9730 },
9731 },
9732 },
9733 "resize": {
9734 SchemaProps: spec.SchemaProps{
9735 Description: "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"",
9736 Type: []string{"string"},
9737 Format: "",
9738 },
9739 },
9740 "resourceClaimStatuses": {
9741 VendorExtensible: spec.VendorExtensible{
9742 Extensions: spec.Extensions{
9743 "x-kubernetes-list-map-keys": []interface{}{
9744 "name",
9745 },
9746 "x-kubernetes-list-type": "map",
9747 "x-kubernetes-patch-merge-key": "name",
9748 "x-kubernetes-patch-strategy": "merge,retainKeys",
9749 },
9750 },
9751 SchemaProps: spec.SchemaProps{
9752 Description: "Status of resource claims.",
9753 Type: []string{"array"},
9754 Items: &spec.SchemaOrArray{
9755 Schema: &spec.Schema{
9756 SchemaProps: spec.SchemaProps{
9757 Default: map[string]interface{}{},
9758 Ref: ref("k8s.io/api/core/v1.PodResourceClaimStatus"),
9759 },
9760 },
9761 },
9762 },
9763 },
9764 },
9765 },
9766 },
9767 Dependencies: []string{
9768 "k8s.io/api/core/v1.ContainerStatus", "k8s.io/api/core/v1.HostIP", "k8s.io/api/core/v1.PodCondition", "k8s.io/api/core/v1.PodIP", "k8s.io/api/core/v1.PodResourceClaimStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
9769 }
9770 }
9771
9772 func schema_k8sio_api_core_v1_PodStatusResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
9773 return common.OpenAPIDefinition{
9774 Schema: spec.Schema{
9775 SchemaProps: spec.SchemaProps{
9776 Description: "PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded",
9777 Type: []string{"object"},
9778 Properties: map[string]spec.Schema{
9779 "kind": {
9780 SchemaProps: spec.SchemaProps{
9781 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
9782 Type: []string{"string"},
9783 Format: "",
9784 },
9785 },
9786 "apiVersion": {
9787 SchemaProps: spec.SchemaProps{
9788 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
9789 Type: []string{"string"},
9790 Format: "",
9791 },
9792 },
9793 "metadata": {
9794 SchemaProps: spec.SchemaProps{
9795 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
9796 Default: map[string]interface{}{},
9797 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9798 },
9799 },
9800 "status": {
9801 SchemaProps: spec.SchemaProps{
9802 Description: "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
9803 Default: map[string]interface{}{},
9804 Ref: ref("k8s.io/api/core/v1.PodStatus"),
9805 },
9806 },
9807 },
9808 },
9809 },
9810 Dependencies: []string{
9811 "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9812 }
9813 }
9814
9815 func schema_k8sio_api_core_v1_PodTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
9816 return common.OpenAPIDefinition{
9817 Schema: spec.Schema{
9818 SchemaProps: spec.SchemaProps{
9819 Description: "PodTemplate describes a template for creating copies of a predefined pod.",
9820 Type: []string{"object"},
9821 Properties: map[string]spec.Schema{
9822 "kind": {
9823 SchemaProps: spec.SchemaProps{
9824 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
9825 Type: []string{"string"},
9826 Format: "",
9827 },
9828 },
9829 "apiVersion": {
9830 SchemaProps: spec.SchemaProps{
9831 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
9832 Type: []string{"string"},
9833 Format: "",
9834 },
9835 },
9836 "metadata": {
9837 SchemaProps: spec.SchemaProps{
9838 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
9839 Default: map[string]interface{}{},
9840 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9841 },
9842 },
9843 "template": {
9844 SchemaProps: spec.SchemaProps{
9845 Description: "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
9846 Default: map[string]interface{}{},
9847 Ref: ref("k8s.io/api/core/v1.PodTemplateSpec"),
9848 },
9849 },
9850 },
9851 },
9852 },
9853 Dependencies: []string{
9854 "k8s.io/api/core/v1.PodTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9855 }
9856 }
9857
9858 func schema_k8sio_api_core_v1_PodTemplateList(ref common.ReferenceCallback) common.OpenAPIDefinition {
9859 return common.OpenAPIDefinition{
9860 Schema: spec.Schema{
9861 SchemaProps: spec.SchemaProps{
9862 Description: "PodTemplateList is a list of PodTemplates.",
9863 Type: []string{"object"},
9864 Properties: map[string]spec.Schema{
9865 "kind": {
9866 SchemaProps: spec.SchemaProps{
9867 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
9868 Type: []string{"string"},
9869 Format: "",
9870 },
9871 },
9872 "apiVersion": {
9873 SchemaProps: spec.SchemaProps{
9874 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
9875 Type: []string{"string"},
9876 Format: "",
9877 },
9878 },
9879 "metadata": {
9880 SchemaProps: spec.SchemaProps{
9881 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
9882 Default: map[string]interface{}{},
9883 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
9884 },
9885 },
9886 "items": {
9887 SchemaProps: spec.SchemaProps{
9888 Description: "List of pod templates",
9889 Type: []string{"array"},
9890 Items: &spec.SchemaOrArray{
9891 Schema: &spec.Schema{
9892 SchemaProps: spec.SchemaProps{
9893 Default: map[string]interface{}{},
9894 Ref: ref("k8s.io/api/core/v1.PodTemplate"),
9895 },
9896 },
9897 },
9898 },
9899 },
9900 },
9901 Required: []string{"items"},
9902 },
9903 },
9904 Dependencies: []string{
9905 "k8s.io/api/core/v1.PodTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
9906 }
9907 }
9908
9909 func schema_k8sio_api_core_v1_PodTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
9910 return common.OpenAPIDefinition{
9911 Schema: spec.Schema{
9912 SchemaProps: spec.SchemaProps{
9913 Description: "PodTemplateSpec describes the data a pod should have when created from a template",
9914 Type: []string{"object"},
9915 Properties: map[string]spec.Schema{
9916 "metadata": {
9917 SchemaProps: spec.SchemaProps{
9918 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
9919 Default: map[string]interface{}{},
9920 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9921 },
9922 },
9923 "spec": {
9924 SchemaProps: spec.SchemaProps{
9925 Description: "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
9926 Default: map[string]interface{}{},
9927 Ref: ref("k8s.io/api/core/v1.PodSpec"),
9928 },
9929 },
9930 },
9931 },
9932 },
9933 Dependencies: []string{
9934 "k8s.io/api/core/v1.PodSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9935 }
9936 }
9937
9938 func schema_k8sio_api_core_v1_PortStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
9939 return common.OpenAPIDefinition{
9940 Schema: spec.Schema{
9941 SchemaProps: spec.SchemaProps{
9942 Type: []string{"object"},
9943 Properties: map[string]spec.Schema{
9944 "port": {
9945 SchemaProps: spec.SchemaProps{
9946 Description: "Port is the port number of the service port of which status is recorded here",
9947 Default: 0,
9948 Type: []string{"integer"},
9949 Format: "int32",
9950 },
9951 },
9952 "protocol": {
9953 SchemaProps: spec.SchemaProps{
9954 Description: "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.",
9955 Default: "",
9956 Type: []string{"string"},
9957 Format: "",
9958 Enum: []interface{}{"SCTP", "TCP", "UDP"},
9959 },
9960 },
9961 "error": {
9962 SchemaProps: spec.SchemaProps{
9963 Description: "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.",
9964 Type: []string{"string"},
9965 Format: "",
9966 },
9967 },
9968 },
9969 Required: []string{"port", "protocol"},
9970 },
9971 },
9972 }
9973 }
9974
9975 func schema_k8sio_api_core_v1_PortworxVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9976 return common.OpenAPIDefinition{
9977 Schema: spec.Schema{
9978 SchemaProps: spec.SchemaProps{
9979 Description: "PortworxVolumeSource represents a Portworx volume resource.",
9980 Type: []string{"object"},
9981 Properties: map[string]spec.Schema{
9982 "volumeID": {
9983 SchemaProps: spec.SchemaProps{
9984 Description: "volumeID uniquely identifies a Portworx volume",
9985 Default: "",
9986 Type: []string{"string"},
9987 Format: "",
9988 },
9989 },
9990 "fsType": {
9991 SchemaProps: spec.SchemaProps{
9992 Description: "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.",
9993 Type: []string{"string"},
9994 Format: "",
9995 },
9996 },
9997 "readOnly": {
9998 SchemaProps: spec.SchemaProps{
9999 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
10000 Type: []string{"boolean"},
10001 Format: "",
10002 },
10003 },
10004 },
10005 Required: []string{"volumeID"},
10006 },
10007 },
10008 }
10009 }
10010
10011 func schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
10012 return common.OpenAPIDefinition{
10013 Schema: spec.Schema{
10014 SchemaProps: spec.SchemaProps{
10015 Description: "Describes a class of pods that should avoid this node.",
10016 Type: []string{"object"},
10017 Properties: map[string]spec.Schema{
10018 "podSignature": {
10019 SchemaProps: spec.SchemaProps{
10020 Description: "The class of pods.",
10021 Default: map[string]interface{}{},
10022 Ref: ref("k8s.io/api/core/v1.PodSignature"),
10023 },
10024 },
10025 "evictionTime": {
10026 SchemaProps: spec.SchemaProps{
10027 Description: "Time at which this entry was added to the list.",
10028 Default: map[string]interface{}{},
10029 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
10030 },
10031 },
10032 "reason": {
10033 SchemaProps: spec.SchemaProps{
10034 Description: "(brief) reason why this entry was added to the list.",
10035 Type: []string{"string"},
10036 Format: "",
10037 },
10038 },
10039 "message": {
10040 SchemaProps: spec.SchemaProps{
10041 Description: "Human readable message indicating why this entry was added to the list.",
10042 Type: []string{"string"},
10043 Format: "",
10044 },
10045 },
10046 },
10047 Required: []string{"podSignature"},
10048 },
10049 },
10050 Dependencies: []string{
10051 "k8s.io/api/core/v1.PodSignature", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
10052 }
10053 }
10054
10055 func schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
10056 return common.OpenAPIDefinition{
10057 Schema: spec.Schema{
10058 SchemaProps: spec.SchemaProps{
10059 Description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
10060 Type: []string{"object"},
10061 Properties: map[string]spec.Schema{
10062 "weight": {
10063 SchemaProps: spec.SchemaProps{
10064 Description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
10065 Default: 0,
10066 Type: []string{"integer"},
10067 Format: "int32",
10068 },
10069 },
10070 "preference": {
10071 SchemaProps: spec.SchemaProps{
10072 Description: "A node selector term, associated with the corresponding weight.",
10073 Default: map[string]interface{}{},
10074 Ref: ref("k8s.io/api/core/v1.NodeSelectorTerm"),
10075 },
10076 },
10077 },
10078 Required: []string{"weight", "preference"},
10079 },
10080 },
10081 Dependencies: []string{
10082 "k8s.io/api/core/v1.NodeSelectorTerm"},
10083 }
10084 }
10085
10086 func schema_k8sio_api_core_v1_Probe(ref common.ReferenceCallback) common.OpenAPIDefinition {
10087 return common.OpenAPIDefinition{
10088 Schema: spec.Schema{
10089 SchemaProps: spec.SchemaProps{
10090 Description: "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.",
10091 Type: []string{"object"},
10092 Properties: map[string]spec.Schema{
10093 "exec": {
10094 SchemaProps: spec.SchemaProps{
10095 Description: "Exec specifies the action to take.",
10096 Ref: ref("k8s.io/api/core/v1.ExecAction"),
10097 },
10098 },
10099 "httpGet": {
10100 SchemaProps: spec.SchemaProps{
10101 Description: "HTTPGet specifies the http request to perform.",
10102 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
10103 },
10104 },
10105 "tcpSocket": {
10106 SchemaProps: spec.SchemaProps{
10107 Description: "TCPSocket specifies an action involving a TCP port.",
10108 Ref: ref("k8s.io/api/core/v1.TCPSocketAction"),
10109 },
10110 },
10111 "grpc": {
10112 SchemaProps: spec.SchemaProps{
10113 Description: "GRPC specifies an action involving a GRPC port.",
10114 Ref: ref("k8s.io/api/core/v1.GRPCAction"),
10115 },
10116 },
10117 "initialDelaySeconds": {
10118 SchemaProps: spec.SchemaProps{
10119 Description: "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
10120 Type: []string{"integer"},
10121 Format: "int32",
10122 },
10123 },
10124 "timeoutSeconds": {
10125 SchemaProps: spec.SchemaProps{
10126 Description: "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
10127 Type: []string{"integer"},
10128 Format: "int32",
10129 },
10130 },
10131 "periodSeconds": {
10132 SchemaProps: spec.SchemaProps{
10133 Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.",
10134 Type: []string{"integer"},
10135 Format: "int32",
10136 },
10137 },
10138 "successThreshold": {
10139 SchemaProps: spec.SchemaProps{
10140 Description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.",
10141 Type: []string{"integer"},
10142 Format: "int32",
10143 },
10144 },
10145 "failureThreshold": {
10146 SchemaProps: spec.SchemaProps{
10147 Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
10148 Type: []string{"integer"},
10149 Format: "int32",
10150 },
10151 },
10152 "terminationGracePeriodSeconds": {
10153 SchemaProps: spec.SchemaProps{
10154 Description: "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.",
10155 Type: []string{"integer"},
10156 Format: "int64",
10157 },
10158 },
10159 },
10160 },
10161 },
10162 Dependencies: []string{
10163 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.GRPCAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
10164 }
10165 }
10166
10167 func schema_k8sio_api_core_v1_ProbeHandler(ref common.ReferenceCallback) common.OpenAPIDefinition {
10168 return common.OpenAPIDefinition{
10169 Schema: spec.Schema{
10170 SchemaProps: spec.SchemaProps{
10171 Description: "ProbeHandler defines a specific action that should be taken in a probe. One and only one of the fields must be specified.",
10172 Type: []string{"object"},
10173 Properties: map[string]spec.Schema{
10174 "exec": {
10175 SchemaProps: spec.SchemaProps{
10176 Description: "Exec specifies the action to take.",
10177 Ref: ref("k8s.io/api/core/v1.ExecAction"),
10178 },
10179 },
10180 "httpGet": {
10181 SchemaProps: spec.SchemaProps{
10182 Description: "HTTPGet specifies the http request to perform.",
10183 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
10184 },
10185 },
10186 "tcpSocket": {
10187 SchemaProps: spec.SchemaProps{
10188 Description: "TCPSocket specifies an action involving a TCP port.",
10189 Ref: ref("k8s.io/api/core/v1.TCPSocketAction"),
10190 },
10191 },
10192 "grpc": {
10193 SchemaProps: spec.SchemaProps{
10194 Description: "GRPC specifies an action involving a GRPC port.",
10195 Ref: ref("k8s.io/api/core/v1.GRPCAction"),
10196 },
10197 },
10198 },
10199 },
10200 },
10201 Dependencies: []string{
10202 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.GRPCAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
10203 }
10204 }
10205
10206 func schema_k8sio_api_core_v1_ProjectedVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10207 return common.OpenAPIDefinition{
10208 Schema: spec.Schema{
10209 SchemaProps: spec.SchemaProps{
10210 Description: "Represents a projected volume source",
10211 Type: []string{"object"},
10212 Properties: map[string]spec.Schema{
10213 "sources": {
10214 VendorExtensible: spec.VendorExtensible{
10215 Extensions: spec.Extensions{
10216 "x-kubernetes-list-type": "atomic",
10217 },
10218 },
10219 SchemaProps: spec.SchemaProps{
10220 Description: "sources is the list of volume projections",
10221 Type: []string{"array"},
10222 Items: &spec.SchemaOrArray{
10223 Schema: &spec.Schema{
10224 SchemaProps: spec.SchemaProps{
10225 Default: map[string]interface{}{},
10226 Ref: ref("k8s.io/api/core/v1.VolumeProjection"),
10227 },
10228 },
10229 },
10230 },
10231 },
10232 "defaultMode": {
10233 SchemaProps: spec.SchemaProps{
10234 Description: "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
10235 Type: []string{"integer"},
10236 Format: "int32",
10237 },
10238 },
10239 },
10240 },
10241 },
10242 Dependencies: []string{
10243 "k8s.io/api/core/v1.VolumeProjection"},
10244 }
10245 }
10246
10247 func schema_k8sio_api_core_v1_QuobyteVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10248 return common.OpenAPIDefinition{
10249 Schema: spec.Schema{
10250 SchemaProps: spec.SchemaProps{
10251 Description: "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
10252 Type: []string{"object"},
10253 Properties: map[string]spec.Schema{
10254 "registry": {
10255 SchemaProps: spec.SchemaProps{
10256 Description: "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes",
10257 Default: "",
10258 Type: []string{"string"},
10259 Format: "",
10260 },
10261 },
10262 "volume": {
10263 SchemaProps: spec.SchemaProps{
10264 Description: "volume is a string that references an already created Quobyte volume by name.",
10265 Default: "",
10266 Type: []string{"string"},
10267 Format: "",
10268 },
10269 },
10270 "readOnly": {
10271 SchemaProps: spec.SchemaProps{
10272 Description: "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
10273 Type: []string{"boolean"},
10274 Format: "",
10275 },
10276 },
10277 "user": {
10278 SchemaProps: spec.SchemaProps{
10279 Description: "user to map volume access to Defaults to serivceaccount user",
10280 Type: []string{"string"},
10281 Format: "",
10282 },
10283 },
10284 "group": {
10285 SchemaProps: spec.SchemaProps{
10286 Description: "group to map volume access to Default is no group",
10287 Type: []string{"string"},
10288 Format: "",
10289 },
10290 },
10291 "tenant": {
10292 SchemaProps: spec.SchemaProps{
10293 Description: "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin",
10294 Type: []string{"string"},
10295 Format: "",
10296 },
10297 },
10298 },
10299 Required: []string{"registry", "volume"},
10300 },
10301 },
10302 }
10303 }
10304
10305 func schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10306 return common.OpenAPIDefinition{
10307 Schema: spec.Schema{
10308 SchemaProps: spec.SchemaProps{
10309 Description: "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
10310 Type: []string{"object"},
10311 Properties: map[string]spec.Schema{
10312 "monitors": {
10313 VendorExtensible: spec.VendorExtensible{
10314 Extensions: spec.Extensions{
10315 "x-kubernetes-list-type": "atomic",
10316 },
10317 },
10318 SchemaProps: spec.SchemaProps{
10319 Description: "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10320 Type: []string{"array"},
10321 Items: &spec.SchemaOrArray{
10322 Schema: &spec.Schema{
10323 SchemaProps: spec.SchemaProps{
10324 Default: "",
10325 Type: []string{"string"},
10326 Format: "",
10327 },
10328 },
10329 },
10330 },
10331 },
10332 "image": {
10333 SchemaProps: spec.SchemaProps{
10334 Description: "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10335 Default: "",
10336 Type: []string{"string"},
10337 Format: "",
10338 },
10339 },
10340 "fsType": {
10341 SchemaProps: spec.SchemaProps{
10342 Description: "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
10343 Type: []string{"string"},
10344 Format: "",
10345 },
10346 },
10347 "pool": {
10348 SchemaProps: spec.SchemaProps{
10349 Description: "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10350 Type: []string{"string"},
10351 Format: "",
10352 },
10353 },
10354 "user": {
10355 SchemaProps: spec.SchemaProps{
10356 Description: "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10357 Type: []string{"string"},
10358 Format: "",
10359 },
10360 },
10361 "keyring": {
10362 SchemaProps: spec.SchemaProps{
10363 Description: "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10364 Type: []string{"string"},
10365 Format: "",
10366 },
10367 },
10368 "secretRef": {
10369 SchemaProps: spec.SchemaProps{
10370 Description: "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10371 Ref: ref("k8s.io/api/core/v1.SecretReference"),
10372 },
10373 },
10374 "readOnly": {
10375 SchemaProps: spec.SchemaProps{
10376 Description: "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10377 Type: []string{"boolean"},
10378 Format: "",
10379 },
10380 },
10381 },
10382 Required: []string{"monitors", "image"},
10383 },
10384 },
10385 Dependencies: []string{
10386 "k8s.io/api/core/v1.SecretReference"},
10387 }
10388 }
10389
10390 func schema_k8sio_api_core_v1_RBDVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10391 return common.OpenAPIDefinition{
10392 Schema: spec.Schema{
10393 SchemaProps: spec.SchemaProps{
10394 Description: "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
10395 Type: []string{"object"},
10396 Properties: map[string]spec.Schema{
10397 "monitors": {
10398 VendorExtensible: spec.VendorExtensible{
10399 Extensions: spec.Extensions{
10400 "x-kubernetes-list-type": "atomic",
10401 },
10402 },
10403 SchemaProps: spec.SchemaProps{
10404 Description: "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10405 Type: []string{"array"},
10406 Items: &spec.SchemaOrArray{
10407 Schema: &spec.Schema{
10408 SchemaProps: spec.SchemaProps{
10409 Default: "",
10410 Type: []string{"string"},
10411 Format: "",
10412 },
10413 },
10414 },
10415 },
10416 },
10417 "image": {
10418 SchemaProps: spec.SchemaProps{
10419 Description: "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10420 Default: "",
10421 Type: []string{"string"},
10422 Format: "",
10423 },
10424 },
10425 "fsType": {
10426 SchemaProps: spec.SchemaProps{
10427 Description: "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
10428 Type: []string{"string"},
10429 Format: "",
10430 },
10431 },
10432 "pool": {
10433 SchemaProps: spec.SchemaProps{
10434 Description: "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10435 Type: []string{"string"},
10436 Format: "",
10437 },
10438 },
10439 "user": {
10440 SchemaProps: spec.SchemaProps{
10441 Description: "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10442 Type: []string{"string"},
10443 Format: "",
10444 },
10445 },
10446 "keyring": {
10447 SchemaProps: spec.SchemaProps{
10448 Description: "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10449 Type: []string{"string"},
10450 Format: "",
10451 },
10452 },
10453 "secretRef": {
10454 SchemaProps: spec.SchemaProps{
10455 Description: "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10456 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
10457 },
10458 },
10459 "readOnly": {
10460 SchemaProps: spec.SchemaProps{
10461 Description: "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
10462 Type: []string{"boolean"},
10463 Format: "",
10464 },
10465 },
10466 },
10467 Required: []string{"monitors", "image"},
10468 },
10469 },
10470 Dependencies: []string{
10471 "k8s.io/api/core/v1.LocalObjectReference"},
10472 }
10473 }
10474
10475 func schema_k8sio_api_core_v1_RangeAllocation(ref common.ReferenceCallback) common.OpenAPIDefinition {
10476 return common.OpenAPIDefinition{
10477 Schema: spec.Schema{
10478 SchemaProps: spec.SchemaProps{
10479 Description: "RangeAllocation is not a public type.",
10480 Type: []string{"object"},
10481 Properties: map[string]spec.Schema{
10482 "kind": {
10483 SchemaProps: spec.SchemaProps{
10484 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10485 Type: []string{"string"},
10486 Format: "",
10487 },
10488 },
10489 "apiVersion": {
10490 SchemaProps: spec.SchemaProps{
10491 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
10492 Type: []string{"string"},
10493 Format: "",
10494 },
10495 },
10496 "metadata": {
10497 SchemaProps: spec.SchemaProps{
10498 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
10499 Default: map[string]interface{}{},
10500 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10501 },
10502 },
10503 "range": {
10504 SchemaProps: spec.SchemaProps{
10505 Description: "Range is string that identifies the range represented by 'data'.",
10506 Default: "",
10507 Type: []string{"string"},
10508 Format: "",
10509 },
10510 },
10511 "data": {
10512 SchemaProps: spec.SchemaProps{
10513 Description: "Data is a bit array containing all allocated addresses in the previous segment.",
10514 Type: []string{"string"},
10515 Format: "byte",
10516 },
10517 },
10518 },
10519 Required: []string{"range", "data"},
10520 },
10521 },
10522 Dependencies: []string{
10523 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10524 }
10525 }
10526
10527 func schema_k8sio_api_core_v1_ReplicationController(ref common.ReferenceCallback) common.OpenAPIDefinition {
10528 return common.OpenAPIDefinition{
10529 Schema: spec.Schema{
10530 SchemaProps: spec.SchemaProps{
10531 Description: "ReplicationController represents the configuration of a replication controller.",
10532 Type: []string{"object"},
10533 Properties: map[string]spec.Schema{
10534 "kind": {
10535 SchemaProps: spec.SchemaProps{
10536 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10537 Type: []string{"string"},
10538 Format: "",
10539 },
10540 },
10541 "apiVersion": {
10542 SchemaProps: spec.SchemaProps{
10543 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
10544 Type: []string{"string"},
10545 Format: "",
10546 },
10547 },
10548 "metadata": {
10549 SchemaProps: spec.SchemaProps{
10550 Description: "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
10551 Default: map[string]interface{}{},
10552 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10553 },
10554 },
10555 "spec": {
10556 SchemaProps: spec.SchemaProps{
10557 Description: "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
10558 Default: map[string]interface{}{},
10559 Ref: ref("k8s.io/api/core/v1.ReplicationControllerSpec"),
10560 },
10561 },
10562 "status": {
10563 SchemaProps: spec.SchemaProps{
10564 Description: "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
10565 Default: map[string]interface{}{},
10566 Ref: ref("k8s.io/api/core/v1.ReplicationControllerStatus"),
10567 },
10568 },
10569 },
10570 },
10571 },
10572 Dependencies: []string{
10573 "k8s.io/api/core/v1.ReplicationControllerSpec", "k8s.io/api/core/v1.ReplicationControllerStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10574 }
10575 }
10576
10577 func schema_k8sio_api_core_v1_ReplicationControllerCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
10578 return common.OpenAPIDefinition{
10579 Schema: spec.Schema{
10580 SchemaProps: spec.SchemaProps{
10581 Description: "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
10582 Type: []string{"object"},
10583 Properties: map[string]spec.Schema{
10584 "type": {
10585 SchemaProps: spec.SchemaProps{
10586 Description: "Type of replication controller condition.",
10587 Default: "",
10588 Type: []string{"string"},
10589 Format: "",
10590 },
10591 },
10592 "status": {
10593 SchemaProps: spec.SchemaProps{
10594 Description: "Status of the condition, one of True, False, Unknown.",
10595 Default: "",
10596 Type: []string{"string"},
10597 Format: "",
10598 },
10599 },
10600 "lastTransitionTime": {
10601 SchemaProps: spec.SchemaProps{
10602 Description: "The last time the condition transitioned from one status to another.",
10603 Default: map[string]interface{}{},
10604 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
10605 },
10606 },
10607 "reason": {
10608 SchemaProps: spec.SchemaProps{
10609 Description: "The reason for the condition's last transition.",
10610 Type: []string{"string"},
10611 Format: "",
10612 },
10613 },
10614 "message": {
10615 SchemaProps: spec.SchemaProps{
10616 Description: "A human readable message indicating details about the transition.",
10617 Type: []string{"string"},
10618 Format: "",
10619 },
10620 },
10621 },
10622 Required: []string{"type", "status"},
10623 },
10624 },
10625 Dependencies: []string{
10626 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
10627 }
10628 }
10629
10630 func schema_k8sio_api_core_v1_ReplicationControllerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
10631 return common.OpenAPIDefinition{
10632 Schema: spec.Schema{
10633 SchemaProps: spec.SchemaProps{
10634 Description: "ReplicationControllerList is a collection of replication controllers.",
10635 Type: []string{"object"},
10636 Properties: map[string]spec.Schema{
10637 "kind": {
10638 SchemaProps: spec.SchemaProps{
10639 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10640 Type: []string{"string"},
10641 Format: "",
10642 },
10643 },
10644 "apiVersion": {
10645 SchemaProps: spec.SchemaProps{
10646 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
10647 Type: []string{"string"},
10648 Format: "",
10649 },
10650 },
10651 "metadata": {
10652 SchemaProps: spec.SchemaProps{
10653 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10654 Default: map[string]interface{}{},
10655 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
10656 },
10657 },
10658 "items": {
10659 SchemaProps: spec.SchemaProps{
10660 Description: "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller",
10661 Type: []string{"array"},
10662 Items: &spec.SchemaOrArray{
10663 Schema: &spec.Schema{
10664 SchemaProps: spec.SchemaProps{
10665 Default: map[string]interface{}{},
10666 Ref: ref("k8s.io/api/core/v1.ReplicationController"),
10667 },
10668 },
10669 },
10670 },
10671 },
10672 },
10673 Required: []string{"items"},
10674 },
10675 },
10676 Dependencies: []string{
10677 "k8s.io/api/core/v1.ReplicationController", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
10678 }
10679 }
10680
10681 func schema_k8sio_api_core_v1_ReplicationControllerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
10682 return common.OpenAPIDefinition{
10683 Schema: spec.Schema{
10684 SchemaProps: spec.SchemaProps{
10685 Description: "ReplicationControllerSpec is the specification of a replication controller.",
10686 Type: []string{"object"},
10687 Properties: map[string]spec.Schema{
10688 "replicas": {
10689 SchemaProps: spec.SchemaProps{
10690 Description: "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller",
10691 Type: []string{"integer"},
10692 Format: "int32",
10693 },
10694 },
10695 "minReadySeconds": {
10696 SchemaProps: spec.SchemaProps{
10697 Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
10698 Type: []string{"integer"},
10699 Format: "int32",
10700 },
10701 },
10702 "selector": {
10703 VendorExtensible: spec.VendorExtensible{
10704 Extensions: spec.Extensions{
10705 "x-kubernetes-map-type": "atomic",
10706 },
10707 },
10708 SchemaProps: spec.SchemaProps{
10709 Description: "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
10710 Type: []string{"object"},
10711 AdditionalProperties: &spec.SchemaOrBool{
10712 Allows: true,
10713 Schema: &spec.Schema{
10714 SchemaProps: spec.SchemaProps{
10715 Default: "",
10716 Type: []string{"string"},
10717 Format: "",
10718 },
10719 },
10720 },
10721 },
10722 },
10723 "template": {
10724 SchemaProps: spec.SchemaProps{
10725 Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template",
10726 Ref: ref("k8s.io/api/core/v1.PodTemplateSpec"),
10727 },
10728 },
10729 },
10730 },
10731 },
10732 Dependencies: []string{
10733 "k8s.io/api/core/v1.PodTemplateSpec"},
10734 }
10735 }
10736
10737 func schema_k8sio_api_core_v1_ReplicationControllerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
10738 return common.OpenAPIDefinition{
10739 Schema: spec.Schema{
10740 SchemaProps: spec.SchemaProps{
10741 Description: "ReplicationControllerStatus represents the current status of a replication controller.",
10742 Type: []string{"object"},
10743 Properties: map[string]spec.Schema{
10744 "replicas": {
10745 SchemaProps: spec.SchemaProps{
10746 Description: "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller",
10747 Default: 0,
10748 Type: []string{"integer"},
10749 Format: "int32",
10750 },
10751 },
10752 "fullyLabeledReplicas": {
10753 SchemaProps: spec.SchemaProps{
10754 Description: "The number of pods that have labels matching the labels of the pod template of the replication controller.",
10755 Type: []string{"integer"},
10756 Format: "int32",
10757 },
10758 },
10759 "readyReplicas": {
10760 SchemaProps: spec.SchemaProps{
10761 Description: "The number of ready replicas for this replication controller.",
10762 Type: []string{"integer"},
10763 Format: "int32",
10764 },
10765 },
10766 "availableReplicas": {
10767 SchemaProps: spec.SchemaProps{
10768 Description: "The number of available replicas (ready for at least minReadySeconds) for this replication controller.",
10769 Type: []string{"integer"},
10770 Format: "int32",
10771 },
10772 },
10773 "observedGeneration": {
10774 SchemaProps: spec.SchemaProps{
10775 Description: "ObservedGeneration reflects the generation of the most recently observed replication controller.",
10776 Type: []string{"integer"},
10777 Format: "int64",
10778 },
10779 },
10780 "conditions": {
10781 VendorExtensible: spec.VendorExtensible{
10782 Extensions: spec.Extensions{
10783 "x-kubernetes-list-map-keys": []interface{}{
10784 "type",
10785 },
10786 "x-kubernetes-list-type": "map",
10787 "x-kubernetes-patch-merge-key": "type",
10788 "x-kubernetes-patch-strategy": "merge",
10789 },
10790 },
10791 SchemaProps: spec.SchemaProps{
10792 Description: "Represents the latest available observations of a replication controller's current state.",
10793 Type: []string{"array"},
10794 Items: &spec.SchemaOrArray{
10795 Schema: &spec.Schema{
10796 SchemaProps: spec.SchemaProps{
10797 Default: map[string]interface{}{},
10798 Ref: ref("k8s.io/api/core/v1.ReplicationControllerCondition"),
10799 },
10800 },
10801 },
10802 },
10803 },
10804 },
10805 Required: []string{"replicas"},
10806 },
10807 },
10808 Dependencies: []string{
10809 "k8s.io/api/core/v1.ReplicationControllerCondition"},
10810 }
10811 }
10812
10813 func schema_k8sio_api_core_v1_ResourceClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
10814 return common.OpenAPIDefinition{
10815 Schema: spec.Schema{
10816 SchemaProps: spec.SchemaProps{
10817 Description: "ResourceClaim references one entry in PodSpec.ResourceClaims.",
10818 Type: []string{"object"},
10819 Properties: map[string]spec.Schema{
10820 "name": {
10821 SchemaProps: spec.SchemaProps{
10822 Description: "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
10823 Default: "",
10824 Type: []string{"string"},
10825 Format: "",
10826 },
10827 },
10828 },
10829 Required: []string{"name"},
10830 },
10831 },
10832 }
10833 }
10834
10835 func schema_k8sio_api_core_v1_ResourceFieldSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
10836 return common.OpenAPIDefinition{
10837 Schema: spec.Schema{
10838 SchemaProps: spec.SchemaProps{
10839 Description: "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
10840 Type: []string{"object"},
10841 Properties: map[string]spec.Schema{
10842 "containerName": {
10843 SchemaProps: spec.SchemaProps{
10844 Description: "Container name: required for volumes, optional for env vars",
10845 Type: []string{"string"},
10846 Format: "",
10847 },
10848 },
10849 "resource": {
10850 SchemaProps: spec.SchemaProps{
10851 Description: "Required: resource to select",
10852 Default: "",
10853 Type: []string{"string"},
10854 Format: "",
10855 },
10856 },
10857 "divisor": {
10858 SchemaProps: spec.SchemaProps{
10859 Description: "Specifies the output format of the exposed resources, defaults to \"1\"",
10860 Default: map[string]interface{}{},
10861 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10862 },
10863 },
10864 },
10865 Required: []string{"resource"},
10866 },
10867 VendorExtensible: spec.VendorExtensible{
10868 Extensions: spec.Extensions{
10869 "x-kubernetes-map-type": "atomic",
10870 },
10871 },
10872 },
10873 Dependencies: []string{
10874 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
10875 }
10876 }
10877
10878 func schema_k8sio_api_core_v1_ResourceQuota(ref common.ReferenceCallback) common.OpenAPIDefinition {
10879 return common.OpenAPIDefinition{
10880 Schema: spec.Schema{
10881 SchemaProps: spec.SchemaProps{
10882 Description: "ResourceQuota sets aggregate quota restrictions enforced per namespace",
10883 Type: []string{"object"},
10884 Properties: map[string]spec.Schema{
10885 "kind": {
10886 SchemaProps: spec.SchemaProps{
10887 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10888 Type: []string{"string"},
10889 Format: "",
10890 },
10891 },
10892 "apiVersion": {
10893 SchemaProps: spec.SchemaProps{
10894 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
10895 Type: []string{"string"},
10896 Format: "",
10897 },
10898 },
10899 "metadata": {
10900 SchemaProps: spec.SchemaProps{
10901 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
10902 Default: map[string]interface{}{},
10903 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10904 },
10905 },
10906 "spec": {
10907 SchemaProps: spec.SchemaProps{
10908 Description: "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
10909 Default: map[string]interface{}{},
10910 Ref: ref("k8s.io/api/core/v1.ResourceQuotaSpec"),
10911 },
10912 },
10913 "status": {
10914 SchemaProps: spec.SchemaProps{
10915 Description: "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
10916 Default: map[string]interface{}{},
10917 Ref: ref("k8s.io/api/core/v1.ResourceQuotaStatus"),
10918 },
10919 },
10920 },
10921 },
10922 },
10923 Dependencies: []string{
10924 "k8s.io/api/core/v1.ResourceQuotaSpec", "k8s.io/api/core/v1.ResourceQuotaStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10925 }
10926 }
10927
10928 func schema_k8sio_api_core_v1_ResourceQuotaList(ref common.ReferenceCallback) common.OpenAPIDefinition {
10929 return common.OpenAPIDefinition{
10930 Schema: spec.Schema{
10931 SchemaProps: spec.SchemaProps{
10932 Description: "ResourceQuotaList is a list of ResourceQuota items.",
10933 Type: []string{"object"},
10934 Properties: map[string]spec.Schema{
10935 "kind": {
10936 SchemaProps: spec.SchemaProps{
10937 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10938 Type: []string{"string"},
10939 Format: "",
10940 },
10941 },
10942 "apiVersion": {
10943 SchemaProps: spec.SchemaProps{
10944 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
10945 Type: []string{"string"},
10946 Format: "",
10947 },
10948 },
10949 "metadata": {
10950 SchemaProps: spec.SchemaProps{
10951 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10952 Default: map[string]interface{}{},
10953 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
10954 },
10955 },
10956 "items": {
10957 SchemaProps: spec.SchemaProps{
10958 Description: "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
10959 Type: []string{"array"},
10960 Items: &spec.SchemaOrArray{
10961 Schema: &spec.Schema{
10962 SchemaProps: spec.SchemaProps{
10963 Default: map[string]interface{}{},
10964 Ref: ref("k8s.io/api/core/v1.ResourceQuota"),
10965 },
10966 },
10967 },
10968 },
10969 },
10970 },
10971 Required: []string{"items"},
10972 },
10973 },
10974 Dependencies: []string{
10975 "k8s.io/api/core/v1.ResourceQuota", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
10976 }
10977 }
10978
10979 func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
10980 return common.OpenAPIDefinition{
10981 Schema: spec.Schema{
10982 SchemaProps: spec.SchemaProps{
10983 Description: "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.",
10984 Type: []string{"object"},
10985 Properties: map[string]spec.Schema{
10986 "hard": {
10987 SchemaProps: spec.SchemaProps{
10988 Description: "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
10989 Type: []string{"object"},
10990 AdditionalProperties: &spec.SchemaOrBool{
10991 Allows: true,
10992 Schema: &spec.Schema{
10993 SchemaProps: spec.SchemaProps{
10994 Default: map[string]interface{}{},
10995 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10996 },
10997 },
10998 },
10999 },
11000 },
11001 "scopes": {
11002 VendorExtensible: spec.VendorExtensible{
11003 Extensions: spec.Extensions{
11004 "x-kubernetes-list-type": "atomic",
11005 },
11006 },
11007 SchemaProps: spec.SchemaProps{
11008 Description: "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.",
11009 Type: []string{"array"},
11010 Items: &spec.SchemaOrArray{
11011 Schema: &spec.Schema{
11012 SchemaProps: spec.SchemaProps{
11013 Default: "",
11014 Type: []string{"string"},
11015 Format: "",
11016 },
11017 },
11018 },
11019 },
11020 },
11021 "scopeSelector": {
11022 SchemaProps: spec.SchemaProps{
11023 Description: "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.",
11024 Ref: ref("k8s.io/api/core/v1.ScopeSelector"),
11025 },
11026 },
11027 },
11028 },
11029 },
11030 Dependencies: []string{
11031 "k8s.io/api/core/v1.ScopeSelector", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
11032 }
11033 }
11034
11035 func schema_k8sio_api_core_v1_ResourceQuotaStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
11036 return common.OpenAPIDefinition{
11037 Schema: spec.Schema{
11038 SchemaProps: spec.SchemaProps{
11039 Description: "ResourceQuotaStatus defines the enforced hard limits and observed use.",
11040 Type: []string{"object"},
11041 Properties: map[string]spec.Schema{
11042 "hard": {
11043 SchemaProps: spec.SchemaProps{
11044 Description: "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
11045 Type: []string{"object"},
11046 AdditionalProperties: &spec.SchemaOrBool{
11047 Allows: true,
11048 Schema: &spec.Schema{
11049 SchemaProps: spec.SchemaProps{
11050 Default: map[string]interface{}{},
11051 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
11052 },
11053 },
11054 },
11055 },
11056 },
11057 "used": {
11058 SchemaProps: spec.SchemaProps{
11059 Description: "Used is the current observed total usage of the resource in the namespace.",
11060 Type: []string{"object"},
11061 AdditionalProperties: &spec.SchemaOrBool{
11062 Allows: true,
11063 Schema: &spec.Schema{
11064 SchemaProps: spec.SchemaProps{
11065 Default: map[string]interface{}{},
11066 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
11067 },
11068 },
11069 },
11070 },
11071 },
11072 },
11073 },
11074 },
11075 Dependencies: []string{
11076 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
11077 }
11078 }
11079
11080 func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition {
11081 return common.OpenAPIDefinition{
11082 Schema: spec.Schema{
11083 SchemaProps: spec.SchemaProps{
11084 Description: "ResourceRequirements describes the compute resource requirements.",
11085 Type: []string{"object"},
11086 Properties: map[string]spec.Schema{
11087 "limits": {
11088 SchemaProps: spec.SchemaProps{
11089 Description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
11090 Type: []string{"object"},
11091 AdditionalProperties: &spec.SchemaOrBool{
11092 Allows: true,
11093 Schema: &spec.Schema{
11094 SchemaProps: spec.SchemaProps{
11095 Default: map[string]interface{}{},
11096 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
11097 },
11098 },
11099 },
11100 },
11101 },
11102 "requests": {
11103 SchemaProps: spec.SchemaProps{
11104 Description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
11105 Type: []string{"object"},
11106 AdditionalProperties: &spec.SchemaOrBool{
11107 Allows: true,
11108 Schema: &spec.Schema{
11109 SchemaProps: spec.SchemaProps{
11110 Default: map[string]interface{}{},
11111 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
11112 },
11113 },
11114 },
11115 },
11116 },
11117 "claims": {
11118 VendorExtensible: spec.VendorExtensible{
11119 Extensions: spec.Extensions{
11120 "x-kubernetes-list-map-keys": []interface{}{
11121 "name",
11122 },
11123 "x-kubernetes-list-type": "map",
11124 },
11125 },
11126 SchemaProps: spec.SchemaProps{
11127 Description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
11128 Type: []string{"array"},
11129 Items: &spec.SchemaOrArray{
11130 Schema: &spec.Schema{
11131 SchemaProps: spec.SchemaProps{
11132 Default: map[string]interface{}{},
11133 Ref: ref("k8s.io/api/core/v1.ResourceClaim"),
11134 },
11135 },
11136 },
11137 },
11138 },
11139 },
11140 },
11141 },
11142 Dependencies: []string{
11143 "k8s.io/api/core/v1.ResourceClaim", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
11144 }
11145 }
11146
11147 func schema_k8sio_api_core_v1_SELinuxOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
11148 return common.OpenAPIDefinition{
11149 Schema: spec.Schema{
11150 SchemaProps: spec.SchemaProps{
11151 Description: "SELinuxOptions are the labels to be applied to the container",
11152 Type: []string{"object"},
11153 Properties: map[string]spec.Schema{
11154 "user": {
11155 SchemaProps: spec.SchemaProps{
11156 Description: "User is a SELinux user label that applies to the container.",
11157 Type: []string{"string"},
11158 Format: "",
11159 },
11160 },
11161 "role": {
11162 SchemaProps: spec.SchemaProps{
11163 Description: "Role is a SELinux role label that applies to the container.",
11164 Type: []string{"string"},
11165 Format: "",
11166 },
11167 },
11168 "type": {
11169 SchemaProps: spec.SchemaProps{
11170 Description: "Type is a SELinux type label that applies to the container.",
11171 Type: []string{"string"},
11172 Format: "",
11173 },
11174 },
11175 "level": {
11176 SchemaProps: spec.SchemaProps{
11177 Description: "Level is SELinux level label that applies to the container.",
11178 Type: []string{"string"},
11179 Format: "",
11180 },
11181 },
11182 },
11183 },
11184 },
11185 }
11186 }
11187
11188 func schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11189 return common.OpenAPIDefinition{
11190 Schema: spec.Schema{
11191 SchemaProps: spec.SchemaProps{
11192 Description: "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
11193 Type: []string{"object"},
11194 Properties: map[string]spec.Schema{
11195 "gateway": {
11196 SchemaProps: spec.SchemaProps{
11197 Description: "gateway is the host address of the ScaleIO API Gateway.",
11198 Default: "",
11199 Type: []string{"string"},
11200 Format: "",
11201 },
11202 },
11203 "system": {
11204 SchemaProps: spec.SchemaProps{
11205 Description: "system is the name of the storage system as configured in ScaleIO.",
11206 Default: "",
11207 Type: []string{"string"},
11208 Format: "",
11209 },
11210 },
11211 "secretRef": {
11212 SchemaProps: spec.SchemaProps{
11213 Description: "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.",
11214 Ref: ref("k8s.io/api/core/v1.SecretReference"),
11215 },
11216 },
11217 "sslEnabled": {
11218 SchemaProps: spec.SchemaProps{
11219 Description: "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false",
11220 Type: []string{"boolean"},
11221 Format: "",
11222 },
11223 },
11224 "protectionDomain": {
11225 SchemaProps: spec.SchemaProps{
11226 Description: "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.",
11227 Type: []string{"string"},
11228 Format: "",
11229 },
11230 },
11231 "storagePool": {
11232 SchemaProps: spec.SchemaProps{
11233 Description: "storagePool is the ScaleIO Storage Pool associated with the protection domain.",
11234 Type: []string{"string"},
11235 Format: "",
11236 },
11237 },
11238 "storageMode": {
11239 SchemaProps: spec.SchemaProps{
11240 Description: "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
11241 Type: []string{"string"},
11242 Format: "",
11243 },
11244 },
11245 "volumeName": {
11246 SchemaProps: spec.SchemaProps{
11247 Description: "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.",
11248 Type: []string{"string"},
11249 Format: "",
11250 },
11251 },
11252 "fsType": {
11253 SchemaProps: spec.SchemaProps{
11254 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
11255 Type: []string{"string"},
11256 Format: "",
11257 },
11258 },
11259 "readOnly": {
11260 SchemaProps: spec.SchemaProps{
11261 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11262 Type: []string{"boolean"},
11263 Format: "",
11264 },
11265 },
11266 },
11267 Required: []string{"gateway", "system", "secretRef"},
11268 },
11269 },
11270 Dependencies: []string{
11271 "k8s.io/api/core/v1.SecretReference"},
11272 }
11273 }
11274
11275 func schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11276 return common.OpenAPIDefinition{
11277 Schema: spec.Schema{
11278 SchemaProps: spec.SchemaProps{
11279 Description: "ScaleIOVolumeSource represents a persistent ScaleIO volume",
11280 Type: []string{"object"},
11281 Properties: map[string]spec.Schema{
11282 "gateway": {
11283 SchemaProps: spec.SchemaProps{
11284 Description: "gateway is the host address of the ScaleIO API Gateway.",
11285 Default: "",
11286 Type: []string{"string"},
11287 Format: "",
11288 },
11289 },
11290 "system": {
11291 SchemaProps: spec.SchemaProps{
11292 Description: "system is the name of the storage system as configured in ScaleIO.",
11293 Default: "",
11294 Type: []string{"string"},
11295 Format: "",
11296 },
11297 },
11298 "secretRef": {
11299 SchemaProps: spec.SchemaProps{
11300 Description: "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.",
11301 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
11302 },
11303 },
11304 "sslEnabled": {
11305 SchemaProps: spec.SchemaProps{
11306 Description: "sslEnabled Flag enable/disable SSL communication with Gateway, default false",
11307 Type: []string{"boolean"},
11308 Format: "",
11309 },
11310 },
11311 "protectionDomain": {
11312 SchemaProps: spec.SchemaProps{
11313 Description: "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.",
11314 Type: []string{"string"},
11315 Format: "",
11316 },
11317 },
11318 "storagePool": {
11319 SchemaProps: spec.SchemaProps{
11320 Description: "storagePool is the ScaleIO Storage Pool associated with the protection domain.",
11321 Type: []string{"string"},
11322 Format: "",
11323 },
11324 },
11325 "storageMode": {
11326 SchemaProps: spec.SchemaProps{
11327 Description: "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
11328 Type: []string{"string"},
11329 Format: "",
11330 },
11331 },
11332 "volumeName": {
11333 SchemaProps: spec.SchemaProps{
11334 Description: "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.",
11335 Type: []string{"string"},
11336 Format: "",
11337 },
11338 },
11339 "fsType": {
11340 SchemaProps: spec.SchemaProps{
11341 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
11342 Type: []string{"string"},
11343 Format: "",
11344 },
11345 },
11346 "readOnly": {
11347 SchemaProps: spec.SchemaProps{
11348 Description: "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11349 Type: []string{"boolean"},
11350 Format: "",
11351 },
11352 },
11353 },
11354 Required: []string{"gateway", "system", "secretRef"},
11355 },
11356 },
11357 Dependencies: []string{
11358 "k8s.io/api/core/v1.LocalObjectReference"},
11359 }
11360 }
11361
11362 func schema_k8sio_api_core_v1_ScopeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
11363 return common.OpenAPIDefinition{
11364 Schema: spec.Schema{
11365 SchemaProps: spec.SchemaProps{
11366 Description: "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.",
11367 Type: []string{"object"},
11368 Properties: map[string]spec.Schema{
11369 "matchExpressions": {
11370 VendorExtensible: spec.VendorExtensible{
11371 Extensions: spec.Extensions{
11372 "x-kubernetes-list-type": "atomic",
11373 },
11374 },
11375 SchemaProps: spec.SchemaProps{
11376 Description: "A list of scope selector requirements by scope of the resources.",
11377 Type: []string{"array"},
11378 Items: &spec.SchemaOrArray{
11379 Schema: &spec.Schema{
11380 SchemaProps: spec.SchemaProps{
11381 Default: map[string]interface{}{},
11382 Ref: ref("k8s.io/api/core/v1.ScopedResourceSelectorRequirement"),
11383 },
11384 },
11385 },
11386 },
11387 },
11388 },
11389 },
11390 VendorExtensible: spec.VendorExtensible{
11391 Extensions: spec.Extensions{
11392 "x-kubernetes-map-type": "atomic",
11393 },
11394 },
11395 },
11396 Dependencies: []string{
11397 "k8s.io/api/core/v1.ScopedResourceSelectorRequirement"},
11398 }
11399 }
11400
11401 func schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
11402 return common.OpenAPIDefinition{
11403 Schema: spec.Schema{
11404 SchemaProps: spec.SchemaProps{
11405 Description: "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.",
11406 Type: []string{"object"},
11407 Properties: map[string]spec.Schema{
11408 "scopeName": {
11409 SchemaProps: spec.SchemaProps{
11410 Description: "The name of the scope that the selector applies to.\n\nPossible enum values:\n - `\"BestEffort\"` Match all pod objects that have best effort quality of service\n - `\"CrossNamespacePodAffinity\"` Match all pod objects that have cross-namespace pod (anti)affinity mentioned.\n - `\"NotBestEffort\"` Match all pod objects that do not have best effort quality of service\n - `\"NotTerminating\"` Match all pod objects where spec.activeDeadlineSeconds is nil\n - `\"PriorityClass\"` Match all pod objects that have priority class mentioned\n - `\"Terminating\"` Match all pod objects where spec.activeDeadlineSeconds >=0",
11411 Default: "",
11412 Type: []string{"string"},
11413 Format: "",
11414 Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating"},
11415 },
11416 },
11417 "operator": {
11418 SchemaProps: spec.SchemaProps{
11419 Description: "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"In\"`\n - `\"NotIn\"`",
11420 Default: "",
11421 Type: []string{"string"},
11422 Format: "",
11423 Enum: []interface{}{"DoesNotExist", "Exists", "In", "NotIn"},
11424 },
11425 },
11426 "values": {
11427 VendorExtensible: spec.VendorExtensible{
11428 Extensions: spec.Extensions{
11429 "x-kubernetes-list-type": "atomic",
11430 },
11431 },
11432 SchemaProps: spec.SchemaProps{
11433 Description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
11434 Type: []string{"array"},
11435 Items: &spec.SchemaOrArray{
11436 Schema: &spec.Schema{
11437 SchemaProps: spec.SchemaProps{
11438 Default: "",
11439 Type: []string{"string"},
11440 Format: "",
11441 },
11442 },
11443 },
11444 },
11445 },
11446 },
11447 Required: []string{"scopeName", "operator"},
11448 },
11449 },
11450 }
11451 }
11452
11453 func schema_k8sio_api_core_v1_SeccompProfile(ref common.ReferenceCallback) common.OpenAPIDefinition {
11454 return common.OpenAPIDefinition{
11455 Schema: spec.Schema{
11456 SchemaProps: spec.SchemaProps{
11457 Description: "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.",
11458 Type: []string{"object"},
11459 Properties: map[string]spec.Schema{
11460 "type": {
11461 SchemaProps: spec.SchemaProps{
11462 Description: "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - `\"Localhost\"` indicates a profile defined in a file on the node should be used. The file's location relative to <kubelet-root-dir>/seccomp.\n - `\"RuntimeDefault\"` represents the default container runtime seccomp profile.\n - `\"Unconfined\"` indicates no seccomp profile is applied (A.K.A. unconfined).",
11463 Default: "",
11464 Type: []string{"string"},
11465 Format: "",
11466 Enum: []interface{}{"Localhost", "RuntimeDefault", "Unconfined"},
11467 },
11468 },
11469 "localhostProfile": {
11470 SchemaProps: spec.SchemaProps{
11471 Description: "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.",
11472 Type: []string{"string"},
11473 Format: "",
11474 },
11475 },
11476 },
11477 Required: []string{"type"},
11478 },
11479 VendorExtensible: spec.VendorExtensible{
11480 Extensions: spec.Extensions{
11481 "x-kubernetes-unions": []interface{}{
11482 map[string]interface{}{
11483 "discriminator": "type",
11484 "fields-to-discriminateBy": map[string]interface{}{
11485 "localhostProfile": "LocalhostProfile",
11486 },
11487 },
11488 },
11489 },
11490 },
11491 },
11492 }
11493 }
11494
11495 func schema_k8sio_api_core_v1_Secret(ref common.ReferenceCallback) common.OpenAPIDefinition {
11496 return common.OpenAPIDefinition{
11497 Schema: spec.Schema{
11498 SchemaProps: spec.SchemaProps{
11499 Description: "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.",
11500 Type: []string{"object"},
11501 Properties: map[string]spec.Schema{
11502 "kind": {
11503 SchemaProps: spec.SchemaProps{
11504 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
11505 Type: []string{"string"},
11506 Format: "",
11507 },
11508 },
11509 "apiVersion": {
11510 SchemaProps: spec.SchemaProps{
11511 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
11512 Type: []string{"string"},
11513 Format: "",
11514 },
11515 },
11516 "metadata": {
11517 SchemaProps: spec.SchemaProps{
11518 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
11519 Default: map[string]interface{}{},
11520 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
11521 },
11522 },
11523 "immutable": {
11524 SchemaProps: spec.SchemaProps{
11525 Description: "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.",
11526 Type: []string{"boolean"},
11527 Format: "",
11528 },
11529 },
11530 "data": {
11531 SchemaProps: spec.SchemaProps{
11532 Description: "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4",
11533 Type: []string{"object"},
11534 AdditionalProperties: &spec.SchemaOrBool{
11535 Allows: true,
11536 Schema: &spec.Schema{
11537 SchemaProps: spec.SchemaProps{
11538 Type: []string{"string"},
11539 Format: "byte",
11540 },
11541 },
11542 },
11543 },
11544 },
11545 "stringData": {
11546 SchemaProps: spec.SchemaProps{
11547 Description: "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.",
11548 Type: []string{"object"},
11549 AdditionalProperties: &spec.SchemaOrBool{
11550 Allows: true,
11551 Schema: &spec.Schema{
11552 SchemaProps: spec.SchemaProps{
11553 Default: "",
11554 Type: []string{"string"},
11555 Format: "",
11556 },
11557 },
11558 },
11559 },
11560 },
11561 "type": {
11562 SchemaProps: spec.SchemaProps{
11563 Description: "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types",
11564 Type: []string{"string"},
11565 Format: "",
11566 },
11567 },
11568 },
11569 },
11570 },
11571 Dependencies: []string{
11572 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
11573 }
11574 }
11575
11576 func schema_k8sio_api_core_v1_SecretEnvSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11577 return common.OpenAPIDefinition{
11578 Schema: spec.Schema{
11579 SchemaProps: spec.SchemaProps{
11580 Description: "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.",
11581 Type: []string{"object"},
11582 Properties: map[string]spec.Schema{
11583 "name": {
11584 SchemaProps: spec.SchemaProps{
11585 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
11586 Type: []string{"string"},
11587 Format: "",
11588 },
11589 },
11590 "optional": {
11591 SchemaProps: spec.SchemaProps{
11592 Description: "Specify whether the Secret must be defined",
11593 Type: []string{"boolean"},
11594 Format: "",
11595 },
11596 },
11597 },
11598 },
11599 },
11600 }
11601 }
11602
11603 func schema_k8sio_api_core_v1_SecretKeySelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
11604 return common.OpenAPIDefinition{
11605 Schema: spec.Schema{
11606 SchemaProps: spec.SchemaProps{
11607 Description: "SecretKeySelector selects a key of a Secret.",
11608 Type: []string{"object"},
11609 Properties: map[string]spec.Schema{
11610 "name": {
11611 SchemaProps: spec.SchemaProps{
11612 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
11613 Type: []string{"string"},
11614 Format: "",
11615 },
11616 },
11617 "key": {
11618 SchemaProps: spec.SchemaProps{
11619 Description: "The key of the secret to select from. Must be a valid secret key.",
11620 Default: "",
11621 Type: []string{"string"},
11622 Format: "",
11623 },
11624 },
11625 "optional": {
11626 SchemaProps: spec.SchemaProps{
11627 Description: "Specify whether the Secret or its key must be defined",
11628 Type: []string{"boolean"},
11629 Format: "",
11630 },
11631 },
11632 },
11633 Required: []string{"key"},
11634 },
11635 VendorExtensible: spec.VendorExtensible{
11636 Extensions: spec.Extensions{
11637 "x-kubernetes-map-type": "atomic",
11638 },
11639 },
11640 },
11641 }
11642 }
11643
11644 func schema_k8sio_api_core_v1_SecretList(ref common.ReferenceCallback) common.OpenAPIDefinition {
11645 return common.OpenAPIDefinition{
11646 Schema: spec.Schema{
11647 SchemaProps: spec.SchemaProps{
11648 Description: "SecretList is a list of Secret.",
11649 Type: []string{"object"},
11650 Properties: map[string]spec.Schema{
11651 "kind": {
11652 SchemaProps: spec.SchemaProps{
11653 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
11654 Type: []string{"string"},
11655 Format: "",
11656 },
11657 },
11658 "apiVersion": {
11659 SchemaProps: spec.SchemaProps{
11660 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
11661 Type: []string{"string"},
11662 Format: "",
11663 },
11664 },
11665 "metadata": {
11666 SchemaProps: spec.SchemaProps{
11667 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
11668 Default: map[string]interface{}{},
11669 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
11670 },
11671 },
11672 "items": {
11673 SchemaProps: spec.SchemaProps{
11674 Description: "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret",
11675 Type: []string{"array"},
11676 Items: &spec.SchemaOrArray{
11677 Schema: &spec.Schema{
11678 SchemaProps: spec.SchemaProps{
11679 Default: map[string]interface{}{},
11680 Ref: ref("k8s.io/api/core/v1.Secret"),
11681 },
11682 },
11683 },
11684 },
11685 },
11686 },
11687 Required: []string{"items"},
11688 },
11689 },
11690 Dependencies: []string{
11691 "k8s.io/api/core/v1.Secret", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
11692 }
11693 }
11694
11695 func schema_k8sio_api_core_v1_SecretProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
11696 return common.OpenAPIDefinition{
11697 Schema: spec.Schema{
11698 SchemaProps: spec.SchemaProps{
11699 Description: "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.",
11700 Type: []string{"object"},
11701 Properties: map[string]spec.Schema{
11702 "name": {
11703 SchemaProps: spec.SchemaProps{
11704 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
11705 Type: []string{"string"},
11706 Format: "",
11707 },
11708 },
11709 "items": {
11710 VendorExtensible: spec.VendorExtensible{
11711 Extensions: spec.Extensions{
11712 "x-kubernetes-list-type": "atomic",
11713 },
11714 },
11715 SchemaProps: spec.SchemaProps{
11716 Description: "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
11717 Type: []string{"array"},
11718 Items: &spec.SchemaOrArray{
11719 Schema: &spec.Schema{
11720 SchemaProps: spec.SchemaProps{
11721 Default: map[string]interface{}{},
11722 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
11723 },
11724 },
11725 },
11726 },
11727 },
11728 "optional": {
11729 SchemaProps: spec.SchemaProps{
11730 Description: "optional field specify whether the Secret or its key must be defined",
11731 Type: []string{"boolean"},
11732 Format: "",
11733 },
11734 },
11735 },
11736 },
11737 },
11738 Dependencies: []string{
11739 "k8s.io/api/core/v1.KeyToPath"},
11740 }
11741 }
11742
11743 func schema_k8sio_api_core_v1_SecretReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
11744 return common.OpenAPIDefinition{
11745 Schema: spec.Schema{
11746 SchemaProps: spec.SchemaProps{
11747 Description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
11748 Type: []string{"object"},
11749 Properties: map[string]spec.Schema{
11750 "name": {
11751 SchemaProps: spec.SchemaProps{
11752 Description: "name is unique within a namespace to reference a secret resource.",
11753 Type: []string{"string"},
11754 Format: "",
11755 },
11756 },
11757 "namespace": {
11758 SchemaProps: spec.SchemaProps{
11759 Description: "namespace defines the space within which the secret name must be unique.",
11760 Type: []string{"string"},
11761 Format: "",
11762 },
11763 },
11764 },
11765 },
11766 VendorExtensible: spec.VendorExtensible{
11767 Extensions: spec.Extensions{
11768 "x-kubernetes-map-type": "atomic",
11769 },
11770 },
11771 },
11772 }
11773 }
11774
11775 func schema_k8sio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11776 return common.OpenAPIDefinition{
11777 Schema: spec.Schema{
11778 SchemaProps: spec.SchemaProps{
11779 Description: "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
11780 Type: []string{"object"},
11781 Properties: map[string]spec.Schema{
11782 "secretName": {
11783 SchemaProps: spec.SchemaProps{
11784 Description: "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
11785 Type: []string{"string"},
11786 Format: "",
11787 },
11788 },
11789 "items": {
11790 VendorExtensible: spec.VendorExtensible{
11791 Extensions: spec.Extensions{
11792 "x-kubernetes-list-type": "atomic",
11793 },
11794 },
11795 SchemaProps: spec.SchemaProps{
11796 Description: "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
11797 Type: []string{"array"},
11798 Items: &spec.SchemaOrArray{
11799 Schema: &spec.Schema{
11800 SchemaProps: spec.SchemaProps{
11801 Default: map[string]interface{}{},
11802 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
11803 },
11804 },
11805 },
11806 },
11807 },
11808 "defaultMode": {
11809 SchemaProps: spec.SchemaProps{
11810 Description: "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
11811 Type: []string{"integer"},
11812 Format: "int32",
11813 },
11814 },
11815 "optional": {
11816 SchemaProps: spec.SchemaProps{
11817 Description: "optional field specify whether the Secret or its keys must be defined",
11818 Type: []string{"boolean"},
11819 Format: "",
11820 },
11821 },
11822 },
11823 },
11824 },
11825 Dependencies: []string{
11826 "k8s.io/api/core/v1.KeyToPath"},
11827 }
11828 }
11829
11830 func schema_k8sio_api_core_v1_SecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition {
11831 return common.OpenAPIDefinition{
11832 Schema: spec.Schema{
11833 SchemaProps: spec.SchemaProps{
11834 Description: "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.",
11835 Type: []string{"object"},
11836 Properties: map[string]spec.Schema{
11837 "capabilities": {
11838 SchemaProps: spec.SchemaProps{
11839 Description: "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.",
11840 Ref: ref("k8s.io/api/core/v1.Capabilities"),
11841 },
11842 },
11843 "privileged": {
11844 SchemaProps: spec.SchemaProps{
11845 Description: "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.",
11846 Type: []string{"boolean"},
11847 Format: "",
11848 },
11849 },
11850 "seLinuxOptions": {
11851 SchemaProps: spec.SchemaProps{
11852 Description: "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
11853 Ref: ref("k8s.io/api/core/v1.SELinuxOptions"),
11854 },
11855 },
11856 "windowsOptions": {
11857 SchemaProps: spec.SchemaProps{
11858 Description: "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.",
11859 Ref: ref("k8s.io/api/core/v1.WindowsSecurityContextOptions"),
11860 },
11861 },
11862 "runAsUser": {
11863 SchemaProps: spec.SchemaProps{
11864 Description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
11865 Type: []string{"integer"},
11866 Format: "int64",
11867 },
11868 },
11869 "runAsGroup": {
11870 SchemaProps: spec.SchemaProps{
11871 Description: "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.",
11872 Type: []string{"integer"},
11873 Format: "int64",
11874 },
11875 },
11876 "runAsNonRoot": {
11877 SchemaProps: spec.SchemaProps{
11878 Description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
11879 Type: []string{"boolean"},
11880 Format: "",
11881 },
11882 },
11883 "readOnlyRootFilesystem": {
11884 SchemaProps: spec.SchemaProps{
11885 Description: "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.",
11886 Type: []string{"boolean"},
11887 Format: "",
11888 },
11889 },
11890 "allowPrivilegeEscalation": {
11891 SchemaProps: spec.SchemaProps{
11892 Description: "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.",
11893 Type: []string{"boolean"},
11894 Format: "",
11895 },
11896 },
11897 "procMount": {
11898 SchemaProps: spec.SchemaProps{
11899 Description: "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.",
11900 Type: []string{"string"},
11901 Format: "",
11902 Enum: []interface{}{"Default", "Unmasked"},
11903 },
11904 },
11905 "seccompProfile": {
11906 SchemaProps: spec.SchemaProps{
11907 Description: "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.",
11908 Ref: ref("k8s.io/api/core/v1.SeccompProfile"),
11909 },
11910 },
11911 "appArmorProfile": {
11912 SchemaProps: spec.SchemaProps{
11913 Description: "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.",
11914 Ref: ref("k8s.io/api/core/v1.AppArmorProfile"),
11915 },
11916 },
11917 },
11918 },
11919 },
11920 Dependencies: []string{
11921 "k8s.io/api/core/v1.AppArmorProfile", "k8s.io/api/core/v1.Capabilities", "k8s.io/api/core/v1.SELinuxOptions", "k8s.io/api/core/v1.SeccompProfile", "k8s.io/api/core/v1.WindowsSecurityContextOptions"},
11922 }
11923 }
11924
11925 func schema_k8sio_api_core_v1_SerializedReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
11926 return common.OpenAPIDefinition{
11927 Schema: spec.Schema{
11928 SchemaProps: spec.SchemaProps{
11929 Description: "SerializedReference is a reference to serialized object.",
11930 Type: []string{"object"},
11931 Properties: map[string]spec.Schema{
11932 "kind": {
11933 SchemaProps: spec.SchemaProps{
11934 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
11935 Type: []string{"string"},
11936 Format: "",
11937 },
11938 },
11939 "apiVersion": {
11940 SchemaProps: spec.SchemaProps{
11941 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
11942 Type: []string{"string"},
11943 Format: "",
11944 },
11945 },
11946 "reference": {
11947 SchemaProps: spec.SchemaProps{
11948 Description: "The reference to an object in the system.",
11949 Default: map[string]interface{}{},
11950 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
11951 },
11952 },
11953 },
11954 },
11955 },
11956 Dependencies: []string{
11957 "k8s.io/api/core/v1.ObjectReference"},
11958 }
11959 }
11960
11961 func schema_k8sio_api_core_v1_Service(ref common.ReferenceCallback) common.OpenAPIDefinition {
11962 return common.OpenAPIDefinition{
11963 Schema: spec.Schema{
11964 SchemaProps: spec.SchemaProps{
11965 Description: "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.",
11966 Type: []string{"object"},
11967 Properties: map[string]spec.Schema{
11968 "kind": {
11969 SchemaProps: spec.SchemaProps{
11970 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
11971 Type: []string{"string"},
11972 Format: "",
11973 },
11974 },
11975 "apiVersion": {
11976 SchemaProps: spec.SchemaProps{
11977 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
11978 Type: []string{"string"},
11979 Format: "",
11980 },
11981 },
11982 "metadata": {
11983 SchemaProps: spec.SchemaProps{
11984 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
11985 Default: map[string]interface{}{},
11986 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
11987 },
11988 },
11989 "spec": {
11990 SchemaProps: spec.SchemaProps{
11991 Description: "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
11992 Default: map[string]interface{}{},
11993 Ref: ref("k8s.io/api/core/v1.ServiceSpec"),
11994 },
11995 },
11996 "status": {
11997 SchemaProps: spec.SchemaProps{
11998 Description: "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
11999 Default: map[string]interface{}{},
12000 Ref: ref("k8s.io/api/core/v1.ServiceStatus"),
12001 },
12002 },
12003 },
12004 },
12005 },
12006 Dependencies: []string{
12007 "k8s.io/api/core/v1.ServiceSpec", "k8s.io/api/core/v1.ServiceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
12008 }
12009 }
12010
12011 func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) common.OpenAPIDefinition {
12012 return common.OpenAPIDefinition{
12013 Schema: spec.Schema{
12014 SchemaProps: spec.SchemaProps{
12015 Description: "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets",
12016 Type: []string{"object"},
12017 Properties: map[string]spec.Schema{
12018 "kind": {
12019 SchemaProps: spec.SchemaProps{
12020 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12021 Type: []string{"string"},
12022 Format: "",
12023 },
12024 },
12025 "apiVersion": {
12026 SchemaProps: spec.SchemaProps{
12027 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
12028 Type: []string{"string"},
12029 Format: "",
12030 },
12031 },
12032 "metadata": {
12033 SchemaProps: spec.SchemaProps{
12034 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
12035 Default: map[string]interface{}{},
12036 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
12037 },
12038 },
12039 "secrets": {
12040 VendorExtensible: spec.VendorExtensible{
12041 Extensions: spec.Extensions{
12042 "x-kubernetes-list-map-keys": []interface{}{
12043 "name",
12044 },
12045 "x-kubernetes-list-type": "map",
12046 "x-kubernetes-patch-merge-key": "name",
12047 "x-kubernetes-patch-strategy": "merge",
12048 },
12049 },
12050 SchemaProps: spec.SchemaProps{
12051 Description: "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret",
12052 Type: []string{"array"},
12053 Items: &spec.SchemaOrArray{
12054 Schema: &spec.Schema{
12055 SchemaProps: spec.SchemaProps{
12056 Default: map[string]interface{}{},
12057 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
12058 },
12059 },
12060 },
12061 },
12062 },
12063 "imagePullSecrets": {
12064 VendorExtensible: spec.VendorExtensible{
12065 Extensions: spec.Extensions{
12066 "x-kubernetes-list-type": "atomic",
12067 },
12068 },
12069 SchemaProps: spec.SchemaProps{
12070 Description: "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod",
12071 Type: []string{"array"},
12072 Items: &spec.SchemaOrArray{
12073 Schema: &spec.Schema{
12074 SchemaProps: spec.SchemaProps{
12075 Default: map[string]interface{}{},
12076 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
12077 },
12078 },
12079 },
12080 },
12081 },
12082 "automountServiceAccountToken": {
12083 SchemaProps: spec.SchemaProps{
12084 Description: "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.",
12085 Type: []string{"boolean"},
12086 Format: "",
12087 },
12088 },
12089 },
12090 },
12091 },
12092 Dependencies: []string{
12093 "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
12094 }
12095 }
12096
12097 func schema_k8sio_api_core_v1_ServiceAccountList(ref common.ReferenceCallback) common.OpenAPIDefinition {
12098 return common.OpenAPIDefinition{
12099 Schema: spec.Schema{
12100 SchemaProps: spec.SchemaProps{
12101 Description: "ServiceAccountList is a list of ServiceAccount objects",
12102 Type: []string{"object"},
12103 Properties: map[string]spec.Schema{
12104 "kind": {
12105 SchemaProps: spec.SchemaProps{
12106 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12107 Type: []string{"string"},
12108 Format: "",
12109 },
12110 },
12111 "apiVersion": {
12112 SchemaProps: spec.SchemaProps{
12113 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
12114 Type: []string{"string"},
12115 Format: "",
12116 },
12117 },
12118 "metadata": {
12119 SchemaProps: spec.SchemaProps{
12120 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12121 Default: map[string]interface{}{},
12122 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
12123 },
12124 },
12125 "items": {
12126 SchemaProps: spec.SchemaProps{
12127 Description: "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
12128 Type: []string{"array"},
12129 Items: &spec.SchemaOrArray{
12130 Schema: &spec.Schema{
12131 SchemaProps: spec.SchemaProps{
12132 Default: map[string]interface{}{},
12133 Ref: ref("k8s.io/api/core/v1.ServiceAccount"),
12134 },
12135 },
12136 },
12137 },
12138 },
12139 },
12140 Required: []string{"items"},
12141 },
12142 },
12143 Dependencies: []string{
12144 "k8s.io/api/core/v1.ServiceAccount", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
12145 }
12146 }
12147
12148 func schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
12149 return common.OpenAPIDefinition{
12150 Schema: spec.Schema{
12151 SchemaProps: spec.SchemaProps{
12152 Description: "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).",
12153 Type: []string{"object"},
12154 Properties: map[string]spec.Schema{
12155 "audience": {
12156 SchemaProps: spec.SchemaProps{
12157 Description: "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.",
12158 Type: []string{"string"},
12159 Format: "",
12160 },
12161 },
12162 "expirationSeconds": {
12163 SchemaProps: spec.SchemaProps{
12164 Description: "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.",
12165 Type: []string{"integer"},
12166 Format: "int64",
12167 },
12168 },
12169 "path": {
12170 SchemaProps: spec.SchemaProps{
12171 Description: "path is the path relative to the mount point of the file to project the token into.",
12172 Default: "",
12173 Type: []string{"string"},
12174 Format: "",
12175 },
12176 },
12177 },
12178 Required: []string{"path"},
12179 },
12180 },
12181 }
12182 }
12183
12184 func schema_k8sio_api_core_v1_ServiceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
12185 return common.OpenAPIDefinition{
12186 Schema: spec.Schema{
12187 SchemaProps: spec.SchemaProps{
12188 Description: "ServiceList holds a list of services.",
12189 Type: []string{"object"},
12190 Properties: map[string]spec.Schema{
12191 "kind": {
12192 SchemaProps: spec.SchemaProps{
12193 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12194 Type: []string{"string"},
12195 Format: "",
12196 },
12197 },
12198 "apiVersion": {
12199 SchemaProps: spec.SchemaProps{
12200 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
12201 Type: []string{"string"},
12202 Format: "",
12203 },
12204 },
12205 "metadata": {
12206 SchemaProps: spec.SchemaProps{
12207 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12208 Default: map[string]interface{}{},
12209 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
12210 },
12211 },
12212 "items": {
12213 SchemaProps: spec.SchemaProps{
12214 Description: "List of services",
12215 Type: []string{"array"},
12216 Items: &spec.SchemaOrArray{
12217 Schema: &spec.Schema{
12218 SchemaProps: spec.SchemaProps{
12219 Default: map[string]interface{}{},
12220 Ref: ref("k8s.io/api/core/v1.Service"),
12221 },
12222 },
12223 },
12224 },
12225 },
12226 },
12227 Required: []string{"items"},
12228 },
12229 },
12230 Dependencies: []string{
12231 "k8s.io/api/core/v1.Service", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
12232 }
12233 }
12234
12235 func schema_k8sio_api_core_v1_ServicePort(ref common.ReferenceCallback) common.OpenAPIDefinition {
12236 return common.OpenAPIDefinition{
12237 Schema: spec.Schema{
12238 SchemaProps: spec.SchemaProps{
12239 Description: "ServicePort contains information on service's port.",
12240 Type: []string{"object"},
12241 Properties: map[string]spec.Schema{
12242 "name": {
12243 SchemaProps: spec.SchemaProps{
12244 Description: "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.",
12245 Type: []string{"string"},
12246 Format: "",
12247 },
12248 },
12249 "protocol": {
12250 SchemaProps: spec.SchemaProps{
12251 Description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.",
12252 Default: "TCP",
12253 Type: []string{"string"},
12254 Format: "",
12255 Enum: []interface{}{"SCTP", "TCP", "UDP"},
12256 },
12257 },
12258 "appProtocol": {
12259 SchemaProps: spec.SchemaProps{
12260 Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.",
12261 Type: []string{"string"},
12262 Format: "",
12263 },
12264 },
12265 "port": {
12266 SchemaProps: spec.SchemaProps{
12267 Description: "The port that will be exposed by this service.",
12268 Default: 0,
12269 Type: []string{"integer"},
12270 Format: "int32",
12271 },
12272 },
12273 "targetPort": {
12274 SchemaProps: spec.SchemaProps{
12275 Description: "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service",
12276 Default: map[string]interface{}{},
12277 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
12278 },
12279 },
12280 "nodePort": {
12281 SchemaProps: spec.SchemaProps{
12282 Description: "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport",
12283 Type: []string{"integer"},
12284 Format: "int32",
12285 },
12286 },
12287 },
12288 Required: []string{"port"},
12289 },
12290 },
12291 Dependencies: []string{
12292 "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
12293 }
12294 }
12295
12296 func schema_k8sio_api_core_v1_ServiceProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12297 return common.OpenAPIDefinition{
12298 Schema: spec.Schema{
12299 SchemaProps: spec.SchemaProps{
12300 Description: "ServiceProxyOptions is the query options to a Service's proxy call.",
12301 Type: []string{"object"},
12302 Properties: map[string]spec.Schema{
12303 "kind": {
12304 SchemaProps: spec.SchemaProps{
12305 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
12306 Type: []string{"string"},
12307 Format: "",
12308 },
12309 },
12310 "apiVersion": {
12311 SchemaProps: spec.SchemaProps{
12312 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
12313 Type: []string{"string"},
12314 Format: "",
12315 },
12316 },
12317 "path": {
12318 SchemaProps: spec.SchemaProps{
12319 Description: "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
12320 Type: []string{"string"},
12321 Format: "",
12322 },
12323 },
12324 },
12325 },
12326 },
12327 }
12328 }
12329
12330 func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
12331 return common.OpenAPIDefinition{
12332 Schema: spec.Schema{
12333 SchemaProps: spec.SchemaProps{
12334 Description: "ServiceSpec describes the attributes that a user creates on a service.",
12335 Type: []string{"object"},
12336 Properties: map[string]spec.Schema{
12337 "ports": {
12338 VendorExtensible: spec.VendorExtensible{
12339 Extensions: spec.Extensions{
12340 "x-kubernetes-list-map-keys": []interface{}{
12341 "port",
12342 "protocol",
12343 },
12344 "x-kubernetes-list-type": "map",
12345 "x-kubernetes-patch-merge-key": "port",
12346 "x-kubernetes-patch-strategy": "merge",
12347 },
12348 },
12349 SchemaProps: spec.SchemaProps{
12350 Description: "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
12351 Type: []string{"array"},
12352 Items: &spec.SchemaOrArray{
12353 Schema: &spec.Schema{
12354 SchemaProps: spec.SchemaProps{
12355 Default: map[string]interface{}{},
12356 Ref: ref("k8s.io/api/core/v1.ServicePort"),
12357 },
12358 },
12359 },
12360 },
12361 },
12362 "selector": {
12363 VendorExtensible: spec.VendorExtensible{
12364 Extensions: spec.Extensions{
12365 "x-kubernetes-map-type": "atomic",
12366 },
12367 },
12368 SchemaProps: spec.SchemaProps{
12369 Description: "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/",
12370 Type: []string{"object"},
12371 AdditionalProperties: &spec.SchemaOrBool{
12372 Allows: true,
12373 Schema: &spec.Schema{
12374 SchemaProps: spec.SchemaProps{
12375 Default: "",
12376 Type: []string{"string"},
12377 Format: "",
12378 },
12379 },
12380 },
12381 },
12382 },
12383 "clusterIP": {
12384 SchemaProps: spec.SchemaProps{
12385 Description: "clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
12386 Type: []string{"string"},
12387 Format: "",
12388 },
12389 },
12390 "clusterIPs": {
12391 VendorExtensible: spec.VendorExtensible{
12392 Extensions: spec.Extensions{
12393 "x-kubernetes-list-type": "atomic",
12394 },
12395 },
12396 SchemaProps: spec.SchemaProps{
12397 Description: "ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
12398 Type: []string{"array"},
12399 Items: &spec.SchemaOrArray{
12400 Schema: &spec.Schema{
12401 SchemaProps: spec.SchemaProps{
12402 Default: "",
12403 Type: []string{"string"},
12404 Format: "",
12405 },
12406 },
12407 },
12408 },
12409 },
12410 "type": {
12411 SchemaProps: spec.SchemaProps{
12412 Description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.",
12413 Type: []string{"string"},
12414 Format: "",
12415 Enum: []interface{}{"ClusterIP", "ExternalName", "LoadBalancer", "NodePort"},
12416 },
12417 },
12418 "externalIPs": {
12419 VendorExtensible: spec.VendorExtensible{
12420 Extensions: spec.Extensions{
12421 "x-kubernetes-list-type": "atomic",
12422 },
12423 },
12424 SchemaProps: spec.SchemaProps{
12425 Description: "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.",
12426 Type: []string{"array"},
12427 Items: &spec.SchemaOrArray{
12428 Schema: &spec.Schema{
12429 SchemaProps: spec.SchemaProps{
12430 Default: "",
12431 Type: []string{"string"},
12432 Format: "",
12433 },
12434 },
12435 },
12436 },
12437 },
12438 "sessionAffinity": {
12439 SchemaProps: spec.SchemaProps{
12440 Description: "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n\nPossible enum values:\n - `\"ClientIP\"` is the Client IP based.\n - `\"None\"` - no session affinity.",
12441 Type: []string{"string"},
12442 Format: "",
12443 Enum: []interface{}{"ClientIP", "None"},
12444 },
12445 },
12446 "loadBalancerIP": {
12447 SchemaProps: spec.SchemaProps{
12448 Description: "Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available.",
12449 Type: []string{"string"},
12450 Format: "",
12451 },
12452 },
12453 "loadBalancerSourceRanges": {
12454 VendorExtensible: spec.VendorExtensible{
12455 Extensions: spec.Extensions{
12456 "x-kubernetes-list-type": "atomic",
12457 },
12458 },
12459 SchemaProps: spec.SchemaProps{
12460 Description: "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/",
12461 Type: []string{"array"},
12462 Items: &spec.SchemaOrArray{
12463 Schema: &spec.Schema{
12464 SchemaProps: spec.SchemaProps{
12465 Default: "",
12466 Type: []string{"string"},
12467 Format: "",
12468 },
12469 },
12470 },
12471 },
12472 },
12473 "externalName": {
12474 SchemaProps: spec.SchemaProps{
12475 Description: "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".",
12476 Type: []string{"string"},
12477 Format: "",
12478 },
12479 },
12480 "externalTrafficPolicy": {
12481 SchemaProps: spec.SchemaProps{
12482 Description: "externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node.\n\nPossible enum values:\n - `\"Cluster\"`\n - `\"Cluster\"` routes traffic to all endpoints.\n - `\"Local\"`\n - `\"Local\"` preserves the source IP of the traffic by routing only to endpoints on the same node as the traffic was received on (dropping the traffic if there are no local endpoints).",
12483 Type: []string{"string"},
12484 Format: "",
12485 Enum: []interface{}{"Cluster", "Cluster", "Local", "Local"},
12486 },
12487 },
12488 "healthCheckNodePort": {
12489 SchemaProps: spec.SchemaProps{
12490 Description: "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set.",
12491 Type: []string{"integer"},
12492 Format: "int32",
12493 },
12494 },
12495 "publishNotReadyAddresses": {
12496 SchemaProps: spec.SchemaProps{
12497 Description: "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.",
12498 Type: []string{"boolean"},
12499 Format: "",
12500 },
12501 },
12502 "sessionAffinityConfig": {
12503 SchemaProps: spec.SchemaProps{
12504 Description: "sessionAffinityConfig contains the configurations of session affinity.",
12505 Ref: ref("k8s.io/api/core/v1.SessionAffinityConfig"),
12506 },
12507 },
12508 "ipFamilies": {
12509 VendorExtensible: spec.VendorExtensible{
12510 Extensions: spec.Extensions{
12511 "x-kubernetes-list-type": "atomic",
12512 },
12513 },
12514 SchemaProps: spec.SchemaProps{
12515 Description: "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.",
12516 Type: []string{"array"},
12517 Items: &spec.SchemaOrArray{
12518 Schema: &spec.Schema{
12519 SchemaProps: spec.SchemaProps{
12520 Default: "",
12521 Type: []string{"string"},
12522 Format: "",
12523 },
12524 },
12525 },
12526 },
12527 },
12528 "ipFamilyPolicy": {
12529 SchemaProps: spec.SchemaProps{
12530 Description: "IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.\n\nPossible enum values:\n - `\"PreferDualStack\"` indicates that this service prefers dual-stack when the cluster is configured for dual-stack. If the cluster is not configured for dual-stack the service will be assigned a single IPFamily. If the IPFamily is not set in service.spec.ipFamilies then the service will be assigned the default IPFamily configured on the cluster\n - `\"RequireDualStack\"` indicates that this service requires dual-stack. Using IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If service.spec.ipFamilies was not provided then it will be assigned according to how they are configured on the cluster. If service.spec.ipFamilies has only one entry then the alternative IPFamily will be added by apiserver\n - `\"SingleStack\"` indicates that this service is required to have a single IPFamily. The IPFamily assigned is based on the default IPFamily used by the cluster or as identified by service.spec.ipFamilies field",
12531 Type: []string{"string"},
12532 Format: "",
12533 Enum: []interface{}{"PreferDualStack", "RequireDualStack", "SingleStack"},
12534 },
12535 },
12536 "allocateLoadBalancerNodePorts": {
12537 SchemaProps: spec.SchemaProps{
12538 Description: "allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.",
12539 Type: []string{"boolean"},
12540 Format: "",
12541 },
12542 },
12543 "loadBalancerClass": {
12544 SchemaProps: spec.SchemaProps{
12545 Description: "loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.",
12546 Type: []string{"string"},
12547 Format: "",
12548 },
12549 },
12550 "internalTrafficPolicy": {
12551 SchemaProps: spec.SchemaProps{
12552 Description: "InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features).\n\nPossible enum values:\n - `\"Cluster\"` routes traffic to all endpoints.\n - `\"Local\"` routes traffic only to endpoints on the same node as the client pod (dropping the traffic if there are no local endpoints).",
12553 Type: []string{"string"},
12554 Format: "",
12555 Enum: []interface{}{"Cluster", "Local"},
12556 },
12557 },
12558 "trafficDistribution": {
12559 SchemaProps: spec.SchemaProps{
12560 Description: "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone).",
12561 Type: []string{"string"},
12562 Format: "",
12563 },
12564 },
12565 },
12566 },
12567 },
12568 Dependencies: []string{
12569 "k8s.io/api/core/v1.ServicePort", "k8s.io/api/core/v1.SessionAffinityConfig"},
12570 }
12571 }
12572
12573 func schema_k8sio_api_core_v1_ServiceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
12574 return common.OpenAPIDefinition{
12575 Schema: spec.Schema{
12576 SchemaProps: spec.SchemaProps{
12577 Description: "ServiceStatus represents the current status of a service.",
12578 Type: []string{"object"},
12579 Properties: map[string]spec.Schema{
12580 "loadBalancer": {
12581 SchemaProps: spec.SchemaProps{
12582 Description: "LoadBalancer contains the current status of the load-balancer, if one is present.",
12583 Default: map[string]interface{}{},
12584 Ref: ref("k8s.io/api/core/v1.LoadBalancerStatus"),
12585 },
12586 },
12587 "conditions": {
12588 VendorExtensible: spec.VendorExtensible{
12589 Extensions: spec.Extensions{
12590 "x-kubernetes-list-map-keys": []interface{}{
12591 "type",
12592 },
12593 "x-kubernetes-list-type": "map",
12594 "x-kubernetes-patch-merge-key": "type",
12595 "x-kubernetes-patch-strategy": "merge",
12596 },
12597 },
12598 SchemaProps: spec.SchemaProps{
12599 Description: "Current service state",
12600 Type: []string{"array"},
12601 Items: &spec.SchemaOrArray{
12602 Schema: &spec.Schema{
12603 SchemaProps: spec.SchemaProps{
12604 Default: map[string]interface{}{},
12605 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Condition"),
12606 },
12607 },
12608 },
12609 },
12610 },
12611 },
12612 },
12613 },
12614 Dependencies: []string{
12615 "k8s.io/api/core/v1.LoadBalancerStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Condition"},
12616 }
12617 }
12618
12619 func schema_k8sio_api_core_v1_SessionAffinityConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
12620 return common.OpenAPIDefinition{
12621 Schema: spec.Schema{
12622 SchemaProps: spec.SchemaProps{
12623 Description: "SessionAffinityConfig represents the configurations of session affinity.",
12624 Type: []string{"object"},
12625 Properties: map[string]spec.Schema{
12626 "clientIP": {
12627 SchemaProps: spec.SchemaProps{
12628 Description: "clientIP contains the configurations of Client IP based session affinity.",
12629 Ref: ref("k8s.io/api/core/v1.ClientIPConfig"),
12630 },
12631 },
12632 },
12633 },
12634 },
12635 Dependencies: []string{
12636 "k8s.io/api/core/v1.ClientIPConfig"},
12637 }
12638 }
12639
12640 func schema_k8sio_api_core_v1_SleepAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
12641 return common.OpenAPIDefinition{
12642 Schema: spec.Schema{
12643 SchemaProps: spec.SchemaProps{
12644 Description: "SleepAction describes a \"sleep\" action.",
12645 Type: []string{"object"},
12646 Properties: map[string]spec.Schema{
12647 "seconds": {
12648 SchemaProps: spec.SchemaProps{
12649 Description: "Seconds is the number of seconds to sleep.",
12650 Default: 0,
12651 Type: []string{"integer"},
12652 Format: "int64",
12653 },
12654 },
12655 },
12656 Required: []string{"seconds"},
12657 },
12658 },
12659 }
12660 }
12661
12662 func schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12663 return common.OpenAPIDefinition{
12664 Schema: spec.Schema{
12665 SchemaProps: spec.SchemaProps{
12666 Description: "Represents a StorageOS persistent volume resource.",
12667 Type: []string{"object"},
12668 Properties: map[string]spec.Schema{
12669 "volumeName": {
12670 SchemaProps: spec.SchemaProps{
12671 Description: "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.",
12672 Type: []string{"string"},
12673 Format: "",
12674 },
12675 },
12676 "volumeNamespace": {
12677 SchemaProps: spec.SchemaProps{
12678 Description: "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.",
12679 Type: []string{"string"},
12680 Format: "",
12681 },
12682 },
12683 "fsType": {
12684 SchemaProps: spec.SchemaProps{
12685 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
12686 Type: []string{"string"},
12687 Format: "",
12688 },
12689 },
12690 "readOnly": {
12691 SchemaProps: spec.SchemaProps{
12692 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
12693 Type: []string{"boolean"},
12694 Format: "",
12695 },
12696 },
12697 "secretRef": {
12698 SchemaProps: spec.SchemaProps{
12699 Description: "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.",
12700 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
12701 },
12702 },
12703 },
12704 },
12705 },
12706 Dependencies: []string{
12707 "k8s.io/api/core/v1.ObjectReference"},
12708 }
12709 }
12710
12711 func schema_k8sio_api_core_v1_StorageOSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12712 return common.OpenAPIDefinition{
12713 Schema: spec.Schema{
12714 SchemaProps: spec.SchemaProps{
12715 Description: "Represents a StorageOS persistent volume resource.",
12716 Type: []string{"object"},
12717 Properties: map[string]spec.Schema{
12718 "volumeName": {
12719 SchemaProps: spec.SchemaProps{
12720 Description: "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.",
12721 Type: []string{"string"},
12722 Format: "",
12723 },
12724 },
12725 "volumeNamespace": {
12726 SchemaProps: spec.SchemaProps{
12727 Description: "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.",
12728 Type: []string{"string"},
12729 Format: "",
12730 },
12731 },
12732 "fsType": {
12733 SchemaProps: spec.SchemaProps{
12734 Description: "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
12735 Type: []string{"string"},
12736 Format: "",
12737 },
12738 },
12739 "readOnly": {
12740 SchemaProps: spec.SchemaProps{
12741 Description: "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
12742 Type: []string{"boolean"},
12743 Format: "",
12744 },
12745 },
12746 "secretRef": {
12747 SchemaProps: spec.SchemaProps{
12748 Description: "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.",
12749 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
12750 },
12751 },
12752 },
12753 },
12754 },
12755 Dependencies: []string{
12756 "k8s.io/api/core/v1.LocalObjectReference"},
12757 }
12758 }
12759
12760 func schema_k8sio_api_core_v1_Sysctl(ref common.ReferenceCallback) common.OpenAPIDefinition {
12761 return common.OpenAPIDefinition{
12762 Schema: spec.Schema{
12763 SchemaProps: spec.SchemaProps{
12764 Description: "Sysctl defines a kernel parameter to be set",
12765 Type: []string{"object"},
12766 Properties: map[string]spec.Schema{
12767 "name": {
12768 SchemaProps: spec.SchemaProps{
12769 Description: "Name of a property to set",
12770 Default: "",
12771 Type: []string{"string"},
12772 Format: "",
12773 },
12774 },
12775 "value": {
12776 SchemaProps: spec.SchemaProps{
12777 Description: "Value of a property to set",
12778 Default: "",
12779 Type: []string{"string"},
12780 Format: "",
12781 },
12782 },
12783 },
12784 Required: []string{"name", "value"},
12785 },
12786 },
12787 }
12788 }
12789
12790 func schema_k8sio_api_core_v1_TCPSocketAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
12791 return common.OpenAPIDefinition{
12792 Schema: spec.Schema{
12793 SchemaProps: spec.SchemaProps{
12794 Description: "TCPSocketAction describes an action based on opening a socket",
12795 Type: []string{"object"},
12796 Properties: map[string]spec.Schema{
12797 "port": {
12798 SchemaProps: spec.SchemaProps{
12799 Description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.",
12800 Default: map[string]interface{}{},
12801 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
12802 },
12803 },
12804 "host": {
12805 SchemaProps: spec.SchemaProps{
12806 Description: "Optional: Host name to connect to, defaults to the pod IP.",
12807 Type: []string{"string"},
12808 Format: "",
12809 },
12810 },
12811 },
12812 Required: []string{"port"},
12813 },
12814 },
12815 Dependencies: []string{
12816 "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
12817 }
12818 }
12819
12820 func schema_k8sio_api_core_v1_Taint(ref common.ReferenceCallback) common.OpenAPIDefinition {
12821 return common.OpenAPIDefinition{
12822 Schema: spec.Schema{
12823 SchemaProps: spec.SchemaProps{
12824 Description: "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
12825 Type: []string{"object"},
12826 Properties: map[string]spec.Schema{
12827 "key": {
12828 SchemaProps: spec.SchemaProps{
12829 Description: "Required. The taint key to be applied to a node.",
12830 Default: "",
12831 Type: []string{"string"},
12832 Format: "",
12833 },
12834 },
12835 "value": {
12836 SchemaProps: spec.SchemaProps{
12837 Description: "The taint value corresponding to the taint key.",
12838 Type: []string{"string"},
12839 Format: "",
12840 },
12841 },
12842 "effect": {
12843 SchemaProps: spec.SchemaProps{
12844 Description: "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.",
12845 Default: "",
12846 Type: []string{"string"},
12847 Format: "",
12848 Enum: []interface{}{"NoExecute", "NoSchedule", "PreferNoSchedule"},
12849 },
12850 },
12851 "timeAdded": {
12852 SchemaProps: spec.SchemaProps{
12853 Description: "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
12854 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
12855 },
12856 },
12857 },
12858 Required: []string{"key", "effect"},
12859 },
12860 },
12861 Dependencies: []string{
12862 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
12863 }
12864 }
12865
12866 func schema_k8sio_api_core_v1_Toleration(ref common.ReferenceCallback) common.OpenAPIDefinition {
12867 return common.OpenAPIDefinition{
12868 Schema: spec.Schema{
12869 SchemaProps: spec.SchemaProps{
12870 Description: "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.",
12871 Type: []string{"object"},
12872 Properties: map[string]spec.Schema{
12873 "key": {
12874 SchemaProps: spec.SchemaProps{
12875 Description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.",
12876 Type: []string{"string"},
12877 Format: "",
12878 },
12879 },
12880 "operator": {
12881 SchemaProps: spec.SchemaProps{
12882 Description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`",
12883 Type: []string{"string"},
12884 Format: "",
12885 Enum: []interface{}{"Equal", "Exists"},
12886 },
12887 },
12888 "value": {
12889 SchemaProps: spec.SchemaProps{
12890 Description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.",
12891 Type: []string{"string"},
12892 Format: "",
12893 },
12894 },
12895 "effect": {
12896 SchemaProps: spec.SchemaProps{
12897 Description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.",
12898 Type: []string{"string"},
12899 Format: "",
12900 Enum: []interface{}{"NoExecute", "NoSchedule", "PreferNoSchedule"},
12901 },
12902 },
12903 "tolerationSeconds": {
12904 SchemaProps: spec.SchemaProps{
12905 Description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.",
12906 Type: []string{"integer"},
12907 Format: "int64",
12908 },
12909 },
12910 },
12911 },
12912 },
12913 }
12914 }
12915
12916 func schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
12917 return common.OpenAPIDefinition{
12918 Schema: spec.Schema{
12919 SchemaProps: spec.SchemaProps{
12920 Description: "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.",
12921 Type: []string{"object"},
12922 Properties: map[string]spec.Schema{
12923 "key": {
12924 SchemaProps: spec.SchemaProps{
12925 Description: "The label key that the selector applies to.",
12926 Default: "",
12927 Type: []string{"string"},
12928 Format: "",
12929 },
12930 },
12931 "values": {
12932 VendorExtensible: spec.VendorExtensible{
12933 Extensions: spec.Extensions{
12934 "x-kubernetes-list-type": "atomic",
12935 },
12936 },
12937 SchemaProps: spec.SchemaProps{
12938 Description: "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.",
12939 Type: []string{"array"},
12940 Items: &spec.SchemaOrArray{
12941 Schema: &spec.Schema{
12942 SchemaProps: spec.SchemaProps{
12943 Default: "",
12944 Type: []string{"string"},
12945 Format: "",
12946 },
12947 },
12948 },
12949 },
12950 },
12951 },
12952 Required: []string{"key", "values"},
12953 },
12954 },
12955 }
12956 }
12957
12958 func schema_k8sio_api_core_v1_TopologySelectorTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
12959 return common.OpenAPIDefinition{
12960 Schema: spec.Schema{
12961 SchemaProps: spec.SchemaProps{
12962 Description: "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.",
12963 Type: []string{"object"},
12964 Properties: map[string]spec.Schema{
12965 "matchLabelExpressions": {
12966 VendorExtensible: spec.VendorExtensible{
12967 Extensions: spec.Extensions{
12968 "x-kubernetes-list-type": "atomic",
12969 },
12970 },
12971 SchemaProps: spec.SchemaProps{
12972 Description: "A list of topology selector requirements by labels.",
12973 Type: []string{"array"},
12974 Items: &spec.SchemaOrArray{
12975 Schema: &spec.Schema{
12976 SchemaProps: spec.SchemaProps{
12977 Default: map[string]interface{}{},
12978 Ref: ref("k8s.io/api/core/v1.TopologySelectorLabelRequirement"),
12979 },
12980 },
12981 },
12982 },
12983 },
12984 },
12985 },
12986 VendorExtensible: spec.VendorExtensible{
12987 Extensions: spec.Extensions{
12988 "x-kubernetes-map-type": "atomic",
12989 },
12990 },
12991 },
12992 Dependencies: []string{
12993 "k8s.io/api/core/v1.TopologySelectorLabelRequirement"},
12994 }
12995 }
12996
12997 func schema_k8sio_api_core_v1_TopologySpreadConstraint(ref common.ReferenceCallback) common.OpenAPIDefinition {
12998 return common.OpenAPIDefinition{
12999 Schema: spec.Schema{
13000 SchemaProps: spec.SchemaProps{
13001 Description: "TopologySpreadConstraint specifies how to spread matching pods among the given topology.",
13002 Type: []string{"object"},
13003 Properties: map[string]spec.Schema{
13004 "maxSkew": {
13005 SchemaProps: spec.SchemaProps{
13006 Description: "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.",
13007 Default: 0,
13008 Type: []string{"integer"},
13009 Format: "int32",
13010 },
13011 },
13012 "topologyKey": {
13013 SchemaProps: spec.SchemaProps{
13014 Description: "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.",
13015 Default: "",
13016 Type: []string{"string"},
13017 Format: "",
13018 },
13019 },
13020 "whenUnsatisfiable": {
13021 SchemaProps: spec.SchemaProps{
13022 Description: "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.\n\nPossible enum values:\n - `\"DoNotSchedule\"` instructs the scheduler not to schedule the pod when constraints are not satisfied.\n - `\"ScheduleAnyway\"` instructs the scheduler to schedule the pod even if constraints are not satisfied.",
13023 Default: "",
13024 Type: []string{"string"},
13025 Format: "",
13026 Enum: []interface{}{"DoNotSchedule", "ScheduleAnyway"},
13027 },
13028 },
13029 "labelSelector": {
13030 SchemaProps: spec.SchemaProps{
13031 Description: "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.",
13032 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
13033 },
13034 },
13035 "minDomains": {
13036 SchemaProps: spec.SchemaProps{
13037 Description: "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.",
13038 Type: []string{"integer"},
13039 Format: "int32",
13040 },
13041 },
13042 "nodeAffinityPolicy": {
13043 SchemaProps: spec.SchemaProps{
13044 Description: "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.",
13045 Type: []string{"string"},
13046 Format: "",
13047 Enum: []interface{}{"Honor", "Ignore"},
13048 },
13049 },
13050 "nodeTaintsPolicy": {
13051 SchemaProps: spec.SchemaProps{
13052 Description: "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.",
13053 Type: []string{"string"},
13054 Format: "",
13055 Enum: []interface{}{"Honor", "Ignore"},
13056 },
13057 },
13058 "matchLabelKeys": {
13059 VendorExtensible: spec.VendorExtensible{
13060 Extensions: spec.Extensions{
13061 "x-kubernetes-list-type": "atomic",
13062 },
13063 },
13064 SchemaProps: spec.SchemaProps{
13065 Description: "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).",
13066 Type: []string{"array"},
13067 Items: &spec.SchemaOrArray{
13068 Schema: &spec.Schema{
13069 SchemaProps: spec.SchemaProps{
13070 Default: "",
13071 Type: []string{"string"},
13072 Format: "",
13073 },
13074 },
13075 },
13076 },
13077 },
13078 },
13079 Required: []string{"maxSkew", "topologyKey", "whenUnsatisfiable"},
13080 },
13081 },
13082 Dependencies: []string{
13083 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
13084 }
13085 }
13086
13087 func schema_k8sio_api_core_v1_TypedLocalObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
13088 return common.OpenAPIDefinition{
13089 Schema: spec.Schema{
13090 SchemaProps: spec.SchemaProps{
13091 Description: "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
13092 Type: []string{"object"},
13093 Properties: map[string]spec.Schema{
13094 "apiGroup": {
13095 SchemaProps: spec.SchemaProps{
13096 Description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
13097 Type: []string{"string"},
13098 Format: "",
13099 },
13100 },
13101 "kind": {
13102 SchemaProps: spec.SchemaProps{
13103 Description: "Kind is the type of resource being referenced",
13104 Default: "",
13105 Type: []string{"string"},
13106 Format: "",
13107 },
13108 },
13109 "name": {
13110 SchemaProps: spec.SchemaProps{
13111 Description: "Name is the name of resource being referenced",
13112 Default: "",
13113 Type: []string{"string"},
13114 Format: "",
13115 },
13116 },
13117 },
13118 Required: []string{"kind", "name"},
13119 },
13120 VendorExtensible: spec.VendorExtensible{
13121 Extensions: spec.Extensions{
13122 "x-kubernetes-map-type": "atomic",
13123 },
13124 },
13125 },
13126 }
13127 }
13128
13129 func schema_k8sio_api_core_v1_TypedObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
13130 return common.OpenAPIDefinition{
13131 Schema: spec.Schema{
13132 SchemaProps: spec.SchemaProps{
13133 Type: []string{"object"},
13134 Properties: map[string]spec.Schema{
13135 "apiGroup": {
13136 SchemaProps: spec.SchemaProps{
13137 Description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
13138 Type: []string{"string"},
13139 Format: "",
13140 },
13141 },
13142 "kind": {
13143 SchemaProps: spec.SchemaProps{
13144 Description: "Kind is the type of resource being referenced",
13145 Default: "",
13146 Type: []string{"string"},
13147 Format: "",
13148 },
13149 },
13150 "name": {
13151 SchemaProps: spec.SchemaProps{
13152 Description: "Name is the name of resource being referenced",
13153 Default: "",
13154 Type: []string{"string"},
13155 Format: "",
13156 },
13157 },
13158 "namespace": {
13159 SchemaProps: spec.SchemaProps{
13160 Description: "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.",
13161 Type: []string{"string"},
13162 Format: "",
13163 },
13164 },
13165 },
13166 Required: []string{"kind", "name"},
13167 },
13168 },
13169 }
13170 }
13171
13172 func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAPIDefinition {
13173 return common.OpenAPIDefinition{
13174 Schema: spec.Schema{
13175 SchemaProps: spec.SchemaProps{
13176 Description: "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
13177 Type: []string{"object"},
13178 Properties: map[string]spec.Schema{
13179 "name": {
13180 SchemaProps: spec.SchemaProps{
13181 Description: "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
13182 Default: "",
13183 Type: []string{"string"},
13184 Format: "",
13185 },
13186 },
13187 "hostPath": {
13188 SchemaProps: spec.SchemaProps{
13189 Description: "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
13190 Ref: ref("k8s.io/api/core/v1.HostPathVolumeSource"),
13191 },
13192 },
13193 "emptyDir": {
13194 SchemaProps: spec.SchemaProps{
13195 Description: "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
13196 Ref: ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
13197 },
13198 },
13199 "gcePersistentDisk": {
13200 SchemaProps: spec.SchemaProps{
13201 Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
13202 Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
13203 },
13204 },
13205 "awsElasticBlockStore": {
13206 SchemaProps: spec.SchemaProps{
13207 Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
13208 Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
13209 },
13210 },
13211 "gitRepo": {
13212 SchemaProps: spec.SchemaProps{
13213 Description: "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
13214 Ref: ref("k8s.io/api/core/v1.GitRepoVolumeSource"),
13215 },
13216 },
13217 "secret": {
13218 SchemaProps: spec.SchemaProps{
13219 Description: "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
13220 Ref: ref("k8s.io/api/core/v1.SecretVolumeSource"),
13221 },
13222 },
13223 "nfs": {
13224 SchemaProps: spec.SchemaProps{
13225 Description: "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
13226 Ref: ref("k8s.io/api/core/v1.NFSVolumeSource"),
13227 },
13228 },
13229 "iscsi": {
13230 SchemaProps: spec.SchemaProps{
13231 Description: "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md",
13232 Ref: ref("k8s.io/api/core/v1.ISCSIVolumeSource"),
13233 },
13234 },
13235 "glusterfs": {
13236 SchemaProps: spec.SchemaProps{
13237 Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
13238 Ref: ref("k8s.io/api/core/v1.GlusterfsVolumeSource"),
13239 },
13240 },
13241 "persistentVolumeClaim": {
13242 SchemaProps: spec.SchemaProps{
13243 Description: "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
13244 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
13245 },
13246 },
13247 "rbd": {
13248 SchemaProps: spec.SchemaProps{
13249 Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
13250 Ref: ref("k8s.io/api/core/v1.RBDVolumeSource"),
13251 },
13252 },
13253 "flexVolume": {
13254 SchemaProps: spec.SchemaProps{
13255 Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
13256 Ref: ref("k8s.io/api/core/v1.FlexVolumeSource"),
13257 },
13258 },
13259 "cinder": {
13260 SchemaProps: spec.SchemaProps{
13261 Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
13262 Ref: ref("k8s.io/api/core/v1.CinderVolumeSource"),
13263 },
13264 },
13265 "cephfs": {
13266 SchemaProps: spec.SchemaProps{
13267 Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
13268 Ref: ref("k8s.io/api/core/v1.CephFSVolumeSource"),
13269 },
13270 },
13271 "flocker": {
13272 SchemaProps: spec.SchemaProps{
13273 Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
13274 Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"),
13275 },
13276 },
13277 "downwardAPI": {
13278 SchemaProps: spec.SchemaProps{
13279 Description: "downwardAPI represents downward API about the pod that should populate this volume",
13280 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeSource"),
13281 },
13282 },
13283 "fc": {
13284 SchemaProps: spec.SchemaProps{
13285 Description: "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
13286 Ref: ref("k8s.io/api/core/v1.FCVolumeSource"),
13287 },
13288 },
13289 "azureFile": {
13290 SchemaProps: spec.SchemaProps{
13291 Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.",
13292 Ref: ref("k8s.io/api/core/v1.AzureFileVolumeSource"),
13293 },
13294 },
13295 "configMap": {
13296 SchemaProps: spec.SchemaProps{
13297 Description: "configMap represents a configMap that should populate this volume",
13298 Ref: ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
13299 },
13300 },
13301 "vsphereVolume": {
13302 SchemaProps: spec.SchemaProps{
13303 Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
13304 Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
13305 },
13306 },
13307 "quobyte": {
13308 SchemaProps: spec.SchemaProps{
13309 Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
13310 Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
13311 },
13312 },
13313 "azureDisk": {
13314 SchemaProps: spec.SchemaProps{
13315 Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
13316 Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
13317 },
13318 },
13319 "photonPersistentDisk": {
13320 SchemaProps: spec.SchemaProps{
13321 Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
13322 Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
13323 },
13324 },
13325 "projected": {
13326 SchemaProps: spec.SchemaProps{
13327 Description: "projected items for all in one resources secrets, configmaps, and downward API",
13328 Ref: ref("k8s.io/api/core/v1.ProjectedVolumeSource"),
13329 },
13330 },
13331 "portworxVolume": {
13332 SchemaProps: spec.SchemaProps{
13333 Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine",
13334 Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"),
13335 },
13336 },
13337 "scaleIO": {
13338 SchemaProps: spec.SchemaProps{
13339 Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
13340 Ref: ref("k8s.io/api/core/v1.ScaleIOVolumeSource"),
13341 },
13342 },
13343 "storageos": {
13344 SchemaProps: spec.SchemaProps{
13345 Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.",
13346 Ref: ref("k8s.io/api/core/v1.StorageOSVolumeSource"),
13347 },
13348 },
13349 "csi": {
13350 SchemaProps: spec.SchemaProps{
13351 Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).",
13352 Ref: ref("k8s.io/api/core/v1.CSIVolumeSource"),
13353 },
13354 },
13355 "ephemeral": {
13356 SchemaProps: spec.SchemaProps{
13357 Description: "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.",
13358 Ref: ref("k8s.io/api/core/v1.EphemeralVolumeSource"),
13359 },
13360 },
13361 },
13362 Required: []string{"name"},
13363 },
13364 },
13365 Dependencies: []string{
13366 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFileVolumeSource", "k8s.io/api/core/v1.CSIVolumeSource", "k8s.io/api/core/v1.CephFSVolumeSource", "k8s.io/api/core/v1.CinderVolumeSource", "k8s.io/api/core/v1.ConfigMapVolumeSource", "k8s.io/api/core/v1.DownwardAPIVolumeSource", "k8s.io/api/core/v1.EmptyDirVolumeSource", "k8s.io/api/core/v1.EphemeralVolumeSource", "k8s.io/api/core/v1.FCVolumeSource", "k8s.io/api/core/v1.FlexVolumeSource", "k8s.io/api/core/v1.FlockerVolumeSource", "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource", "k8s.io/api/core/v1.GitRepoVolumeSource", "k8s.io/api/core/v1.GlusterfsVolumeSource", "k8s.io/api/core/v1.HostPathVolumeSource", "k8s.io/api/core/v1.ISCSIVolumeSource", "k8s.io/api/core/v1.NFSVolumeSource", "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource", "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource", "k8s.io/api/core/v1.PortworxVolumeSource", "k8s.io/api/core/v1.ProjectedVolumeSource", "k8s.io/api/core/v1.QuobyteVolumeSource", "k8s.io/api/core/v1.RBDVolumeSource", "k8s.io/api/core/v1.ScaleIOVolumeSource", "k8s.io/api/core/v1.SecretVolumeSource", "k8s.io/api/core/v1.StorageOSVolumeSource", "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"},
13367 }
13368 }
13369
13370 func schema_k8sio_api_core_v1_VolumeDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
13371 return common.OpenAPIDefinition{
13372 Schema: spec.Schema{
13373 SchemaProps: spec.SchemaProps{
13374 Description: "volumeDevice describes a mapping of a raw block device within a container.",
13375 Type: []string{"object"},
13376 Properties: map[string]spec.Schema{
13377 "name": {
13378 SchemaProps: spec.SchemaProps{
13379 Description: "name must match the name of a persistentVolumeClaim in the pod",
13380 Default: "",
13381 Type: []string{"string"},
13382 Format: "",
13383 },
13384 },
13385 "devicePath": {
13386 SchemaProps: spec.SchemaProps{
13387 Description: "devicePath is the path inside of the container that the device will be mapped to.",
13388 Default: "",
13389 Type: []string{"string"},
13390 Format: "",
13391 },
13392 },
13393 },
13394 Required: []string{"name", "devicePath"},
13395 },
13396 },
13397 }
13398 }
13399
13400 func schema_k8sio_api_core_v1_VolumeMount(ref common.ReferenceCallback) common.OpenAPIDefinition {
13401 return common.OpenAPIDefinition{
13402 Schema: spec.Schema{
13403 SchemaProps: spec.SchemaProps{
13404 Description: "VolumeMount describes a mounting of a Volume within a container.",
13405 Type: []string{"object"},
13406 Properties: map[string]spec.Schema{
13407 "name": {
13408 SchemaProps: spec.SchemaProps{
13409 Description: "This must match the Name of a Volume.",
13410 Default: "",
13411 Type: []string{"string"},
13412 Format: "",
13413 },
13414 },
13415 "readOnly": {
13416 SchemaProps: spec.SchemaProps{
13417 Description: "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
13418 Type: []string{"boolean"},
13419 Format: "",
13420 },
13421 },
13422 "recursiveReadOnly": {
13423 SchemaProps: spec.SchemaProps{
13424 Description: "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.",
13425 Type: []string{"string"},
13426 Format: "",
13427 },
13428 },
13429 "mountPath": {
13430 SchemaProps: spec.SchemaProps{
13431 Description: "Path within the container at which the volume should be mounted. Must not contain ':'.",
13432 Default: "",
13433 Type: []string{"string"},
13434 Format: "",
13435 },
13436 },
13437 "subPath": {
13438 SchemaProps: spec.SchemaProps{
13439 Description: "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
13440 Type: []string{"string"},
13441 Format: "",
13442 },
13443 },
13444 "mountPropagation": {
13445 SchemaProps: spec.SchemaProps{
13446 Description: "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).\n\nPossible enum values:\n - `\"Bidirectional\"` means that the volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rshared\" in Linux terminology).\n - `\"HostToContainer\"` means that the volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rslave\" in Linux terminology).\n - `\"None\"` means that the volume in a container will not receive new mounts from the host or other containers, and filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode corresponds to \"private\" in Linux terminology.",
13447 Type: []string{"string"},
13448 Format: "",
13449 Enum: []interface{}{"Bidirectional", "HostToContainer", "None"},
13450 },
13451 },
13452 "subPathExpr": {
13453 SchemaProps: spec.SchemaProps{
13454 Description: "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.",
13455 Type: []string{"string"},
13456 Format: "",
13457 },
13458 },
13459 },
13460 Required: []string{"name", "mountPath"},
13461 },
13462 },
13463 }
13464 }
13465
13466 func schema_k8sio_api_core_v1_VolumeMountStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
13467 return common.OpenAPIDefinition{
13468 Schema: spec.Schema{
13469 SchemaProps: spec.SchemaProps{
13470 Description: "VolumeMountStatus shows status of volume mounts.",
13471 Type: []string{"object"},
13472 Properties: map[string]spec.Schema{
13473 "name": {
13474 SchemaProps: spec.SchemaProps{
13475 Description: "Name corresponds to the name of the original VolumeMount.",
13476 Default: "",
13477 Type: []string{"string"},
13478 Format: "",
13479 },
13480 },
13481 "mountPath": {
13482 SchemaProps: spec.SchemaProps{
13483 Description: "MountPath corresponds to the original VolumeMount.",
13484 Default: "",
13485 Type: []string{"string"},
13486 Format: "",
13487 },
13488 },
13489 "readOnly": {
13490 SchemaProps: spec.SchemaProps{
13491 Description: "ReadOnly corresponds to the original VolumeMount.",
13492 Type: []string{"boolean"},
13493 Format: "",
13494 },
13495 },
13496 "recursiveReadOnly": {
13497 SchemaProps: spec.SchemaProps{
13498 Description: "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.",
13499 Type: []string{"string"},
13500 Format: "",
13501 },
13502 },
13503 },
13504 Required: []string{"name", "mountPath"},
13505 },
13506 },
13507 }
13508 }
13509
13510 func schema_k8sio_api_core_v1_VolumeNodeAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
13511 return common.OpenAPIDefinition{
13512 Schema: spec.Schema{
13513 SchemaProps: spec.SchemaProps{
13514 Description: "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
13515 Type: []string{"object"},
13516 Properties: map[string]spec.Schema{
13517 "required": {
13518 SchemaProps: spec.SchemaProps{
13519 Description: "required specifies hard node constraints that must be met.",
13520 Ref: ref("k8s.io/api/core/v1.NodeSelector"),
13521 },
13522 },
13523 },
13524 },
13525 },
13526 Dependencies: []string{
13527 "k8s.io/api/core/v1.NodeSelector"},
13528 }
13529 }
13530
13531 func schema_k8sio_api_core_v1_VolumeProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
13532 return common.OpenAPIDefinition{
13533 Schema: spec.Schema{
13534 SchemaProps: spec.SchemaProps{
13535 Description: "Projection that may be projected along with other supported volume types",
13536 Type: []string{"object"},
13537 Properties: map[string]spec.Schema{
13538 "secret": {
13539 SchemaProps: spec.SchemaProps{
13540 Description: "secret information about the secret data to project",
13541 Ref: ref("k8s.io/api/core/v1.SecretProjection"),
13542 },
13543 },
13544 "downwardAPI": {
13545 SchemaProps: spec.SchemaProps{
13546 Description: "downwardAPI information about the downwardAPI data to project",
13547 Ref: ref("k8s.io/api/core/v1.DownwardAPIProjection"),
13548 },
13549 },
13550 "configMap": {
13551 SchemaProps: spec.SchemaProps{
13552 Description: "configMap information about the configMap data to project",
13553 Ref: ref("k8s.io/api/core/v1.ConfigMapProjection"),
13554 },
13555 },
13556 "serviceAccountToken": {
13557 SchemaProps: spec.SchemaProps{
13558 Description: "serviceAccountToken is information about the serviceAccountToken data to project",
13559 Ref: ref("k8s.io/api/core/v1.ServiceAccountTokenProjection"),
13560 },
13561 },
13562 "clusterTrustBundle": {
13563 SchemaProps: spec.SchemaProps{
13564 Description: "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.",
13565 Ref: ref("k8s.io/api/core/v1.ClusterTrustBundleProjection"),
13566 },
13567 },
13568 },
13569 },
13570 },
13571 Dependencies: []string{
13572 "k8s.io/api/core/v1.ClusterTrustBundleProjection", "k8s.io/api/core/v1.ConfigMapProjection", "k8s.io/api/core/v1.DownwardAPIProjection", "k8s.io/api/core/v1.SecretProjection", "k8s.io/api/core/v1.ServiceAccountTokenProjection"},
13573 }
13574 }
13575
13576 func schema_k8sio_api_core_v1_VolumeResourceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition {
13577 return common.OpenAPIDefinition{
13578 Schema: spec.Schema{
13579 SchemaProps: spec.SchemaProps{
13580 Description: "VolumeResourceRequirements describes the storage resource requirements for a volume.",
13581 Type: []string{"object"},
13582 Properties: map[string]spec.Schema{
13583 "limits": {
13584 SchemaProps: spec.SchemaProps{
13585 Description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
13586 Type: []string{"object"},
13587 AdditionalProperties: &spec.SchemaOrBool{
13588 Allows: true,
13589 Schema: &spec.Schema{
13590 SchemaProps: spec.SchemaProps{
13591 Default: map[string]interface{}{},
13592 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
13593 },
13594 },
13595 },
13596 },
13597 },
13598 "requests": {
13599 SchemaProps: spec.SchemaProps{
13600 Description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
13601 Type: []string{"object"},
13602 AdditionalProperties: &spec.SchemaOrBool{
13603 Allows: true,
13604 Schema: &spec.Schema{
13605 SchemaProps: spec.SchemaProps{
13606 Default: map[string]interface{}{},
13607 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
13608 },
13609 },
13610 },
13611 },
13612 },
13613 },
13614 },
13615 },
13616 Dependencies: []string{
13617 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
13618 }
13619 }
13620
13621 func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
13622 return common.OpenAPIDefinition{
13623 Schema: spec.Schema{
13624 SchemaProps: spec.SchemaProps{
13625 Description: "Represents the source of a volume to mount. Only one of its members may be specified.",
13626 Type: []string{"object"},
13627 Properties: map[string]spec.Schema{
13628 "hostPath": {
13629 SchemaProps: spec.SchemaProps{
13630 Description: "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
13631 Ref: ref("k8s.io/api/core/v1.HostPathVolumeSource"),
13632 },
13633 },
13634 "emptyDir": {
13635 SchemaProps: spec.SchemaProps{
13636 Description: "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
13637 Ref: ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
13638 },
13639 },
13640 "gcePersistentDisk": {
13641 SchemaProps: spec.SchemaProps{
13642 Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
13643 Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
13644 },
13645 },
13646 "awsElasticBlockStore": {
13647 SchemaProps: spec.SchemaProps{
13648 Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
13649 Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
13650 },
13651 },
13652 "gitRepo": {
13653 SchemaProps: spec.SchemaProps{
13654 Description: "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
13655 Ref: ref("k8s.io/api/core/v1.GitRepoVolumeSource"),
13656 },
13657 },
13658 "secret": {
13659 SchemaProps: spec.SchemaProps{
13660 Description: "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
13661 Ref: ref("k8s.io/api/core/v1.SecretVolumeSource"),
13662 },
13663 },
13664 "nfs": {
13665 SchemaProps: spec.SchemaProps{
13666 Description: "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
13667 Ref: ref("k8s.io/api/core/v1.NFSVolumeSource"),
13668 },
13669 },
13670 "iscsi": {
13671 SchemaProps: spec.SchemaProps{
13672 Description: "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md",
13673 Ref: ref("k8s.io/api/core/v1.ISCSIVolumeSource"),
13674 },
13675 },
13676 "glusterfs": {
13677 SchemaProps: spec.SchemaProps{
13678 Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md",
13679 Ref: ref("k8s.io/api/core/v1.GlusterfsVolumeSource"),
13680 },
13681 },
13682 "persistentVolumeClaim": {
13683 SchemaProps: spec.SchemaProps{
13684 Description: "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
13685 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
13686 },
13687 },
13688 "rbd": {
13689 SchemaProps: spec.SchemaProps{
13690 Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md",
13691 Ref: ref("k8s.io/api/core/v1.RBDVolumeSource"),
13692 },
13693 },
13694 "flexVolume": {
13695 SchemaProps: spec.SchemaProps{
13696 Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
13697 Ref: ref("k8s.io/api/core/v1.FlexVolumeSource"),
13698 },
13699 },
13700 "cinder": {
13701 SchemaProps: spec.SchemaProps{
13702 Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
13703 Ref: ref("k8s.io/api/core/v1.CinderVolumeSource"),
13704 },
13705 },
13706 "cephfs": {
13707 SchemaProps: spec.SchemaProps{
13708 Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
13709 Ref: ref("k8s.io/api/core/v1.CephFSVolumeSource"),
13710 },
13711 },
13712 "flocker": {
13713 SchemaProps: spec.SchemaProps{
13714 Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
13715 Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"),
13716 },
13717 },
13718 "downwardAPI": {
13719 SchemaProps: spec.SchemaProps{
13720 Description: "downwardAPI represents downward API about the pod that should populate this volume",
13721 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeSource"),
13722 },
13723 },
13724 "fc": {
13725 SchemaProps: spec.SchemaProps{
13726 Description: "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
13727 Ref: ref("k8s.io/api/core/v1.FCVolumeSource"),
13728 },
13729 },
13730 "azureFile": {
13731 SchemaProps: spec.SchemaProps{
13732 Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.",
13733 Ref: ref("k8s.io/api/core/v1.AzureFileVolumeSource"),
13734 },
13735 },
13736 "configMap": {
13737 SchemaProps: spec.SchemaProps{
13738 Description: "configMap represents a configMap that should populate this volume",
13739 Ref: ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
13740 },
13741 },
13742 "vsphereVolume": {
13743 SchemaProps: spec.SchemaProps{
13744 Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
13745 Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
13746 },
13747 },
13748 "quobyte": {
13749 SchemaProps: spec.SchemaProps{
13750 Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
13751 Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
13752 },
13753 },
13754 "azureDisk": {
13755 SchemaProps: spec.SchemaProps{
13756 Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
13757 Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
13758 },
13759 },
13760 "photonPersistentDisk": {
13761 SchemaProps: spec.SchemaProps{
13762 Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
13763 Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
13764 },
13765 },
13766 "projected": {
13767 SchemaProps: spec.SchemaProps{
13768 Description: "projected items for all in one resources secrets, configmaps, and downward API",
13769 Ref: ref("k8s.io/api/core/v1.ProjectedVolumeSource"),
13770 },
13771 },
13772 "portworxVolume": {
13773 SchemaProps: spec.SchemaProps{
13774 Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine",
13775 Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"),
13776 },
13777 },
13778 "scaleIO": {
13779 SchemaProps: spec.SchemaProps{
13780 Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
13781 Ref: ref("k8s.io/api/core/v1.ScaleIOVolumeSource"),
13782 },
13783 },
13784 "storageos": {
13785 SchemaProps: spec.SchemaProps{
13786 Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.",
13787 Ref: ref("k8s.io/api/core/v1.StorageOSVolumeSource"),
13788 },
13789 },
13790 "csi": {
13791 SchemaProps: spec.SchemaProps{
13792 Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).",
13793 Ref: ref("k8s.io/api/core/v1.CSIVolumeSource"),
13794 },
13795 },
13796 "ephemeral": {
13797 SchemaProps: spec.SchemaProps{
13798 Description: "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.",
13799 Ref: ref("k8s.io/api/core/v1.EphemeralVolumeSource"),
13800 },
13801 },
13802 },
13803 },
13804 },
13805 Dependencies: []string{
13806 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFileVolumeSource", "k8s.io/api/core/v1.CSIVolumeSource", "k8s.io/api/core/v1.CephFSVolumeSource", "k8s.io/api/core/v1.CinderVolumeSource", "k8s.io/api/core/v1.ConfigMapVolumeSource", "k8s.io/api/core/v1.DownwardAPIVolumeSource", "k8s.io/api/core/v1.EmptyDirVolumeSource", "k8s.io/api/core/v1.EphemeralVolumeSource", "k8s.io/api/core/v1.FCVolumeSource", "k8s.io/api/core/v1.FlexVolumeSource", "k8s.io/api/core/v1.FlockerVolumeSource", "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource", "k8s.io/api/core/v1.GitRepoVolumeSource", "k8s.io/api/core/v1.GlusterfsVolumeSource", "k8s.io/api/core/v1.HostPathVolumeSource", "k8s.io/api/core/v1.ISCSIVolumeSource", "k8s.io/api/core/v1.NFSVolumeSource", "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource", "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource", "k8s.io/api/core/v1.PortworxVolumeSource", "k8s.io/api/core/v1.ProjectedVolumeSource", "k8s.io/api/core/v1.QuobyteVolumeSource", "k8s.io/api/core/v1.RBDVolumeSource", "k8s.io/api/core/v1.ScaleIOVolumeSource", "k8s.io/api/core/v1.SecretVolumeSource", "k8s.io/api/core/v1.StorageOSVolumeSource", "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"},
13807 }
13808 }
13809
13810 func schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
13811 return common.OpenAPIDefinition{
13812 Schema: spec.Schema{
13813 SchemaProps: spec.SchemaProps{
13814 Description: "Represents a vSphere volume resource.",
13815 Type: []string{"object"},
13816 Properties: map[string]spec.Schema{
13817 "volumePath": {
13818 SchemaProps: spec.SchemaProps{
13819 Description: "volumePath is the path that identifies vSphere volume vmdk",
13820 Default: "",
13821 Type: []string{"string"},
13822 Format: "",
13823 },
13824 },
13825 "fsType": {
13826 SchemaProps: spec.SchemaProps{
13827 Description: "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
13828 Type: []string{"string"},
13829 Format: "",
13830 },
13831 },
13832 "storagePolicyName": {
13833 SchemaProps: spec.SchemaProps{
13834 Description: "storagePolicyName is the storage Policy Based Management (SPBM) profile name.",
13835 Type: []string{"string"},
13836 Format: "",
13837 },
13838 },
13839 "storagePolicyID": {
13840 SchemaProps: spec.SchemaProps{
13841 Description: "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
13842 Type: []string{"string"},
13843 Format: "",
13844 },
13845 },
13846 },
13847 Required: []string{"volumePath"},
13848 },
13849 },
13850 }
13851 }
13852
13853 func schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
13854 return common.OpenAPIDefinition{
13855 Schema: spec.Schema{
13856 SchemaProps: spec.SchemaProps{
13857 Description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
13858 Type: []string{"object"},
13859 Properties: map[string]spec.Schema{
13860 "weight": {
13861 SchemaProps: spec.SchemaProps{
13862 Description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
13863 Default: 0,
13864 Type: []string{"integer"},
13865 Format: "int32",
13866 },
13867 },
13868 "podAffinityTerm": {
13869 SchemaProps: spec.SchemaProps{
13870 Description: "Required. A pod affinity term, associated with the corresponding weight.",
13871 Default: map[string]interface{}{},
13872 Ref: ref("k8s.io/api/core/v1.PodAffinityTerm"),
13873 },
13874 },
13875 },
13876 Required: []string{"weight", "podAffinityTerm"},
13877 },
13878 },
13879 Dependencies: []string{
13880 "k8s.io/api/core/v1.PodAffinityTerm"},
13881 }
13882 }
13883
13884 func schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
13885 return common.OpenAPIDefinition{
13886 Schema: spec.Schema{
13887 SchemaProps: spec.SchemaProps{
13888 Description: "WindowsSecurityContextOptions contain Windows-specific options and credentials.",
13889 Type: []string{"object"},
13890 Properties: map[string]spec.Schema{
13891 "gmsaCredentialSpecName": {
13892 SchemaProps: spec.SchemaProps{
13893 Description: "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
13894 Type: []string{"string"},
13895 Format: "",
13896 },
13897 },
13898 "gmsaCredentialSpec": {
13899 SchemaProps: spec.SchemaProps{
13900 Description: "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
13901 Type: []string{"string"},
13902 Format: "",
13903 },
13904 },
13905 "runAsUserName": {
13906 SchemaProps: spec.SchemaProps{
13907 Description: "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
13908 Type: []string{"string"},
13909 Format: "",
13910 },
13911 },
13912 "hostProcess": {
13913 SchemaProps: spec.SchemaProps{
13914 Description: "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.",
13915 Type: []string{"boolean"},
13916 Format: "",
13917 },
13918 },
13919 },
13920 },
13921 },
13922 }
13923 }
13924
13925 func schema_apimachinery_pkg_api_resource_Quantity(ref common.ReferenceCallback) common.OpenAPIDefinition {
13926 return common.EmbedOpenAPIDefinitionIntoV2Extension(common.OpenAPIDefinition{
13927 Schema: spec.Schema{
13928 SchemaProps: spec.SchemaProps{
13929 Description: "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` <quantity> ::= <signedNumber><suffix>\n\n\t(Note that <suffix> may be empty, from the \"\" case in <decimalSI>.)\n\n<digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n<decimalSI> ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n<decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
13930 OneOf: common.GenerateOpenAPIV3OneOfSchema(resource.Quantity{}.OpenAPIV3OneOfTypes()),
13931 Format: resource.Quantity{}.OpenAPISchemaFormat(),
13932 },
13933 },
13934 }, common.OpenAPIDefinition{
13935 Schema: spec.Schema{
13936 SchemaProps: spec.SchemaProps{
13937 Description: "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` <quantity> ::= <signedNumber><suffix>\n\n\t(Note that <suffix> may be empty, from the \"\" case in <decimalSI>.)\n\n<digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n<decimalSI> ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n<decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
13938 Type: resource.Quantity{}.OpenAPISchemaType(),
13939 Format: resource.Quantity{}.OpenAPISchemaFormat(),
13940 },
13941 },
13942 })
13943 }
13944
13945 func schema_apimachinery_pkg_api_resource_int64Amount(ref common.ReferenceCallback) common.OpenAPIDefinition {
13946 return common.OpenAPIDefinition{
13947 Schema: spec.Schema{
13948 SchemaProps: spec.SchemaProps{
13949 Description: "int64Amount represents a fixed precision numerator and arbitrary scale exponent. It is faster than operations on inf.Dec for values that can be represented as int64.",
13950 Type: []string{"object"},
13951 Properties: map[string]spec.Schema{
13952 "value": {
13953 SchemaProps: spec.SchemaProps{
13954 Default: 0,
13955 Type: []string{"integer"},
13956 Format: "int64",
13957 },
13958 },
13959 "scale": {
13960 SchemaProps: spec.SchemaProps{
13961 Default: 0,
13962 Type: []string{"integer"},
13963 Format: "int32",
13964 },
13965 },
13966 },
13967 Required: []string{"value", "scale"},
13968 },
13969 },
13970 }
13971 }
13972
13973 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
13974 return common.OpenAPIDefinition{
13975 Schema: spec.Schema{
13976 SchemaProps: spec.SchemaProps{
13977 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.",
13978 Type: []string{"object"},
13979 Properties: map[string]spec.Schema{
13980 "kind": {
13981 SchemaProps: spec.SchemaProps{
13982 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
13983 Type: []string{"string"},
13984 Format: "",
13985 },
13986 },
13987 "apiVersion": {
13988 SchemaProps: spec.SchemaProps{
13989 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
13990 Type: []string{"string"},
13991 Format: "",
13992 },
13993 },
13994 "name": {
13995 SchemaProps: spec.SchemaProps{
13996 Description: "name is the name of the group.",
13997 Default: "",
13998 Type: []string{"string"},
13999 Format: "",
14000 },
14001 },
14002 "versions": {
14003 VendorExtensible: spec.VendorExtensible{
14004 Extensions: spec.Extensions{
14005 "x-kubernetes-list-type": "atomic",
14006 },
14007 },
14008 SchemaProps: spec.SchemaProps{
14009 Description: "versions are the versions supported in this group.",
14010 Type: []string{"array"},
14011 Items: &spec.SchemaOrArray{
14012 Schema: &spec.Schema{
14013 SchemaProps: spec.SchemaProps{
14014 Default: map[string]interface{}{},
14015 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
14016 },
14017 },
14018 },
14019 },
14020 },
14021 "preferredVersion": {
14022 SchemaProps: spec.SchemaProps{
14023 Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.",
14024 Default: map[string]interface{}{},
14025 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
14026 },
14027 },
14028 "serverAddressByClientCIDRs": {
14029 VendorExtensible: spec.VendorExtensible{
14030 Extensions: spec.Extensions{
14031 "x-kubernetes-list-type": "atomic",
14032 },
14033 },
14034 SchemaProps: spec.SchemaProps{
14035 Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
14036 Type: []string{"array"},
14037 Items: &spec.SchemaOrArray{
14038 Schema: &spec.Schema{
14039 SchemaProps: spec.SchemaProps{
14040 Default: map[string]interface{}{},
14041 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
14042 },
14043 },
14044 },
14045 },
14046 },
14047 },
14048 Required: []string{"name", "versions"},
14049 },
14050 },
14051 Dependencies: []string{
14052 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
14053 }
14054 }
14055
14056 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
14057 return common.OpenAPIDefinition{
14058 Schema: spec.Schema{
14059 SchemaProps: spec.SchemaProps{
14060 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
14061 Type: []string{"object"},
14062 Properties: map[string]spec.Schema{
14063 "kind": {
14064 SchemaProps: spec.SchemaProps{
14065 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14066 Type: []string{"string"},
14067 Format: "",
14068 },
14069 },
14070 "apiVersion": {
14071 SchemaProps: spec.SchemaProps{
14072 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14073 Type: []string{"string"},
14074 Format: "",
14075 },
14076 },
14077 "groups": {
14078 VendorExtensible: spec.VendorExtensible{
14079 Extensions: spec.Extensions{
14080 "x-kubernetes-list-type": "atomic",
14081 },
14082 },
14083 SchemaProps: spec.SchemaProps{
14084 Description: "groups is a list of APIGroup.",
14085 Type: []string{"array"},
14086 Items: &spec.SchemaOrArray{
14087 Schema: &spec.Schema{
14088 SchemaProps: spec.SchemaProps{
14089 Default: map[string]interface{}{},
14090 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"),
14091 },
14092 },
14093 },
14094 },
14095 },
14096 },
14097 Required: []string{"groups"},
14098 },
14099 },
14100 Dependencies: []string{
14101 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"},
14102 }
14103 }
14104
14105 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
14106 return common.OpenAPIDefinition{
14107 Schema: spec.Schema{
14108 SchemaProps: spec.SchemaProps{
14109 Description: "APIResource specifies the name of a resource and whether it is namespaced.",
14110 Type: []string{"object"},
14111 Properties: map[string]spec.Schema{
14112 "name": {
14113 SchemaProps: spec.SchemaProps{
14114 Description: "name is the plural name of the resource.",
14115 Default: "",
14116 Type: []string{"string"},
14117 Format: "",
14118 },
14119 },
14120 "singularName": {
14121 SchemaProps: spec.SchemaProps{
14122 Description: "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
14123 Default: "",
14124 Type: []string{"string"},
14125 Format: "",
14126 },
14127 },
14128 "namespaced": {
14129 SchemaProps: spec.SchemaProps{
14130 Description: "namespaced indicates if a resource is namespaced or not.",
14131 Default: false,
14132 Type: []string{"boolean"},
14133 Format: "",
14134 },
14135 },
14136 "group": {
14137 SchemaProps: spec.SchemaProps{
14138 Description: "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
14139 Type: []string{"string"},
14140 Format: "",
14141 },
14142 },
14143 "version": {
14144 SchemaProps: spec.SchemaProps{
14145 Description: "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
14146 Type: []string{"string"},
14147 Format: "",
14148 },
14149 },
14150 "kind": {
14151 SchemaProps: spec.SchemaProps{
14152 Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
14153 Default: "",
14154 Type: []string{"string"},
14155 Format: "",
14156 },
14157 },
14158 "verbs": {
14159 SchemaProps: spec.SchemaProps{
14160 Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
14161 Type: []string{"array"},
14162 Items: &spec.SchemaOrArray{
14163 Schema: &spec.Schema{
14164 SchemaProps: spec.SchemaProps{
14165 Default: "",
14166 Type: []string{"string"},
14167 Format: "",
14168 },
14169 },
14170 },
14171 },
14172 },
14173 "shortNames": {
14174 VendorExtensible: spec.VendorExtensible{
14175 Extensions: spec.Extensions{
14176 "x-kubernetes-list-type": "atomic",
14177 },
14178 },
14179 SchemaProps: spec.SchemaProps{
14180 Description: "shortNames is a list of suggested short names of the resource.",
14181 Type: []string{"array"},
14182 Items: &spec.SchemaOrArray{
14183 Schema: &spec.Schema{
14184 SchemaProps: spec.SchemaProps{
14185 Default: "",
14186 Type: []string{"string"},
14187 Format: "",
14188 },
14189 },
14190 },
14191 },
14192 },
14193 "categories": {
14194 VendorExtensible: spec.VendorExtensible{
14195 Extensions: spec.Extensions{
14196 "x-kubernetes-list-type": "atomic",
14197 },
14198 },
14199 SchemaProps: spec.SchemaProps{
14200 Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
14201 Type: []string{"array"},
14202 Items: &spec.SchemaOrArray{
14203 Schema: &spec.Schema{
14204 SchemaProps: spec.SchemaProps{
14205 Default: "",
14206 Type: []string{"string"},
14207 Format: "",
14208 },
14209 },
14210 },
14211 },
14212 },
14213 "storageVersionHash": {
14214 SchemaProps: spec.SchemaProps{
14215 Description: "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
14216 Type: []string{"string"},
14217 Format: "",
14218 },
14219 },
14220 },
14221 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"},
14222 },
14223 },
14224 }
14225 }
14226
14227 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
14228 return common.OpenAPIDefinition{
14229 Schema: spec.Schema{
14230 SchemaProps: spec.SchemaProps{
14231 Description: "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
14232 Type: []string{"object"},
14233 Properties: map[string]spec.Schema{
14234 "kind": {
14235 SchemaProps: spec.SchemaProps{
14236 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14237 Type: []string{"string"},
14238 Format: "",
14239 },
14240 },
14241 "apiVersion": {
14242 SchemaProps: spec.SchemaProps{
14243 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14244 Type: []string{"string"},
14245 Format: "",
14246 },
14247 },
14248 "groupVersion": {
14249 SchemaProps: spec.SchemaProps{
14250 Description: "groupVersion is the group and version this APIResourceList is for.",
14251 Default: "",
14252 Type: []string{"string"},
14253 Format: "",
14254 },
14255 },
14256 "resources": {
14257 VendorExtensible: spec.VendorExtensible{
14258 Extensions: spec.Extensions{
14259 "x-kubernetes-list-type": "atomic",
14260 },
14261 },
14262 SchemaProps: spec.SchemaProps{
14263 Description: "resources contains the name of the resources and if they are namespaced.",
14264 Type: []string{"array"},
14265 Items: &spec.SchemaOrArray{
14266 Schema: &spec.Schema{
14267 SchemaProps: spec.SchemaProps{
14268 Default: map[string]interface{}{},
14269 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"),
14270 },
14271 },
14272 },
14273 },
14274 },
14275 },
14276 Required: []string{"groupVersion", "resources"},
14277 },
14278 },
14279 Dependencies: []string{
14280 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"},
14281 }
14282 }
14283
14284 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition {
14285 return common.OpenAPIDefinition{
14286 Schema: spec.Schema{
14287 SchemaProps: spec.SchemaProps{
14288 Description: "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
14289 Type: []string{"object"},
14290 Properties: map[string]spec.Schema{
14291 "kind": {
14292 SchemaProps: spec.SchemaProps{
14293 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14294 Type: []string{"string"},
14295 Format: "",
14296 },
14297 },
14298 "apiVersion": {
14299 SchemaProps: spec.SchemaProps{
14300 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14301 Type: []string{"string"},
14302 Format: "",
14303 },
14304 },
14305 "versions": {
14306 VendorExtensible: spec.VendorExtensible{
14307 Extensions: spec.Extensions{
14308 "x-kubernetes-list-type": "atomic",
14309 },
14310 },
14311 SchemaProps: spec.SchemaProps{
14312 Description: "versions are the api versions that are available.",
14313 Type: []string{"array"},
14314 Items: &spec.SchemaOrArray{
14315 Schema: &spec.Schema{
14316 SchemaProps: spec.SchemaProps{
14317 Default: "",
14318 Type: []string{"string"},
14319 Format: "",
14320 },
14321 },
14322 },
14323 },
14324 },
14325 "serverAddressByClientCIDRs": {
14326 VendorExtensible: spec.VendorExtensible{
14327 Extensions: spec.Extensions{
14328 "x-kubernetes-list-type": "atomic",
14329 },
14330 },
14331 SchemaProps: spec.SchemaProps{
14332 Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
14333 Type: []string{"array"},
14334 Items: &spec.SchemaOrArray{
14335 Schema: &spec.Schema{
14336 SchemaProps: spec.SchemaProps{
14337 Default: map[string]interface{}{},
14338 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
14339 },
14340 },
14341 },
14342 },
14343 },
14344 },
14345 Required: []string{"versions", "serverAddressByClientCIDRs"},
14346 },
14347 },
14348 Dependencies: []string{
14349 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
14350 }
14351 }
14352
14353 func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
14354 return common.OpenAPIDefinition{
14355 Schema: spec.Schema{
14356 SchemaProps: spec.SchemaProps{
14357 Description: "ApplyOptions may be provided when applying an API object. FieldManager is required for apply requests. ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation that speaks specifically to how the options fields relate to apply.",
14358 Type: []string{"object"},
14359 Properties: map[string]spec.Schema{
14360 "kind": {
14361 SchemaProps: spec.SchemaProps{
14362 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14363 Type: []string{"string"},
14364 Format: "",
14365 },
14366 },
14367 "apiVersion": {
14368 SchemaProps: spec.SchemaProps{
14369 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14370 Type: []string{"string"},
14371 Format: "",
14372 },
14373 },
14374 "dryRun": {
14375 VendorExtensible: spec.VendorExtensible{
14376 Extensions: spec.Extensions{
14377 "x-kubernetes-list-type": "atomic",
14378 },
14379 },
14380 SchemaProps: spec.SchemaProps{
14381 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
14382 Type: []string{"array"},
14383 Items: &spec.SchemaOrArray{
14384 Schema: &spec.Schema{
14385 SchemaProps: spec.SchemaProps{
14386 Default: "",
14387 Type: []string{"string"},
14388 Format: "",
14389 },
14390 },
14391 },
14392 },
14393 },
14394 "force": {
14395 SchemaProps: spec.SchemaProps{
14396 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.",
14397 Default: false,
14398 Type: []string{"boolean"},
14399 Format: "",
14400 },
14401 },
14402 "fieldManager": {
14403 SchemaProps: spec.SchemaProps{
14404 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required.",
14405 Default: "",
14406 Type: []string{"string"},
14407 Format: "",
14408 },
14409 },
14410 },
14411 Required: []string{"force", "fieldManager"},
14412 },
14413 },
14414 }
14415 }
14416
14417 func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
14418 return common.OpenAPIDefinition{
14419 Schema: spec.Schema{
14420 SchemaProps: spec.SchemaProps{
14421 Description: "Condition contains details for one aspect of the current state of this API Resource.",
14422 Type: []string{"object"},
14423 Properties: map[string]spec.Schema{
14424 "type": {
14425 SchemaProps: spec.SchemaProps{
14426 Description: "type of condition in CamelCase or in foo.example.com/CamelCase.",
14427 Default: "",
14428 Type: []string{"string"},
14429 Format: "",
14430 },
14431 },
14432 "status": {
14433 SchemaProps: spec.SchemaProps{
14434 Description: "status of the condition, one of True, False, Unknown.",
14435 Default: "",
14436 Type: []string{"string"},
14437 Format: "",
14438 },
14439 },
14440 "observedGeneration": {
14441 SchemaProps: spec.SchemaProps{
14442 Description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
14443 Type: []string{"integer"},
14444 Format: "int64",
14445 },
14446 },
14447 "lastTransitionTime": {
14448 SchemaProps: spec.SchemaProps{
14449 Description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
14450 Default: map[string]interface{}{},
14451 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
14452 },
14453 },
14454 "reason": {
14455 SchemaProps: spec.SchemaProps{
14456 Description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
14457 Default: "",
14458 Type: []string{"string"},
14459 Format: "",
14460 },
14461 },
14462 "message": {
14463 SchemaProps: spec.SchemaProps{
14464 Description: "message is a human readable message indicating details about the transition. This may be an empty string.",
14465 Default: "",
14466 Type: []string{"string"},
14467 Format: "",
14468 },
14469 },
14470 },
14471 Required: []string{"type", "status", "lastTransitionTime", "reason", "message"},
14472 },
14473 },
14474 Dependencies: []string{
14475 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
14476 }
14477 }
14478
14479 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
14480 return common.OpenAPIDefinition{
14481 Schema: spec.Schema{
14482 SchemaProps: spec.SchemaProps{
14483 Description: "CreateOptions may be provided when creating an API object.",
14484 Type: []string{"object"},
14485 Properties: map[string]spec.Schema{
14486 "kind": {
14487 SchemaProps: spec.SchemaProps{
14488 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14489 Type: []string{"string"},
14490 Format: "",
14491 },
14492 },
14493 "apiVersion": {
14494 SchemaProps: spec.SchemaProps{
14495 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14496 Type: []string{"string"},
14497 Format: "",
14498 },
14499 },
14500 "dryRun": {
14501 VendorExtensible: spec.VendorExtensible{
14502 Extensions: spec.Extensions{
14503 "x-kubernetes-list-type": "atomic",
14504 },
14505 },
14506 SchemaProps: spec.SchemaProps{
14507 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
14508 Type: []string{"array"},
14509 Items: &spec.SchemaOrArray{
14510 Schema: &spec.Schema{
14511 SchemaProps: spec.SchemaProps{
14512 Default: "",
14513 Type: []string{"string"},
14514 Format: "",
14515 },
14516 },
14517 },
14518 },
14519 },
14520 "fieldManager": {
14521 SchemaProps: spec.SchemaProps{
14522 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
14523 Type: []string{"string"},
14524 Format: "",
14525 },
14526 },
14527 "fieldValidation": {
14528 SchemaProps: spec.SchemaProps{
14529 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
14530 Type: []string{"string"},
14531 Format: "",
14532 },
14533 },
14534 },
14535 },
14536 },
14537 }
14538 }
14539
14540 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
14541 return common.OpenAPIDefinition{
14542 Schema: spec.Schema{
14543 SchemaProps: spec.SchemaProps{
14544 Description: "DeleteOptions may be provided when deleting an API object.",
14545 Type: []string{"object"},
14546 Properties: map[string]spec.Schema{
14547 "kind": {
14548 SchemaProps: spec.SchemaProps{
14549 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14550 Type: []string{"string"},
14551 Format: "",
14552 },
14553 },
14554 "apiVersion": {
14555 SchemaProps: spec.SchemaProps{
14556 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14557 Type: []string{"string"},
14558 Format: "",
14559 },
14560 },
14561 "gracePeriodSeconds": {
14562 SchemaProps: spec.SchemaProps{
14563 Description: "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
14564 Type: []string{"integer"},
14565 Format: "int64",
14566 },
14567 },
14568 "preconditions": {
14569 SchemaProps: spec.SchemaProps{
14570 Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
14571 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"),
14572 },
14573 },
14574 "orphanDependents": {
14575 SchemaProps: spec.SchemaProps{
14576 Description: "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
14577 Type: []string{"boolean"},
14578 Format: "",
14579 },
14580 },
14581 "propagationPolicy": {
14582 SchemaProps: spec.SchemaProps{
14583 Description: "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
14584 Type: []string{"string"},
14585 Format: "",
14586 },
14587 },
14588 "dryRun": {
14589 VendorExtensible: spec.VendorExtensible{
14590 Extensions: spec.Extensions{
14591 "x-kubernetes-list-type": "atomic",
14592 },
14593 },
14594 SchemaProps: spec.SchemaProps{
14595 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
14596 Type: []string{"array"},
14597 Items: &spec.SchemaOrArray{
14598 Schema: &spec.Schema{
14599 SchemaProps: spec.SchemaProps{
14600 Default: "",
14601 Type: []string{"string"},
14602 Format: "",
14603 },
14604 },
14605 },
14606 },
14607 },
14608 },
14609 },
14610 },
14611 Dependencies: []string{
14612 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"},
14613 }
14614 }
14615
14616 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition {
14617 return common.OpenAPIDefinition{
14618 Schema: spec.Schema{
14619 SchemaProps: spec.SchemaProps{
14620 Description: "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.",
14621 Type: v1.Duration{}.OpenAPISchemaType(),
14622 Format: v1.Duration{}.OpenAPISchemaFormat(),
14623 },
14624 },
14625 }
14626 }
14627
14628 func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition {
14629 return common.OpenAPIDefinition{
14630 Schema: spec.Schema{
14631 SchemaProps: spec.SchemaProps{
14632 Description: "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
14633 Type: []string{"object"},
14634 },
14635 },
14636 }
14637 }
14638
14639 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
14640 return common.OpenAPIDefinition{
14641 Schema: spec.Schema{
14642 SchemaProps: spec.SchemaProps{
14643 Description: "GetOptions is the standard query options to the standard REST get call.",
14644 Type: []string{"object"},
14645 Properties: map[string]spec.Schema{
14646 "kind": {
14647 SchemaProps: spec.SchemaProps{
14648 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14649 Type: []string{"string"},
14650 Format: "",
14651 },
14652 },
14653 "apiVersion": {
14654 SchemaProps: spec.SchemaProps{
14655 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14656 Type: []string{"string"},
14657 Format: "",
14658 },
14659 },
14660 "resourceVersion": {
14661 SchemaProps: spec.SchemaProps{
14662 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
14663 Type: []string{"string"},
14664 Format: "",
14665 },
14666 },
14667 },
14668 },
14669 },
14670 }
14671 }
14672
14673 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
14674 return common.OpenAPIDefinition{
14675 Schema: spec.Schema{
14676 SchemaProps: spec.SchemaProps{
14677 Description: "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types",
14678 Type: []string{"object"},
14679 Properties: map[string]spec.Schema{
14680 "group": {
14681 SchemaProps: spec.SchemaProps{
14682 Default: "",
14683 Type: []string{"string"},
14684 Format: "",
14685 },
14686 },
14687 "kind": {
14688 SchemaProps: spec.SchemaProps{
14689 Default: "",
14690 Type: []string{"string"},
14691 Format: "",
14692 },
14693 },
14694 },
14695 Required: []string{"group", "kind"},
14696 },
14697 },
14698 }
14699 }
14700
14701 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
14702 return common.OpenAPIDefinition{
14703 Schema: spec.Schema{
14704 SchemaProps: spec.SchemaProps{
14705 Description: "GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types",
14706 Type: []string{"object"},
14707 Properties: map[string]spec.Schema{
14708 "group": {
14709 SchemaProps: spec.SchemaProps{
14710 Default: "",
14711 Type: []string{"string"},
14712 Format: "",
14713 },
14714 },
14715 "resource": {
14716 SchemaProps: spec.SchemaProps{
14717 Default: "",
14718 Type: []string{"string"},
14719 Format: "",
14720 },
14721 },
14722 },
14723 Required: []string{"group", "resource"},
14724 },
14725 },
14726 }
14727 }
14728
14729 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition {
14730 return common.OpenAPIDefinition{
14731 Schema: spec.Schema{
14732 SchemaProps: spec.SchemaProps{
14733 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.",
14734 Type: []string{"object"},
14735 Properties: map[string]spec.Schema{
14736 "group": {
14737 SchemaProps: spec.SchemaProps{
14738 Default: "",
14739 Type: []string{"string"},
14740 Format: "",
14741 },
14742 },
14743 "version": {
14744 SchemaProps: spec.SchemaProps{
14745 Default: "",
14746 Type: []string{"string"},
14747 Format: "",
14748 },
14749 },
14750 },
14751 Required: []string{"group", "version"},
14752 },
14753 },
14754 }
14755 }
14756
14757 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition {
14758 return common.OpenAPIDefinition{
14759 Schema: spec.Schema{
14760 SchemaProps: spec.SchemaProps{
14761 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
14762 Type: []string{"object"},
14763 Properties: map[string]spec.Schema{
14764 "groupVersion": {
14765 SchemaProps: spec.SchemaProps{
14766 Description: "groupVersion specifies the API group and version in the form \"group/version\"",
14767 Default: "",
14768 Type: []string{"string"},
14769 Format: "",
14770 },
14771 },
14772 "version": {
14773 SchemaProps: spec.SchemaProps{
14774 Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
14775 Default: "",
14776 Type: []string{"string"},
14777 Format: "",
14778 },
14779 },
14780 },
14781 Required: []string{"groupVersion", "version"},
14782 },
14783 },
14784 }
14785 }
14786
14787 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
14788 return common.OpenAPIDefinition{
14789 Schema: spec.Schema{
14790 SchemaProps: spec.SchemaProps{
14791 Description: "GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling",
14792 Type: []string{"object"},
14793 Properties: map[string]spec.Schema{
14794 "group": {
14795 SchemaProps: spec.SchemaProps{
14796 Default: "",
14797 Type: []string{"string"},
14798 Format: "",
14799 },
14800 },
14801 "version": {
14802 SchemaProps: spec.SchemaProps{
14803 Default: "",
14804 Type: []string{"string"},
14805 Format: "",
14806 },
14807 },
14808 "kind": {
14809 SchemaProps: spec.SchemaProps{
14810 Default: "",
14811 Type: []string{"string"},
14812 Format: "",
14813 },
14814 },
14815 },
14816 Required: []string{"group", "version", "kind"},
14817 },
14818 },
14819 }
14820 }
14821
14822 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
14823 return common.OpenAPIDefinition{
14824 Schema: spec.Schema{
14825 SchemaProps: spec.SchemaProps{
14826 Description: "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling",
14827 Type: []string{"object"},
14828 Properties: map[string]spec.Schema{
14829 "group": {
14830 SchemaProps: spec.SchemaProps{
14831 Default: "",
14832 Type: []string{"string"},
14833 Format: "",
14834 },
14835 },
14836 "version": {
14837 SchemaProps: spec.SchemaProps{
14838 Default: "",
14839 Type: []string{"string"},
14840 Format: "",
14841 },
14842 },
14843 "resource": {
14844 SchemaProps: spec.SchemaProps{
14845 Default: "",
14846 Type: []string{"string"},
14847 Format: "",
14848 },
14849 },
14850 },
14851 Required: []string{"group", "version", "resource"},
14852 },
14853 },
14854 }
14855 }
14856
14857 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
14858 return common.OpenAPIDefinition{
14859 Schema: spec.Schema{
14860 SchemaProps: spec.SchemaProps{
14861 Description: "InternalEvent makes watch.Event versioned",
14862 Type: []string{"object"},
14863 Properties: map[string]spec.Schema{
14864 "Type": {
14865 SchemaProps: spec.SchemaProps{
14866 Default: "",
14867 Type: []string{"string"},
14868 Format: "",
14869 },
14870 },
14871 "Object": {
14872 SchemaProps: spec.SchemaProps{
14873 Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Bookmark: the object (instance of a type being watched) where\n only ResourceVersion field is set. On successful restart of watch from a\n bookmark resourceVersion, client is guaranteed to not get repeat event\n nor miss any events.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.",
14874 Ref: ref("k8s.io/apimachinery/pkg/runtime.Object"),
14875 },
14876 },
14877 },
14878 Required: []string{"Type", "Object"},
14879 },
14880 },
14881 Dependencies: []string{
14882 "k8s.io/apimachinery/pkg/runtime.Object"},
14883 }
14884 }
14885
14886 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
14887 return common.OpenAPIDefinition{
14888 Schema: spec.Schema{
14889 SchemaProps: spec.SchemaProps{
14890 Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
14891 Type: []string{"object"},
14892 Properties: map[string]spec.Schema{
14893 "matchLabels": {
14894 SchemaProps: spec.SchemaProps{
14895 Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
14896 Type: []string{"object"},
14897 AdditionalProperties: &spec.SchemaOrBool{
14898 Allows: true,
14899 Schema: &spec.Schema{
14900 SchemaProps: spec.SchemaProps{
14901 Default: "",
14902 Type: []string{"string"},
14903 Format: "",
14904 },
14905 },
14906 },
14907 },
14908 },
14909 "matchExpressions": {
14910 VendorExtensible: spec.VendorExtensible{
14911 Extensions: spec.Extensions{
14912 "x-kubernetes-list-type": "atomic",
14913 },
14914 },
14915 SchemaProps: spec.SchemaProps{
14916 Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
14917 Type: []string{"array"},
14918 Items: &spec.SchemaOrArray{
14919 Schema: &spec.Schema{
14920 SchemaProps: spec.SchemaProps{
14921 Default: map[string]interface{}{},
14922 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"),
14923 },
14924 },
14925 },
14926 },
14927 },
14928 },
14929 },
14930 VendorExtensible: spec.VendorExtensible{
14931 Extensions: spec.Extensions{
14932 "x-kubernetes-map-type": "atomic",
14933 },
14934 },
14935 },
14936 Dependencies: []string{
14937 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"},
14938 }
14939 }
14940
14941 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
14942 return common.OpenAPIDefinition{
14943 Schema: spec.Schema{
14944 SchemaProps: spec.SchemaProps{
14945 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
14946 Type: []string{"object"},
14947 Properties: map[string]spec.Schema{
14948 "key": {
14949 SchemaProps: spec.SchemaProps{
14950 Description: "key is the label key that the selector applies to.",
14951 Default: "",
14952 Type: []string{"string"},
14953 Format: "",
14954 },
14955 },
14956 "operator": {
14957 SchemaProps: spec.SchemaProps{
14958 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
14959 Default: "",
14960 Type: []string{"string"},
14961 Format: "",
14962 },
14963 },
14964 "values": {
14965 VendorExtensible: spec.VendorExtensible{
14966 Extensions: spec.Extensions{
14967 "x-kubernetes-list-type": "atomic",
14968 },
14969 },
14970 SchemaProps: spec.SchemaProps{
14971 Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
14972 Type: []string{"array"},
14973 Items: &spec.SchemaOrArray{
14974 Schema: &spec.Schema{
14975 SchemaProps: spec.SchemaProps{
14976 Default: "",
14977 Type: []string{"string"},
14978 Format: "",
14979 },
14980 },
14981 },
14982 },
14983 },
14984 },
14985 Required: []string{"key", "operator"},
14986 },
14987 },
14988 }
14989 }
14990
14991 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
14992 return common.OpenAPIDefinition{
14993 Schema: spec.Schema{
14994 SchemaProps: spec.SchemaProps{
14995 Description: "List holds a list of objects, which may not be known by the server.",
14996 Type: []string{"object"},
14997 Properties: map[string]spec.Schema{
14998 "kind": {
14999 SchemaProps: spec.SchemaProps{
15000 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15001 Type: []string{"string"},
15002 Format: "",
15003 },
15004 },
15005 "apiVersion": {
15006 SchemaProps: spec.SchemaProps{
15007 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15008 Type: []string{"string"},
15009 Format: "",
15010 },
15011 },
15012 "metadata": {
15013 SchemaProps: spec.SchemaProps{
15014 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15015 Default: map[string]interface{}{},
15016 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
15017 },
15018 },
15019 "items": {
15020 SchemaProps: spec.SchemaProps{
15021 Description: "List of objects",
15022 Type: []string{"array"},
15023 Items: &spec.SchemaOrArray{
15024 Schema: &spec.Schema{
15025 SchemaProps: spec.SchemaProps{
15026 Default: map[string]interface{}{},
15027 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
15028 },
15029 },
15030 },
15031 },
15032 },
15033 },
15034 Required: []string{"items"},
15035 },
15036 },
15037 Dependencies: []string{
15038 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
15039 }
15040 }
15041
15042 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
15043 return common.OpenAPIDefinition{
15044 Schema: spec.Schema{
15045 SchemaProps: spec.SchemaProps{
15046 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
15047 Type: []string{"object"},
15048 Properties: map[string]spec.Schema{
15049 "selfLink": {
15050 SchemaProps: spec.SchemaProps{
15051 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
15052 Type: []string{"string"},
15053 Format: "",
15054 },
15055 },
15056 "resourceVersion": {
15057 SchemaProps: spec.SchemaProps{
15058 Description: "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
15059 Type: []string{"string"},
15060 Format: "",
15061 },
15062 },
15063 "continue": {
15064 SchemaProps: spec.SchemaProps{
15065 Description: "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
15066 Type: []string{"string"},
15067 Format: "",
15068 },
15069 },
15070 "remainingItemCount": {
15071 SchemaProps: spec.SchemaProps{
15072 Description: "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
15073 Type: []string{"integer"},
15074 Format: "int64",
15075 },
15076 },
15077 },
15078 },
15079 },
15080 }
15081 }
15082
15083 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
15084 return common.OpenAPIDefinition{
15085 Schema: spec.Schema{
15086 SchemaProps: spec.SchemaProps{
15087 Description: "ListOptions is the query options to a standard REST list call.",
15088 Type: []string{"object"},
15089 Properties: map[string]spec.Schema{
15090 "kind": {
15091 SchemaProps: spec.SchemaProps{
15092 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15093 Type: []string{"string"},
15094 Format: "",
15095 },
15096 },
15097 "apiVersion": {
15098 SchemaProps: spec.SchemaProps{
15099 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15100 Type: []string{"string"},
15101 Format: "",
15102 },
15103 },
15104 "labelSelector": {
15105 SchemaProps: spec.SchemaProps{
15106 Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
15107 Type: []string{"string"},
15108 Format: "",
15109 },
15110 },
15111 "fieldSelector": {
15112 SchemaProps: spec.SchemaProps{
15113 Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
15114 Type: []string{"string"},
15115 Format: "",
15116 },
15117 },
15118 "watch": {
15119 SchemaProps: spec.SchemaProps{
15120 Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
15121 Type: []string{"boolean"},
15122 Format: "",
15123 },
15124 },
15125 "allowWatchBookmarks": {
15126 SchemaProps: spec.SchemaProps{
15127 Description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
15128 Type: []string{"boolean"},
15129 Format: "",
15130 },
15131 },
15132 "resourceVersion": {
15133 SchemaProps: spec.SchemaProps{
15134 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
15135 Type: []string{"string"},
15136 Format: "",
15137 },
15138 },
15139 "resourceVersionMatch": {
15140 SchemaProps: spec.SchemaProps{
15141 Description: "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
15142 Type: []string{"string"},
15143 Format: "",
15144 },
15145 },
15146 "timeoutSeconds": {
15147 SchemaProps: spec.SchemaProps{
15148 Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
15149 Type: []string{"integer"},
15150 Format: "int64",
15151 },
15152 },
15153 "limit": {
15154 SchemaProps: spec.SchemaProps{
15155 Description: "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
15156 Type: []string{"integer"},
15157 Format: "int64",
15158 },
15159 },
15160 "continue": {
15161 SchemaProps: spec.SchemaProps{
15162 Description: "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
15163 Type: []string{"string"},
15164 Format: "",
15165 },
15166 },
15167 "sendInitialEvents": {
15168 SchemaProps: spec.SchemaProps{
15169 Description: "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
15170 Type: []string{"boolean"},
15171 Format: "",
15172 },
15173 },
15174 },
15175 },
15176 },
15177 }
15178 }
15179
15180 func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
15181 return common.OpenAPIDefinition{
15182 Schema: spec.Schema{
15183 SchemaProps: spec.SchemaProps{
15184 Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
15185 Type: []string{"object"},
15186 Properties: map[string]spec.Schema{
15187 "manager": {
15188 SchemaProps: spec.SchemaProps{
15189 Description: "Manager is an identifier of the workflow managing these fields.",
15190 Type: []string{"string"},
15191 Format: "",
15192 },
15193 },
15194 "operation": {
15195 SchemaProps: spec.SchemaProps{
15196 Description: "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
15197 Type: []string{"string"},
15198 Format: "",
15199 },
15200 },
15201 "apiVersion": {
15202 SchemaProps: spec.SchemaProps{
15203 Description: "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
15204 Type: []string{"string"},
15205 Format: "",
15206 },
15207 },
15208 "time": {
15209 SchemaProps: spec.SchemaProps{
15210 Description: "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.",
15211 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
15212 },
15213 },
15214 "fieldsType": {
15215 SchemaProps: spec.SchemaProps{
15216 Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
15217 Type: []string{"string"},
15218 Format: "",
15219 },
15220 },
15221 "fieldsV1": {
15222 SchemaProps: spec.SchemaProps{
15223 Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
15224 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"),
15225 },
15226 },
15227 "subresource": {
15228 SchemaProps: spec.SchemaProps{
15229 Description: "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
15230 Type: []string{"string"},
15231 Format: "",
15232 },
15233 },
15234 },
15235 },
15236 },
15237 Dependencies: []string{
15238 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
15239 }
15240 }
15241
15242 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition {
15243 return common.OpenAPIDefinition{
15244 Schema: spec.Schema{
15245 SchemaProps: spec.SchemaProps{
15246 Description: "MicroTime is version of Time with microsecond level precision.",
15247 Type: v1.MicroTime{}.OpenAPISchemaType(),
15248 Format: v1.MicroTime{}.OpenAPISchemaFormat(),
15249 },
15250 },
15251 }
15252 }
15253
15254 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
15255 return common.OpenAPIDefinition{
15256 Schema: spec.Schema{
15257 SchemaProps: spec.SchemaProps{
15258 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
15259 Type: []string{"object"},
15260 Properties: map[string]spec.Schema{
15261 "name": {
15262 SchemaProps: spec.SchemaProps{
15263 Description: "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
15264 Type: []string{"string"},
15265 Format: "",
15266 },
15267 },
15268 "generateName": {
15269 SchemaProps: spec.SchemaProps{
15270 Description: "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.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
15271 Type: []string{"string"},
15272 Format: "",
15273 },
15274 },
15275 "namespace": {
15276 SchemaProps: spec.SchemaProps{
15277 Description: "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.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
15278 Type: []string{"string"},
15279 Format: "",
15280 },
15281 },
15282 "selfLink": {
15283 SchemaProps: spec.SchemaProps{
15284 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
15285 Type: []string{"string"},
15286 Format: "",
15287 },
15288 },
15289 "uid": {
15290 SchemaProps: spec.SchemaProps{
15291 Description: "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.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
15292 Type: []string{"string"},
15293 Format: "",
15294 },
15295 },
15296 "resourceVersion": {
15297 SchemaProps: spec.SchemaProps{
15298 Description: "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.\n\nPopulated 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",
15299 Type: []string{"string"},
15300 Format: "",
15301 },
15302 },
15303 "generation": {
15304 SchemaProps: spec.SchemaProps{
15305 Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
15306 Type: []string{"integer"},
15307 Format: "int64",
15308 },
15309 },
15310 "creationTimestamp": {
15311 SchemaProps: spec.SchemaProps{
15312 Description: "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
15313 Default: map[string]interface{}{},
15314 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
15315 },
15316 },
15317 "deletionTimestamp": {
15318 SchemaProps: spec.SchemaProps{
15319 Description: "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
15320 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
15321 },
15322 },
15323 "deletionGracePeriodSeconds": {
15324 SchemaProps: spec.SchemaProps{
15325 Description: "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.",
15326 Type: []string{"integer"},
15327 Format: "int64",
15328 },
15329 },
15330 "labels": {
15331 SchemaProps: spec.SchemaProps{
15332 Description: "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
15333 Type: []string{"object"},
15334 AdditionalProperties: &spec.SchemaOrBool{
15335 Allows: true,
15336 Schema: &spec.Schema{
15337 SchemaProps: spec.SchemaProps{
15338 Default: "",
15339 Type: []string{"string"},
15340 Format: "",
15341 },
15342 },
15343 },
15344 },
15345 },
15346 "annotations": {
15347 SchemaProps: spec.SchemaProps{
15348 Description: "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
15349 Type: []string{"object"},
15350 AdditionalProperties: &spec.SchemaOrBool{
15351 Allows: true,
15352 Schema: &spec.Schema{
15353 SchemaProps: spec.SchemaProps{
15354 Default: "",
15355 Type: []string{"string"},
15356 Format: "",
15357 },
15358 },
15359 },
15360 },
15361 },
15362 "ownerReferences": {
15363 VendorExtensible: spec.VendorExtensible{
15364 Extensions: spec.Extensions{
15365 "x-kubernetes-list-map-keys": []interface{}{
15366 "uid",
15367 },
15368 "x-kubernetes-list-type": "map",
15369 "x-kubernetes-patch-merge-key": "uid",
15370 "x-kubernetes-patch-strategy": "merge",
15371 },
15372 },
15373 SchemaProps: spec.SchemaProps{
15374 Description: "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.",
15375 Type: []string{"array"},
15376 Items: &spec.SchemaOrArray{
15377 Schema: &spec.Schema{
15378 SchemaProps: spec.SchemaProps{
15379 Default: map[string]interface{}{},
15380 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
15381 },
15382 },
15383 },
15384 },
15385 },
15386 "finalizers": {
15387 VendorExtensible: spec.VendorExtensible{
15388 Extensions: spec.Extensions{
15389 "x-kubernetes-list-type": "set",
15390 "x-kubernetes-patch-strategy": "merge",
15391 },
15392 },
15393 SchemaProps: spec.SchemaProps{
15394 Description: "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.",
15395 Type: []string{"array"},
15396 Items: &spec.SchemaOrArray{
15397 Schema: &spec.Schema{
15398 SchemaProps: spec.SchemaProps{
15399 Default: "",
15400 Type: []string{"string"},
15401 Format: "",
15402 },
15403 },
15404 },
15405 },
15406 },
15407 "managedFields": {
15408 VendorExtensible: spec.VendorExtensible{
15409 Extensions: spec.Extensions{
15410 "x-kubernetes-list-type": "atomic",
15411 },
15412 },
15413 SchemaProps: spec.SchemaProps{
15414 Description: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
15415 Type: []string{"array"},
15416 Items: &spec.SchemaOrArray{
15417 Schema: &spec.Schema{
15418 SchemaProps: spec.SchemaProps{
15419 Default: map[string]interface{}{},
15420 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"),
15421 },
15422 },
15423 },
15424 },
15425 },
15426 },
15427 },
15428 },
15429 Dependencies: []string{
15430 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
15431 }
15432 }
15433
15434 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
15435 return common.OpenAPIDefinition{
15436 Schema: spec.Schema{
15437 SchemaProps: spec.SchemaProps{
15438 Description: "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.",
15439 Type: []string{"object"},
15440 Properties: map[string]spec.Schema{
15441 "apiVersion": {
15442 SchemaProps: spec.SchemaProps{
15443 Description: "API version of the referent.",
15444 Default: "",
15445 Type: []string{"string"},
15446 Format: "",
15447 },
15448 },
15449 "kind": {
15450 SchemaProps: spec.SchemaProps{
15451 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15452 Default: "",
15453 Type: []string{"string"},
15454 Format: "",
15455 },
15456 },
15457 "name": {
15458 SchemaProps: spec.SchemaProps{
15459 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
15460 Default: "",
15461 Type: []string{"string"},
15462 Format: "",
15463 },
15464 },
15465 "uid": {
15466 SchemaProps: spec.SchemaProps{
15467 Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
15468 Default: "",
15469 Type: []string{"string"},
15470 Format: "",
15471 },
15472 },
15473 "controller": {
15474 SchemaProps: spec.SchemaProps{
15475 Description: "If true, this reference points to the managing controller.",
15476 Type: []string{"boolean"},
15477 Format: "",
15478 },
15479 },
15480 "blockOwnerDeletion": {
15481 SchemaProps: spec.SchemaProps{
15482 Description: "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.",
15483 Type: []string{"boolean"},
15484 Format: "",
15485 },
15486 },
15487 },
15488 Required: []string{"apiVersion", "kind", "name", "uid"},
15489 },
15490 VendorExtensible: spec.VendorExtensible{
15491 Extensions: spec.Extensions{
15492 "x-kubernetes-map-type": "atomic",
15493 },
15494 },
15495 },
15496 }
15497 }
15498
15499 func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
15500 return common.OpenAPIDefinition{
15501 Schema: spec.Schema{
15502 SchemaProps: spec.SchemaProps{
15503 Description: "PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version.",
15504 Type: []string{"object"},
15505 Properties: map[string]spec.Schema{
15506 "kind": {
15507 SchemaProps: spec.SchemaProps{
15508 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15509 Type: []string{"string"},
15510 Format: "",
15511 },
15512 },
15513 "apiVersion": {
15514 SchemaProps: spec.SchemaProps{
15515 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15516 Type: []string{"string"},
15517 Format: "",
15518 },
15519 },
15520 "metadata": {
15521 SchemaProps: spec.SchemaProps{
15522 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
15523 Default: map[string]interface{}{},
15524 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
15525 },
15526 },
15527 },
15528 },
15529 },
15530 Dependencies: []string{
15531 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
15532 }
15533 }
15534
15535 func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition {
15536 return common.OpenAPIDefinition{
15537 Schema: spec.Schema{
15538 SchemaProps: spec.SchemaProps{
15539 Description: "PartialObjectMetadataList contains a list of objects containing only their metadata",
15540 Type: []string{"object"},
15541 Properties: map[string]spec.Schema{
15542 "kind": {
15543 SchemaProps: spec.SchemaProps{
15544 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15545 Type: []string{"string"},
15546 Format: "",
15547 },
15548 },
15549 "apiVersion": {
15550 SchemaProps: spec.SchemaProps{
15551 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15552 Type: []string{"string"},
15553 Format: "",
15554 },
15555 },
15556 "metadata": {
15557 SchemaProps: spec.SchemaProps{
15558 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15559 Default: map[string]interface{}{},
15560 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
15561 },
15562 },
15563 "items": {
15564 SchemaProps: spec.SchemaProps{
15565 Description: "items contains each of the included items.",
15566 Type: []string{"array"},
15567 Items: &spec.SchemaOrArray{
15568 Schema: &spec.Schema{
15569 SchemaProps: spec.SchemaProps{
15570 Default: map[string]interface{}{},
15571 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"),
15572 },
15573 },
15574 },
15575 },
15576 },
15577 },
15578 Required: []string{"items"},
15579 },
15580 },
15581 Dependencies: []string{
15582 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"},
15583 }
15584 }
15585
15586 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition {
15587 return common.OpenAPIDefinition{
15588 Schema: spec.Schema{
15589 SchemaProps: spec.SchemaProps{
15590 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
15591 Type: []string{"object"},
15592 },
15593 },
15594 }
15595 }
15596
15597 func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
15598 return common.OpenAPIDefinition{
15599 Schema: spec.Schema{
15600 SchemaProps: spec.SchemaProps{
15601 Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.",
15602 Type: []string{"object"},
15603 Properties: map[string]spec.Schema{
15604 "kind": {
15605 SchemaProps: spec.SchemaProps{
15606 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15607 Type: []string{"string"},
15608 Format: "",
15609 },
15610 },
15611 "apiVersion": {
15612 SchemaProps: spec.SchemaProps{
15613 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15614 Type: []string{"string"},
15615 Format: "",
15616 },
15617 },
15618 "dryRun": {
15619 VendorExtensible: spec.VendorExtensible{
15620 Extensions: spec.Extensions{
15621 "x-kubernetes-list-type": "atomic",
15622 },
15623 },
15624 SchemaProps: spec.SchemaProps{
15625 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
15626 Type: []string{"array"},
15627 Items: &spec.SchemaOrArray{
15628 Schema: &spec.Schema{
15629 SchemaProps: spec.SchemaProps{
15630 Default: "",
15631 Type: []string{"string"},
15632 Format: "",
15633 },
15634 },
15635 },
15636 },
15637 },
15638 "force": {
15639 SchemaProps: spec.SchemaProps{
15640 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
15641 Type: []string{"boolean"},
15642 Format: "",
15643 },
15644 },
15645 "fieldManager": {
15646 SchemaProps: spec.SchemaProps{
15647 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
15648 Type: []string{"string"},
15649 Format: "",
15650 },
15651 },
15652 "fieldValidation": {
15653 SchemaProps: spec.SchemaProps{
15654 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
15655 Type: []string{"string"},
15656 Format: "",
15657 },
15658 },
15659 },
15660 },
15661 },
15662 }
15663 }
15664
15665 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition {
15666 return common.OpenAPIDefinition{
15667 Schema: spec.Schema{
15668 SchemaProps: spec.SchemaProps{
15669 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
15670 Type: []string{"object"},
15671 Properties: map[string]spec.Schema{
15672 "uid": {
15673 SchemaProps: spec.SchemaProps{
15674 Description: "Specifies the target UID.",
15675 Type: []string{"string"},
15676 Format: "",
15677 },
15678 },
15679 "resourceVersion": {
15680 SchemaProps: spec.SchemaProps{
15681 Description: "Specifies the target ResourceVersion",
15682 Type: []string{"string"},
15683 Format: "",
15684 },
15685 },
15686 },
15687 },
15688 },
15689 }
15690 }
15691
15692 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition {
15693 return common.OpenAPIDefinition{
15694 Schema: spec.Schema{
15695 SchemaProps: spec.SchemaProps{
15696 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".",
15697 Type: []string{"object"},
15698 Properties: map[string]spec.Schema{
15699 "paths": {
15700 VendorExtensible: spec.VendorExtensible{
15701 Extensions: spec.Extensions{
15702 "x-kubernetes-list-type": "atomic",
15703 },
15704 },
15705 SchemaProps: spec.SchemaProps{
15706 Description: "paths are the paths available at root.",
15707 Type: []string{"array"},
15708 Items: &spec.SchemaOrArray{
15709 Schema: &spec.Schema{
15710 SchemaProps: spec.SchemaProps{
15711 Default: "",
15712 Type: []string{"string"},
15713 Format: "",
15714 },
15715 },
15716 },
15717 },
15718 },
15719 },
15720 Required: []string{"paths"},
15721 },
15722 },
15723 }
15724 }
15725
15726 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition {
15727 return common.OpenAPIDefinition{
15728 Schema: spec.Schema{
15729 SchemaProps: spec.SchemaProps{
15730 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
15731 Type: []string{"object"},
15732 Properties: map[string]spec.Schema{
15733 "clientCIDR": {
15734 SchemaProps: spec.SchemaProps{
15735 Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.",
15736 Default: "",
15737 Type: []string{"string"},
15738 Format: "",
15739 },
15740 },
15741 "serverAddress": {
15742 SchemaProps: spec.SchemaProps{
15743 Description: "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
15744 Default: "",
15745 Type: []string{"string"},
15746 Format: "",
15747 },
15748 },
15749 },
15750 Required: []string{"clientCIDR", "serverAddress"},
15751 },
15752 },
15753 }
15754 }
15755
15756 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition {
15757 return common.OpenAPIDefinition{
15758 Schema: spec.Schema{
15759 SchemaProps: spec.SchemaProps{
15760 Description: "Status is a return value for calls that don't return other objects.",
15761 Type: []string{"object"},
15762 Properties: map[string]spec.Schema{
15763 "kind": {
15764 SchemaProps: spec.SchemaProps{
15765 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15766 Type: []string{"string"},
15767 Format: "",
15768 },
15769 },
15770 "apiVersion": {
15771 SchemaProps: spec.SchemaProps{
15772 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15773 Type: []string{"string"},
15774 Format: "",
15775 },
15776 },
15777 "metadata": {
15778 SchemaProps: spec.SchemaProps{
15779 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15780 Default: map[string]interface{}{},
15781 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
15782 },
15783 },
15784 "status": {
15785 SchemaProps: spec.SchemaProps{
15786 Description: "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
15787 Type: []string{"string"},
15788 Format: "",
15789 },
15790 },
15791 "message": {
15792 SchemaProps: spec.SchemaProps{
15793 Description: "A human-readable description of the status of this operation.",
15794 Type: []string{"string"},
15795 Format: "",
15796 },
15797 },
15798 "reason": {
15799 SchemaProps: spec.SchemaProps{
15800 Description: "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
15801 Type: []string{"string"},
15802 Format: "",
15803 },
15804 },
15805 "details": {
15806 VendorExtensible: spec.VendorExtensible{
15807 Extensions: spec.Extensions{
15808 "x-kubernetes-list-type": "atomic",
15809 },
15810 },
15811 SchemaProps: spec.SchemaProps{
15812 Description: "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
15813 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"),
15814 },
15815 },
15816 "code": {
15817 SchemaProps: spec.SchemaProps{
15818 Description: "Suggested HTTP return code for this status, 0 if not set.",
15819 Type: []string{"integer"},
15820 Format: "int32",
15821 },
15822 },
15823 },
15824 },
15825 },
15826 Dependencies: []string{
15827 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"},
15828 }
15829 }
15830
15831 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition {
15832 return common.OpenAPIDefinition{
15833 Schema: spec.Schema{
15834 SchemaProps: spec.SchemaProps{
15835 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
15836 Type: []string{"object"},
15837 Properties: map[string]spec.Schema{
15838 "reason": {
15839 SchemaProps: spec.SchemaProps{
15840 Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
15841 Type: []string{"string"},
15842 Format: "",
15843 },
15844 },
15845 "message": {
15846 SchemaProps: spec.SchemaProps{
15847 Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
15848 Type: []string{"string"},
15849 Format: "",
15850 },
15851 },
15852 "field": {
15853 SchemaProps: spec.SchemaProps{
15854 Description: "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
15855 Type: []string{"string"},
15856 Format: "",
15857 },
15858 },
15859 },
15860 },
15861 },
15862 }
15863 }
15864
15865 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
15866 return common.OpenAPIDefinition{
15867 Schema: spec.Schema{
15868 SchemaProps: spec.SchemaProps{
15869 Description: "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
15870 Type: []string{"object"},
15871 Properties: map[string]spec.Schema{
15872 "name": {
15873 SchemaProps: spec.SchemaProps{
15874 Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
15875 Type: []string{"string"},
15876 Format: "",
15877 },
15878 },
15879 "group": {
15880 SchemaProps: spec.SchemaProps{
15881 Description: "The group attribute of the resource associated with the status StatusReason.",
15882 Type: []string{"string"},
15883 Format: "",
15884 },
15885 },
15886 "kind": {
15887 SchemaProps: spec.SchemaProps{
15888 Description: "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15889 Type: []string{"string"},
15890 Format: "",
15891 },
15892 },
15893 "uid": {
15894 SchemaProps: spec.SchemaProps{
15895 Description: "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
15896 Type: []string{"string"},
15897 Format: "",
15898 },
15899 },
15900 "causes": {
15901 VendorExtensible: spec.VendorExtensible{
15902 Extensions: spec.Extensions{
15903 "x-kubernetes-list-type": "atomic",
15904 },
15905 },
15906 SchemaProps: spec.SchemaProps{
15907 Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
15908 Type: []string{"array"},
15909 Items: &spec.SchemaOrArray{
15910 Schema: &spec.Schema{
15911 SchemaProps: spec.SchemaProps{
15912 Default: map[string]interface{}{},
15913 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"),
15914 },
15915 },
15916 },
15917 },
15918 },
15919 "retryAfterSeconds": {
15920 SchemaProps: spec.SchemaProps{
15921 Description: "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
15922 Type: []string{"integer"},
15923 Format: "int32",
15924 },
15925 },
15926 },
15927 },
15928 },
15929 Dependencies: []string{
15930 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"},
15931 }
15932 }
15933
15934 func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition {
15935 return common.OpenAPIDefinition{
15936 Schema: spec.Schema{
15937 SchemaProps: spec.SchemaProps{
15938 Description: "Table is a tabular representation of a set of API resources. The server transforms the object into a set of preferred columns for quickly reviewing the objects.",
15939 Type: []string{"object"},
15940 Properties: map[string]spec.Schema{
15941 "kind": {
15942 SchemaProps: spec.SchemaProps{
15943 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15944 Type: []string{"string"},
15945 Format: "",
15946 },
15947 },
15948 "apiVersion": {
15949 SchemaProps: spec.SchemaProps{
15950 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
15951 Type: []string{"string"},
15952 Format: "",
15953 },
15954 },
15955 "metadata": {
15956 SchemaProps: spec.SchemaProps{
15957 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
15958 Default: map[string]interface{}{},
15959 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
15960 },
15961 },
15962 "columnDefinitions": {
15963 VendorExtensible: spec.VendorExtensible{
15964 Extensions: spec.Extensions{
15965 "x-kubernetes-list-type": "atomic",
15966 },
15967 },
15968 SchemaProps: spec.SchemaProps{
15969 Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.",
15970 Type: []string{"array"},
15971 Items: &spec.SchemaOrArray{
15972 Schema: &spec.Schema{
15973 SchemaProps: spec.SchemaProps{
15974 Default: map[string]interface{}{},
15975 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"),
15976 },
15977 },
15978 },
15979 },
15980 },
15981 "rows": {
15982 VendorExtensible: spec.VendorExtensible{
15983 Extensions: spec.Extensions{
15984 "x-kubernetes-list-type": "atomic",
15985 },
15986 },
15987 SchemaProps: spec.SchemaProps{
15988 Description: "rows is the list of items in the table.",
15989 Type: []string{"array"},
15990 Items: &spec.SchemaOrArray{
15991 Schema: &spec.Schema{
15992 SchemaProps: spec.SchemaProps{
15993 Default: map[string]interface{}{},
15994 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"),
15995 },
15996 },
15997 },
15998 },
15999 },
16000 },
16001 Required: []string{"columnDefinitions", "rows"},
16002 },
16003 },
16004 Dependencies: []string{
16005 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"},
16006 }
16007 }
16008
16009 func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
16010 return common.OpenAPIDefinition{
16011 Schema: spec.Schema{
16012 SchemaProps: spec.SchemaProps{
16013 Description: "TableColumnDefinition contains information about a column returned in the Table.",
16014 Type: []string{"object"},
16015 Properties: map[string]spec.Schema{
16016 "name": {
16017 SchemaProps: spec.SchemaProps{
16018 Description: "name is a human readable name for the column.",
16019 Default: "",
16020 Type: []string{"string"},
16021 Format: "",
16022 },
16023 },
16024 "type": {
16025 SchemaProps: spec.SchemaProps{
16026 Description: "type is an OpenAPI type definition for this column, such as number, integer, string, or array. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.",
16027 Default: "",
16028 Type: []string{"string"},
16029 Format: "",
16030 },
16031 },
16032 "format": {
16033 SchemaProps: spec.SchemaProps{
16034 Description: "format is an optional OpenAPI type modifier for this column. A format modifies the type and imposes additional rules, like date or time formatting for a string. The 'name' format is applied to the primary identifier column which has type 'string' to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.",
16035 Default: "",
16036 Type: []string{"string"},
16037 Format: "",
16038 },
16039 },
16040 "description": {
16041 SchemaProps: spec.SchemaProps{
16042 Description: "description is a human readable description of this column.",
16043 Default: "",
16044 Type: []string{"string"},
16045 Format: "",
16046 },
16047 },
16048 "priority": {
16049 SchemaProps: spec.SchemaProps{
16050 Description: "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.",
16051 Default: 0,
16052 Type: []string{"integer"},
16053 Format: "int32",
16054 },
16055 },
16056 },
16057 Required: []string{"name", "type", "format", "description", "priority"},
16058 },
16059 },
16060 }
16061 }
16062
16063 func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
16064 return common.OpenAPIDefinition{
16065 Schema: spec.Schema{
16066 SchemaProps: spec.SchemaProps{
16067 Description: "TableOptions are used when a Table is requested by the caller.",
16068 Type: []string{"object"},
16069 Properties: map[string]spec.Schema{
16070 "kind": {
16071 SchemaProps: spec.SchemaProps{
16072 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16073 Type: []string{"string"},
16074 Format: "",
16075 },
16076 },
16077 "apiVersion": {
16078 SchemaProps: spec.SchemaProps{
16079 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
16080 Type: []string{"string"},
16081 Format: "",
16082 },
16083 },
16084 "includeObject": {
16085 SchemaProps: spec.SchemaProps{
16086 Description: "includeObject decides whether to include each object along with its columnar information. Specifying \"None\" will return no object, specifying \"Object\" will return the full object contents, and specifying \"Metadata\" (the default) will return the object's metadata in the PartialObjectMetadata kind in version v1beta1 of the meta.k8s.io API group.",
16087 Type: []string{"string"},
16088 Format: "",
16089 },
16090 },
16091 },
16092 },
16093 },
16094 }
16095 }
16096
16097 func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition {
16098 return common.OpenAPIDefinition{
16099 Schema: spec.Schema{
16100 SchemaProps: spec.SchemaProps{
16101 Description: "TableRow is an individual row in a table.",
16102 Type: []string{"object"},
16103 Properties: map[string]spec.Schema{
16104 "cells": {
16105 VendorExtensible: spec.VendorExtensible{
16106 Extensions: spec.Extensions{
16107 "x-kubernetes-list-type": "atomic",
16108 },
16109 },
16110 SchemaProps: spec.SchemaProps{
16111 Description: "cells will be as wide as the column definitions array and may contain strings, numbers (float64 or int64), booleans, simple maps, lists, or null. See the type field of the column definition for a more detailed description.",
16112 Type: []string{"array"},
16113 Items: &spec.SchemaOrArray{
16114 Schema: &spec.Schema{
16115 SchemaProps: spec.SchemaProps{
16116 Type: []string{"object"},
16117 Format: "",
16118 },
16119 },
16120 },
16121 },
16122 },
16123 "conditions": {
16124 VendorExtensible: spec.VendorExtensible{
16125 Extensions: spec.Extensions{
16126 "x-kubernetes-list-type": "atomic",
16127 },
16128 },
16129 SchemaProps: spec.SchemaProps{
16130 Description: "conditions describe additional status of a row that are relevant for a human user. These conditions apply to the row, not to the object, and will be specific to table output. The only defined condition type is 'Completed', for a row that indicates a resource that has run to completion and can be given less visual priority.",
16131 Type: []string{"array"},
16132 Items: &spec.SchemaOrArray{
16133 Schema: &spec.Schema{
16134 SchemaProps: spec.SchemaProps{
16135 Default: map[string]interface{}{},
16136 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"),
16137 },
16138 },
16139 },
16140 },
16141 },
16142 "object": {
16143 SchemaProps: spec.SchemaProps{
16144 Description: "This field contains the requested additional information about each object based on the includeObject policy when requesting the Table. If \"None\", this field is empty, if \"Object\" this will be the default serialization of the object for the current API version, and if \"Metadata\" (the default) will contain the object metadata. Check the returned kind and apiVersion of the object before parsing. The media type of the object will always match the enclosing list - if this as a JSON table, these will be JSON encoded objects.",
16145 Default: map[string]interface{}{},
16146 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
16147 },
16148 },
16149 },
16150 Required: []string{"cells"},
16151 },
16152 },
16153 Dependencies: []string{
16154 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
16155 }
16156 }
16157
16158 func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
16159 return common.OpenAPIDefinition{
16160 Schema: spec.Schema{
16161 SchemaProps: spec.SchemaProps{
16162 Description: "TableRowCondition allows a row to be marked with additional information.",
16163 Type: []string{"object"},
16164 Properties: map[string]spec.Schema{
16165 "type": {
16166 SchemaProps: spec.SchemaProps{
16167 Description: "Type of row condition. The only defined value is 'Completed' indicating that the object this row represents has reached a completed state and may be given less visual priority than other rows. Clients are not required to honor any conditions but should be consistent where possible about handling the conditions.",
16168 Default: "",
16169 Type: []string{"string"},
16170 Format: "",
16171 },
16172 },
16173 "status": {
16174 SchemaProps: spec.SchemaProps{
16175 Description: "Status of the condition, one of True, False, Unknown.",
16176 Default: "",
16177 Type: []string{"string"},
16178 Format: "",
16179 },
16180 },
16181 "reason": {
16182 SchemaProps: spec.SchemaProps{
16183 Description: "(brief) machine readable reason for the condition's last transition.",
16184 Type: []string{"string"},
16185 Format: "",
16186 },
16187 },
16188 "message": {
16189 SchemaProps: spec.SchemaProps{
16190 Description: "Human readable message indicating details about last transition.",
16191 Type: []string{"string"},
16192 Format: "",
16193 },
16194 },
16195 },
16196 Required: []string{"type", "status"},
16197 },
16198 },
16199 }
16200 }
16201
16202 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition {
16203 return common.OpenAPIDefinition{
16204 Schema: spec.Schema{
16205 SchemaProps: spec.SchemaProps{
16206 Description: "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.",
16207 Type: v1.Time{}.OpenAPISchemaType(),
16208 Format: v1.Time{}.OpenAPISchemaFormat(),
16209 },
16210 },
16211 }
16212 }
16213
16214 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
16215 return common.OpenAPIDefinition{
16216 Schema: spec.Schema{
16217 SchemaProps: spec.SchemaProps{
16218 Description: "Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.",
16219 Type: []string{"object"},
16220 Properties: map[string]spec.Schema{
16221 "seconds": {
16222 SchemaProps: spec.SchemaProps{
16223 Description: "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.",
16224 Default: 0,
16225 Type: []string{"integer"},
16226 Format: "int64",
16227 },
16228 },
16229 "nanos": {
16230 SchemaProps: spec.SchemaProps{
16231 Description: "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.",
16232 Default: 0,
16233 Type: []string{"integer"},
16234 Format: "int32",
16235 },
16236 },
16237 },
16238 Required: []string{"seconds", "nanos"},
16239 },
16240 },
16241 }
16242 }
16243
16244 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
16245 return common.OpenAPIDefinition{
16246 Schema: spec.Schema{
16247 SchemaProps: spec.SchemaProps{
16248 Description: "TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.",
16249 Type: []string{"object"},
16250 Properties: map[string]spec.Schema{
16251 "kind": {
16252 SchemaProps: spec.SchemaProps{
16253 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16254 Type: []string{"string"},
16255 Format: "",
16256 },
16257 },
16258 "apiVersion": {
16259 SchemaProps: spec.SchemaProps{
16260 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
16261 Type: []string{"string"},
16262 Format: "",
16263 },
16264 },
16265 },
16266 },
16267 },
16268 }
16269 }
16270
16271 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
16272 return common.OpenAPIDefinition{
16273 Schema: spec.Schema{
16274 SchemaProps: spec.SchemaProps{
16275 Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.",
16276 Type: []string{"object"},
16277 Properties: map[string]spec.Schema{
16278 "kind": {
16279 SchemaProps: spec.SchemaProps{
16280 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16281 Type: []string{"string"},
16282 Format: "",
16283 },
16284 },
16285 "apiVersion": {
16286 SchemaProps: spec.SchemaProps{
16287 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
16288 Type: []string{"string"},
16289 Format: "",
16290 },
16291 },
16292 "dryRun": {
16293 VendorExtensible: spec.VendorExtensible{
16294 Extensions: spec.Extensions{
16295 "x-kubernetes-list-type": "atomic",
16296 },
16297 },
16298 SchemaProps: spec.SchemaProps{
16299 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
16300 Type: []string{"array"},
16301 Items: &spec.SchemaOrArray{
16302 Schema: &spec.Schema{
16303 SchemaProps: spec.SchemaProps{
16304 Default: "",
16305 Type: []string{"string"},
16306 Format: "",
16307 },
16308 },
16309 },
16310 },
16311 },
16312 "fieldManager": {
16313 SchemaProps: spec.SchemaProps{
16314 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
16315 Type: []string{"string"},
16316 Format: "",
16317 },
16318 },
16319 "fieldValidation": {
16320 SchemaProps: spec.SchemaProps{
16321 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
16322 Type: []string{"string"},
16323 Format: "",
16324 },
16325 },
16326 },
16327 },
16328 },
16329 }
16330 }
16331
16332 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
16333 return common.OpenAPIDefinition{
16334 Schema: spec.Schema{
16335 SchemaProps: spec.SchemaProps{
16336 Description: "Event represents a single event to a watched resource.",
16337 Type: []string{"object"},
16338 Properties: map[string]spec.Schema{
16339 "type": {
16340 SchemaProps: spec.SchemaProps{
16341 Default: "",
16342 Type: []string{"string"},
16343 Format: "",
16344 },
16345 },
16346 "object": {
16347 SchemaProps: spec.SchemaProps{
16348 Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
16349 Default: map[string]interface{}{},
16350 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
16351 },
16352 },
16353 },
16354 Required: []string{"type", "object"},
16355 },
16356 },
16357 Dependencies: []string{
16358 "k8s.io/apimachinery/pkg/runtime.RawExtension"},
16359 }
16360 }
16361
16362 func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition {
16363 return common.OpenAPIDefinition{
16364 Schema: spec.Schema{
16365 SchemaProps: spec.SchemaProps{
16366 Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
16367 Type: []string{"object"},
16368 },
16369 },
16370 }
16371 }
16372
16373 func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
16374 return common.OpenAPIDefinition{
16375 Schema: spec.Schema{
16376 SchemaProps: spec.SchemaProps{
16377 Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t runtime.TypeMeta `json:\",inline\"`\n\t ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
16378 Type: []string{"object"},
16379 Properties: map[string]spec.Schema{
16380 "apiVersion": {
16381 SchemaProps: spec.SchemaProps{
16382 Type: []string{"string"},
16383 Format: "",
16384 },
16385 },
16386 "kind": {
16387 SchemaProps: spec.SchemaProps{
16388 Type: []string{"string"},
16389 Format: "",
16390 },
16391 },
16392 },
16393 },
16394 },
16395 }
16396 }
16397
16398 func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition {
16399 return common.OpenAPIDefinition{
16400 Schema: spec.Schema{
16401 SchemaProps: spec.SchemaProps{
16402 Description: "Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. metadata and field mutatation.",
16403 Type: []string{"object"},
16404 Properties: map[string]spec.Schema{
16405 "apiVersion": {
16406 SchemaProps: spec.SchemaProps{
16407 Type: []string{"string"},
16408 Format: "",
16409 },
16410 },
16411 "kind": {
16412 SchemaProps: spec.SchemaProps{
16413 Type: []string{"string"},
16414 Format: "",
16415 },
16416 },
16417 "ContentEncoding": {
16418 SchemaProps: spec.SchemaProps{
16419 Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.",
16420 Default: "",
16421 Type: []string{"string"},
16422 Format: "",
16423 },
16424 },
16425 "ContentType": {
16426 SchemaProps: spec.SchemaProps{
16427 Description: "ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.",
16428 Default: "",
16429 Type: []string{"string"},
16430 Format: "",
16431 },
16432 },
16433 },
16434 Required: []string{"ContentEncoding", "ContentType"},
16435 },
16436 },
16437 }
16438 }
16439
16440 func schema_apimachinery_pkg_util_intstr_IntOrString(ref common.ReferenceCallback) common.OpenAPIDefinition {
16441 return common.EmbedOpenAPIDefinitionIntoV2Extension(common.OpenAPIDefinition{
16442 Schema: spec.Schema{
16443 SchemaProps: spec.SchemaProps{
16444 Description: "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
16445 OneOf: common.GenerateOpenAPIV3OneOfSchema(intstr.IntOrString{}.OpenAPIV3OneOfTypes()),
16446 Format: intstr.IntOrString{}.OpenAPISchemaFormat(),
16447 },
16448 },
16449 }, common.OpenAPIDefinition{
16450 Schema: spec.Schema{
16451 SchemaProps: spec.SchemaProps{
16452 Description: "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
16453 Type: intstr.IntOrString{}.OpenAPISchemaType(),
16454 Format: intstr.IntOrString{}.OpenAPISchemaFormat(),
16455 },
16456 },
16457 })
16458 }
16459
16460 func schema_kubevirtio_api_clone_v1alpha1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
16461 return common.OpenAPIDefinition{
16462 Schema: spec.Schema{
16463 SchemaProps: spec.SchemaProps{
16464 Description: "Condition defines conditions",
16465 Type: []string{"object"},
16466 Properties: map[string]spec.Schema{
16467 "type": {
16468 SchemaProps: spec.SchemaProps{
16469 Default: "",
16470 Type: []string{"string"},
16471 Format: "",
16472 },
16473 },
16474 "status": {
16475 SchemaProps: spec.SchemaProps{
16476 Default: "",
16477 Type: []string{"string"},
16478 Format: "",
16479 },
16480 },
16481 "lastProbeTime": {
16482 SchemaProps: spec.SchemaProps{
16483 Default: map[string]interface{}{},
16484 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
16485 },
16486 },
16487 "lastTransitionTime": {
16488 SchemaProps: spec.SchemaProps{
16489 Default: map[string]interface{}{},
16490 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
16491 },
16492 },
16493 "reason": {
16494 SchemaProps: spec.SchemaProps{
16495 Type: []string{"string"},
16496 Format: "",
16497 },
16498 },
16499 "message": {
16500 SchemaProps: spec.SchemaProps{
16501 Type: []string{"string"},
16502 Format: "",
16503 },
16504 },
16505 },
16506 Required: []string{"type", "status"},
16507 },
16508 },
16509 Dependencies: []string{
16510 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
16511 }
16512 }
16513
16514 func schema_kubevirtio_api_clone_v1alpha1_VirtualMachineClone(ref common.ReferenceCallback) common.OpenAPIDefinition {
16515 return common.OpenAPIDefinition{
16516 Schema: spec.Schema{
16517 SchemaProps: spec.SchemaProps{
16518 Description: "VirtualMachineClone is a CRD that clones one VM into another.",
16519 Type: []string{"object"},
16520 Properties: map[string]spec.Schema{
16521 "kind": {
16522 SchemaProps: spec.SchemaProps{
16523 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16524 Type: []string{"string"},
16525 Format: "",
16526 },
16527 },
16528 "apiVersion": {
16529 SchemaProps: spec.SchemaProps{
16530 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
16531 Type: []string{"string"},
16532 Format: "",
16533 },
16534 },
16535 "metadata": {
16536 SchemaProps: spec.SchemaProps{
16537 Default: map[string]interface{}{},
16538 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
16539 },
16540 },
16541 "spec": {
16542 SchemaProps: spec.SchemaProps{
16543 Default: map[string]interface{}{},
16544 Ref: ref("kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneSpec"),
16545 },
16546 },
16547 "status": {
16548 SchemaProps: spec.SchemaProps{
16549 Default: map[string]interface{}{},
16550 Ref: ref("kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneStatus"),
16551 },
16552 },
16553 },
16554 Required: []string{"spec"},
16555 },
16556 },
16557 Dependencies: []string{
16558 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneSpec", "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneStatus"},
16559 }
16560 }
16561
16562 func schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneList(ref common.ReferenceCallback) common.OpenAPIDefinition {
16563 return common.OpenAPIDefinition{
16564 Schema: spec.Schema{
16565 SchemaProps: spec.SchemaProps{
16566 Description: "VirtualMachineCloneList is a list of MigrationPolicy",
16567 Type: []string{"object"},
16568 Properties: map[string]spec.Schema{
16569 "kind": {
16570 SchemaProps: spec.SchemaProps{
16571 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16572 Type: []string{"string"},
16573 Format: "",
16574 },
16575 },
16576 "apiVersion": {
16577 SchemaProps: spec.SchemaProps{
16578 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
16579 Type: []string{"string"},
16580 Format: "",
16581 },
16582 },
16583 "metadata": {
16584 SchemaProps: spec.SchemaProps{
16585 Default: map[string]interface{}{},
16586 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
16587 },
16588 },
16589 "items": {
16590 VendorExtensible: spec.VendorExtensible{
16591 Extensions: spec.Extensions{
16592 "x-kubernetes-list-type": "atomic",
16593 },
16594 },
16595 SchemaProps: spec.SchemaProps{
16596 Type: []string{"array"},
16597 Items: &spec.SchemaOrArray{
16598 Schema: &spec.Schema{
16599 SchemaProps: spec.SchemaProps{
16600 Default: map[string]interface{}{},
16601 Ref: ref("kubevirt.io/api/clone/v1alpha1.VirtualMachineClone"),
16602 },
16603 },
16604 },
16605 },
16606 },
16607 },
16608 Required: []string{"items"},
16609 },
16610 },
16611 Dependencies: []string{
16612 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/clone/v1alpha1.VirtualMachineClone"},
16613 }
16614 }
16615
16616 func schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
16617 return common.OpenAPIDefinition{
16618 Schema: spec.Schema{
16619 SchemaProps: spec.SchemaProps{
16620 Type: []string{"object"},
16621 Properties: map[string]spec.Schema{
16622 "source": {
16623 SchemaProps: spec.SchemaProps{
16624 Description: "Source is the object that would be cloned. Currently supported source types are: VirtualMachine of kubevirt.io API group, VirtualMachineSnapshot of snapshot.kubevirt.io API group",
16625 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
16626 },
16627 },
16628 "target": {
16629 SchemaProps: spec.SchemaProps{
16630 Description: "Target is the outcome of the cloning process. Currently supported source types are: - VirtualMachine of kubevirt.io API group - Empty (nil). If the target is not provided, the target type would default to VirtualMachine and a random name would be generated for the target. The target's name can be viewed by inspecting status \"TargetName\" field below.",
16631 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
16632 },
16633 },
16634 "annotationFilters": {
16635 VendorExtensible: spec.VendorExtensible{
16636 Extensions: spec.Extensions{
16637 "x-kubernetes-list-type": "atomic",
16638 },
16639 },
16640 SchemaProps: spec.SchemaProps{
16641 Description: "Example use: \"!some/key*\". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.",
16642 Type: []string{"array"},
16643 Items: &spec.SchemaOrArray{
16644 Schema: &spec.Schema{
16645 SchemaProps: spec.SchemaProps{
16646 Default: "",
16647 Type: []string{"string"},
16648 Format: "",
16649 },
16650 },
16651 },
16652 },
16653 },
16654 "labelFilters": {
16655 VendorExtensible: spec.VendorExtensible{
16656 Extensions: spec.Extensions{
16657 "x-kubernetes-list-type": "atomic",
16658 },
16659 },
16660 SchemaProps: spec.SchemaProps{
16661 Description: "Example use: \"!some/key*\". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.",
16662 Type: []string{"array"},
16663 Items: &spec.SchemaOrArray{
16664 Schema: &spec.Schema{
16665 SchemaProps: spec.SchemaProps{
16666 Default: "",
16667 Type: []string{"string"},
16668 Format: "",
16669 },
16670 },
16671 },
16672 },
16673 },
16674 "template": {
16675 SchemaProps: spec.SchemaProps{
16676 Description: "For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.",
16677 Default: map[string]interface{}{},
16678 Ref: ref("kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneTemplateFilters"),
16679 },
16680 },
16681 "newMacAddresses": {
16682 SchemaProps: spec.SchemaProps{
16683 Description: "NewMacAddresses manually sets that target interfaces' mac addresses. The key is the interface name and the value is the new mac address. If this field is not specified, a new MAC address will be generated automatically, as for any interface that is not included in this map.",
16684 Type: []string{"object"},
16685 AdditionalProperties: &spec.SchemaOrBool{
16686 Allows: true,
16687 Schema: &spec.Schema{
16688 SchemaProps: spec.SchemaProps{
16689 Default: "",
16690 Type: []string{"string"},
16691 Format: "",
16692 },
16693 },
16694 },
16695 },
16696 },
16697 "newSMBiosSerial": {
16698 SchemaProps: spec.SchemaProps{
16699 Description: "NewSMBiosSerial manually sets that target's SMbios serial. If this field is not specified, a new serial will be generated automatically.",
16700 Type: []string{"string"},
16701 Format: "",
16702 },
16703 },
16704 },
16705 Required: []string{"source"},
16706 },
16707 },
16708 Dependencies: []string{
16709 "k8s.io/api/core/v1.TypedLocalObjectReference", "kubevirt.io/api/clone/v1alpha1.VirtualMachineCloneTemplateFilters"},
16710 }
16711 }
16712
16713 func schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
16714 return common.OpenAPIDefinition{
16715 Schema: spec.Schema{
16716 SchemaProps: spec.SchemaProps{
16717 Type: []string{"object"},
16718 Properties: map[string]spec.Schema{
16719 "creationTime": {
16720 SchemaProps: spec.SchemaProps{
16721 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
16722 },
16723 },
16724 "phase": {
16725 SchemaProps: spec.SchemaProps{
16726 Type: []string{"string"},
16727 Format: "",
16728 },
16729 },
16730 "conditions": {
16731 VendorExtensible: spec.VendorExtensible{
16732 Extensions: spec.Extensions{
16733 "x-kubernetes-list-type": "atomic",
16734 },
16735 },
16736 SchemaProps: spec.SchemaProps{
16737 Type: []string{"array"},
16738 Items: &spec.SchemaOrArray{
16739 Schema: &spec.Schema{
16740 SchemaProps: spec.SchemaProps{
16741 Default: map[string]interface{}{},
16742 Ref: ref("kubevirt.io/api/clone/v1alpha1.Condition"),
16743 },
16744 },
16745 },
16746 },
16747 },
16748 "snapshotName": {
16749 SchemaProps: spec.SchemaProps{
16750 Type: []string{"string"},
16751 Format: "",
16752 },
16753 },
16754 "restoreName": {
16755 SchemaProps: spec.SchemaProps{
16756 Type: []string{"string"},
16757 Format: "",
16758 },
16759 },
16760 "targetName": {
16761 SchemaProps: spec.SchemaProps{
16762 Type: []string{"string"},
16763 Format: "",
16764 },
16765 },
16766 },
16767 },
16768 },
16769 Dependencies: []string{
16770 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/clone/v1alpha1.Condition"},
16771 }
16772 }
16773
16774 func schema_kubevirtio_api_clone_v1alpha1_VirtualMachineCloneTemplateFilters(ref common.ReferenceCallback) common.OpenAPIDefinition {
16775 return common.OpenAPIDefinition{
16776 Schema: spec.Schema{
16777 SchemaProps: spec.SchemaProps{
16778 Type: []string{"object"},
16779 Properties: map[string]spec.Schema{
16780 "annotationFilters": {
16781 VendorExtensible: spec.VendorExtensible{
16782 Extensions: spec.Extensions{
16783 "x-kubernetes-list-type": "atomic",
16784 },
16785 },
16786 SchemaProps: spec.SchemaProps{
16787 Description: "Example use: \"!some/key*\". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.",
16788 Type: []string{"array"},
16789 Items: &spec.SchemaOrArray{
16790 Schema: &spec.Schema{
16791 SchemaProps: spec.SchemaProps{
16792 Default: "",
16793 Type: []string{"string"},
16794 Format: "",
16795 },
16796 },
16797 },
16798 },
16799 },
16800 "labelFilters": {
16801 VendorExtensible: spec.VendorExtensible{
16802 Extensions: spec.Extensions{
16803 "x-kubernetes-list-type": "atomic",
16804 },
16805 },
16806 SchemaProps: spec.SchemaProps{
16807 Description: "Example use: \"!some/key*\". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.",
16808 Type: []string{"array"},
16809 Items: &spec.SchemaOrArray{
16810 Schema: &spec.Schema{
16811 SchemaProps: spec.SchemaProps{
16812 Default: "",
16813 Type: []string{"string"},
16814 Format: "",
16815 },
16816 },
16817 },
16818 },
16819 },
16820 },
16821 },
16822 },
16823 }
16824 }
16825
16826 func schema_kubevirtio_api_core_v1_ACPI(ref common.ReferenceCallback) common.OpenAPIDefinition {
16827 return common.OpenAPIDefinition{
16828 Schema: spec.Schema{
16829 SchemaProps: spec.SchemaProps{
16830 Type: []string{"object"},
16831 Properties: map[string]spec.Schema{
16832 "slicNameRef": {
16833 SchemaProps: spec.SchemaProps{
16834 Description: "SlicNameRef should match the volume name of a secret object. The data in the secret should be a binary blob that follows the ACPI SLIC standard, see: https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)",
16835 Type: []string{"string"},
16836 Format: "",
16837 },
16838 },
16839 },
16840 },
16841 },
16842 }
16843 }
16844
16845 func schema_kubevirtio_api_core_v1_AccessCredential(ref common.ReferenceCallback) common.OpenAPIDefinition {
16846 return common.OpenAPIDefinition{
16847 Schema: spec.Schema{
16848 SchemaProps: spec.SchemaProps{
16849 Description: "AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified.",
16850 Type: []string{"object"},
16851 Properties: map[string]spec.Schema{
16852 "sshPublicKey": {
16853 SchemaProps: spec.SchemaProps{
16854 Description: "SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine.",
16855 Ref: ref("kubevirt.io/api/core/v1.SSHPublicKeyAccessCredential"),
16856 },
16857 },
16858 "userPassword": {
16859 SchemaProps: spec.SchemaProps{
16860 Description: "UserPassword represents the source and method for applying a guest user's password",
16861 Ref: ref("kubevirt.io/api/core/v1.UserPasswordAccessCredential"),
16862 },
16863 },
16864 },
16865 },
16866 },
16867 Dependencies: []string{
16868 "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredential", "kubevirt.io/api/core/v1.UserPasswordAccessCredential"},
16869 }
16870 }
16871
16872 func schema_kubevirtio_api_core_v1_AccessCredentialSecretSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
16873 return common.OpenAPIDefinition{
16874 Schema: spec.Schema{
16875 SchemaProps: spec.SchemaProps{
16876 Type: []string{"object"},
16877 Properties: map[string]spec.Schema{
16878 "secretName": {
16879 SchemaProps: spec.SchemaProps{
16880 Description: "SecretName represents the name of the secret in the VMI's namespace",
16881 Default: "",
16882 Type: []string{"string"},
16883 Format: "",
16884 },
16885 },
16886 },
16887 Required: []string{"secretName"},
16888 },
16889 },
16890 }
16891 }
16892
16893 func schema_kubevirtio_api_core_v1_AddVolumeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
16894 return common.OpenAPIDefinition{
16895 Schema: spec.Schema{
16896 SchemaProps: spec.SchemaProps{
16897 Description: "AddVolumeOptions is provided when dynamically hot plugging a volume and disk",
16898 Type: []string{"object"},
16899 Properties: map[string]spec.Schema{
16900 "name": {
16901 SchemaProps: spec.SchemaProps{
16902 Description: "Name represents the name that will be used to map the disk to the corresponding volume. This overrides any name set inside the Disk struct itself.",
16903 Default: "",
16904 Type: []string{"string"},
16905 Format: "",
16906 },
16907 },
16908 "disk": {
16909 SchemaProps: spec.SchemaProps{
16910 Description: "Disk represents the hotplug disk that will be plugged into the running VMI",
16911 Ref: ref("kubevirt.io/api/core/v1.Disk"),
16912 },
16913 },
16914 "volumeSource": {
16915 SchemaProps: spec.SchemaProps{
16916 Description: "VolumeSource represents the source of the volume to map to the disk.",
16917 Ref: ref("kubevirt.io/api/core/v1.HotplugVolumeSource"),
16918 },
16919 },
16920 "dryRun": {
16921 VendorExtensible: spec.VendorExtensible{
16922 Extensions: spec.Extensions{
16923 "x-kubernetes-list-type": "atomic",
16924 },
16925 },
16926 SchemaProps: spec.SchemaProps{
16927 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
16928 Type: []string{"array"},
16929 Items: &spec.SchemaOrArray{
16930 Schema: &spec.Schema{
16931 SchemaProps: spec.SchemaProps{
16932 Default: "",
16933 Type: []string{"string"},
16934 Format: "",
16935 },
16936 },
16937 },
16938 },
16939 },
16940 },
16941 Required: []string{"name", "disk", "volumeSource"},
16942 },
16943 },
16944 Dependencies: []string{
16945 "kubevirt.io/api/core/v1.Disk", "kubevirt.io/api/core/v1.HotplugVolumeSource"},
16946 }
16947 }
16948
16949 func schema_kubevirtio_api_core_v1_ArchConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
16950 return common.OpenAPIDefinition{
16951 Schema: spec.Schema{
16952 SchemaProps: spec.SchemaProps{
16953 Type: []string{"object"},
16954 Properties: map[string]spec.Schema{
16955 "amd64": {
16956 SchemaProps: spec.SchemaProps{
16957 Ref: ref("kubevirt.io/api/core/v1.ArchSpecificConfiguration"),
16958 },
16959 },
16960 "arm64": {
16961 SchemaProps: spec.SchemaProps{
16962 Ref: ref("kubevirt.io/api/core/v1.ArchSpecificConfiguration"),
16963 },
16964 },
16965 "ppc64le": {
16966 SchemaProps: spec.SchemaProps{
16967 Ref: ref("kubevirt.io/api/core/v1.ArchSpecificConfiguration"),
16968 },
16969 },
16970 "defaultArchitecture": {
16971 SchemaProps: spec.SchemaProps{
16972 Type: []string{"string"},
16973 Format: "",
16974 },
16975 },
16976 },
16977 },
16978 },
16979 Dependencies: []string{
16980 "kubevirt.io/api/core/v1.ArchSpecificConfiguration"},
16981 }
16982 }
16983
16984 func schema_kubevirtio_api_core_v1_ArchSpecificConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
16985 return common.OpenAPIDefinition{
16986 Schema: spec.Schema{
16987 SchemaProps: spec.SchemaProps{
16988 Type: []string{"object"},
16989 Properties: map[string]spec.Schema{
16990 "ovmfPath": {
16991 SchemaProps: spec.SchemaProps{
16992 Type: []string{"string"},
16993 Format: "",
16994 },
16995 },
16996 "emulatedMachines": {
16997 VendorExtensible: spec.VendorExtensible{
16998 Extensions: spec.Extensions{
16999 "x-kubernetes-list-type": "atomic",
17000 },
17001 },
17002 SchemaProps: spec.SchemaProps{
17003 Type: []string{"array"},
17004 Items: &spec.SchemaOrArray{
17005 Schema: &spec.Schema{
17006 SchemaProps: spec.SchemaProps{
17007 Default: "",
17008 Type: []string{"string"},
17009 Format: "",
17010 },
17011 },
17012 },
17013 },
17014 },
17015 "machineType": {
17016 SchemaProps: spec.SchemaProps{
17017 Type: []string{"string"},
17018 Format: "",
17019 },
17020 },
17021 },
17022 },
17023 },
17024 }
17025 }
17026
17027 func schema_kubevirtio_api_core_v1_AuthorizedKeysFile(ref common.ReferenceCallback) common.OpenAPIDefinition {
17028 return common.OpenAPIDefinition{
17029 Schema: spec.Schema{
17030 SchemaProps: spec.SchemaProps{
17031 Description: "AuthorizedKeysFile represents a path within the guest that ssh public keys should be propagated to",
17032 Type: []string{"object"},
17033 Properties: map[string]spec.Schema{
17034 "filePath": {
17035 SchemaProps: spec.SchemaProps{
17036 Description: "FilePath represents the place on the guest that the authorized_keys file should be writen to. This is expected to be a full path including both the base directory and file name.",
17037 Default: "",
17038 Type: []string{"string"},
17039 Format: "",
17040 },
17041 },
17042 },
17043 Required: []string{"filePath"},
17044 },
17045 },
17046 }
17047 }
17048
17049 func schema_kubevirtio_api_core_v1_BIOS(ref common.ReferenceCallback) common.OpenAPIDefinition {
17050 return common.OpenAPIDefinition{
17051 Schema: spec.Schema{
17052 SchemaProps: spec.SchemaProps{
17053 Description: "If set (default), BIOS will be used.",
17054 Type: []string{"object"},
17055 Properties: map[string]spec.Schema{
17056 "useSerial": {
17057 SchemaProps: spec.SchemaProps{
17058 Description: "If set, the BIOS output will be transmitted over serial",
17059 Type: []string{"boolean"},
17060 Format: "",
17061 },
17062 },
17063 },
17064 },
17065 },
17066 }
17067 }
17068
17069 func schema_kubevirtio_api_core_v1_BlockSize(ref common.ReferenceCallback) common.OpenAPIDefinition {
17070 return common.OpenAPIDefinition{
17071 Schema: spec.Schema{
17072 SchemaProps: spec.SchemaProps{
17073 Description: "BlockSize provides the option to change the block size presented to the VM for a disk. Only one of its members may be specified.",
17074 Type: []string{"object"},
17075 Properties: map[string]spec.Schema{
17076 "custom": {
17077 SchemaProps: spec.SchemaProps{
17078 Ref: ref("kubevirt.io/api/core/v1.CustomBlockSize"),
17079 },
17080 },
17081 "matchVolume": {
17082 SchemaProps: spec.SchemaProps{
17083 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
17084 },
17085 },
17086 },
17087 },
17088 },
17089 Dependencies: []string{
17090 "kubevirt.io/api/core/v1.CustomBlockSize", "kubevirt.io/api/core/v1.FeatureState"},
17091 }
17092 }
17093
17094 func schema_kubevirtio_api_core_v1_Bootloader(ref common.ReferenceCallback) common.OpenAPIDefinition {
17095 return common.OpenAPIDefinition{
17096 Schema: spec.Schema{
17097 SchemaProps: spec.SchemaProps{
17098 Description: "Represents the firmware blob used to assist in the domain creation process. Used for setting the QEMU BIOS file path for the libvirt domain.",
17099 Type: []string{"object"},
17100 Properties: map[string]spec.Schema{
17101 "bios": {
17102 SchemaProps: spec.SchemaProps{
17103 Description: "If set (default), BIOS will be used.",
17104 Ref: ref("kubevirt.io/api/core/v1.BIOS"),
17105 },
17106 },
17107 "efi": {
17108 SchemaProps: spec.SchemaProps{
17109 Description: "If set, EFI will be used instead of BIOS.",
17110 Ref: ref("kubevirt.io/api/core/v1.EFI"),
17111 },
17112 },
17113 },
17114 },
17115 },
17116 Dependencies: []string{
17117 "kubevirt.io/api/core/v1.BIOS", "kubevirt.io/api/core/v1.EFI"},
17118 }
17119 }
17120
17121 func schema_kubevirtio_api_core_v1_CDRomTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
17122 return common.OpenAPIDefinition{
17123 Schema: spec.Schema{
17124 SchemaProps: spec.SchemaProps{
17125 Type: []string{"object"},
17126 Properties: map[string]spec.Schema{
17127 "bus": {
17128 SchemaProps: spec.SchemaProps{
17129 Description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi.",
17130 Type: []string{"string"},
17131 Format: "",
17132 },
17133 },
17134 "readonly": {
17135 SchemaProps: spec.SchemaProps{
17136 Description: "ReadOnly. Defaults to true.",
17137 Type: []string{"boolean"},
17138 Format: "",
17139 },
17140 },
17141 "tray": {
17142 SchemaProps: spec.SchemaProps{
17143 Description: "Tray indicates if the tray of the device is open or closed. Allowed values are \"open\" and \"closed\". Defaults to closed.",
17144 Type: []string{"string"},
17145 Format: "",
17146 },
17147 },
17148 },
17149 },
17150 },
17151 }
17152 }
17153
17154 func schema_kubevirtio_api_core_v1_CPU(ref common.ReferenceCallback) common.OpenAPIDefinition {
17155 return common.OpenAPIDefinition{
17156 Schema: spec.Schema{
17157 SchemaProps: spec.SchemaProps{
17158 Description: "CPU allows specifying the CPU topology.",
17159 Type: []string{"object"},
17160 Properties: map[string]spec.Schema{
17161 "cores": {
17162 SchemaProps: spec.SchemaProps{
17163 Description: "Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1.",
17164 Type: []string{"integer"},
17165 Format: "int64",
17166 },
17167 },
17168 "sockets": {
17169 SchemaProps: spec.SchemaProps{
17170 Description: "Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1.",
17171 Type: []string{"integer"},
17172 Format: "int64",
17173 },
17174 },
17175 "maxSockets": {
17176 SchemaProps: spec.SchemaProps{
17177 Description: "MaxSockets specifies the maximum amount of sockets that can be hotplugged",
17178 Type: []string{"integer"},
17179 Format: "int64",
17180 },
17181 },
17182 "threads": {
17183 SchemaProps: spec.SchemaProps{
17184 Description: "Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1.",
17185 Type: []string{"integer"},
17186 Format: "int64",
17187 },
17188 },
17189 "model": {
17190 SchemaProps: spec.SchemaProps{
17191 Description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model.",
17192 Type: []string{"string"},
17193 Format: "",
17194 },
17195 },
17196 "features": {
17197 SchemaProps: spec.SchemaProps{
17198 Description: "Features specifies the CPU features list inside the VMI.",
17199 Type: []string{"array"},
17200 Items: &spec.SchemaOrArray{
17201 Schema: &spec.Schema{
17202 SchemaProps: spec.SchemaProps{
17203 Default: map[string]interface{}{},
17204 Ref: ref("kubevirt.io/api/core/v1.CPUFeature"),
17205 },
17206 },
17207 },
17208 },
17209 },
17210 "dedicatedCpuPlacement": {
17211 SchemaProps: spec.SchemaProps{
17212 Description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it.",
17213 Type: []string{"boolean"},
17214 Format: "",
17215 },
17216 },
17217 "numa": {
17218 SchemaProps: spec.SchemaProps{
17219 Description: "NUMA allows specifying settings for the guest NUMA topology",
17220 Ref: ref("kubevirt.io/api/core/v1.NUMA"),
17221 },
17222 },
17223 "isolateEmulatorThread": {
17224 SchemaProps: spec.SchemaProps{
17225 Description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it.",
17226 Type: []string{"boolean"},
17227 Format: "",
17228 },
17229 },
17230 "realtime": {
17231 SchemaProps: spec.SchemaProps{
17232 Description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads",
17233 Ref: ref("kubevirt.io/api/core/v1.Realtime"),
17234 },
17235 },
17236 },
17237 },
17238 },
17239 Dependencies: []string{
17240 "kubevirt.io/api/core/v1.CPUFeature", "kubevirt.io/api/core/v1.NUMA", "kubevirt.io/api/core/v1.Realtime"},
17241 }
17242 }
17243
17244 func schema_kubevirtio_api_core_v1_CPUFeature(ref common.ReferenceCallback) common.OpenAPIDefinition {
17245 return common.OpenAPIDefinition{
17246 Schema: spec.Schema{
17247 SchemaProps: spec.SchemaProps{
17248 Description: "CPUFeature allows specifying a CPU feature.",
17249 Type: []string{"object"},
17250 Properties: map[string]spec.Schema{
17251 "name": {
17252 SchemaProps: spec.SchemaProps{
17253 Description: "Name of the CPU feature",
17254 Default: "",
17255 Type: []string{"string"},
17256 Format: "",
17257 },
17258 },
17259 "policy": {
17260 SchemaProps: spec.SchemaProps{
17261 Description: "Policy is the CPU feature attribute which can have the following attributes: force - The virtual CPU will claim the feature is supported regardless of it being supported by host CPU. require - Guest creation will fail unless the feature is supported by the host CPU or the hypervisor is able to emulate it. optional - The feature will be supported by virtual CPU if and only if it is supported by host CPU. disable - The feature will not be supported by virtual CPU. forbid - Guest creation will fail if the feature is supported by host CPU. Defaults to require",
17262 Type: []string{"string"},
17263 Format: "",
17264 },
17265 },
17266 },
17267 Required: []string{"name"},
17268 },
17269 },
17270 }
17271 }
17272
17273 func schema_kubevirtio_api_core_v1_CPUTopology(ref common.ReferenceCallback) common.OpenAPIDefinition {
17274 return common.OpenAPIDefinition{
17275 Schema: spec.Schema{
17276 SchemaProps: spec.SchemaProps{
17277 Description: "CPUTopology allows specifying the amount of cores, sockets and threads.",
17278 Type: []string{"object"},
17279 Properties: map[string]spec.Schema{
17280 "cores": {
17281 SchemaProps: spec.SchemaProps{
17282 Description: "Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1.",
17283 Type: []string{"integer"},
17284 Format: "int64",
17285 },
17286 },
17287 "sockets": {
17288 SchemaProps: spec.SchemaProps{
17289 Description: "Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1.",
17290 Type: []string{"integer"},
17291 Format: "int64",
17292 },
17293 },
17294 "threads": {
17295 SchemaProps: spec.SchemaProps{
17296 Description: "Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1.",
17297 Type: []string{"integer"},
17298 Format: "int64",
17299 },
17300 },
17301 },
17302 },
17303 },
17304 }
17305 }
17306
17307 func schema_kubevirtio_api_core_v1_CertConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
17308 return common.OpenAPIDefinition{
17309 Schema: spec.Schema{
17310 SchemaProps: spec.SchemaProps{
17311 Description: "CertConfig contains the tunables for TLS certificates",
17312 Type: []string{"object"},
17313 Properties: map[string]spec.Schema{
17314 "duration": {
17315 SchemaProps: spec.SchemaProps{
17316 Description: "The requested 'duration' (i.e. lifetime) of the Certificate.",
17317 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
17318 },
17319 },
17320 "renewBefore": {
17321 SchemaProps: spec.SchemaProps{
17322 Description: "The amount of time before the currently issued certificate's \"notAfter\" time that we will begin to attempt to renew the certificate.",
17323 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
17324 },
17325 },
17326 },
17327 },
17328 },
17329 Dependencies: []string{
17330 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
17331 }
17332 }
17333
17334 func schema_kubevirtio_api_core_v1_Chassis(ref common.ReferenceCallback) common.OpenAPIDefinition {
17335 return common.OpenAPIDefinition{
17336 Schema: spec.Schema{
17337 SchemaProps: spec.SchemaProps{
17338 Description: "Chassis specifies the chassis info passed to the domain.",
17339 Type: []string{"object"},
17340 Properties: map[string]spec.Schema{
17341 "manufacturer": {
17342 SchemaProps: spec.SchemaProps{
17343 Type: []string{"string"},
17344 Format: "",
17345 },
17346 },
17347 "version": {
17348 SchemaProps: spec.SchemaProps{
17349 Type: []string{"string"},
17350 Format: "",
17351 },
17352 },
17353 "serial": {
17354 SchemaProps: spec.SchemaProps{
17355 Type: []string{"string"},
17356 Format: "",
17357 },
17358 },
17359 "asset": {
17360 SchemaProps: spec.SchemaProps{
17361 Type: []string{"string"},
17362 Format: "",
17363 },
17364 },
17365 "sku": {
17366 SchemaProps: spec.SchemaProps{
17367 Type: []string{"string"},
17368 Format: "",
17369 },
17370 },
17371 },
17372 },
17373 },
17374 }
17375 }
17376
17377 func schema_kubevirtio_api_core_v1_ClientPassthroughDevices(ref common.ReferenceCallback) common.OpenAPIDefinition {
17378 return common.OpenAPIDefinition{
17379 Schema: spec.Schema{
17380 SchemaProps: spec.SchemaProps{
17381 Description: "Represent a subset of client devices that can be accessed by VMI. At the moment only, USB devices using Usbredir's library and tooling. Another fit would be a smartcard with libcacard.\n\nThe struct is currently empty as there is no immediate request for user-facing APIs. This structure simply turns on USB redirection of UsbClientPassthroughMaxNumberOf devices.",
17382 Type: []string{"object"},
17383 },
17384 },
17385 }
17386 }
17387
17388 func schema_kubevirtio_api_core_v1_Clock(ref common.ReferenceCallback) common.OpenAPIDefinition {
17389 return common.OpenAPIDefinition{
17390 Schema: spec.Schema{
17391 SchemaProps: spec.SchemaProps{
17392 Description: "Represents the clock and timers of a vmi.",
17393 Type: []string{"object"},
17394 Properties: map[string]spec.Schema{
17395 "utc": {
17396 SchemaProps: spec.SchemaProps{
17397 Description: "UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset.",
17398 Ref: ref("kubevirt.io/api/core/v1.ClockOffsetUTC"),
17399 },
17400 },
17401 "timezone": {
17402 SchemaProps: spec.SchemaProps{
17403 Description: "Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York').",
17404 Type: []string{"string"},
17405 Format: "",
17406 },
17407 },
17408 "timer": {
17409 SchemaProps: spec.SchemaProps{
17410 Description: "Timer specifies whih timers are attached to the vmi.",
17411 Ref: ref("kubevirt.io/api/core/v1.Timer"),
17412 },
17413 },
17414 },
17415 },
17416 },
17417 Dependencies: []string{
17418 "kubevirt.io/api/core/v1.ClockOffsetUTC", "kubevirt.io/api/core/v1.Timer"},
17419 }
17420 }
17421
17422 func schema_kubevirtio_api_core_v1_ClockOffset(ref common.ReferenceCallback) common.OpenAPIDefinition {
17423 return common.OpenAPIDefinition{
17424 Schema: spec.Schema{
17425 SchemaProps: spec.SchemaProps{
17426 Description: "Exactly one of its members must be set.",
17427 Type: []string{"object"},
17428 Properties: map[string]spec.Schema{
17429 "utc": {
17430 SchemaProps: spec.SchemaProps{
17431 Description: "UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset.",
17432 Ref: ref("kubevirt.io/api/core/v1.ClockOffsetUTC"),
17433 },
17434 },
17435 "timezone": {
17436 SchemaProps: spec.SchemaProps{
17437 Description: "Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York').",
17438 Type: []string{"string"},
17439 Format: "",
17440 },
17441 },
17442 },
17443 },
17444 },
17445 Dependencies: []string{
17446 "kubevirt.io/api/core/v1.ClockOffsetUTC"},
17447 }
17448 }
17449
17450 func schema_kubevirtio_api_core_v1_ClockOffsetUTC(ref common.ReferenceCallback) common.OpenAPIDefinition {
17451 return common.OpenAPIDefinition{
17452 Schema: spec.Schema{
17453 SchemaProps: spec.SchemaProps{
17454 Description: "UTC sets the guest clock to UTC on each boot.",
17455 Type: []string{"object"},
17456 Properties: map[string]spec.Schema{
17457 "offsetSeconds": {
17458 SchemaProps: spec.SchemaProps{
17459 Description: "OffsetSeconds specifies an offset in seconds, relative to UTC. If set, guest changes to the clock will be kept during reboots and not reset.",
17460 Type: []string{"integer"},
17461 Format: "int32",
17462 },
17463 },
17464 },
17465 },
17466 },
17467 }
17468 }
17469
17470 func schema_kubevirtio_api_core_v1_CloudInitConfigDriveSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
17471 return common.OpenAPIDefinition{
17472 Schema: spec.Schema{
17473 SchemaProps: spec.SchemaProps{
17474 Description: "Represents a cloud-init config drive user data source. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html",
17475 Type: []string{"object"},
17476 Properties: map[string]spec.Schema{
17477 "secretRef": {
17478 SchemaProps: spec.SchemaProps{
17479 Description: "UserDataSecretRef references a k8s secret that contains config drive userdata.",
17480 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
17481 },
17482 },
17483 "userDataBase64": {
17484 SchemaProps: spec.SchemaProps{
17485 Description: "UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.",
17486 Type: []string{"string"},
17487 Format: "",
17488 },
17489 },
17490 "userData": {
17491 SchemaProps: spec.SchemaProps{
17492 Description: "UserData contains config drive inline cloud-init userdata.",
17493 Type: []string{"string"},
17494 Format: "",
17495 },
17496 },
17497 "networkDataSecretRef": {
17498 SchemaProps: spec.SchemaProps{
17499 Description: "NetworkDataSecretRef references a k8s secret that contains config drive networkdata.",
17500 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
17501 },
17502 },
17503 "networkDataBase64": {
17504 SchemaProps: spec.SchemaProps{
17505 Description: "NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.",
17506 Type: []string{"string"},
17507 Format: "",
17508 },
17509 },
17510 "networkData": {
17511 SchemaProps: spec.SchemaProps{
17512 Description: "NetworkData contains config drive inline cloud-init networkdata.",
17513 Type: []string{"string"},
17514 Format: "",
17515 },
17516 },
17517 },
17518 },
17519 },
17520 Dependencies: []string{
17521 "k8s.io/api/core/v1.LocalObjectReference"},
17522 }
17523 }
17524
17525 func schema_kubevirtio_api_core_v1_CloudInitNoCloudSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
17526 return common.OpenAPIDefinition{
17527 Schema: spec.Schema{
17528 SchemaProps: spec.SchemaProps{
17529 Description: "Represents a cloud-init nocloud user data source. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html",
17530 Type: []string{"object"},
17531 Properties: map[string]spec.Schema{
17532 "secretRef": {
17533 SchemaProps: spec.SchemaProps{
17534 Description: "UserDataSecretRef references a k8s secret that contains NoCloud userdata.",
17535 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
17536 },
17537 },
17538 "userDataBase64": {
17539 SchemaProps: spec.SchemaProps{
17540 Description: "UserDataBase64 contains NoCloud cloud-init userdata as a base64 encoded string.",
17541 Type: []string{"string"},
17542 Format: "",
17543 },
17544 },
17545 "userData": {
17546 SchemaProps: spec.SchemaProps{
17547 Description: "UserData contains NoCloud inline cloud-init userdata.",
17548 Type: []string{"string"},
17549 Format: "",
17550 },
17551 },
17552 "networkDataSecretRef": {
17553 SchemaProps: spec.SchemaProps{
17554 Description: "NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata.",
17555 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
17556 },
17557 },
17558 "networkDataBase64": {
17559 SchemaProps: spec.SchemaProps{
17560 Description: "NetworkDataBase64 contains NoCloud cloud-init networkdata as a base64 encoded string.",
17561 Type: []string{"string"},
17562 Format: "",
17563 },
17564 },
17565 "networkData": {
17566 SchemaProps: spec.SchemaProps{
17567 Description: "NetworkData contains NoCloud inline cloud-init networkdata.",
17568 Type: []string{"string"},
17569 Format: "",
17570 },
17571 },
17572 },
17573 },
17574 },
17575 Dependencies: []string{
17576 "k8s.io/api/core/v1.LocalObjectReference"},
17577 }
17578 }
17579
17580 func schema_kubevirtio_api_core_v1_ClusterProfilerRequest(ref common.ReferenceCallback) common.OpenAPIDefinition {
17581 return common.OpenAPIDefinition{
17582 Schema: spec.Schema{
17583 SchemaProps: spec.SchemaProps{
17584 Type: []string{"object"},
17585 Properties: map[string]spec.Schema{
17586 "labelSelector": {
17587 SchemaProps: spec.SchemaProps{
17588 Type: []string{"string"},
17589 Format: "",
17590 },
17591 },
17592 "continue": {
17593 SchemaProps: spec.SchemaProps{
17594 Type: []string{"string"},
17595 Format: "",
17596 },
17597 },
17598 "pageSize": {
17599 SchemaProps: spec.SchemaProps{
17600 Default: 0,
17601 Type: []string{"integer"},
17602 Format: "int64",
17603 },
17604 },
17605 },
17606 Required: []string{"pageSize"},
17607 },
17608 },
17609 }
17610 }
17611
17612 func schema_kubevirtio_api_core_v1_ClusterProfilerResults(ref common.ReferenceCallback) common.OpenAPIDefinition {
17613 return common.OpenAPIDefinition{
17614 Schema: spec.Schema{
17615 SchemaProps: spec.SchemaProps{
17616 Type: []string{"object"},
17617 Properties: map[string]spec.Schema{
17618 "componentResults": {
17619 SchemaProps: spec.SchemaProps{
17620 Type: []string{"object"},
17621 AdditionalProperties: &spec.SchemaOrBool{
17622 Allows: true,
17623 Schema: &spec.Schema{
17624 SchemaProps: spec.SchemaProps{
17625 Default: map[string]interface{}{},
17626 Ref: ref("kubevirt.io/api/core/v1.ProfilerResult"),
17627 },
17628 },
17629 },
17630 },
17631 },
17632 "continue": {
17633 SchemaProps: spec.SchemaProps{
17634 Type: []string{"string"},
17635 Format: "",
17636 },
17637 },
17638 },
17639 Required: []string{"componentResults"},
17640 },
17641 },
17642 Dependencies: []string{
17643 "kubevirt.io/api/core/v1.ProfilerResult"},
17644 }
17645 }
17646
17647 func schema_kubevirtio_api_core_v1_ComponentConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
17648 return common.OpenAPIDefinition{
17649 Schema: spec.Schema{
17650 SchemaProps: spec.SchemaProps{
17651 Type: []string{"object"},
17652 Properties: map[string]spec.Schema{
17653 "nodePlacement": {
17654 SchemaProps: spec.SchemaProps{
17655 Description: "nodePlacement describes scheduling configuration for specific KubeVirt components",
17656 Ref: ref("kubevirt.io/api/core/v1.NodePlacement"),
17657 },
17658 },
17659 "replicas": {
17660 SchemaProps: spec.SchemaProps{
17661 Description: "replicas indicates how many replicas should be created for each KubeVirt infrastructure component (like virt-api or virt-controller). Defaults to 2. WARNING: this is an advanced feature that prevents auto-scaling for core kubevirt components. Please use with caution!",
17662 Type: []string{"integer"},
17663 Format: "byte",
17664 },
17665 },
17666 },
17667 },
17668 },
17669 Dependencies: []string{
17670 "kubevirt.io/api/core/v1.NodePlacement"},
17671 }
17672 }
17673
17674 func schema_kubevirtio_api_core_v1_ConfigDriveSSHPublicKeyAccessCredentialPropagation(ref common.ReferenceCallback) common.OpenAPIDefinition {
17675 return common.OpenAPIDefinition{
17676 Schema: spec.Schema{
17677 SchemaProps: spec.SchemaProps{
17678 Type: []string{"object"},
17679 },
17680 },
17681 }
17682 }
17683
17684 func schema_kubevirtio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
17685 return common.OpenAPIDefinition{
17686 Schema: spec.Schema{
17687 SchemaProps: spec.SchemaProps{
17688 Description: "ConfigMapVolumeSource adapts a ConfigMap into a volume. More info: https://kubernetes.io/docs/concepts/storage/volumes/#configmap",
17689 Type: []string{"object"},
17690 Properties: map[string]spec.Schema{
17691 "name": {
17692 SchemaProps: spec.SchemaProps{
17693 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
17694 Type: []string{"string"},
17695 Format: "",
17696 },
17697 },
17698 "optional": {
17699 SchemaProps: spec.SchemaProps{
17700 Description: "Specify whether the ConfigMap or it's keys must be defined",
17701 Type: []string{"boolean"},
17702 Format: "",
17703 },
17704 },
17705 "volumeLabel": {
17706 SchemaProps: spec.SchemaProps{
17707 Description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart).",
17708 Type: []string{"string"},
17709 Format: "",
17710 },
17711 },
17712 },
17713 },
17714 },
17715 }
17716 }
17717
17718 func schema_kubevirtio_api_core_v1_ContainerDiskInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
17719 return common.OpenAPIDefinition{
17720 Schema: spec.Schema{
17721 SchemaProps: spec.SchemaProps{
17722 Description: "ContainerDiskInfo shows info about the containerdisk",
17723 Type: []string{"object"},
17724 Properties: map[string]spec.Schema{
17725 "checksum": {
17726 SchemaProps: spec.SchemaProps{
17727 Description: "Checksum is the checksum of the rootdisk or kernel artifacts inside the containerdisk",
17728 Type: []string{"integer"},
17729 Format: "int64",
17730 },
17731 },
17732 },
17733 },
17734 },
17735 }
17736 }
17737
17738 func schema_kubevirtio_api_core_v1_ContainerDiskSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
17739 return common.OpenAPIDefinition{
17740 Schema: spec.Schema{
17741 SchemaProps: spec.SchemaProps{
17742 Description: "Represents a docker image with an embedded disk.",
17743 Type: []string{"object"},
17744 Properties: map[string]spec.Schema{
17745 "image": {
17746 SchemaProps: spec.SchemaProps{
17747 Description: "Image is the name of the image with the embedded disk.",
17748 Default: "",
17749 Type: []string{"string"},
17750 Format: "",
17751 },
17752 },
17753 "imagePullSecret": {
17754 SchemaProps: spec.SchemaProps{
17755 Description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist.",
17756 Type: []string{"string"},
17757 Format: "",
17758 },
17759 },
17760 "path": {
17761 SchemaProps: spec.SchemaProps{
17762 Description: "Path defines the path to disk file in the container",
17763 Type: []string{"string"},
17764 Format: "",
17765 },
17766 },
17767 "imagePullPolicy": {
17768 SchemaProps: spec.SchemaProps{
17769 Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
17770 Type: []string{"string"},
17771 Format: "",
17772 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
17773 },
17774 },
17775 },
17776 Required: []string{"image"},
17777 },
17778 },
17779 }
17780 }
17781
17782 func schema_kubevirtio_api_core_v1_CustomBlockSize(ref common.ReferenceCallback) common.OpenAPIDefinition {
17783 return common.OpenAPIDefinition{
17784 Schema: spec.Schema{
17785 SchemaProps: spec.SchemaProps{
17786 Description: "CustomBlockSize represents the desired logical and physical block size for a VM disk.",
17787 Type: []string{"object"},
17788 Properties: map[string]spec.Schema{
17789 "logical": {
17790 SchemaProps: spec.SchemaProps{
17791 Default: 0,
17792 Type: []string{"integer"},
17793 Format: "int32",
17794 },
17795 },
17796 "physical": {
17797 SchemaProps: spec.SchemaProps{
17798 Default: 0,
17799 Type: []string{"integer"},
17800 Format: "int32",
17801 },
17802 },
17803 },
17804 Required: []string{"logical", "physical"},
17805 },
17806 },
17807 }
17808 }
17809
17810 func schema_kubevirtio_api_core_v1_CustomProfile(ref common.ReferenceCallback) common.OpenAPIDefinition {
17811 return common.OpenAPIDefinition{
17812 Schema: spec.Schema{
17813 SchemaProps: spec.SchemaProps{
17814 Type: []string{"object"},
17815 Properties: map[string]spec.Schema{
17816 "localhostProfile": {
17817 SchemaProps: spec.SchemaProps{
17818 Type: []string{"string"},
17819 Format: "",
17820 },
17821 },
17822 "runtimeDefaultProfile": {
17823 SchemaProps: spec.SchemaProps{
17824 Type: []string{"boolean"},
17825 Format: "",
17826 },
17827 },
17828 },
17829 },
17830 },
17831 }
17832 }
17833
17834 func schema_kubevirtio_api_core_v1_CustomizeComponents(ref common.ReferenceCallback) common.OpenAPIDefinition {
17835 return common.OpenAPIDefinition{
17836 Schema: spec.Schema{
17837 SchemaProps: spec.SchemaProps{
17838 Type: []string{"object"},
17839 Properties: map[string]spec.Schema{
17840 "patches": {
17841 VendorExtensible: spec.VendorExtensible{
17842 Extensions: spec.Extensions{
17843 "x-kubernetes-list-type": "atomic",
17844 },
17845 },
17846 SchemaProps: spec.SchemaProps{
17847 Type: []string{"array"},
17848 Items: &spec.SchemaOrArray{
17849 Schema: &spec.Schema{
17850 SchemaProps: spec.SchemaProps{
17851 Default: map[string]interface{}{},
17852 Ref: ref("kubevirt.io/api/core/v1.CustomizeComponentsPatch"),
17853 },
17854 },
17855 },
17856 },
17857 },
17858 "flags": {
17859 SchemaProps: spec.SchemaProps{
17860 Description: "Configure the value used for deployment and daemonset resources",
17861 Ref: ref("kubevirt.io/api/core/v1.Flags"),
17862 },
17863 },
17864 },
17865 },
17866 },
17867 Dependencies: []string{
17868 "kubevirt.io/api/core/v1.CustomizeComponentsPatch", "kubevirt.io/api/core/v1.Flags"},
17869 }
17870 }
17871
17872 func schema_kubevirtio_api_core_v1_CustomizeComponentsPatch(ref common.ReferenceCallback) common.OpenAPIDefinition {
17873 return common.OpenAPIDefinition{
17874 Schema: spec.Schema{
17875 SchemaProps: spec.SchemaProps{
17876 Type: []string{"object"},
17877 Properties: map[string]spec.Schema{
17878 "resourceName": {
17879 SchemaProps: spec.SchemaProps{
17880 Default: "",
17881 Type: []string{"string"},
17882 Format: "",
17883 },
17884 },
17885 "resourceType": {
17886 SchemaProps: spec.SchemaProps{
17887 Default: "",
17888 Type: []string{"string"},
17889 Format: "",
17890 },
17891 },
17892 "patch": {
17893 SchemaProps: spec.SchemaProps{
17894 Default: "",
17895 Type: []string{"string"},
17896 Format: "",
17897 },
17898 },
17899 "type": {
17900 SchemaProps: spec.SchemaProps{
17901 Default: "",
17902 Type: []string{"string"},
17903 Format: "",
17904 },
17905 },
17906 },
17907 Required: []string{"resourceName", "resourceType", "patch", "type"},
17908 },
17909 },
17910 }
17911 }
17912
17913 func schema_kubevirtio_api_core_v1_DHCPOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
17914 return common.OpenAPIDefinition{
17915 Schema: spec.Schema{
17916 SchemaProps: spec.SchemaProps{
17917 Description: "Extra DHCP options to use in the interface.",
17918 Type: []string{"object"},
17919 Properties: map[string]spec.Schema{
17920 "bootFileName": {
17921 SchemaProps: spec.SchemaProps{
17922 Description: "If specified will pass option 67 to interface's DHCP server",
17923 Type: []string{"string"},
17924 Format: "",
17925 },
17926 },
17927 "tftpServerName": {
17928 SchemaProps: spec.SchemaProps{
17929 Description: "If specified will pass option 66 to interface's DHCP server",
17930 Type: []string{"string"},
17931 Format: "",
17932 },
17933 },
17934 "ntpServers": {
17935 SchemaProps: spec.SchemaProps{
17936 Description: "If specified will pass the configured NTP server to the VM via DHCP option 042.",
17937 Type: []string{"array"},
17938 Items: &spec.SchemaOrArray{
17939 Schema: &spec.Schema{
17940 SchemaProps: spec.SchemaProps{
17941 Default: "",
17942 Type: []string{"string"},
17943 Format: "",
17944 },
17945 },
17946 },
17947 },
17948 },
17949 "privateOptions": {
17950 SchemaProps: spec.SchemaProps{
17951 Description: "If specified will pass extra DHCP options for private use, range: 224-254",
17952 Type: []string{"array"},
17953 Items: &spec.SchemaOrArray{
17954 Schema: &spec.Schema{
17955 SchemaProps: spec.SchemaProps{
17956 Default: map[string]interface{}{},
17957 Ref: ref("kubevirt.io/api/core/v1.DHCPPrivateOptions"),
17958 },
17959 },
17960 },
17961 },
17962 },
17963 },
17964 },
17965 },
17966 Dependencies: []string{
17967 "kubevirt.io/api/core/v1.DHCPPrivateOptions"},
17968 }
17969 }
17970
17971 func schema_kubevirtio_api_core_v1_DHCPPrivateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
17972 return common.OpenAPIDefinition{
17973 Schema: spec.Schema{
17974 SchemaProps: spec.SchemaProps{
17975 Description: "DHCPExtraOptions defines Extra DHCP options for a VM.",
17976 Type: []string{"object"},
17977 Properties: map[string]spec.Schema{
17978 "option": {
17979 SchemaProps: spec.SchemaProps{
17980 Description: "Option is an Integer value from 224-254 Required.",
17981 Default: 0,
17982 Type: []string{"integer"},
17983 Format: "int32",
17984 },
17985 },
17986 "value": {
17987 SchemaProps: spec.SchemaProps{
17988 Description: "Value is a String value for the Option provided Required.",
17989 Default: "",
17990 Type: []string{"string"},
17991 Format: "",
17992 },
17993 },
17994 },
17995 Required: []string{"option", "value"},
17996 },
17997 },
17998 }
17999 }
18000
18001 func schema_kubevirtio_api_core_v1_DataVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
18002 return common.OpenAPIDefinition{
18003 Schema: spec.Schema{
18004 SchemaProps: spec.SchemaProps{
18005 Type: []string{"object"},
18006 Properties: map[string]spec.Schema{
18007 "name": {
18008 SchemaProps: spec.SchemaProps{
18009 Description: "Name of both the DataVolume and the PVC in the same namespace. After PVC population the DataVolume is garbage collected by default.",
18010 Default: "",
18011 Type: []string{"string"},
18012 Format: "",
18013 },
18014 },
18015 "hotpluggable": {
18016 SchemaProps: spec.SchemaProps{
18017 Description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged.",
18018 Type: []string{"boolean"},
18019 Format: "",
18020 },
18021 },
18022 },
18023 Required: []string{"name"},
18024 },
18025 },
18026 }
18027 }
18028
18029 func schema_kubevirtio_api_core_v1_DataVolumeTemplateDummyStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
18030 return common.OpenAPIDefinition{
18031 Schema: spec.Schema{
18032 SchemaProps: spec.SchemaProps{
18033 Type: []string{"object"},
18034 },
18035 },
18036 }
18037 }
18038
18039 func schema_kubevirtio_api_core_v1_DataVolumeTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
18040 return common.OpenAPIDefinition{
18041 Schema: spec.Schema{
18042 SchemaProps: spec.SchemaProps{
18043 Type: []string{"object"},
18044 Properties: map[string]spec.Schema{
18045 "kind": {
18046 SchemaProps: spec.SchemaProps{
18047 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
18048 Type: []string{"string"},
18049 Format: "",
18050 },
18051 },
18052 "apiVersion": {
18053 SchemaProps: spec.SchemaProps{
18054 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
18055 Type: []string{"string"},
18056 Format: "",
18057 },
18058 },
18059 "metadata": {
18060 SchemaProps: spec.SchemaProps{
18061 Default: map[string]interface{}{},
18062 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
18063 },
18064 },
18065 "spec": {
18066 SchemaProps: spec.SchemaProps{
18067 Description: "DataVolumeSpec contains the DataVolume specification.",
18068 Default: map[string]interface{}{},
18069 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSpec"),
18070 },
18071 },
18072 "status": {
18073 SchemaProps: spec.SchemaProps{
18074 Description: "DataVolumeTemplateDummyStatus is here simply for backwards compatibility with a previous API.",
18075 Ref: ref("kubevirt.io/api/core/v1.DataVolumeTemplateDummyStatus"),
18076 },
18077 },
18078 },
18079 Required: []string{"spec"},
18080 },
18081 },
18082 Dependencies: []string{
18083 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.DataVolumeTemplateDummyStatus", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSpec"},
18084 }
18085 }
18086
18087 func schema_kubevirtio_api_core_v1_DeprecatedInterfaceMacvtap(ref common.ReferenceCallback) common.OpenAPIDefinition {
18088 return common.OpenAPIDefinition{
18089 Schema: spec.Schema{
18090 SchemaProps: spec.SchemaProps{
18091 Description: "DeprecatedInterfaceMacvtap is an alias to the deprecated InterfaceMacvtap that connects to a given network by extending the Kubernetes node's L2 networks via a macvtap interface. Deprecated: Removed in v1.3",
18092 Type: []string{"object"},
18093 },
18094 },
18095 }
18096 }
18097
18098 func schema_kubevirtio_api_core_v1_DeprecatedInterfacePasst(ref common.ReferenceCallback) common.OpenAPIDefinition {
18099 return common.OpenAPIDefinition{
18100 Schema: spec.Schema{
18101 SchemaProps: spec.SchemaProps{
18102 Description: "DeprecatedInterfacePasst is an alias to the deprecated InterfacePasst Deprecated: Removed in v1.3",
18103 Type: []string{"object"},
18104 },
18105 },
18106 }
18107 }
18108
18109 func schema_kubevirtio_api_core_v1_DeprecatedInterfaceSlirp(ref common.ReferenceCallback) common.OpenAPIDefinition {
18110 return common.OpenAPIDefinition{
18111 Schema: spec.Schema{
18112 SchemaProps: spec.SchemaProps{
18113 Description: "DeprecatedInterfaceSlirp is an alias to the deprecated InterfaceSlirp that connects to a given network using QEMU user networking mode. Deprecated: Removed in v1.3",
18114 Type: []string{"object"},
18115 },
18116 },
18117 }
18118 }
18119
18120 func schema_kubevirtio_api_core_v1_DeveloperConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
18121 return common.OpenAPIDefinition{
18122 Schema: spec.Schema{
18123 SchemaProps: spec.SchemaProps{
18124 Description: "DeveloperConfiguration holds developer options",
18125 Type: []string{"object"},
18126 Properties: map[string]spec.Schema{
18127 "featureGates": {
18128 SchemaProps: spec.SchemaProps{
18129 Description: "FeatureGates is the list of experimental features to enable. Defaults to none",
18130 Type: []string{"array"},
18131 Items: &spec.SchemaOrArray{
18132 Schema: &spec.Schema{
18133 SchemaProps: spec.SchemaProps{
18134 Default: "",
18135 Type: []string{"string"},
18136 Format: "",
18137 },
18138 },
18139 },
18140 },
18141 },
18142 "pvcTolerateLessSpaceUpToPercent": {
18143 SchemaProps: spec.SchemaProps{
18144 Description: "LessPVCSpaceToleration determines how much smaller, in percentage, disk PVCs are allowed to be compared to the requested size (to account for various overheads). Defaults to 10",
18145 Type: []string{"integer"},
18146 Format: "int32",
18147 },
18148 },
18149 "minimumReservePVCBytes": {
18150 SchemaProps: spec.SchemaProps{
18151 Description: "MinimumReservePVCBytes is the amount of space, in bytes, to leave unused on disks. Defaults to 131072 (128KiB)",
18152 Type: []string{"integer"},
18153 Format: "int64",
18154 },
18155 },
18156 "memoryOvercommit": {
18157 SchemaProps: spec.SchemaProps{
18158 Description: "MemoryOvercommit is the percentage of memory we want to give VMIs compared to the amount given to its parent pod (virt-launcher). For example, a value of 102 means the VMI will \"see\" 2% more memory than its parent pod. Values under 100 are effectively \"undercommits\". Overcommits can lead to memory exhaustion, which in turn can lead to crashes. Use carefully. Defaults to 100",
18159 Type: []string{"integer"},
18160 Format: "int32",
18161 },
18162 },
18163 "nodeSelectors": {
18164 SchemaProps: spec.SchemaProps{
18165 Description: "NodeSelectors allows restricting VMI creation to nodes that match a set of labels. Defaults to none",
18166 Type: []string{"object"},
18167 AdditionalProperties: &spec.SchemaOrBool{
18168 Allows: true,
18169 Schema: &spec.Schema{
18170 SchemaProps: spec.SchemaProps{
18171 Default: "",
18172 Type: []string{"string"},
18173 Format: "",
18174 },
18175 },
18176 },
18177 },
18178 },
18179 "useEmulation": {
18180 SchemaProps: spec.SchemaProps{
18181 Description: "UseEmulation can be set to true to allow fallback to software emulation in case hardware-assisted emulation is not available. Defaults to false",
18182 Type: []string{"boolean"},
18183 Format: "",
18184 },
18185 },
18186 "cpuAllocationRatio": {
18187 SchemaProps: spec.SchemaProps{
18188 Description: "For each requested virtual CPU, CPUAllocationRatio defines how much physical CPU to request per VMI from the hosting node. The value is in fraction of a CPU thread (or core on non-hyperthreaded nodes). For example, a value of 1 means 1 physical CPU thread per VMI CPU thread. A value of 100 would be 1% of a physical thread allocated for each requested VMI thread. This option has no effect on VMIs that request dedicated CPUs. More information at: https://kubevirt.io/user-guide/operations/node_overcommit/#node-cpu-allocation-ratio Defaults to 10",
18189 Type: []string{"integer"},
18190 Format: "int32",
18191 },
18192 },
18193 "minimumClusterTSCFrequency": {
18194 SchemaProps: spec.SchemaProps{
18195 Description: "Allow overriding the automatically determined minimum TSC frequency of the cluster and fixate the minimum to this frequency.",
18196 Type: []string{"integer"},
18197 Format: "int64",
18198 },
18199 },
18200 "diskVerification": {
18201 SchemaProps: spec.SchemaProps{
18202 Ref: ref("kubevirt.io/api/core/v1.DiskVerification"),
18203 },
18204 },
18205 "logVerbosity": {
18206 SchemaProps: spec.SchemaProps{
18207 Ref: ref("kubevirt.io/api/core/v1.LogVerbosity"),
18208 },
18209 },
18210 },
18211 },
18212 },
18213 Dependencies: []string{
18214 "kubevirt.io/api/core/v1.DiskVerification", "kubevirt.io/api/core/v1.LogVerbosity"},
18215 }
18216 }
18217
18218 func schema_kubevirtio_api_core_v1_Devices(ref common.ReferenceCallback) common.OpenAPIDefinition {
18219 return common.OpenAPIDefinition{
18220 Schema: spec.Schema{
18221 SchemaProps: spec.SchemaProps{
18222 Type: []string{"object"},
18223 Properties: map[string]spec.Schema{
18224 "useVirtioTransitional": {
18225 SchemaProps: spec.SchemaProps{
18226 Description: "Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0).",
18227 Type: []string{"boolean"},
18228 Format: "",
18229 },
18230 },
18231 "disableHotplug": {
18232 SchemaProps: spec.SchemaProps{
18233 Description: "DisableHotplug disabled the ability to hotplug disks.",
18234 Type: []string{"boolean"},
18235 Format: "",
18236 },
18237 },
18238 "disks": {
18239 SchemaProps: spec.SchemaProps{
18240 Description: "Disks describes disks, cdroms and luns which are connected to the vmi.",
18241 Type: []string{"array"},
18242 Items: &spec.SchemaOrArray{
18243 Schema: &spec.Schema{
18244 SchemaProps: spec.SchemaProps{
18245 Default: map[string]interface{}{},
18246 Ref: ref("kubevirt.io/api/core/v1.Disk"),
18247 },
18248 },
18249 },
18250 },
18251 },
18252 "watchdog": {
18253 SchemaProps: spec.SchemaProps{
18254 Description: "Watchdog describes a watchdog device which can be added to the vmi.",
18255 Ref: ref("kubevirt.io/api/core/v1.Watchdog"),
18256 },
18257 },
18258 "interfaces": {
18259 SchemaProps: spec.SchemaProps{
18260 Description: "Interfaces describe network interfaces which are added to the vmi.",
18261 Type: []string{"array"},
18262 Items: &spec.SchemaOrArray{
18263 Schema: &spec.Schema{
18264 SchemaProps: spec.SchemaProps{
18265 Default: map[string]interface{}{},
18266 Ref: ref("kubevirt.io/api/core/v1.Interface"),
18267 },
18268 },
18269 },
18270 },
18271 },
18272 "inputs": {
18273 SchemaProps: spec.SchemaProps{
18274 Description: "Inputs describe input devices",
18275 Type: []string{"array"},
18276 Items: &spec.SchemaOrArray{
18277 Schema: &spec.Schema{
18278 SchemaProps: spec.SchemaProps{
18279 Default: map[string]interface{}{},
18280 Ref: ref("kubevirt.io/api/core/v1.Input"),
18281 },
18282 },
18283 },
18284 },
18285 },
18286 "autoattachPodInterface": {
18287 SchemaProps: spec.SchemaProps{
18288 Description: "Whether to attach a pod network interface. Defaults to true.",
18289 Type: []string{"boolean"},
18290 Format: "",
18291 },
18292 },
18293 "autoattachGraphicsDevice": {
18294 SchemaProps: spec.SchemaProps{
18295 Description: "Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true.",
18296 Type: []string{"boolean"},
18297 Format: "",
18298 },
18299 },
18300 "autoattachSerialConsole": {
18301 SchemaProps: spec.SchemaProps{
18302 Description: "Whether to attach the default virtio-serial console or not. Serial console access will not be available if set to false. Defaults to true.",
18303 Type: []string{"boolean"},
18304 Format: "",
18305 },
18306 },
18307 "logSerialConsole": {
18308 SchemaProps: spec.SchemaProps{
18309 Description: "Whether to log the auto-attached default serial console or not. Serial console logs will be collect to a file and then streamed from a named `guest-console-log`. Not relevant if autoattachSerialConsole is disabled. Defaults to cluster wide setting on VirtualMachineOptions.",
18310 Type: []string{"boolean"},
18311 Format: "",
18312 },
18313 },
18314 "autoattachMemBalloon": {
18315 SchemaProps: spec.SchemaProps{
18316 Description: "Whether to attach the Memory balloon device with default period. Period can be adjusted in virt-config. Defaults to true.",
18317 Type: []string{"boolean"},
18318 Format: "",
18319 },
18320 },
18321 "autoattachInputDevice": {
18322 SchemaProps: spec.SchemaProps{
18323 Description: "Whether to attach an Input Device. Defaults to false.",
18324 Type: []string{"boolean"},
18325 Format: "",
18326 },
18327 },
18328 "autoattachVSOCK": {
18329 SchemaProps: spec.SchemaProps{
18330 Description: "Whether to attach the VSOCK CID to the VM or not. VSOCK access will be available if set to true. Defaults to false.",
18331 Type: []string{"boolean"},
18332 Format: "",
18333 },
18334 },
18335 "rng": {
18336 SchemaProps: spec.SchemaProps{
18337 Description: "Whether to have random number generator from host",
18338 Ref: ref("kubevirt.io/api/core/v1.Rng"),
18339 },
18340 },
18341 "blockMultiQueue": {
18342 SchemaProps: spec.SchemaProps{
18343 Description: "Whether or not to enable virtio multi-queue for block devices. Defaults to false.",
18344 Type: []string{"boolean"},
18345 Format: "",
18346 },
18347 },
18348 "networkInterfaceMultiqueue": {
18349 SchemaProps: spec.SchemaProps{
18350 Description: "If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature for network devices. The number of queues created depends on additional factors of the VirtualMachineInstance, like the number of guest CPUs.",
18351 Type: []string{"boolean"},
18352 Format: "",
18353 },
18354 },
18355 "gpus": {
18356 VendorExtensible: spec.VendorExtensible{
18357 Extensions: spec.Extensions{
18358 "x-kubernetes-list-type": "atomic",
18359 },
18360 },
18361 SchemaProps: spec.SchemaProps{
18362 Description: "Whether to attach a GPU device to the vmi.",
18363 Type: []string{"array"},
18364 Items: &spec.SchemaOrArray{
18365 Schema: &spec.Schema{
18366 SchemaProps: spec.SchemaProps{
18367 Default: map[string]interface{}{},
18368 Ref: ref("kubevirt.io/api/core/v1.GPU"),
18369 },
18370 },
18371 },
18372 },
18373 },
18374 "downwardMetrics": {
18375 SchemaProps: spec.SchemaProps{
18376 Description: "DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi.",
18377 Ref: ref("kubevirt.io/api/core/v1.DownwardMetrics"),
18378 },
18379 },
18380 "filesystems": {
18381 VendorExtensible: spec.VendorExtensible{
18382 Extensions: spec.Extensions{
18383 "x-kubernetes-list-type": "atomic",
18384 },
18385 },
18386 SchemaProps: spec.SchemaProps{
18387 Description: "Filesystems describes filesystem which is connected to the vmi.",
18388 Type: []string{"array"},
18389 Items: &spec.SchemaOrArray{
18390 Schema: &spec.Schema{
18391 SchemaProps: spec.SchemaProps{
18392 Default: map[string]interface{}{},
18393 Ref: ref("kubevirt.io/api/core/v1.Filesystem"),
18394 },
18395 },
18396 },
18397 },
18398 },
18399 "hostDevices": {
18400 VendorExtensible: spec.VendorExtensible{
18401 Extensions: spec.Extensions{
18402 "x-kubernetes-list-type": "atomic",
18403 },
18404 },
18405 SchemaProps: spec.SchemaProps{
18406 Description: "Whether to attach a host device to the vmi.",
18407 Type: []string{"array"},
18408 Items: &spec.SchemaOrArray{
18409 Schema: &spec.Schema{
18410 SchemaProps: spec.SchemaProps{
18411 Default: map[string]interface{}{},
18412 Ref: ref("kubevirt.io/api/core/v1.HostDevice"),
18413 },
18414 },
18415 },
18416 },
18417 },
18418 "clientPassthrough": {
18419 SchemaProps: spec.SchemaProps{
18420 Description: "To configure and access client devices such as redirecting USB",
18421 Ref: ref("kubevirt.io/api/core/v1.ClientPassthroughDevices"),
18422 },
18423 },
18424 "sound": {
18425 SchemaProps: spec.SchemaProps{
18426 Description: "Whether to emulate a sound device.",
18427 Ref: ref("kubevirt.io/api/core/v1.SoundDevice"),
18428 },
18429 },
18430 "tpm": {
18431 SchemaProps: spec.SchemaProps{
18432 Description: "Whether to emulate a TPM device.",
18433 Ref: ref("kubevirt.io/api/core/v1.TPMDevice"),
18434 },
18435 },
18436 },
18437 },
18438 },
18439 Dependencies: []string{
18440 "kubevirt.io/api/core/v1.ClientPassthroughDevices", "kubevirt.io/api/core/v1.Disk", "kubevirt.io/api/core/v1.DownwardMetrics", "kubevirt.io/api/core/v1.Filesystem", "kubevirt.io/api/core/v1.GPU", "kubevirt.io/api/core/v1.HostDevice", "kubevirt.io/api/core/v1.Input", "kubevirt.io/api/core/v1.Interface", "kubevirt.io/api/core/v1.Rng", "kubevirt.io/api/core/v1.SoundDevice", "kubevirt.io/api/core/v1.TPMDevice", "kubevirt.io/api/core/v1.Watchdog"},
18441 }
18442 }
18443
18444 func schema_kubevirtio_api_core_v1_DisableFreePageReporting(ref common.ReferenceCallback) common.OpenAPIDefinition {
18445 return common.OpenAPIDefinition{
18446 Schema: spec.Schema{
18447 SchemaProps: spec.SchemaProps{
18448 Type: []string{"object"},
18449 },
18450 },
18451 }
18452 }
18453
18454 func schema_kubevirtio_api_core_v1_DisableSerialConsoleLog(ref common.ReferenceCallback) common.OpenAPIDefinition {
18455 return common.OpenAPIDefinition{
18456 Schema: spec.Schema{
18457 SchemaProps: spec.SchemaProps{
18458 Type: []string{"object"},
18459 },
18460 },
18461 }
18462 }
18463
18464 func schema_kubevirtio_api_core_v1_Disk(ref common.ReferenceCallback) common.OpenAPIDefinition {
18465 return common.OpenAPIDefinition{
18466 Schema: spec.Schema{
18467 SchemaProps: spec.SchemaProps{
18468 Type: []string{"object"},
18469 Properties: map[string]spec.Schema{
18470 "name": {
18471 SchemaProps: spec.SchemaProps{
18472 Description: "Name is the device name",
18473 Default: "",
18474 Type: []string{"string"},
18475 Format: "",
18476 },
18477 },
18478 "disk": {
18479 SchemaProps: spec.SchemaProps{
18480 Description: "Attach a volume as a disk to the vmi.",
18481 Ref: ref("kubevirt.io/api/core/v1.DiskTarget"),
18482 },
18483 },
18484 "lun": {
18485 SchemaProps: spec.SchemaProps{
18486 Description: "Attach a volume as a LUN to the vmi.",
18487 Ref: ref("kubevirt.io/api/core/v1.LunTarget"),
18488 },
18489 },
18490 "cdrom": {
18491 SchemaProps: spec.SchemaProps{
18492 Description: "Attach a volume as a cdrom to the vmi.",
18493 Ref: ref("kubevirt.io/api/core/v1.CDRomTarget"),
18494 },
18495 },
18496 "bootOrder": {
18497 SchemaProps: spec.SchemaProps{
18498 Description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists.",
18499 Type: []string{"integer"},
18500 Format: "int32",
18501 },
18502 },
18503 "serial": {
18504 SchemaProps: spec.SchemaProps{
18505 Description: "Serial provides the ability to specify a serial number for the disk device.",
18506 Type: []string{"string"},
18507 Format: "",
18508 },
18509 },
18510 "dedicatedIOThread": {
18511 SchemaProps: spec.SchemaProps{
18512 Description: "dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false.",
18513 Type: []string{"boolean"},
18514 Format: "",
18515 },
18516 },
18517 "cache": {
18518 SchemaProps: spec.SchemaProps{
18519 Description: "Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough.",
18520 Type: []string{"string"},
18521 Format: "",
18522 },
18523 },
18524 "io": {
18525 SchemaProps: spec.SchemaProps{
18526 Description: "IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads.",
18527 Type: []string{"string"},
18528 Format: "",
18529 },
18530 },
18531 "tag": {
18532 SchemaProps: spec.SchemaProps{
18533 Description: "If specified, disk address and its tag will be provided to the guest via config drive metadata",
18534 Type: []string{"string"},
18535 Format: "",
18536 },
18537 },
18538 "blockSize": {
18539 SchemaProps: spec.SchemaProps{
18540 Description: "If specified, the virtual disk will be presented with the given block sizes.",
18541 Ref: ref("kubevirt.io/api/core/v1.BlockSize"),
18542 },
18543 },
18544 "shareable": {
18545 SchemaProps: spec.SchemaProps{
18546 Description: "If specified the disk is made sharable and multiple write from different VMs are permitted",
18547 Type: []string{"boolean"},
18548 Format: "",
18549 },
18550 },
18551 "errorPolicy": {
18552 SchemaProps: spec.SchemaProps{
18553 Description: "If specified, it can change the default error policy (stop) for the disk",
18554 Type: []string{"string"},
18555 Format: "",
18556 },
18557 },
18558 },
18559 Required: []string{"name"},
18560 },
18561 },
18562 Dependencies: []string{
18563 "kubevirt.io/api/core/v1.BlockSize", "kubevirt.io/api/core/v1.CDRomTarget", "kubevirt.io/api/core/v1.DiskTarget", "kubevirt.io/api/core/v1.LunTarget"},
18564 }
18565 }
18566
18567 func schema_kubevirtio_api_core_v1_DiskDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
18568 return common.OpenAPIDefinition{
18569 Schema: spec.Schema{
18570 SchemaProps: spec.SchemaProps{
18571 Description: "Represents the target of a volume to mount. Only one of its members may be specified.",
18572 Type: []string{"object"},
18573 Properties: map[string]spec.Schema{
18574 "disk": {
18575 SchemaProps: spec.SchemaProps{
18576 Description: "Attach a volume as a disk to the vmi.",
18577 Ref: ref("kubevirt.io/api/core/v1.DiskTarget"),
18578 },
18579 },
18580 "lun": {
18581 SchemaProps: spec.SchemaProps{
18582 Description: "Attach a volume as a LUN to the vmi.",
18583 Ref: ref("kubevirt.io/api/core/v1.LunTarget"),
18584 },
18585 },
18586 "cdrom": {
18587 SchemaProps: spec.SchemaProps{
18588 Description: "Attach a volume as a cdrom to the vmi.",
18589 Ref: ref("kubevirt.io/api/core/v1.CDRomTarget"),
18590 },
18591 },
18592 },
18593 },
18594 },
18595 Dependencies: []string{
18596 "kubevirt.io/api/core/v1.CDRomTarget", "kubevirt.io/api/core/v1.DiskTarget", "kubevirt.io/api/core/v1.LunTarget"},
18597 }
18598 }
18599
18600 func schema_kubevirtio_api_core_v1_DiskTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
18601 return common.OpenAPIDefinition{
18602 Schema: spec.Schema{
18603 SchemaProps: spec.SchemaProps{
18604 Type: []string{"object"},
18605 Properties: map[string]spec.Schema{
18606 "bus": {
18607 SchemaProps: spec.SchemaProps{
18608 Description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi, usb.",
18609 Type: []string{"string"},
18610 Format: "",
18611 },
18612 },
18613 "readonly": {
18614 SchemaProps: spec.SchemaProps{
18615 Description: "ReadOnly. Defaults to false.",
18616 Type: []string{"boolean"},
18617 Format: "",
18618 },
18619 },
18620 "pciAddress": {
18621 SchemaProps: spec.SchemaProps{
18622 Description: "If specified, the virtual disk will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10",
18623 Type: []string{"string"},
18624 Format: "",
18625 },
18626 },
18627 },
18628 },
18629 },
18630 }
18631 }
18632
18633 func schema_kubevirtio_api_core_v1_DiskVerification(ref common.ReferenceCallback) common.OpenAPIDefinition {
18634 return common.OpenAPIDefinition{
18635 Schema: spec.Schema{
18636 SchemaProps: spec.SchemaProps{
18637 Description: "DiskVerification holds container disks verification limits",
18638 Type: []string{"object"},
18639 Properties: map[string]spec.Schema{
18640 "memoryLimit": {
18641 SchemaProps: spec.SchemaProps{
18642 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
18643 },
18644 },
18645 },
18646 Required: []string{"memoryLimit"},
18647 },
18648 },
18649 Dependencies: []string{
18650 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
18651 }
18652 }
18653
18654 func schema_kubevirtio_api_core_v1_DomainMemoryDumpInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
18655 return common.OpenAPIDefinition{
18656 Schema: spec.Schema{
18657 SchemaProps: spec.SchemaProps{
18658 Description: "DomainMemoryDumpInfo represents the memory dump information",
18659 Type: []string{"object"},
18660 Properties: map[string]spec.Schema{
18661 "startTimestamp": {
18662 SchemaProps: spec.SchemaProps{
18663 Description: "StartTimestamp is the time when the memory dump started",
18664 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
18665 },
18666 },
18667 "endTimestamp": {
18668 SchemaProps: spec.SchemaProps{
18669 Description: "EndTimestamp is the time when the memory dump completed",
18670 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
18671 },
18672 },
18673 "claimName": {
18674 SchemaProps: spec.SchemaProps{
18675 Description: "ClaimName is the name of the pvc the memory was dumped to",
18676 Type: []string{"string"},
18677 Format: "",
18678 },
18679 },
18680 "targetFileName": {
18681 SchemaProps: spec.SchemaProps{
18682 Description: "TargetFileName is the name of the memory dump output",
18683 Type: []string{"string"},
18684 Format: "",
18685 },
18686 },
18687 },
18688 },
18689 },
18690 Dependencies: []string{
18691 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
18692 }
18693 }
18694
18695 func schema_kubevirtio_api_core_v1_DomainSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
18696 return common.OpenAPIDefinition{
18697 Schema: spec.Schema{
18698 SchemaProps: spec.SchemaProps{
18699 Type: []string{"object"},
18700 Properties: map[string]spec.Schema{
18701 "resources": {
18702 SchemaProps: spec.SchemaProps{
18703 Description: "Resources describes the Compute Resources required by this vmi.",
18704 Default: map[string]interface{}{},
18705 Ref: ref("kubevirt.io/api/core/v1.ResourceRequirements"),
18706 },
18707 },
18708 "cpu": {
18709 SchemaProps: spec.SchemaProps{
18710 Description: "CPU allow specified the detailed CPU topology inside the vmi.",
18711 Ref: ref("kubevirt.io/api/core/v1.CPU"),
18712 },
18713 },
18714 "memory": {
18715 SchemaProps: spec.SchemaProps{
18716 Description: "Memory allow specifying the VMI memory features.",
18717 Ref: ref("kubevirt.io/api/core/v1.Memory"),
18718 },
18719 },
18720 "machine": {
18721 SchemaProps: spec.SchemaProps{
18722 Description: "Machine type.",
18723 Ref: ref("kubevirt.io/api/core/v1.Machine"),
18724 },
18725 },
18726 "firmware": {
18727 SchemaProps: spec.SchemaProps{
18728 Description: "Firmware.",
18729 Ref: ref("kubevirt.io/api/core/v1.Firmware"),
18730 },
18731 },
18732 "clock": {
18733 SchemaProps: spec.SchemaProps{
18734 Description: "Clock sets the clock and timers of the vmi.",
18735 Ref: ref("kubevirt.io/api/core/v1.Clock"),
18736 },
18737 },
18738 "features": {
18739 SchemaProps: spec.SchemaProps{
18740 Description: "Features like acpi, apic, hyperv, smm.",
18741 Ref: ref("kubevirt.io/api/core/v1.Features"),
18742 },
18743 },
18744 "devices": {
18745 SchemaProps: spec.SchemaProps{
18746 Description: "Devices allows adding disks, network interfaces, and others",
18747 Default: map[string]interface{}{},
18748 Ref: ref("kubevirt.io/api/core/v1.Devices"),
18749 },
18750 },
18751 "ioThreadsPolicy": {
18752 SchemaProps: spec.SchemaProps{
18753 Description: "Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto",
18754 Type: []string{"string"},
18755 Format: "",
18756 },
18757 },
18758 "chassis": {
18759 SchemaProps: spec.SchemaProps{
18760 Description: "Chassis specifies the chassis info passed to the domain.",
18761 Ref: ref("kubevirt.io/api/core/v1.Chassis"),
18762 },
18763 },
18764 "launchSecurity": {
18765 SchemaProps: spec.SchemaProps{
18766 Description: "Launch Security setting of the vmi.",
18767 Ref: ref("kubevirt.io/api/core/v1.LaunchSecurity"),
18768 },
18769 },
18770 },
18771 Required: []string{"devices"},
18772 },
18773 },
18774 Dependencies: []string{
18775 "kubevirt.io/api/core/v1.CPU", "kubevirt.io/api/core/v1.Chassis", "kubevirt.io/api/core/v1.Clock", "kubevirt.io/api/core/v1.Devices", "kubevirt.io/api/core/v1.Features", "kubevirt.io/api/core/v1.Firmware", "kubevirt.io/api/core/v1.LaunchSecurity", "kubevirt.io/api/core/v1.Machine", "kubevirt.io/api/core/v1.Memory", "kubevirt.io/api/core/v1.ResourceRequirements"},
18776 }
18777 }
18778
18779 func schema_kubevirtio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
18780 return common.OpenAPIDefinition{
18781 Schema: spec.Schema{
18782 SchemaProps: spec.SchemaProps{
18783 Description: "DownwardAPIVolumeSource represents a volume containing downward API info.",
18784 Type: []string{"object"},
18785 Properties: map[string]spec.Schema{
18786 "fields": {
18787 SchemaProps: spec.SchemaProps{
18788 Description: "Fields is a list of downward API volume file",
18789 Type: []string{"array"},
18790 Items: &spec.SchemaOrArray{
18791 Schema: &spec.Schema{
18792 SchemaProps: spec.SchemaProps{
18793 Default: map[string]interface{}{},
18794 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeFile"),
18795 },
18796 },
18797 },
18798 },
18799 },
18800 "volumeLabel": {
18801 SchemaProps: spec.SchemaProps{
18802 Description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart).",
18803 Type: []string{"string"},
18804 Format: "",
18805 },
18806 },
18807 },
18808 },
18809 },
18810 Dependencies: []string{
18811 "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
18812 }
18813 }
18814
18815 func schema_kubevirtio_api_core_v1_DownwardMetrics(ref common.ReferenceCallback) common.OpenAPIDefinition {
18816 return common.OpenAPIDefinition{
18817 Schema: spec.Schema{
18818 SchemaProps: spec.SchemaProps{
18819 Type: []string{"object"},
18820 },
18821 },
18822 }
18823 }
18824
18825 func schema_kubevirtio_api_core_v1_DownwardMetricsVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
18826 return common.OpenAPIDefinition{
18827 Schema: spec.Schema{
18828 SchemaProps: spec.SchemaProps{
18829 Description: "DownwardMetricsVolumeSource adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics.",
18830 Type: []string{"object"},
18831 },
18832 },
18833 }
18834 }
18835
18836 func schema_kubevirtio_api_core_v1_EFI(ref common.ReferenceCallback) common.OpenAPIDefinition {
18837 return common.OpenAPIDefinition{
18838 Schema: spec.Schema{
18839 SchemaProps: spec.SchemaProps{
18840 Description: "If set, EFI will be used instead of BIOS.",
18841 Type: []string{"object"},
18842 Properties: map[string]spec.Schema{
18843 "secureBoot": {
18844 SchemaProps: spec.SchemaProps{
18845 Description: "If set, SecureBoot will be enabled and the OVMF roms will be swapped for SecureBoot-enabled ones. Requires SMM to be enabled. Defaults to true",
18846 Type: []string{"boolean"},
18847 Format: "",
18848 },
18849 },
18850 "persistent": {
18851 SchemaProps: spec.SchemaProps{
18852 Description: "If set to true, Persistent will persist the EFI NVRAM across reboots. Defaults to false",
18853 Type: []string{"boolean"},
18854 Format: "",
18855 },
18856 },
18857 },
18858 },
18859 },
18860 }
18861 }
18862
18863 func schema_kubevirtio_api_core_v1_EmptyDiskSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
18864 return common.OpenAPIDefinition{
18865 Schema: spec.Schema{
18866 SchemaProps: spec.SchemaProps{
18867 Description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle.",
18868 Type: []string{"object"},
18869 Properties: map[string]spec.Schema{
18870 "capacity": {
18871 SchemaProps: spec.SchemaProps{
18872 Description: "Capacity of the sparse disk.",
18873 Default: map[string]interface{}{},
18874 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
18875 },
18876 },
18877 },
18878 Required: []string{"capacity"},
18879 },
18880 },
18881 Dependencies: []string{
18882 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
18883 }
18884 }
18885
18886 func schema_kubevirtio_api_core_v1_EphemeralVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
18887 return common.OpenAPIDefinition{
18888 Schema: spec.Schema{
18889 SchemaProps: spec.SchemaProps{
18890 Type: []string{"object"},
18891 Properties: map[string]spec.Schema{
18892 "persistentVolumeClaim": {
18893 SchemaProps: spec.SchemaProps{
18894 Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
18895 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
18896 },
18897 },
18898 },
18899 },
18900 },
18901 Dependencies: []string{
18902 "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"},
18903 }
18904 }
18905
18906 func schema_kubevirtio_api_core_v1_FeatureAPIC(ref common.ReferenceCallback) common.OpenAPIDefinition {
18907 return common.OpenAPIDefinition{
18908 Schema: spec.Schema{
18909 SchemaProps: spec.SchemaProps{
18910 Type: []string{"object"},
18911 Properties: map[string]spec.Schema{
18912 "enabled": {
18913 SchemaProps: spec.SchemaProps{
18914 Description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true.",
18915 Type: []string{"boolean"},
18916 Format: "",
18917 },
18918 },
18919 "endOfInterrupt": {
18920 SchemaProps: spec.SchemaProps{
18921 Description: "EndOfInterrupt enables the end of interrupt notification in the guest. Defaults to false.",
18922 Type: []string{"boolean"},
18923 Format: "",
18924 },
18925 },
18926 },
18927 },
18928 },
18929 }
18930 }
18931
18932 func schema_kubevirtio_api_core_v1_FeatureHyperv(ref common.ReferenceCallback) common.OpenAPIDefinition {
18933 return common.OpenAPIDefinition{
18934 Schema: spec.Schema{
18935 SchemaProps: spec.SchemaProps{
18936 Description: "Hyperv specific features.",
18937 Type: []string{"object"},
18938 Properties: map[string]spec.Schema{
18939 "relaxed": {
18940 SchemaProps: spec.SchemaProps{
18941 Description: "Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting.",
18942 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18943 },
18944 },
18945 "vapic": {
18946 SchemaProps: spec.SchemaProps{
18947 Description: "VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting.",
18948 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18949 },
18950 },
18951 "spinlocks": {
18952 SchemaProps: spec.SchemaProps{
18953 Description: "Spinlocks allows to configure the spinlock retry attempts.",
18954 Ref: ref("kubevirt.io/api/core/v1.FeatureSpinlocks"),
18955 },
18956 },
18957 "vpindex": {
18958 SchemaProps: spec.SchemaProps{
18959 Description: "VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting.",
18960 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18961 },
18962 },
18963 "runtime": {
18964 SchemaProps: spec.SchemaProps{
18965 Description: "Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting.",
18966 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18967 },
18968 },
18969 "synic": {
18970 SchemaProps: spec.SchemaProps{
18971 Description: "SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting.",
18972 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18973 },
18974 },
18975 "synictimer": {
18976 SchemaProps: spec.SchemaProps{
18977 Description: "SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting.",
18978 Ref: ref("kubevirt.io/api/core/v1.SyNICTimer"),
18979 },
18980 },
18981 "reset": {
18982 SchemaProps: spec.SchemaProps{
18983 Description: "Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting.",
18984 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18985 },
18986 },
18987 "vendorid": {
18988 SchemaProps: spec.SchemaProps{
18989 Description: "VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting.",
18990 Ref: ref("kubevirt.io/api/core/v1.FeatureVendorID"),
18991 },
18992 },
18993 "frequencies": {
18994 SchemaProps: spec.SchemaProps{
18995 Description: "Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting.",
18996 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
18997 },
18998 },
18999 "reenlightenment": {
19000 SchemaProps: spec.SchemaProps{
19001 Description: "Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting.",
19002 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19003 },
19004 },
19005 "tlbflush": {
19006 SchemaProps: spec.SchemaProps{
19007 Description: "TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.",
19008 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19009 },
19010 },
19011 "ipi": {
19012 SchemaProps: spec.SchemaProps{
19013 Description: "IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.",
19014 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19015 },
19016 },
19017 "evmcs": {
19018 SchemaProps: spec.SchemaProps{
19019 Description: "EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting.",
19020 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19021 },
19022 },
19023 },
19024 },
19025 },
19026 Dependencies: []string{
19027 "kubevirt.io/api/core/v1.FeatureSpinlocks", "kubevirt.io/api/core/v1.FeatureState", "kubevirt.io/api/core/v1.FeatureVendorID", "kubevirt.io/api/core/v1.SyNICTimer"},
19028 }
19029 }
19030
19031 func schema_kubevirtio_api_core_v1_FeatureKVM(ref common.ReferenceCallback) common.OpenAPIDefinition {
19032 return common.OpenAPIDefinition{
19033 Schema: spec.Schema{
19034 SchemaProps: spec.SchemaProps{
19035 Type: []string{"object"},
19036 Properties: map[string]spec.Schema{
19037 "hidden": {
19038 SchemaProps: spec.SchemaProps{
19039 Description: "Hide the KVM hypervisor from standard MSR based discovery. Defaults to false",
19040 Type: []string{"boolean"},
19041 Format: "",
19042 },
19043 },
19044 },
19045 },
19046 },
19047 }
19048 }
19049
19050 func schema_kubevirtio_api_core_v1_FeatureSpinlocks(ref common.ReferenceCallback) common.OpenAPIDefinition {
19051 return common.OpenAPIDefinition{
19052 Schema: spec.Schema{
19053 SchemaProps: spec.SchemaProps{
19054 Type: []string{"object"},
19055 Properties: map[string]spec.Schema{
19056 "enabled": {
19057 SchemaProps: spec.SchemaProps{
19058 Description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true.",
19059 Type: []string{"boolean"},
19060 Format: "",
19061 },
19062 },
19063 "spinlocks": {
19064 SchemaProps: spec.SchemaProps{
19065 Description: "Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096.",
19066 Type: []string{"integer"},
19067 Format: "int64",
19068 },
19069 },
19070 },
19071 },
19072 },
19073 }
19074 }
19075
19076 func schema_kubevirtio_api_core_v1_FeatureState(ref common.ReferenceCallback) common.OpenAPIDefinition {
19077 return common.OpenAPIDefinition{
19078 Schema: spec.Schema{
19079 SchemaProps: spec.SchemaProps{
19080 Description: "Represents if a feature is enabled or disabled.",
19081 Type: []string{"object"},
19082 Properties: map[string]spec.Schema{
19083 "enabled": {
19084 SchemaProps: spec.SchemaProps{
19085 Description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true.",
19086 Type: []string{"boolean"},
19087 Format: "",
19088 },
19089 },
19090 },
19091 },
19092 },
19093 }
19094 }
19095
19096 func schema_kubevirtio_api_core_v1_FeatureVendorID(ref common.ReferenceCallback) common.OpenAPIDefinition {
19097 return common.OpenAPIDefinition{
19098 Schema: spec.Schema{
19099 SchemaProps: spec.SchemaProps{
19100 Type: []string{"object"},
19101 Properties: map[string]spec.Schema{
19102 "enabled": {
19103 SchemaProps: spec.SchemaProps{
19104 Description: "Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true.",
19105 Type: []string{"boolean"},
19106 Format: "",
19107 },
19108 },
19109 "vendorid": {
19110 SchemaProps: spec.SchemaProps{
19111 Description: "VendorID sets the hypervisor vendor id, visible to the vmi. String up to twelve characters.",
19112 Type: []string{"string"},
19113 Format: "",
19114 },
19115 },
19116 },
19117 },
19118 },
19119 }
19120 }
19121
19122 func schema_kubevirtio_api_core_v1_Features(ref common.ReferenceCallback) common.OpenAPIDefinition {
19123 return common.OpenAPIDefinition{
19124 Schema: spec.Schema{
19125 SchemaProps: spec.SchemaProps{
19126 Type: []string{"object"},
19127 Properties: map[string]spec.Schema{
19128 "acpi": {
19129 SchemaProps: spec.SchemaProps{
19130 Description: "ACPI enables/disables ACPI inside the guest. Defaults to enabled.",
19131 Default: map[string]interface{}{},
19132 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19133 },
19134 },
19135 "apic": {
19136 SchemaProps: spec.SchemaProps{
19137 Description: "Defaults to the machine type setting.",
19138 Ref: ref("kubevirt.io/api/core/v1.FeatureAPIC"),
19139 },
19140 },
19141 "hypervPassthrough": {
19142 SchemaProps: spec.SchemaProps{
19143 Description: "This enables all supported hyperv flags automatically. Bear in mind that if this enabled hyperV features cannot be enabled explicitly. In addition, a Virtual Machine using it will be non-migratable.",
19144 Ref: ref("kubevirt.io/api/core/v1.HyperVPassthrough"),
19145 },
19146 },
19147 "hyperv": {
19148 SchemaProps: spec.SchemaProps{
19149 Description: "Defaults to the machine type setting.",
19150 Ref: ref("kubevirt.io/api/core/v1.FeatureHyperv"),
19151 },
19152 },
19153 "smm": {
19154 SchemaProps: spec.SchemaProps{
19155 Description: "SMM enables/disables System Management Mode. TSEG not yet implemented.",
19156 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19157 },
19158 },
19159 "kvm": {
19160 SchemaProps: spec.SchemaProps{
19161 Description: "Configure how KVM presence is exposed to the guest.",
19162 Ref: ref("kubevirt.io/api/core/v1.FeatureKVM"),
19163 },
19164 },
19165 "pvspinlock": {
19166 SchemaProps: spec.SchemaProps{
19167 Description: "Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled.",
19168 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
19169 },
19170 },
19171 },
19172 },
19173 },
19174 Dependencies: []string{
19175 "kubevirt.io/api/core/v1.FeatureAPIC", "kubevirt.io/api/core/v1.FeatureHyperv", "kubevirt.io/api/core/v1.FeatureKVM", "kubevirt.io/api/core/v1.FeatureState", "kubevirt.io/api/core/v1.HyperVPassthrough"},
19176 }
19177 }
19178
19179 func schema_kubevirtio_api_core_v1_Filesystem(ref common.ReferenceCallback) common.OpenAPIDefinition {
19180 return common.OpenAPIDefinition{
19181 Schema: spec.Schema{
19182 SchemaProps: spec.SchemaProps{
19183 Type: []string{"object"},
19184 Properties: map[string]spec.Schema{
19185 "name": {
19186 SchemaProps: spec.SchemaProps{
19187 Description: "Name is the device name",
19188 Default: "",
19189 Type: []string{"string"},
19190 Format: "",
19191 },
19192 },
19193 "virtiofs": {
19194 SchemaProps: spec.SchemaProps{
19195 Description: "Virtiofs is supported",
19196 Ref: ref("kubevirt.io/api/core/v1.FilesystemVirtiofs"),
19197 },
19198 },
19199 },
19200 Required: []string{"name", "virtiofs"},
19201 },
19202 },
19203 Dependencies: []string{
19204 "kubevirt.io/api/core/v1.FilesystemVirtiofs"},
19205 }
19206 }
19207
19208 func schema_kubevirtio_api_core_v1_FilesystemVirtiofs(ref common.ReferenceCallback) common.OpenAPIDefinition {
19209 return common.OpenAPIDefinition{
19210 Schema: spec.Schema{
19211 SchemaProps: spec.SchemaProps{
19212 Type: []string{"object"},
19213 },
19214 },
19215 }
19216 }
19217
19218 func schema_kubevirtio_api_core_v1_Firmware(ref common.ReferenceCallback) common.OpenAPIDefinition {
19219 return common.OpenAPIDefinition{
19220 Schema: spec.Schema{
19221 SchemaProps: spec.SchemaProps{
19222 Type: []string{"object"},
19223 Properties: map[string]spec.Schema{
19224 "uuid": {
19225 SchemaProps: spec.SchemaProps{
19226 Description: "UUID reported by the vmi bios. Defaults to a random generated uid.",
19227 Type: []string{"string"},
19228 Format: "",
19229 },
19230 },
19231 "bootloader": {
19232 SchemaProps: spec.SchemaProps{
19233 Description: "Settings to control the bootloader that is used.",
19234 Ref: ref("kubevirt.io/api/core/v1.Bootloader"),
19235 },
19236 },
19237 "serial": {
19238 SchemaProps: spec.SchemaProps{
19239 Description: "The system-serial-number in SMBIOS",
19240 Type: []string{"string"},
19241 Format: "",
19242 },
19243 },
19244 "kernelBoot": {
19245 SchemaProps: spec.SchemaProps{
19246 Description: "Settings to set the kernel for booting.",
19247 Ref: ref("kubevirt.io/api/core/v1.KernelBoot"),
19248 },
19249 },
19250 "acpi": {
19251 SchemaProps: spec.SchemaProps{
19252 Description: "Information that can be set in the ACPI table",
19253 Ref: ref("kubevirt.io/api/core/v1.ACPI"),
19254 },
19255 },
19256 },
19257 },
19258 },
19259 Dependencies: []string{
19260 "kubevirt.io/api/core/v1.ACPI", "kubevirt.io/api/core/v1.Bootloader", "kubevirt.io/api/core/v1.KernelBoot"},
19261 }
19262 }
19263
19264 func schema_kubevirtio_api_core_v1_Flags(ref common.ReferenceCallback) common.OpenAPIDefinition {
19265 return common.OpenAPIDefinition{
19266 Schema: spec.Schema{
19267 SchemaProps: spec.SchemaProps{
19268 Description: "Flags will create a patch that will replace all flags for the container's command field. The only flags that will be used are those define. There are no guarantees around forward/backward compatibility. If set incorrectly this will cause the resource when rolled out to error until flags are updated.",
19269 Type: []string{"object"},
19270 Properties: map[string]spec.Schema{
19271 "api": {
19272 SchemaProps: spec.SchemaProps{
19273 Type: []string{"object"},
19274 AdditionalProperties: &spec.SchemaOrBool{
19275 Allows: true,
19276 Schema: &spec.Schema{
19277 SchemaProps: spec.SchemaProps{
19278 Default: "",
19279 Type: []string{"string"},
19280 Format: "",
19281 },
19282 },
19283 },
19284 },
19285 },
19286 "controller": {
19287 SchemaProps: spec.SchemaProps{
19288 Type: []string{"object"},
19289 AdditionalProperties: &spec.SchemaOrBool{
19290 Allows: true,
19291 Schema: &spec.Schema{
19292 SchemaProps: spec.SchemaProps{
19293 Default: "",
19294 Type: []string{"string"},
19295 Format: "",
19296 },
19297 },
19298 },
19299 },
19300 },
19301 "handler": {
19302 SchemaProps: spec.SchemaProps{
19303 Type: []string{"object"},
19304 AdditionalProperties: &spec.SchemaOrBool{
19305 Allows: true,
19306 Schema: &spec.Schema{
19307 SchemaProps: spec.SchemaProps{
19308 Default: "",
19309 Type: []string{"string"},
19310 Format: "",
19311 },
19312 },
19313 },
19314 },
19315 },
19316 },
19317 },
19318 },
19319 }
19320 }
19321
19322 func schema_kubevirtio_api_core_v1_FreezeUnfreezeTimeout(ref common.ReferenceCallback) common.OpenAPIDefinition {
19323 return common.OpenAPIDefinition{
19324 Schema: spec.Schema{
19325 SchemaProps: spec.SchemaProps{
19326 Description: "FreezeUnfreezeTimeout represent the time unfreeze will be triggered if guest was not unfrozen by unfreeze command",
19327 Type: []string{"object"},
19328 Properties: map[string]spec.Schema{
19329 "unfreezeTimeout": {
19330 SchemaProps: spec.SchemaProps{
19331 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
19332 },
19333 },
19334 },
19335 Required: []string{"unfreezeTimeout"},
19336 },
19337 },
19338 Dependencies: []string{
19339 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
19340 }
19341 }
19342
19343 func schema_kubevirtio_api_core_v1_GPU(ref common.ReferenceCallback) common.OpenAPIDefinition {
19344 return common.OpenAPIDefinition{
19345 Schema: spec.Schema{
19346 SchemaProps: spec.SchemaProps{
19347 Type: []string{"object"},
19348 Properties: map[string]spec.Schema{
19349 "name": {
19350 SchemaProps: spec.SchemaProps{
19351 Description: "Name of the GPU device as exposed by a device plugin",
19352 Default: "",
19353 Type: []string{"string"},
19354 Format: "",
19355 },
19356 },
19357 "deviceName": {
19358 SchemaProps: spec.SchemaProps{
19359 Default: "",
19360 Type: []string{"string"},
19361 Format: "",
19362 },
19363 },
19364 "virtualGPUOptions": {
19365 SchemaProps: spec.SchemaProps{
19366 Ref: ref("kubevirt.io/api/core/v1.VGPUOptions"),
19367 },
19368 },
19369 "tag": {
19370 SchemaProps: spec.SchemaProps{
19371 Description: "If specified, the virtual network interface address and its tag will be provided to the guest via config drive",
19372 Type: []string{"string"},
19373 Format: "",
19374 },
19375 },
19376 },
19377 Required: []string{"name", "deviceName"},
19378 },
19379 },
19380 Dependencies: []string{
19381 "kubevirt.io/api/core/v1.VGPUOptions"},
19382 }
19383 }
19384
19385 func schema_kubevirtio_api_core_v1_GenerationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
19386 return common.OpenAPIDefinition{
19387 Schema: spec.Schema{
19388 SchemaProps: spec.SchemaProps{
19389 Description: "GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.",
19390 Type: []string{"object"},
19391 Properties: map[string]spec.Schema{
19392 "group": {
19393 SchemaProps: spec.SchemaProps{
19394 Description: "group is the group of the thing you're tracking",
19395 Default: "",
19396 Type: []string{"string"},
19397 Format: "",
19398 },
19399 },
19400 "resource": {
19401 SchemaProps: spec.SchemaProps{
19402 Description: "resource is the resource type of the thing you're tracking",
19403 Default: "",
19404 Type: []string{"string"},
19405 Format: "",
19406 },
19407 },
19408 "namespace": {
19409 SchemaProps: spec.SchemaProps{
19410 Description: "namespace is where the thing you're tracking is",
19411 Type: []string{"string"},
19412 Format: "",
19413 },
19414 },
19415 "name": {
19416 SchemaProps: spec.SchemaProps{
19417 Description: "name is the name of the thing you're tracking",
19418 Default: "",
19419 Type: []string{"string"},
19420 Format: "",
19421 },
19422 },
19423 "lastGeneration": {
19424 SchemaProps: spec.SchemaProps{
19425 Description: "lastGeneration is the last generation of the workload controller involved",
19426 Default: 0,
19427 Type: []string{"integer"},
19428 Format: "int64",
19429 },
19430 },
19431 "hash": {
19432 SchemaProps: spec.SchemaProps{
19433 Description: "hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps",
19434 Type: []string{"string"},
19435 Format: "",
19436 },
19437 },
19438 },
19439 Required: []string{"group", "resource", "name", "lastGeneration"},
19440 },
19441 },
19442 }
19443 }
19444
19445 func schema_kubevirtio_api_core_v1_GuestAgentCommandInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
19446 return common.OpenAPIDefinition{
19447 Schema: spec.Schema{
19448 SchemaProps: spec.SchemaProps{
19449 Description: "List of commands that QEMU guest agent supports",
19450 Type: []string{"object"},
19451 Properties: map[string]spec.Schema{
19452 "name": {
19453 SchemaProps: spec.SchemaProps{
19454 Default: "",
19455 Type: []string{"string"},
19456 Format: "",
19457 },
19458 },
19459 "enabled": {
19460 SchemaProps: spec.SchemaProps{
19461 Type: []string{"boolean"},
19462 Format: "",
19463 },
19464 },
19465 },
19466 Required: []string{"name"},
19467 },
19468 },
19469 }
19470 }
19471
19472 func schema_kubevirtio_api_core_v1_GuestAgentPing(ref common.ReferenceCallback) common.OpenAPIDefinition {
19473 return common.OpenAPIDefinition{
19474 Schema: spec.Schema{
19475 SchemaProps: spec.SchemaProps{
19476 Description: "GuestAgentPing configures the guest-agent based ping probe",
19477 Type: []string{"object"},
19478 },
19479 },
19480 }
19481 }
19482
19483 func schema_kubevirtio_api_core_v1_HPETTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
19484 return common.OpenAPIDefinition{
19485 Schema: spec.Schema{
19486 SchemaProps: spec.SchemaProps{
19487 Type: []string{"object"},
19488 Properties: map[string]spec.Schema{
19489 "tickPolicy": {
19490 SchemaProps: spec.SchemaProps{
19491 Description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"merge\", \"discard\".",
19492 Type: []string{"string"},
19493 Format: "",
19494 },
19495 },
19496 "present": {
19497 SchemaProps: spec.SchemaProps{
19498 Description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true.",
19499 Type: []string{"boolean"},
19500 Format: "",
19501 },
19502 },
19503 },
19504 },
19505 },
19506 }
19507 }
19508
19509 func schema_kubevirtio_api_core_v1_Handler(ref common.ReferenceCallback) common.OpenAPIDefinition {
19510 return common.OpenAPIDefinition{
19511 Schema: spec.Schema{
19512 SchemaProps: spec.SchemaProps{
19513 Description: "Handler defines a specific action that should be taken",
19514 Type: []string{"object"},
19515 Properties: map[string]spec.Schema{
19516 "exec": {
19517 SchemaProps: spec.SchemaProps{
19518 Description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail.",
19519 Ref: ref("k8s.io/api/core/v1.ExecAction"),
19520 },
19521 },
19522 "guestAgentPing": {
19523 SchemaProps: spec.SchemaProps{
19524 Description: "GuestAgentPing contacts the qemu-guest-agent for availability checks.",
19525 Ref: ref("kubevirt.io/api/core/v1.GuestAgentPing"),
19526 },
19527 },
19528 "httpGet": {
19529 SchemaProps: spec.SchemaProps{
19530 Description: "HTTPGet specifies the http request to perform.",
19531 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
19532 },
19533 },
19534 "tcpSocket": {
19535 SchemaProps: spec.SchemaProps{
19536 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
19537 Ref: ref("k8s.io/api/core/v1.TCPSocketAction"),
19538 },
19539 },
19540 },
19541 },
19542 },
19543 Dependencies: []string{
19544 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction", "kubevirt.io/api/core/v1.GuestAgentPing"},
19545 }
19546 }
19547
19548 func schema_kubevirtio_api_core_v1_HostDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
19549 return common.OpenAPIDefinition{
19550 Schema: spec.Schema{
19551 SchemaProps: spec.SchemaProps{
19552 Type: []string{"object"},
19553 Properties: map[string]spec.Schema{
19554 "name": {
19555 SchemaProps: spec.SchemaProps{
19556 Default: "",
19557 Type: []string{"string"},
19558 Format: "",
19559 },
19560 },
19561 "deviceName": {
19562 SchemaProps: spec.SchemaProps{
19563 Description: "DeviceName is the resource name of the host device exposed by a device plugin",
19564 Default: "",
19565 Type: []string{"string"},
19566 Format: "",
19567 },
19568 },
19569 "tag": {
19570 SchemaProps: spec.SchemaProps{
19571 Description: "If specified, the virtual network interface address and its tag will be provided to the guest via config drive",
19572 Type: []string{"string"},
19573 Format: "",
19574 },
19575 },
19576 },
19577 Required: []string{"name", "deviceName"},
19578 },
19579 },
19580 }
19581 }
19582
19583 func schema_kubevirtio_api_core_v1_HostDisk(ref common.ReferenceCallback) common.OpenAPIDefinition {
19584 return common.OpenAPIDefinition{
19585 Schema: spec.Schema{
19586 SchemaProps: spec.SchemaProps{
19587 Description: "Represents a disk created on the cluster level",
19588 Type: []string{"object"},
19589 Properties: map[string]spec.Schema{
19590 "path": {
19591 SchemaProps: spec.SchemaProps{
19592 Description: "The path to HostDisk image located on the cluster",
19593 Default: "",
19594 Type: []string{"string"},
19595 Format: "",
19596 },
19597 },
19598 "type": {
19599 SchemaProps: spec.SchemaProps{
19600 Description: "Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'",
19601 Default: "",
19602 Type: []string{"string"},
19603 Format: "",
19604 },
19605 },
19606 "capacity": {
19607 SchemaProps: spec.SchemaProps{
19608 Description: "Capacity of the sparse disk",
19609 Default: map[string]interface{}{},
19610 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
19611 },
19612 },
19613 "shared": {
19614 SchemaProps: spec.SchemaProps{
19615 Description: "Shared indicate whether the path is shared between nodes",
19616 Type: []string{"boolean"},
19617 Format: "",
19618 },
19619 },
19620 },
19621 Required: []string{"path", "type"},
19622 },
19623 },
19624 Dependencies: []string{
19625 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
19626 }
19627 }
19628
19629 func schema_kubevirtio_api_core_v1_HotplugVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
19630 return common.OpenAPIDefinition{
19631 Schema: spec.Schema{
19632 SchemaProps: spec.SchemaProps{
19633 Description: "HotplugVolumeSource Represents the source of a volume to mount which are capable of being hotplugged on a live running VMI. Only one of its members may be specified.",
19634 Type: []string{"object"},
19635 Properties: map[string]spec.Schema{
19636 "persistentVolumeClaim": {
19637 SchemaProps: spec.SchemaProps{
19638 Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
19639 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
19640 },
19641 },
19642 "dataVolume": {
19643 SchemaProps: spec.SchemaProps{
19644 Description: "DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.",
19645 Ref: ref("kubevirt.io/api/core/v1.DataVolumeSource"),
19646 },
19647 },
19648 },
19649 },
19650 },
19651 Dependencies: []string{
19652 "kubevirt.io/api/core/v1.DataVolumeSource", "kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource"},
19653 }
19654 }
19655
19656 func schema_kubevirtio_api_core_v1_HotplugVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
19657 return common.OpenAPIDefinition{
19658 Schema: spec.Schema{
19659 SchemaProps: spec.SchemaProps{
19660 Description: "HotplugVolumeStatus represents the hotplug status of the volume",
19661 Type: []string{"object"},
19662 Properties: map[string]spec.Schema{
19663 "attachPodName": {
19664 SchemaProps: spec.SchemaProps{
19665 Description: "AttachPodName is the name of the pod used to attach the volume to the node.",
19666 Type: []string{"string"},
19667 Format: "",
19668 },
19669 },
19670 "attachPodUID": {
19671 SchemaProps: spec.SchemaProps{
19672 Description: "AttachPodUID is the UID of the pod used to attach the volume to the node.",
19673 Type: []string{"string"},
19674 Format: "",
19675 },
19676 },
19677 },
19678 },
19679 },
19680 }
19681 }
19682
19683 func schema_kubevirtio_api_core_v1_Hugepages(ref common.ReferenceCallback) common.OpenAPIDefinition {
19684 return common.OpenAPIDefinition{
19685 Schema: spec.Schema{
19686 SchemaProps: spec.SchemaProps{
19687 Description: "Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.",
19688 Type: []string{"object"},
19689 Properties: map[string]spec.Schema{
19690 "pageSize": {
19691 SchemaProps: spec.SchemaProps{
19692 Description: "PageSize specifies the hugepage size, for x86_64 architecture valid values are 1Gi and 2Mi.",
19693 Type: []string{"string"},
19694 Format: "",
19695 },
19696 },
19697 },
19698 },
19699 },
19700 }
19701 }
19702
19703 func schema_kubevirtio_api_core_v1_HyperVPassthrough(ref common.ReferenceCallback) common.OpenAPIDefinition {
19704 return common.OpenAPIDefinition{
19705 Schema: spec.Schema{
19706 SchemaProps: spec.SchemaProps{
19707 Type: []string{"object"},
19708 Properties: map[string]spec.Schema{
19709 "enabled": {
19710 SchemaProps: spec.SchemaProps{
19711 Type: []string{"boolean"},
19712 Format: "",
19713 },
19714 },
19715 },
19716 },
19717 },
19718 }
19719 }
19720
19721 func schema_kubevirtio_api_core_v1_HypervTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
19722 return common.OpenAPIDefinition{
19723 Schema: spec.Schema{
19724 SchemaProps: spec.SchemaProps{
19725 Type: []string{"object"},
19726 Properties: map[string]spec.Schema{
19727 "present": {
19728 SchemaProps: spec.SchemaProps{
19729 Description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true.",
19730 Type: []string{"boolean"},
19731 Format: "",
19732 },
19733 },
19734 },
19735 },
19736 },
19737 }
19738 }
19739
19740 func schema_kubevirtio_api_core_v1_I6300ESBWatchdog(ref common.ReferenceCallback) common.OpenAPIDefinition {
19741 return common.OpenAPIDefinition{
19742 Schema: spec.Schema{
19743 SchemaProps: spec.SchemaProps{
19744 Description: "i6300esb watchdog device.",
19745 Type: []string{"object"},
19746 Properties: map[string]spec.Schema{
19747 "action": {
19748 SchemaProps: spec.SchemaProps{
19749 Description: "The action to take. Valid values are poweroff, reset, shutdown. Defaults to reset.",
19750 Type: []string{"string"},
19751 Format: "",
19752 },
19753 },
19754 },
19755 },
19756 },
19757 }
19758 }
19759
19760 func schema_kubevirtio_api_core_v1_InitrdInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
19761 return common.OpenAPIDefinition{
19762 Schema: spec.Schema{
19763 SchemaProps: spec.SchemaProps{
19764 Description: "InitrdInfo show info about the initrd file",
19765 Type: []string{"object"},
19766 Properties: map[string]spec.Schema{
19767 "checksum": {
19768 SchemaProps: spec.SchemaProps{
19769 Description: "Checksum is the checksum of the initrd file",
19770 Type: []string{"integer"},
19771 Format: "int64",
19772 },
19773 },
19774 },
19775 },
19776 },
19777 }
19778 }
19779
19780 func schema_kubevirtio_api_core_v1_Input(ref common.ReferenceCallback) common.OpenAPIDefinition {
19781 return common.OpenAPIDefinition{
19782 Schema: spec.Schema{
19783 SchemaProps: spec.SchemaProps{
19784 Type: []string{"object"},
19785 Properties: map[string]spec.Schema{
19786 "bus": {
19787 SchemaProps: spec.SchemaProps{
19788 Description: "Bus indicates the bus of input device to emulate. Supported values: virtio, usb.",
19789 Type: []string{"string"},
19790 Format: "",
19791 },
19792 },
19793 "type": {
19794 SchemaProps: spec.SchemaProps{
19795 Description: "Type indicated the type of input device. Supported values: tablet.",
19796 Default: "",
19797 Type: []string{"string"},
19798 Format: "",
19799 },
19800 },
19801 "name": {
19802 SchemaProps: spec.SchemaProps{
19803 Description: "Name is the device name",
19804 Default: "",
19805 Type: []string{"string"},
19806 Format: "",
19807 },
19808 },
19809 },
19810 Required: []string{"type", "name"},
19811 },
19812 },
19813 }
19814 }
19815
19816 func schema_kubevirtio_api_core_v1_InstancetypeMatcher(ref common.ReferenceCallback) common.OpenAPIDefinition {
19817 return common.OpenAPIDefinition{
19818 Schema: spec.Schema{
19819 SchemaProps: spec.SchemaProps{
19820 Description: "InstancetypeMatcher references a instancetype that is used to fill fields in the VMI template.",
19821 Type: []string{"object"},
19822 Properties: map[string]spec.Schema{
19823 "name": {
19824 SchemaProps: spec.SchemaProps{
19825 Description: "Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype",
19826 Type: []string{"string"},
19827 Format: "",
19828 },
19829 },
19830 "kind": {
19831 SchemaProps: spec.SchemaProps{
19832 Description: "Kind specifies which instancetype resource is referenced. Allowed values are: \"VirtualMachineInstancetype\" and \"VirtualMachineClusterInstancetype\". If not specified, \"VirtualMachineClusterInstancetype\" is used by default.",
19833 Type: []string{"string"},
19834 Format: "",
19835 },
19836 },
19837 "revisionName": {
19838 SchemaProps: spec.SchemaProps{
19839 Description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance.",
19840 Type: []string{"string"},
19841 Format: "",
19842 },
19843 },
19844 "inferFromVolume": {
19845 SchemaProps: spec.SchemaProps{
19846 Description: "InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed.",
19847 Type: []string{"string"},
19848 Format: "",
19849 },
19850 },
19851 "inferFromVolumeFailurePolicy": {
19852 SchemaProps: spec.SchemaProps{
19853 Description: "InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype. Allowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\". If not specified, \"RejectInferFromVolumeFailure\" is used by default.",
19854 Type: []string{"string"},
19855 Format: "",
19856 },
19857 },
19858 },
19859 },
19860 },
19861 }
19862 }
19863
19864 func schema_kubevirtio_api_core_v1_Interface(ref common.ReferenceCallback) common.OpenAPIDefinition {
19865 return common.OpenAPIDefinition{
19866 Schema: spec.Schema{
19867 SchemaProps: spec.SchemaProps{
19868 Type: []string{"object"},
19869 Properties: map[string]spec.Schema{
19870 "name": {
19871 SchemaProps: spec.SchemaProps{
19872 Description: "Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network.",
19873 Default: "",
19874 Type: []string{"string"},
19875 Format: "",
19876 },
19877 },
19878 "model": {
19879 SchemaProps: spec.SchemaProps{
19880 Description: "Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.",
19881 Type: []string{"string"},
19882 Format: "",
19883 },
19884 },
19885 "bridge": {
19886 SchemaProps: spec.SchemaProps{
19887 Ref: ref("kubevirt.io/api/core/v1.InterfaceBridge"),
19888 },
19889 },
19890 "slirp": {
19891 SchemaProps: spec.SchemaProps{
19892 Description: "DeprecatedSlirp is an alias to the deprecated Slirp interface Deprecated: Removed in v1.3",
19893 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfaceSlirp"),
19894 },
19895 },
19896 "masquerade": {
19897 SchemaProps: spec.SchemaProps{
19898 Ref: ref("kubevirt.io/api/core/v1.InterfaceMasquerade"),
19899 },
19900 },
19901 "sriov": {
19902 SchemaProps: spec.SchemaProps{
19903 Ref: ref("kubevirt.io/api/core/v1.InterfaceSRIOV"),
19904 },
19905 },
19906 "macvtap": {
19907 SchemaProps: spec.SchemaProps{
19908 Description: "DeprecatedMacvtap is an alias to the deprecated Macvtap interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3",
19909 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfaceMacvtap"),
19910 },
19911 },
19912 "passt": {
19913 SchemaProps: spec.SchemaProps{
19914 Description: "DeprecatedPasst is an alias to the deprecated Passt interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3",
19915 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfacePasst"),
19916 },
19917 },
19918 "binding": {
19919 SchemaProps: spec.SchemaProps{
19920 Description: "Binding specifies the binding plugin that will be used to connect the interface to the guest. It provides an alternative to InterfaceBindingMethod. version: 1alphav1",
19921 Ref: ref("kubevirt.io/api/core/v1.PluginBinding"),
19922 },
19923 },
19924 "ports": {
19925 SchemaProps: spec.SchemaProps{
19926 Description: "List of ports to be forwarded to the virtual machine.",
19927 Type: []string{"array"},
19928 Items: &spec.SchemaOrArray{
19929 Schema: &spec.Schema{
19930 SchemaProps: spec.SchemaProps{
19931 Default: map[string]interface{}{},
19932 Ref: ref("kubevirt.io/api/core/v1.Port"),
19933 },
19934 },
19935 },
19936 },
19937 },
19938 "macAddress": {
19939 SchemaProps: spec.SchemaProps{
19940 Description: "Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF.",
19941 Type: []string{"string"},
19942 Format: "",
19943 },
19944 },
19945 "bootOrder": {
19946 SchemaProps: spec.SchemaProps{
19947 Description: "BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried.",
19948 Type: []string{"integer"},
19949 Format: "int32",
19950 },
19951 },
19952 "pciAddress": {
19953 SchemaProps: spec.SchemaProps{
19954 Description: "If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10",
19955 Type: []string{"string"},
19956 Format: "",
19957 },
19958 },
19959 "dhcpOptions": {
19960 SchemaProps: spec.SchemaProps{
19961 Description: "If specified the network interface will pass additional DHCP options to the VMI",
19962 Ref: ref("kubevirt.io/api/core/v1.DHCPOptions"),
19963 },
19964 },
19965 "tag": {
19966 SchemaProps: spec.SchemaProps{
19967 Description: "If specified, the virtual network interface address and its tag will be provided to the guest via config drive",
19968 Type: []string{"string"},
19969 Format: "",
19970 },
19971 },
19972 "acpiIndex": {
19973 SchemaProps: spec.SchemaProps{
19974 Description: "If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1).",
19975 Type: []string{"integer"},
19976 Format: "int32",
19977 },
19978 },
19979 "state": {
19980 SchemaProps: spec.SchemaProps{
19981 Description: "State represents the requested operational state of the interface. The (only) value supported is `absent`, expressing a request to remove the interface.",
19982 Type: []string{"string"},
19983 Format: "",
19984 },
19985 },
19986 },
19987 Required: []string{"name"},
19988 },
19989 },
19990 Dependencies: []string{
19991 "kubevirt.io/api/core/v1.DHCPOptions", "kubevirt.io/api/core/v1.DeprecatedInterfaceMacvtap", "kubevirt.io/api/core/v1.DeprecatedInterfacePasst", "kubevirt.io/api/core/v1.DeprecatedInterfaceSlirp", "kubevirt.io/api/core/v1.InterfaceBridge", "kubevirt.io/api/core/v1.InterfaceMasquerade", "kubevirt.io/api/core/v1.InterfaceSRIOV", "kubevirt.io/api/core/v1.PluginBinding", "kubevirt.io/api/core/v1.Port"},
19992 }
19993 }
19994
19995 func schema_kubevirtio_api_core_v1_InterfaceBindingMethod(ref common.ReferenceCallback) common.OpenAPIDefinition {
19996 return common.OpenAPIDefinition{
19997 Schema: spec.Schema{
19998 SchemaProps: spec.SchemaProps{
19999 Description: "Represents the method which will be used to connect the interface to the guest. Only one of its members may be specified.",
20000 Type: []string{"object"},
20001 Properties: map[string]spec.Schema{
20002 "bridge": {
20003 SchemaProps: spec.SchemaProps{
20004 Ref: ref("kubevirt.io/api/core/v1.InterfaceBridge"),
20005 },
20006 },
20007 "slirp": {
20008 SchemaProps: spec.SchemaProps{
20009 Description: "DeprecatedSlirp is an alias to the deprecated Slirp interface Deprecated: Removed in v1.3",
20010 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfaceSlirp"),
20011 },
20012 },
20013 "masquerade": {
20014 SchemaProps: spec.SchemaProps{
20015 Ref: ref("kubevirt.io/api/core/v1.InterfaceMasquerade"),
20016 },
20017 },
20018 "sriov": {
20019 SchemaProps: spec.SchemaProps{
20020 Ref: ref("kubevirt.io/api/core/v1.InterfaceSRIOV"),
20021 },
20022 },
20023 "macvtap": {
20024 SchemaProps: spec.SchemaProps{
20025 Description: "DeprecatedMacvtap is an alias to the deprecated Macvtap interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3",
20026 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfaceMacvtap"),
20027 },
20028 },
20029 "passt": {
20030 SchemaProps: spec.SchemaProps{
20031 Description: "DeprecatedPasst is an alias to the deprecated Passt interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3",
20032 Ref: ref("kubevirt.io/api/core/v1.DeprecatedInterfacePasst"),
20033 },
20034 },
20035 },
20036 },
20037 },
20038 Dependencies: []string{
20039 "kubevirt.io/api/core/v1.DeprecatedInterfaceMacvtap", "kubevirt.io/api/core/v1.DeprecatedInterfacePasst", "kubevirt.io/api/core/v1.DeprecatedInterfaceSlirp", "kubevirt.io/api/core/v1.InterfaceBridge", "kubevirt.io/api/core/v1.InterfaceMasquerade", "kubevirt.io/api/core/v1.InterfaceSRIOV"},
20040 }
20041 }
20042
20043 func schema_kubevirtio_api_core_v1_InterfaceBindingMigration(ref common.ReferenceCallback) common.OpenAPIDefinition {
20044 return common.OpenAPIDefinition{
20045 Schema: spec.Schema{
20046 SchemaProps: spec.SchemaProps{
20047 Type: []string{"object"},
20048 Properties: map[string]spec.Schema{
20049 "method": {
20050 SchemaProps: spec.SchemaProps{
20051 Description: "Method defines a pre-defined migration methodology version: 1alphav1",
20052 Type: []string{"string"},
20053 Format: "",
20054 },
20055 },
20056 },
20057 },
20058 },
20059 }
20060 }
20061
20062 func schema_kubevirtio_api_core_v1_InterfaceBindingPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
20063 return common.OpenAPIDefinition{
20064 Schema: spec.Schema{
20065 SchemaProps: spec.SchemaProps{
20066 Type: []string{"object"},
20067 Properties: map[string]spec.Schema{
20068 "sidecarImage": {
20069 SchemaProps: spec.SchemaProps{
20070 Description: "SidecarImage references a container image that runs in the virt-launcher pod. The sidecar handles (libvirt) domain configuration and optional services. version: 1alphav1",
20071 Type: []string{"string"},
20072 Format: "",
20073 },
20074 },
20075 "networkAttachmentDefinition": {
20076 SchemaProps: spec.SchemaProps{
20077 Description: "NetworkAttachmentDefinition references to a NetworkAttachmentDefinition CR object. Format: <name>, <namespace>/<name>. If namespace is not specified, VMI namespace is assumed. version: 1alphav1",
20078 Type: []string{"string"},
20079 Format: "",
20080 },
20081 },
20082 "domainAttachmentType": {
20083 SchemaProps: spec.SchemaProps{
20084 Description: "DomainAttachmentType is a standard domain network attachment method kubevirt supports. Supported values: \"tap\". The standard domain attachment can be used instead or in addition to the sidecarImage. version: 1alphav1",
20085 Type: []string{"string"},
20086 Format: "",
20087 },
20088 },
20089 "migration": {
20090 SchemaProps: spec.SchemaProps{
20091 Description: "Migration means the VM using the plugin can be safely migrated version: 1alphav1",
20092 Ref: ref("kubevirt.io/api/core/v1.InterfaceBindingMigration"),
20093 },
20094 },
20095 "downwardAPI": {
20096 SchemaProps: spec.SchemaProps{
20097 Description: "DownwardAPI specifies what kind of data should be exposed to the binding plugin sidecar. Supported values: \"device-info\" version: v1alphav1",
20098 Type: []string{"string"},
20099 Format: "",
20100 },
20101 },
20102 "computeResourceOverhead": {
20103 SchemaProps: spec.SchemaProps{
20104 Description: "ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding. version: v1alphav1",
20105 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
20106 },
20107 },
20108 },
20109 },
20110 },
20111 Dependencies: []string{
20112 "k8s.io/api/core/v1.ResourceRequirements", "kubevirt.io/api/core/v1.InterfaceBindingMigration"},
20113 }
20114 }
20115
20116 func schema_kubevirtio_api_core_v1_InterfaceBridge(ref common.ReferenceCallback) common.OpenAPIDefinition {
20117 return common.OpenAPIDefinition{
20118 Schema: spec.Schema{
20119 SchemaProps: spec.SchemaProps{
20120 Description: "InterfaceBridge connects to a given network via a linux bridge.",
20121 Type: []string{"object"},
20122 },
20123 },
20124 }
20125 }
20126
20127 func schema_kubevirtio_api_core_v1_InterfaceMasquerade(ref common.ReferenceCallback) common.OpenAPIDefinition {
20128 return common.OpenAPIDefinition{
20129 Schema: spec.Schema{
20130 SchemaProps: spec.SchemaProps{
20131 Description: "InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic.",
20132 Type: []string{"object"},
20133 },
20134 },
20135 }
20136 }
20137
20138 func schema_kubevirtio_api_core_v1_InterfaceSRIOV(ref common.ReferenceCallback) common.OpenAPIDefinition {
20139 return common.OpenAPIDefinition{
20140 Schema: spec.Schema{
20141 SchemaProps: spec.SchemaProps{
20142 Description: "InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio.",
20143 Type: []string{"object"},
20144 },
20145 },
20146 }
20147 }
20148
20149 func schema_kubevirtio_api_core_v1_KSMConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
20150 return common.OpenAPIDefinition{
20151 Schema: spec.Schema{
20152 SchemaProps: spec.SchemaProps{
20153 Description: "KSMConfiguration holds information about KSM.",
20154 Type: []string{"object"},
20155 Properties: map[string]spec.Schema{
20156 "nodeLabelSelector": {
20157 SchemaProps: spec.SchemaProps{
20158 Description: "NodeLabelSelector is a selector that filters in which nodes the KSM will be enabled. Empty NodeLabelSelector will enable ksm for every node.",
20159 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
20160 },
20161 },
20162 },
20163 },
20164 },
20165 Dependencies: []string{
20166 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
20167 }
20168 }
20169
20170 func schema_kubevirtio_api_core_v1_KVMTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
20171 return common.OpenAPIDefinition{
20172 Schema: spec.Schema{
20173 SchemaProps: spec.SchemaProps{
20174 Type: []string{"object"},
20175 Properties: map[string]spec.Schema{
20176 "present": {
20177 SchemaProps: spec.SchemaProps{
20178 Description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true.",
20179 Type: []string{"boolean"},
20180 Format: "",
20181 },
20182 },
20183 },
20184 },
20185 },
20186 }
20187 }
20188
20189 func schema_kubevirtio_api_core_v1_KernelBoot(ref common.ReferenceCallback) common.OpenAPIDefinition {
20190 return common.OpenAPIDefinition{
20191 Schema: spec.Schema{
20192 SchemaProps: spec.SchemaProps{
20193 Description: "Represents the firmware blob used to assist in the kernel boot process. Used for setting the kernel, initrd and command line arguments",
20194 Type: []string{"object"},
20195 Properties: map[string]spec.Schema{
20196 "kernelArgs": {
20197 SchemaProps: spec.SchemaProps{
20198 Description: "Arguments to be passed to the kernel at boot time",
20199 Type: []string{"string"},
20200 Format: "",
20201 },
20202 },
20203 "container": {
20204 SchemaProps: spec.SchemaProps{
20205 Description: "Container defines the container that containes kernel artifacts",
20206 Ref: ref("kubevirt.io/api/core/v1.KernelBootContainer"),
20207 },
20208 },
20209 },
20210 },
20211 },
20212 Dependencies: []string{
20213 "kubevirt.io/api/core/v1.KernelBootContainer"},
20214 }
20215 }
20216
20217 func schema_kubevirtio_api_core_v1_KernelBootContainer(ref common.ReferenceCallback) common.OpenAPIDefinition {
20218 return common.OpenAPIDefinition{
20219 Schema: spec.Schema{
20220 SchemaProps: spec.SchemaProps{
20221 Description: "If set, the VM will be booted from the defined kernel / initrd.",
20222 Type: []string{"object"},
20223 Properties: map[string]spec.Schema{
20224 "image": {
20225 SchemaProps: spec.SchemaProps{
20226 Description: "Image that contains initrd / kernel files.",
20227 Default: "",
20228 Type: []string{"string"},
20229 Format: "",
20230 },
20231 },
20232 "imagePullSecret": {
20233 SchemaProps: spec.SchemaProps{
20234 Description: "ImagePullSecret is the name of the Docker registry secret required to pull the image. The secret must already exist.",
20235 Type: []string{"string"},
20236 Format: "",
20237 },
20238 },
20239 "imagePullPolicy": {
20240 SchemaProps: spec.SchemaProps{
20241 Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
20242 Type: []string{"string"},
20243 Format: "",
20244 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
20245 },
20246 },
20247 "kernelPath": {
20248 SchemaProps: spec.SchemaProps{
20249 Description: "The fully-qualified path to the kernel image in the host OS",
20250 Type: []string{"string"},
20251 Format: "",
20252 },
20253 },
20254 "initrdPath": {
20255 SchemaProps: spec.SchemaProps{
20256 Description: "the fully-qualified path to the ramdisk image in the host OS",
20257 Type: []string{"string"},
20258 Format: "",
20259 },
20260 },
20261 },
20262 Required: []string{"image"},
20263 },
20264 },
20265 }
20266 }
20267
20268 func schema_kubevirtio_api_core_v1_KernelBootStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
20269 return common.OpenAPIDefinition{
20270 Schema: spec.Schema{
20271 SchemaProps: spec.SchemaProps{
20272 Description: "KernelBootStatus contains info about the kernelBootContainer",
20273 Type: []string{"object"},
20274 Properties: map[string]spec.Schema{
20275 "kernelInfo": {
20276 SchemaProps: spec.SchemaProps{
20277 Description: "KernelInfo show info about the kernel image",
20278 Ref: ref("kubevirt.io/api/core/v1.KernelInfo"),
20279 },
20280 },
20281 "initrdInfo": {
20282 SchemaProps: spec.SchemaProps{
20283 Description: "InitrdInfo show info about the initrd file",
20284 Ref: ref("kubevirt.io/api/core/v1.InitrdInfo"),
20285 },
20286 },
20287 },
20288 },
20289 },
20290 Dependencies: []string{
20291 "kubevirt.io/api/core/v1.InitrdInfo", "kubevirt.io/api/core/v1.KernelInfo"},
20292 }
20293 }
20294
20295 func schema_kubevirtio_api_core_v1_KernelInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
20296 return common.OpenAPIDefinition{
20297 Schema: spec.Schema{
20298 SchemaProps: spec.SchemaProps{
20299 Description: "KernelInfo show info about the kernel image",
20300 Type: []string{"object"},
20301 Properties: map[string]spec.Schema{
20302 "checksum": {
20303 SchemaProps: spec.SchemaProps{
20304 Description: "Checksum is the checksum of the kernel image",
20305 Type: []string{"integer"},
20306 Format: "int64",
20307 },
20308 },
20309 },
20310 },
20311 },
20312 }
20313 }
20314
20315 func schema_kubevirtio_api_core_v1_KubeVirt(ref common.ReferenceCallback) common.OpenAPIDefinition {
20316 return common.OpenAPIDefinition{
20317 Schema: spec.Schema{
20318 SchemaProps: spec.SchemaProps{
20319 Description: "KubeVirt represents the object deploying all KubeVirt resources",
20320 Type: []string{"object"},
20321 Properties: map[string]spec.Schema{
20322 "kind": {
20323 SchemaProps: spec.SchemaProps{
20324 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
20325 Type: []string{"string"},
20326 Format: "",
20327 },
20328 },
20329 "apiVersion": {
20330 SchemaProps: spec.SchemaProps{
20331 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
20332 Type: []string{"string"},
20333 Format: "",
20334 },
20335 },
20336 "metadata": {
20337 SchemaProps: spec.SchemaProps{
20338 Default: map[string]interface{}{},
20339 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
20340 },
20341 },
20342 "spec": {
20343 SchemaProps: spec.SchemaProps{
20344 Default: map[string]interface{}{},
20345 Ref: ref("kubevirt.io/api/core/v1.KubeVirtSpec"),
20346 },
20347 },
20348 "status": {
20349 SchemaProps: spec.SchemaProps{
20350 Default: map[string]interface{}{},
20351 Ref: ref("kubevirt.io/api/core/v1.KubeVirtStatus"),
20352 },
20353 },
20354 },
20355 Required: []string{"spec"},
20356 },
20357 },
20358 Dependencies: []string{
20359 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.KubeVirtSpec", "kubevirt.io/api/core/v1.KubeVirtStatus"},
20360 }
20361 }
20362
20363 func schema_kubevirtio_api_core_v1_KubeVirtCertificateRotateStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
20364 return common.OpenAPIDefinition{
20365 Schema: spec.Schema{
20366 SchemaProps: spec.SchemaProps{
20367 Type: []string{"object"},
20368 Properties: map[string]spec.Schema{
20369 "selfSigned": {
20370 SchemaProps: spec.SchemaProps{
20371 Ref: ref("kubevirt.io/api/core/v1.KubeVirtSelfSignConfiguration"),
20372 },
20373 },
20374 },
20375 },
20376 },
20377 Dependencies: []string{
20378 "kubevirt.io/api/core/v1.KubeVirtSelfSignConfiguration"},
20379 }
20380 }
20381
20382 func schema_kubevirtio_api_core_v1_KubeVirtCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
20383 return common.OpenAPIDefinition{
20384 Schema: spec.Schema{
20385 SchemaProps: spec.SchemaProps{
20386 Description: "KubeVirtCondition represents a condition of a KubeVirt deployment",
20387 Type: []string{"object"},
20388 Properties: map[string]spec.Schema{
20389 "type": {
20390 SchemaProps: spec.SchemaProps{
20391 Default: "",
20392 Type: []string{"string"},
20393 Format: "",
20394 },
20395 },
20396 "status": {
20397 SchemaProps: spec.SchemaProps{
20398 Default: "",
20399 Type: []string{"string"},
20400 Format: "",
20401 },
20402 },
20403 "lastProbeTime": {
20404 SchemaProps: spec.SchemaProps{
20405 Default: map[string]interface{}{},
20406 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
20407 },
20408 },
20409 "lastTransitionTime": {
20410 SchemaProps: spec.SchemaProps{
20411 Default: map[string]interface{}{},
20412 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
20413 },
20414 },
20415 "reason": {
20416 SchemaProps: spec.SchemaProps{
20417 Type: []string{"string"},
20418 Format: "",
20419 },
20420 },
20421 "message": {
20422 SchemaProps: spec.SchemaProps{
20423 Type: []string{"string"},
20424 Format: "",
20425 },
20426 },
20427 },
20428 Required: []string{"type", "status"},
20429 },
20430 },
20431 Dependencies: []string{
20432 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
20433 }
20434 }
20435
20436 func schema_kubevirtio_api_core_v1_KubeVirtConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
20437 return common.OpenAPIDefinition{
20438 Schema: spec.Schema{
20439 SchemaProps: spec.SchemaProps{
20440 Description: "KubeVirtConfiguration holds all kubevirt configurations",
20441 Type: []string{"object"},
20442 Properties: map[string]spec.Schema{
20443 "cpuModel": {
20444 SchemaProps: spec.SchemaProps{
20445 Type: []string{"string"},
20446 Format: "",
20447 },
20448 },
20449 "cpuRequest": {
20450 SchemaProps: spec.SchemaProps{
20451 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
20452 },
20453 },
20454 "developerConfiguration": {
20455 SchemaProps: spec.SchemaProps{
20456 Ref: ref("kubevirt.io/api/core/v1.DeveloperConfiguration"),
20457 },
20458 },
20459 "emulatedMachines": {
20460 SchemaProps: spec.SchemaProps{
20461 Description: "Deprecated. Use architectureConfiguration instead.",
20462 Type: []string{"array"},
20463 Items: &spec.SchemaOrArray{
20464 Schema: &spec.Schema{
20465 SchemaProps: spec.SchemaProps{
20466 Default: "",
20467 Type: []string{"string"},
20468 Format: "",
20469 },
20470 },
20471 },
20472 },
20473 },
20474 "imagePullPolicy": {
20475 SchemaProps: spec.SchemaProps{
20476 Description: "Possible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
20477 Type: []string{"string"},
20478 Format: "",
20479 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
20480 },
20481 },
20482 "migrations": {
20483 SchemaProps: spec.SchemaProps{
20484 Ref: ref("kubevirt.io/api/core/v1.MigrationConfiguration"),
20485 },
20486 },
20487 "machineType": {
20488 SchemaProps: spec.SchemaProps{
20489 Description: "Deprecated. Use architectureConfiguration instead.",
20490 Type: []string{"string"},
20491 Format: "",
20492 },
20493 },
20494 "network": {
20495 SchemaProps: spec.SchemaProps{
20496 Ref: ref("kubevirt.io/api/core/v1.NetworkConfiguration"),
20497 },
20498 },
20499 "ovmfPath": {
20500 SchemaProps: spec.SchemaProps{
20501 Description: "Deprecated. Use architectureConfiguration instead.",
20502 Type: []string{"string"},
20503 Format: "",
20504 },
20505 },
20506 "selinuxLauncherType": {
20507 SchemaProps: spec.SchemaProps{
20508 Type: []string{"string"},
20509 Format: "",
20510 },
20511 },
20512 "defaultRuntimeClass": {
20513 SchemaProps: spec.SchemaProps{
20514 Type: []string{"string"},
20515 Format: "",
20516 },
20517 },
20518 "smbios": {
20519 SchemaProps: spec.SchemaProps{
20520 Ref: ref("kubevirt.io/api/core/v1.SMBiosConfiguration"),
20521 },
20522 },
20523 "architectureConfiguration": {
20524 SchemaProps: spec.SchemaProps{
20525 Ref: ref("kubevirt.io/api/core/v1.ArchConfiguration"),
20526 },
20527 },
20528 "evictionStrategy": {
20529 SchemaProps: spec.SchemaProps{
20530 Description: "EvictionStrategy defines at the cluster level if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain. If the VirtualMachineInstance specific field is set it overrides the cluster level one.",
20531 Type: []string{"string"},
20532 Format: "",
20533 },
20534 },
20535 "additionalGuestMemoryOverheadRatio": {
20536 SchemaProps: spec.SchemaProps{
20537 Description: "AdditionalGuestMemoryOverheadRatio can be used to increase the virtualization infrastructure overhead. This is useful, since the calculation of this overhead is not accurate and cannot be entirely known in advance. The ratio that is being set determines by which factor to increase the overhead calculated by Kubevirt. A higher ratio means that the VMs would be less compromised by node pressures, but would mean that fewer VMs could be scheduled to a node. If not set, the default is 1.",
20538 Type: []string{"string"},
20539 Format: "",
20540 },
20541 },
20542 "supportContainerResources": {
20543 VendorExtensible: spec.VendorExtensible{
20544 Extensions: spec.Extensions{
20545 "x-kubernetes-list-map-keys": []interface{}{
20546 "type",
20547 },
20548 "x-kubernetes-list-type": "map",
20549 },
20550 },
20551 SchemaProps: spec.SchemaProps{
20552 Description: "SupportContainerResources specifies the resource requirements for various types of supporting containers such as container disks/virtiofs/sidecars and hotplug attachment pods. If omitted a sensible default will be supplied.",
20553 Type: []string{"array"},
20554 Items: &spec.SchemaOrArray{
20555 Schema: &spec.Schema{
20556 SchemaProps: spec.SchemaProps{
20557 Default: map[string]interface{}{},
20558 Ref: ref("kubevirt.io/api/core/v1.SupportContainerResources"),
20559 },
20560 },
20561 },
20562 },
20563 },
20564 "supportedGuestAgentVersions": {
20565 SchemaProps: spec.SchemaProps{
20566 Description: "deprecated",
20567 Type: []string{"array"},
20568 Items: &spec.SchemaOrArray{
20569 Schema: &spec.Schema{
20570 SchemaProps: spec.SchemaProps{
20571 Default: "",
20572 Type: []string{"string"},
20573 Format: "",
20574 },
20575 },
20576 },
20577 },
20578 },
20579 "memBalloonStatsPeriod": {
20580 SchemaProps: spec.SchemaProps{
20581 Type: []string{"integer"},
20582 Format: "int64",
20583 },
20584 },
20585 "permittedHostDevices": {
20586 SchemaProps: spec.SchemaProps{
20587 Ref: ref("kubevirt.io/api/core/v1.PermittedHostDevices"),
20588 },
20589 },
20590 "mediatedDevicesConfiguration": {
20591 SchemaProps: spec.SchemaProps{
20592 Ref: ref("kubevirt.io/api/core/v1.MediatedDevicesConfiguration"),
20593 },
20594 },
20595 "minCPUModel": {
20596 SchemaProps: spec.SchemaProps{
20597 Type: []string{"string"},
20598 Format: "",
20599 },
20600 },
20601 "obsoleteCPUModels": {
20602 SchemaProps: spec.SchemaProps{
20603 Type: []string{"object"},
20604 AdditionalProperties: &spec.SchemaOrBool{
20605 Allows: true,
20606 Schema: &spec.Schema{
20607 SchemaProps: spec.SchemaProps{
20608 Default: false,
20609 Type: []string{"boolean"},
20610 Format: "",
20611 },
20612 },
20613 },
20614 },
20615 },
20616 "virtualMachineInstancesPerNode": {
20617 SchemaProps: spec.SchemaProps{
20618 Type: []string{"integer"},
20619 Format: "int32",
20620 },
20621 },
20622 "apiConfiguration": {
20623 SchemaProps: spec.SchemaProps{
20624 Ref: ref("kubevirt.io/api/core/v1.ReloadableComponentConfiguration"),
20625 },
20626 },
20627 "webhookConfiguration": {
20628 SchemaProps: spec.SchemaProps{
20629 Ref: ref("kubevirt.io/api/core/v1.ReloadableComponentConfiguration"),
20630 },
20631 },
20632 "controllerConfiguration": {
20633 SchemaProps: spec.SchemaProps{
20634 Ref: ref("kubevirt.io/api/core/v1.ReloadableComponentConfiguration"),
20635 },
20636 },
20637 "handlerConfiguration": {
20638 SchemaProps: spec.SchemaProps{
20639 Ref: ref("kubevirt.io/api/core/v1.ReloadableComponentConfiguration"),
20640 },
20641 },
20642 "tlsConfiguration": {
20643 SchemaProps: spec.SchemaProps{
20644 Ref: ref("kubevirt.io/api/core/v1.TLSConfiguration"),
20645 },
20646 },
20647 "seccompConfiguration": {
20648 SchemaProps: spec.SchemaProps{
20649 Ref: ref("kubevirt.io/api/core/v1.SeccompConfiguration"),
20650 },
20651 },
20652 "vmStateStorageClass": {
20653 SchemaProps: spec.SchemaProps{
20654 Description: "VMStateStorageClass is the name of the storage class to use for the PVCs created to preserve VM state, like TPM. The storage class must support RWX in filesystem mode.",
20655 Type: []string{"string"},
20656 Format: "",
20657 },
20658 },
20659 "virtualMachineOptions": {
20660 SchemaProps: spec.SchemaProps{
20661 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineOptions"),
20662 },
20663 },
20664 "ksmConfiguration": {
20665 SchemaProps: spec.SchemaProps{
20666 Description: "KSMConfiguration holds the information regarding the enabling the KSM in the nodes (if available).",
20667 Ref: ref("kubevirt.io/api/core/v1.KSMConfiguration"),
20668 },
20669 },
20670 "autoCPULimitNamespaceLabelSelector": {
20671 SchemaProps: spec.SchemaProps{
20672 Description: "When set, AutoCPULimitNamespaceLabelSelector will set a CPU limit on virt-launcher for VMIs running inside namespaces that match the label selector. The CPU limit will equal the number of requested vCPUs. This setting does not apply to VMIs with dedicated CPUs.",
20673 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
20674 },
20675 },
20676 "liveUpdateConfiguration": {
20677 SchemaProps: spec.SchemaProps{
20678 Description: "LiveUpdateConfiguration holds defaults for live update features",
20679 Ref: ref("kubevirt.io/api/core/v1.LiveUpdateConfiguration"),
20680 },
20681 },
20682 "vmRolloutStrategy": {
20683 SchemaProps: spec.SchemaProps{
20684 Description: "VMRolloutStrategy defines how changes to a VM object propagate to its VMI",
20685 Type: []string{"string"},
20686 Format: "",
20687 },
20688 },
20689 },
20690 },
20691 },
20692 Dependencies: []string{
20693 "k8s.io/apimachinery/pkg/api/resource.Quantity", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "kubevirt.io/api/core/v1.ArchConfiguration", "kubevirt.io/api/core/v1.DeveloperConfiguration", "kubevirt.io/api/core/v1.KSMConfiguration", "kubevirt.io/api/core/v1.LiveUpdateConfiguration", "kubevirt.io/api/core/v1.MediatedDevicesConfiguration", "kubevirt.io/api/core/v1.MigrationConfiguration", "kubevirt.io/api/core/v1.NetworkConfiguration", "kubevirt.io/api/core/v1.PermittedHostDevices", "kubevirt.io/api/core/v1.ReloadableComponentConfiguration", "kubevirt.io/api/core/v1.SMBiosConfiguration", "kubevirt.io/api/core/v1.SeccompConfiguration", "kubevirt.io/api/core/v1.SupportContainerResources", "kubevirt.io/api/core/v1.TLSConfiguration", "kubevirt.io/api/core/v1.VirtualMachineOptions"},
20694 }
20695 }
20696
20697 func schema_kubevirtio_api_core_v1_KubeVirtList(ref common.ReferenceCallback) common.OpenAPIDefinition {
20698 return common.OpenAPIDefinition{
20699 Schema: spec.Schema{
20700 SchemaProps: spec.SchemaProps{
20701 Description: "KubeVirtList is a list of KubeVirts",
20702 Type: []string{"object"},
20703 Properties: map[string]spec.Schema{
20704 "kind": {
20705 SchemaProps: spec.SchemaProps{
20706 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
20707 Type: []string{"string"},
20708 Format: "",
20709 },
20710 },
20711 "apiVersion": {
20712 SchemaProps: spec.SchemaProps{
20713 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
20714 Type: []string{"string"},
20715 Format: "",
20716 },
20717 },
20718 "metadata": {
20719 SchemaProps: spec.SchemaProps{
20720 Default: map[string]interface{}{},
20721 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
20722 },
20723 },
20724 "items": {
20725 SchemaProps: spec.SchemaProps{
20726 Type: []string{"array"},
20727 Items: &spec.SchemaOrArray{
20728 Schema: &spec.Schema{
20729 SchemaProps: spec.SchemaProps{
20730 Default: map[string]interface{}{},
20731 Ref: ref("kubevirt.io/api/core/v1.KubeVirt"),
20732 },
20733 },
20734 },
20735 },
20736 },
20737 },
20738 Required: []string{"items"},
20739 },
20740 },
20741 Dependencies: []string{
20742 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.KubeVirt"},
20743 }
20744 }
20745
20746 func schema_kubevirtio_api_core_v1_KubeVirtSelfSignConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
20747 return common.OpenAPIDefinition{
20748 Schema: spec.Schema{
20749 SchemaProps: spec.SchemaProps{
20750 Type: []string{"object"},
20751 Properties: map[string]spec.Schema{
20752 "caRotateInterval": {
20753 SchemaProps: spec.SchemaProps{
20754 Description: "Deprecated. Use CA.Duration instead",
20755 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
20756 },
20757 },
20758 "certRotateInterval": {
20759 SchemaProps: spec.SchemaProps{
20760 Description: "Deprecated. Use Server.Duration instead",
20761 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
20762 },
20763 },
20764 "caOverlapInterval": {
20765 SchemaProps: spec.SchemaProps{
20766 Description: "Deprecated. Use CA.Duration and CA.RenewBefore instead",
20767 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
20768 },
20769 },
20770 "ca": {
20771 SchemaProps: spec.SchemaProps{
20772 Description: "CA configuration CA certs are kept in the CA bundle as long as they are valid",
20773 Ref: ref("kubevirt.io/api/core/v1.CertConfig"),
20774 },
20775 },
20776 "server": {
20777 SchemaProps: spec.SchemaProps{
20778 Description: "Server configuration Certs are rotated and discarded",
20779 Ref: ref("kubevirt.io/api/core/v1.CertConfig"),
20780 },
20781 },
20782 },
20783 },
20784 },
20785 Dependencies: []string{
20786 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration", "kubevirt.io/api/core/v1.CertConfig"},
20787 }
20788 }
20789
20790 func schema_kubevirtio_api_core_v1_KubeVirtSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
20791 return common.OpenAPIDefinition{
20792 Schema: spec.Schema{
20793 SchemaProps: spec.SchemaProps{
20794 Type: []string{"object"},
20795 Properties: map[string]spec.Schema{
20796 "imageTag": {
20797 SchemaProps: spec.SchemaProps{
20798 Description: "The image tag to use for the continer images installed. Defaults to the same tag as the operator's container image.",
20799 Type: []string{"string"},
20800 Format: "",
20801 },
20802 },
20803 "imageRegistry": {
20804 SchemaProps: spec.SchemaProps{
20805 Description: "The image registry to pull the container images from Defaults to the same registry the operator's container image is pulled from.",
20806 Type: []string{"string"},
20807 Format: "",
20808 },
20809 },
20810 "imagePullPolicy": {
20811 SchemaProps: spec.SchemaProps{
20812 Description: "The ImagePullPolicy to use.\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
20813 Type: []string{"string"},
20814 Format: "",
20815 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
20816 },
20817 },
20818 "imagePullSecrets": {
20819 VendorExtensible: spec.VendorExtensible{
20820 Extensions: spec.Extensions{
20821 "x-kubernetes-list-type": "atomic",
20822 },
20823 },
20824 SchemaProps: spec.SchemaProps{
20825 Description: "The imagePullSecrets to pull the container images from Defaults to none",
20826 Type: []string{"array"},
20827 Items: &spec.SchemaOrArray{
20828 Schema: &spec.Schema{
20829 SchemaProps: spec.SchemaProps{
20830 Default: map[string]interface{}{},
20831 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
20832 },
20833 },
20834 },
20835 },
20836 },
20837 "monitorNamespace": {
20838 SchemaProps: spec.SchemaProps{
20839 Description: "The namespace Prometheus is deployed in Defaults to openshift-monitor",
20840 Type: []string{"string"},
20841 Format: "",
20842 },
20843 },
20844 "serviceMonitorNamespace": {
20845 SchemaProps: spec.SchemaProps{
20846 Description: "The namespace the service monitor will be deployed\n When ServiceMonitorNamespace is set, then we'll install the service monitor object in that namespace\notherwise we will use the monitoring namespace.",
20847 Type: []string{"string"},
20848 Format: "",
20849 },
20850 },
20851 "monitorAccount": {
20852 SchemaProps: spec.SchemaProps{
20853 Description: "The name of the Prometheus service account that needs read-access to KubeVirt endpoints Defaults to prometheus-k8s",
20854 Type: []string{"string"},
20855 Format: "",
20856 },
20857 },
20858 "workloadUpdateStrategy": {
20859 SchemaProps: spec.SchemaProps{
20860 Description: "WorkloadUpdateStrategy defines at the cluster level how to handle automated workload updates",
20861 Default: map[string]interface{}{},
20862 Ref: ref("kubevirt.io/api/core/v1.KubeVirtWorkloadUpdateStrategy"),
20863 },
20864 },
20865 "uninstallStrategy": {
20866 SchemaProps: spec.SchemaProps{
20867 Description: "Specifies if kubevirt can be deleted if workloads are still present. This is mainly a precaution to avoid accidental data loss",
20868 Type: []string{"string"},
20869 Format: "",
20870 },
20871 },
20872 "certificateRotateStrategy": {
20873 SchemaProps: spec.SchemaProps{
20874 Default: map[string]interface{}{},
20875 Ref: ref("kubevirt.io/api/core/v1.KubeVirtCertificateRotateStrategy"),
20876 },
20877 },
20878 "productVersion": {
20879 SchemaProps: spec.SchemaProps{
20880 Description: "Designate the apps.kubevirt.io/version label for KubeVirt components. Useful if KubeVirt is included as part of a product. If ProductVersion is not specified, KubeVirt's version will be used.",
20881 Type: []string{"string"},
20882 Format: "",
20883 },
20884 },
20885 "productName": {
20886 SchemaProps: spec.SchemaProps{
20887 Description: "Designate the apps.kubevirt.io/part-of label for KubeVirt components. Useful if KubeVirt is included as part of a product. If ProductName is not specified, the part-of label will be omitted.",
20888 Type: []string{"string"},
20889 Format: "",
20890 },
20891 },
20892 "productComponent": {
20893 SchemaProps: spec.SchemaProps{
20894 Description: "Designate the apps.kubevirt.io/component label for KubeVirt components. Useful if KubeVirt is included as part of a product. If ProductComponent is not specified, the component label default value is kubevirt.",
20895 Type: []string{"string"},
20896 Format: "",
20897 },
20898 },
20899 "configuration": {
20900 SchemaProps: spec.SchemaProps{
20901 Description: "holds kubevirt configurations. same as the virt-configMap",
20902 Default: map[string]interface{}{},
20903 Ref: ref("kubevirt.io/api/core/v1.KubeVirtConfiguration"),
20904 },
20905 },
20906 "infra": {
20907 SchemaProps: spec.SchemaProps{
20908 Description: "selectors and tolerations that should apply to KubeVirt infrastructure components",
20909 Ref: ref("kubevirt.io/api/core/v1.ComponentConfig"),
20910 },
20911 },
20912 "workloads": {
20913 SchemaProps: spec.SchemaProps{
20914 Description: "selectors and tolerations that should apply to KubeVirt workloads",
20915 Ref: ref("kubevirt.io/api/core/v1.ComponentConfig"),
20916 },
20917 },
20918 "customizeComponents": {
20919 SchemaProps: spec.SchemaProps{
20920 Default: map[string]interface{}{},
20921 Ref: ref("kubevirt.io/api/core/v1.CustomizeComponents"),
20922 },
20923 },
20924 },
20925 },
20926 },
20927 Dependencies: []string{
20928 "k8s.io/api/core/v1.LocalObjectReference", "kubevirt.io/api/core/v1.ComponentConfig", "kubevirt.io/api/core/v1.CustomizeComponents", "kubevirt.io/api/core/v1.KubeVirtCertificateRotateStrategy", "kubevirt.io/api/core/v1.KubeVirtConfiguration", "kubevirt.io/api/core/v1.KubeVirtWorkloadUpdateStrategy"},
20929 }
20930 }
20931
20932 func schema_kubevirtio_api_core_v1_KubeVirtStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
20933 return common.OpenAPIDefinition{
20934 Schema: spec.Schema{
20935 SchemaProps: spec.SchemaProps{
20936 Description: "KubeVirtStatus represents information pertaining to a KubeVirt deployment.",
20937 Type: []string{"object"},
20938 Properties: map[string]spec.Schema{
20939 "phase": {
20940 SchemaProps: spec.SchemaProps{
20941 Type: []string{"string"},
20942 Format: "",
20943 },
20944 },
20945 "conditions": {
20946 SchemaProps: spec.SchemaProps{
20947 Type: []string{"array"},
20948 Items: &spec.SchemaOrArray{
20949 Schema: &spec.Schema{
20950 SchemaProps: spec.SchemaProps{
20951 Default: map[string]interface{}{},
20952 Ref: ref("kubevirt.io/api/core/v1.KubeVirtCondition"),
20953 },
20954 },
20955 },
20956 },
20957 },
20958 "operatorVersion": {
20959 SchemaProps: spec.SchemaProps{
20960 Type: []string{"string"},
20961 Format: "",
20962 },
20963 },
20964 "targetKubeVirtRegistry": {
20965 SchemaProps: spec.SchemaProps{
20966 Type: []string{"string"},
20967 Format: "",
20968 },
20969 },
20970 "targetKubeVirtVersion": {
20971 SchemaProps: spec.SchemaProps{
20972 Type: []string{"string"},
20973 Format: "",
20974 },
20975 },
20976 "targetDeploymentConfig": {
20977 SchemaProps: spec.SchemaProps{
20978 Type: []string{"string"},
20979 Format: "",
20980 },
20981 },
20982 "targetDeploymentID": {
20983 SchemaProps: spec.SchemaProps{
20984 Type: []string{"string"},
20985 Format: "",
20986 },
20987 },
20988 "observedKubeVirtRegistry": {
20989 SchemaProps: spec.SchemaProps{
20990 Type: []string{"string"},
20991 Format: "",
20992 },
20993 },
20994 "observedKubeVirtVersion": {
20995 SchemaProps: spec.SchemaProps{
20996 Type: []string{"string"},
20997 Format: "",
20998 },
20999 },
21000 "observedDeploymentConfig": {
21001 SchemaProps: spec.SchemaProps{
21002 Type: []string{"string"},
21003 Format: "",
21004 },
21005 },
21006 "observedDeploymentID": {
21007 SchemaProps: spec.SchemaProps{
21008 Type: []string{"string"},
21009 Format: "",
21010 },
21011 },
21012 "outdatedVirtualMachineInstanceWorkloads": {
21013 SchemaProps: spec.SchemaProps{
21014 Type: []string{"integer"},
21015 Format: "int32",
21016 },
21017 },
21018 "observedGeneration": {
21019 SchemaProps: spec.SchemaProps{
21020 Type: []string{"integer"},
21021 Format: "int64",
21022 },
21023 },
21024 "defaultArchitecture": {
21025 SchemaProps: spec.SchemaProps{
21026 Type: []string{"string"},
21027 Format: "",
21028 },
21029 },
21030 "generations": {
21031 VendorExtensible: spec.VendorExtensible{
21032 Extensions: spec.Extensions{
21033 "x-kubernetes-list-type": "atomic",
21034 },
21035 },
21036 SchemaProps: spec.SchemaProps{
21037 Type: []string{"array"},
21038 Items: &spec.SchemaOrArray{
21039 Schema: &spec.Schema{
21040 SchemaProps: spec.SchemaProps{
21041 Default: map[string]interface{}{},
21042 Ref: ref("kubevirt.io/api/core/v1.GenerationStatus"),
21043 },
21044 },
21045 },
21046 },
21047 },
21048 },
21049 },
21050 },
21051 Dependencies: []string{
21052 "kubevirt.io/api/core/v1.GenerationStatus", "kubevirt.io/api/core/v1.KubeVirtCondition"},
21053 }
21054 }
21055
21056 func schema_kubevirtio_api_core_v1_KubeVirtWorkloadUpdateStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
21057 return common.OpenAPIDefinition{
21058 Schema: spec.Schema{
21059 SchemaProps: spec.SchemaProps{
21060 Description: "KubeVirtWorkloadUpdateStrategy defines options related to updating a KubeVirt install",
21061 Type: []string{"object"},
21062 Properties: map[string]spec.Schema{
21063 "workloadUpdateMethods": {
21064 VendorExtensible: spec.VendorExtensible{
21065 Extensions: spec.Extensions{
21066 "x-kubernetes-list-type": "atomic",
21067 },
21068 },
21069 SchemaProps: spec.SchemaProps{
21070 Description: "WorkloadUpdateMethods defines the methods that can be used to disrupt workloads during automated workload updates. When multiple methods are present, the least disruptive method takes precedence over more disruptive methods. For example if both LiveMigrate and Shutdown methods are listed, only VMs which are not live migratable will be restarted/shutdown\n\nAn empty list defaults to no automated workload updating",
21071 Type: []string{"array"},
21072 Items: &spec.SchemaOrArray{
21073 Schema: &spec.Schema{
21074 SchemaProps: spec.SchemaProps{
21075 Default: "",
21076 Type: []string{"string"},
21077 Format: "",
21078 },
21079 },
21080 },
21081 },
21082 },
21083 "batchEvictionSize": {
21084 SchemaProps: spec.SchemaProps{
21085 Description: "BatchEvictionSize Represents the number of VMIs that can be forced updated per the BatchShutdownInteral interval\n\nDefaults to 10",
21086 Type: []string{"integer"},
21087 Format: "int32",
21088 },
21089 },
21090 "batchEvictionInterval": {
21091 SchemaProps: spec.SchemaProps{
21092 Description: "BatchEvictionInterval Represents the interval to wait before issuing the next batch of shutdowns\n\nDefaults to 1 minute",
21093 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
21094 },
21095 },
21096 },
21097 },
21098 },
21099 Dependencies: []string{
21100 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
21101 }
21102 }
21103
21104 func schema_kubevirtio_api_core_v1_LaunchSecurity(ref common.ReferenceCallback) common.OpenAPIDefinition {
21105 return common.OpenAPIDefinition{
21106 Schema: spec.Schema{
21107 SchemaProps: spec.SchemaProps{
21108 Type: []string{"object"},
21109 Properties: map[string]spec.Schema{
21110 "sev": {
21111 SchemaProps: spec.SchemaProps{
21112 Description: "AMD Secure Encrypted Virtualization (SEV).",
21113 Ref: ref("kubevirt.io/api/core/v1.SEV"),
21114 },
21115 },
21116 },
21117 },
21118 },
21119 Dependencies: []string{
21120 "kubevirt.io/api/core/v1.SEV"},
21121 }
21122 }
21123
21124 func schema_kubevirtio_api_core_v1_LiveUpdateAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
21125 return common.OpenAPIDefinition{
21126 Schema: spec.Schema{
21127 SchemaProps: spec.SchemaProps{
21128 Type: []string{"object"},
21129 },
21130 },
21131 }
21132 }
21133
21134 func schema_kubevirtio_api_core_v1_LiveUpdateCPU(ref common.ReferenceCallback) common.OpenAPIDefinition {
21135 return common.OpenAPIDefinition{
21136 Schema: spec.Schema{
21137 SchemaProps: spec.SchemaProps{
21138 Type: []string{"object"},
21139 Properties: map[string]spec.Schema{
21140 "maxSockets": {
21141 SchemaProps: spec.SchemaProps{
21142 Description: "The maximum amount of sockets that can be hot-plugged to the Virtual Machine",
21143 Type: []string{"integer"},
21144 Format: "int64",
21145 },
21146 },
21147 },
21148 },
21149 },
21150 }
21151 }
21152
21153 func schema_kubevirtio_api_core_v1_LiveUpdateConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
21154 return common.OpenAPIDefinition{
21155 Schema: spec.Schema{
21156 SchemaProps: spec.SchemaProps{
21157 Type: []string{"object"},
21158 Properties: map[string]spec.Schema{
21159 "maxHotplugRatio": {
21160 SchemaProps: spec.SchemaProps{
21161 Description: "MaxHotplugRatio is the ratio used to define the max amount of a hotplug resource that can be made available to a VM when the specific Max* setting is not defined (MaxCpuSockets, MaxGuest) Example: VM is configured with 512Mi of guest memory, if MaxGuest is not defined and MaxHotplugRatio is 2 then MaxGuest = 1Gi defaults to 4",
21162 Type: []string{"integer"},
21163 Format: "int64",
21164 },
21165 },
21166 "maxCpuSockets": {
21167 SchemaProps: spec.SchemaProps{
21168 Description: "MaxCpuSockets holds the maximum amount of sockets that can be hotplugged",
21169 Type: []string{"integer"},
21170 Format: "int64",
21171 },
21172 },
21173 "maxGuest": {
21174 SchemaProps: spec.SchemaProps{
21175 Description: "MaxGuest defines the maximum amount memory that can be allocated to the guest using hotplug.",
21176 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21177 },
21178 },
21179 },
21180 },
21181 },
21182 Dependencies: []string{
21183 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
21184 }
21185 }
21186
21187 func schema_kubevirtio_api_core_v1_LiveUpdateMemory(ref common.ReferenceCallback) common.OpenAPIDefinition {
21188 return common.OpenAPIDefinition{
21189 Schema: spec.Schema{
21190 SchemaProps: spec.SchemaProps{
21191 Type: []string{"object"},
21192 Properties: map[string]spec.Schema{
21193 "maxGuest": {
21194 SchemaProps: spec.SchemaProps{
21195 Description: "MaxGuest defines the maximum amount memory that can be allocated for the VM.",
21196 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21197 },
21198 },
21199 },
21200 },
21201 },
21202 Dependencies: []string{
21203 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
21204 }
21205 }
21206
21207 func schema_kubevirtio_api_core_v1_LogVerbosity(ref common.ReferenceCallback) common.OpenAPIDefinition {
21208 return common.OpenAPIDefinition{
21209 Schema: spec.Schema{
21210 SchemaProps: spec.SchemaProps{
21211 Description: "LogVerbosity sets log verbosity level of various components",
21212 Type: []string{"object"},
21213 Properties: map[string]spec.Schema{
21214 "virtAPI": {
21215 SchemaProps: spec.SchemaProps{
21216 Type: []string{"integer"},
21217 Format: "int32",
21218 },
21219 },
21220 "virtController": {
21221 SchemaProps: spec.SchemaProps{
21222 Type: []string{"integer"},
21223 Format: "int32",
21224 },
21225 },
21226 "virtHandler": {
21227 SchemaProps: spec.SchemaProps{
21228 Type: []string{"integer"},
21229 Format: "int32",
21230 },
21231 },
21232 "virtLauncher": {
21233 SchemaProps: spec.SchemaProps{
21234 Type: []string{"integer"},
21235 Format: "int32",
21236 },
21237 },
21238 "virtOperator": {
21239 SchemaProps: spec.SchemaProps{
21240 Type: []string{"integer"},
21241 Format: "int32",
21242 },
21243 },
21244 "nodeVerbosity": {
21245 SchemaProps: spec.SchemaProps{
21246 Description: "NodeVerbosity represents a map of nodes with a specific verbosity level",
21247 Type: []string{"object"},
21248 AdditionalProperties: &spec.SchemaOrBool{
21249 Allows: true,
21250 Schema: &spec.Schema{
21251 SchemaProps: spec.SchemaProps{
21252 Default: 0,
21253 Type: []string{"integer"},
21254 Format: "int32",
21255 },
21256 },
21257 },
21258 },
21259 },
21260 },
21261 },
21262 },
21263 }
21264 }
21265
21266 func schema_kubevirtio_api_core_v1_LunTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
21267 return common.OpenAPIDefinition{
21268 Schema: spec.Schema{
21269 SchemaProps: spec.SchemaProps{
21270 Type: []string{"object"},
21271 Properties: map[string]spec.Schema{
21272 "bus": {
21273 SchemaProps: spec.SchemaProps{
21274 Description: "Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi.",
21275 Type: []string{"string"},
21276 Format: "",
21277 },
21278 },
21279 "readonly": {
21280 SchemaProps: spec.SchemaProps{
21281 Description: "ReadOnly. Defaults to false.",
21282 Type: []string{"boolean"},
21283 Format: "",
21284 },
21285 },
21286 "reservation": {
21287 SchemaProps: spec.SchemaProps{
21288 Description: "Reservation indicates if the disk needs to support the persistent reservation for the SCSI disk",
21289 Type: []string{"boolean"},
21290 Format: "",
21291 },
21292 },
21293 },
21294 },
21295 },
21296 }
21297 }
21298
21299 func schema_kubevirtio_api_core_v1_Machine(ref common.ReferenceCallback) common.OpenAPIDefinition {
21300 return common.OpenAPIDefinition{
21301 Schema: spec.Schema{
21302 SchemaProps: spec.SchemaProps{
21303 Type: []string{"object"},
21304 Properties: map[string]spec.Schema{
21305 "type": {
21306 SchemaProps: spec.SchemaProps{
21307 Description: "QEMU machine type is the actual chipset of the VirtualMachineInstance.",
21308 Default: "",
21309 Type: []string{"string"},
21310 Format: "",
21311 },
21312 },
21313 },
21314 },
21315 },
21316 }
21317 }
21318
21319 func schema_kubevirtio_api_core_v1_MediatedDevicesConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
21320 return common.OpenAPIDefinition{
21321 Schema: spec.Schema{
21322 SchemaProps: spec.SchemaProps{
21323 Description: "MediatedDevicesConfiguration holds information about MDEV types to be defined, if available",
21324 Type: []string{"object"},
21325 Properties: map[string]spec.Schema{
21326 "mediatedDevicesTypes": {
21327 VendorExtensible: spec.VendorExtensible{
21328 Extensions: spec.Extensions{
21329 "x-kubernetes-list-type": "atomic",
21330 },
21331 },
21332 SchemaProps: spec.SchemaProps{
21333 Description: "Deprecated. Use mediatedDeviceTypes instead.",
21334 Type: []string{"array"},
21335 Items: &spec.SchemaOrArray{
21336 Schema: &spec.Schema{
21337 SchemaProps: spec.SchemaProps{
21338 Default: "",
21339 Type: []string{"string"},
21340 Format: "",
21341 },
21342 },
21343 },
21344 },
21345 },
21346 "mediatedDeviceTypes": {
21347 VendorExtensible: spec.VendorExtensible{
21348 Extensions: spec.Extensions{
21349 "x-kubernetes-list-type": "atomic",
21350 },
21351 },
21352 SchemaProps: spec.SchemaProps{
21353 Type: []string{"array"},
21354 Items: &spec.SchemaOrArray{
21355 Schema: &spec.Schema{
21356 SchemaProps: spec.SchemaProps{
21357 Default: "",
21358 Type: []string{"string"},
21359 Format: "",
21360 },
21361 },
21362 },
21363 },
21364 },
21365 "nodeMediatedDeviceTypes": {
21366 VendorExtensible: spec.VendorExtensible{
21367 Extensions: spec.Extensions{
21368 "x-kubernetes-list-type": "atomic",
21369 },
21370 },
21371 SchemaProps: spec.SchemaProps{
21372 Type: []string{"array"},
21373 Items: &spec.SchemaOrArray{
21374 Schema: &spec.Schema{
21375 SchemaProps: spec.SchemaProps{
21376 Default: map[string]interface{}{},
21377 Ref: ref("kubevirt.io/api/core/v1.NodeMediatedDeviceTypesConfig"),
21378 },
21379 },
21380 },
21381 },
21382 },
21383 },
21384 },
21385 },
21386 Dependencies: []string{
21387 "kubevirt.io/api/core/v1.NodeMediatedDeviceTypesConfig"},
21388 }
21389 }
21390
21391 func schema_kubevirtio_api_core_v1_MediatedHostDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
21392 return common.OpenAPIDefinition{
21393 Schema: spec.Schema{
21394 SchemaProps: spec.SchemaProps{
21395 Description: "MediatedHostDevice represents a host mediated device allowed for passthrough",
21396 Type: []string{"object"},
21397 Properties: map[string]spec.Schema{
21398 "mdevNameSelector": {
21399 SchemaProps: spec.SchemaProps{
21400 Default: "",
21401 Type: []string{"string"},
21402 Format: "",
21403 },
21404 },
21405 "resourceName": {
21406 SchemaProps: spec.SchemaProps{
21407 Default: "",
21408 Type: []string{"string"},
21409 Format: "",
21410 },
21411 },
21412 "externalResourceProvider": {
21413 SchemaProps: spec.SchemaProps{
21414 Type: []string{"boolean"},
21415 Format: "",
21416 },
21417 },
21418 },
21419 Required: []string{"mdevNameSelector", "resourceName"},
21420 },
21421 },
21422 }
21423 }
21424
21425 func schema_kubevirtio_api_core_v1_Memory(ref common.ReferenceCallback) common.OpenAPIDefinition {
21426 return common.OpenAPIDefinition{
21427 Schema: spec.Schema{
21428 SchemaProps: spec.SchemaProps{
21429 Description: "Memory allows specifying the VirtualMachineInstance memory features.",
21430 Type: []string{"object"},
21431 Properties: map[string]spec.Schema{
21432 "hugepages": {
21433 SchemaProps: spec.SchemaProps{
21434 Description: "Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.",
21435 Ref: ref("kubevirt.io/api/core/v1.Hugepages"),
21436 },
21437 },
21438 "guest": {
21439 SchemaProps: spec.SchemaProps{
21440 Description: "Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified.",
21441 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21442 },
21443 },
21444 "maxGuest": {
21445 SchemaProps: spec.SchemaProps{
21446 Description: "MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS. The delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged.",
21447 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21448 },
21449 },
21450 },
21451 },
21452 },
21453 Dependencies: []string{
21454 "k8s.io/apimachinery/pkg/api/resource.Quantity", "kubevirt.io/api/core/v1.Hugepages"},
21455 }
21456 }
21457
21458 func schema_kubevirtio_api_core_v1_MemoryDumpVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
21459 return common.OpenAPIDefinition{
21460 Schema: spec.Schema{
21461 SchemaProps: spec.SchemaProps{
21462 Type: []string{"object"},
21463 Properties: map[string]spec.Schema{
21464 "claimName": {
21465 SchemaProps: spec.SchemaProps{
21466 Description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
21467 Default: "",
21468 Type: []string{"string"},
21469 Format: "",
21470 },
21471 },
21472 "readOnly": {
21473 SchemaProps: spec.SchemaProps{
21474 Description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
21475 Type: []string{"boolean"},
21476 Format: "",
21477 },
21478 },
21479 "hotpluggable": {
21480 SchemaProps: spec.SchemaProps{
21481 Description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged.",
21482 Type: []string{"boolean"},
21483 Format: "",
21484 },
21485 },
21486 },
21487 Required: []string{"claimName"},
21488 },
21489 },
21490 }
21491 }
21492
21493 func schema_kubevirtio_api_core_v1_MemoryStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
21494 return common.OpenAPIDefinition{
21495 Schema: spec.Schema{
21496 SchemaProps: spec.SchemaProps{
21497 Type: []string{"object"},
21498 Properties: map[string]spec.Schema{
21499 "guestAtBoot": {
21500 SchemaProps: spec.SchemaProps{
21501 Description: "GuestAtBoot specifies with how much memory the VirtualMachine intiallly booted with.",
21502 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21503 },
21504 },
21505 "guestCurrent": {
21506 SchemaProps: spec.SchemaProps{
21507 Description: "GuestCurrent specifies how much memory is currently available for the VirtualMachine.",
21508 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21509 },
21510 },
21511 "guestRequested": {
21512 SchemaProps: spec.SchemaProps{
21513 Description: "GuestRequested specifies how much memory was requested (hotplug) for the VirtualMachine.",
21514 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21515 },
21516 },
21517 },
21518 },
21519 },
21520 Dependencies: []string{
21521 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
21522 }
21523 }
21524
21525 func schema_kubevirtio_api_core_v1_MigrateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
21526 return common.OpenAPIDefinition{
21527 Schema: spec.Schema{
21528 SchemaProps: spec.SchemaProps{
21529 Description: "MigrateOptions may be provided on migrate request.",
21530 Type: []string{"object"},
21531 Properties: map[string]spec.Schema{
21532 "kind": {
21533 SchemaProps: spec.SchemaProps{
21534 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
21535 Type: []string{"string"},
21536 Format: "",
21537 },
21538 },
21539 "apiVersion": {
21540 SchemaProps: spec.SchemaProps{
21541 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
21542 Type: []string{"string"},
21543 Format: "",
21544 },
21545 },
21546 "dryRun": {
21547 VendorExtensible: spec.VendorExtensible{
21548 Extensions: spec.Extensions{
21549 "x-kubernetes-list-type": "atomic",
21550 },
21551 },
21552 SchemaProps: spec.SchemaProps{
21553 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
21554 Type: []string{"array"},
21555 Items: &spec.SchemaOrArray{
21556 Schema: &spec.Schema{
21557 SchemaProps: spec.SchemaProps{
21558 Default: "",
21559 Type: []string{"string"},
21560 Format: "",
21561 },
21562 },
21563 },
21564 },
21565 },
21566 },
21567 },
21568 },
21569 }
21570 }
21571
21572 func schema_kubevirtio_api_core_v1_MigrationConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
21573 return common.OpenAPIDefinition{
21574 Schema: spec.Schema{
21575 SchemaProps: spec.SchemaProps{
21576 Description: "MigrationConfiguration holds migration options. Can be overridden for specific groups of VMs though migration policies. Visit https://kubevirt.io/user-guide/operations/migration_policies/ for more information.",
21577 Type: []string{"object"},
21578 Properties: map[string]spec.Schema{
21579 "nodeDrainTaintKey": {
21580 SchemaProps: spec.SchemaProps{
21581 Description: "NodeDrainTaintKey defines the taint key that indicates a node should be drained. Note: this option relies on the deprecated node taint feature. Default: kubevirt.io/drain",
21582 Type: []string{"string"},
21583 Format: "",
21584 },
21585 },
21586 "parallelOutboundMigrationsPerNode": {
21587 SchemaProps: spec.SchemaProps{
21588 Description: "ParallelOutboundMigrationsPerNode is the maximum number of concurrent outgoing live migrations allowed per node. Defaults to 2",
21589 Type: []string{"integer"},
21590 Format: "int64",
21591 },
21592 },
21593 "parallelMigrationsPerCluster": {
21594 SchemaProps: spec.SchemaProps{
21595 Description: "ParallelMigrationsPerCluster is the total number of concurrent live migrations allowed cluster-wide. Defaults to 5",
21596 Type: []string{"integer"},
21597 Format: "int64",
21598 },
21599 },
21600 "allowAutoConverge": {
21601 SchemaProps: spec.SchemaProps{
21602 Description: "AllowAutoConverge allows the platform to compromise performance/availability of VMIs to guarantee successful VMI live migrations. Defaults to false",
21603 Type: []string{"boolean"},
21604 Format: "",
21605 },
21606 },
21607 "bandwidthPerMigration": {
21608 SchemaProps: spec.SchemaProps{
21609 Description: "BandwidthPerMigration limits the amount of network bandwidth live migrations are allowed to use. The value is in quantity per second. Defaults to 0 (no limit)",
21610 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
21611 },
21612 },
21613 "completionTimeoutPerGiB": {
21614 SchemaProps: spec.SchemaProps{
21615 Description: "CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take. If a live-migration takes longer to migrate than this value multiplied by the size of the VMI, the migration will be cancelled, unless AllowPostCopy is true. Defaults to 800",
21616 Type: []string{"integer"},
21617 Format: "int64",
21618 },
21619 },
21620 "progressTimeout": {
21621 SchemaProps: spec.SchemaProps{
21622 Description: "ProgressTimeout is the maximum number of seconds a live migration is allowed to make no progress. Hitting this timeout means a migration transferred 0 data for that many seconds. The migration is then considered stuck and therefore cancelled. Defaults to 150",
21623 Type: []string{"integer"},
21624 Format: "int64",
21625 },
21626 },
21627 "unsafeMigrationOverride": {
21628 SchemaProps: spec.SchemaProps{
21629 Description: "UnsafeMigrationOverride allows live migrations to occur even if the compatibility check indicates the migration will be unsafe to the guest. Defaults to false",
21630 Type: []string{"boolean"},
21631 Format: "",
21632 },
21633 },
21634 "allowPostCopy": {
21635 SchemaProps: spec.SchemaProps{
21636 Description: "AllowPostCopy enables post-copy live migrations. Such migrations allow even the busiest VMIs to successfully live-migrate. However, events like a network failure can cause a VMI crash. If set to true, migrations will still start in pre-copy, but switch to post-copy when CompletionTimeoutPerGiB triggers. Defaults to false",
21637 Type: []string{"boolean"},
21638 Format: "",
21639 },
21640 },
21641 "disableTLS": {
21642 SchemaProps: spec.SchemaProps{
21643 Description: "When set to true, DisableTLS will disable the additional layer of live migration encryption provided by KubeVirt. This is usually a bad idea. Defaults to false",
21644 Type: []string{"boolean"},
21645 Format: "",
21646 },
21647 },
21648 "network": {
21649 SchemaProps: spec.SchemaProps{
21650 Description: "Network is the name of the CNI network to use for live migrations. By default, migrations go through the pod network.",
21651 Type: []string{"string"},
21652 Format: "",
21653 },
21654 },
21655 "matchSELinuxLevelOnMigration": {
21656 SchemaProps: spec.SchemaProps{
21657 Description: "By default, the SELinux level of target virt-launcher pods is forced to the level of the source virt-launcher. When set to true, MatchSELinuxLevelOnMigration lets the CRI auto-assign a random level to the target. That will ensure the target virt-launcher doesn't share categories with another pod on the node. However, migrations will fail when using RWX volumes that don't automatically deal with SELinux levels.",
21658 Type: []string{"boolean"},
21659 Format: "",
21660 },
21661 },
21662 },
21663 },
21664 },
21665 Dependencies: []string{
21666 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
21667 }
21668 }
21669
21670 func schema_kubevirtio_api_core_v1_MultusNetwork(ref common.ReferenceCallback) common.OpenAPIDefinition {
21671 return common.OpenAPIDefinition{
21672 Schema: spec.Schema{
21673 SchemaProps: spec.SchemaProps{
21674 Description: "Represents the multus cni network.",
21675 Type: []string{"object"},
21676 Properties: map[string]spec.Schema{
21677 "networkName": {
21678 SchemaProps: spec.SchemaProps{
21679 Description: "References to a NetworkAttachmentDefinition CRD object. Format: <networkName>, <namespace>/<networkName>. If namespace is not specified, VMI namespace is assumed.",
21680 Default: "",
21681 Type: []string{"string"},
21682 Format: "",
21683 },
21684 },
21685 "default": {
21686 SchemaProps: spec.SchemaProps{
21687 Description: "Select the default network and add it to the multus-cni.io/default-network annotation.",
21688 Type: []string{"boolean"},
21689 Format: "",
21690 },
21691 },
21692 },
21693 Required: []string{"networkName"},
21694 },
21695 },
21696 }
21697 }
21698
21699 func schema_kubevirtio_api_core_v1_NUMA(ref common.ReferenceCallback) common.OpenAPIDefinition {
21700 return common.OpenAPIDefinition{
21701 Schema: spec.Schema{
21702 SchemaProps: spec.SchemaProps{
21703 Type: []string{"object"},
21704 Properties: map[string]spec.Schema{
21705 "guestMappingPassthrough": {
21706 SchemaProps: spec.SchemaProps{
21707 Description: "GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes.",
21708 Ref: ref("kubevirt.io/api/core/v1.NUMAGuestMappingPassthrough"),
21709 },
21710 },
21711 },
21712 },
21713 },
21714 Dependencies: []string{
21715 "kubevirt.io/api/core/v1.NUMAGuestMappingPassthrough"},
21716 }
21717 }
21718
21719 func schema_kubevirtio_api_core_v1_NUMAGuestMappingPassthrough(ref common.ReferenceCallback) common.OpenAPIDefinition {
21720 return common.OpenAPIDefinition{
21721 Schema: spec.Schema{
21722 SchemaProps: spec.SchemaProps{
21723 Description: "NUMAGuestMappingPassthrough instructs kubevirt to model numa topology which is compatible with the CPU pinning on the guest. This will result in a subset of the node numa topology being passed through, ensuring that virtual numa nodes and their memory never cross boundaries coming from the node numa mapping.",
21724 Type: []string{"object"},
21725 },
21726 },
21727 }
21728 }
21729
21730 func schema_kubevirtio_api_core_v1_Network(ref common.ReferenceCallback) common.OpenAPIDefinition {
21731 return common.OpenAPIDefinition{
21732 Schema: spec.Schema{
21733 SchemaProps: spec.SchemaProps{
21734 Description: "Network represents a network type and a resource that should be connected to the vm.",
21735 Type: []string{"object"},
21736 Properties: map[string]spec.Schema{
21737 "name": {
21738 SchemaProps: spec.SchemaProps{
21739 Description: "Network name. Must be a DNS_LABEL and unique within the vm. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
21740 Default: "",
21741 Type: []string{"string"},
21742 Format: "",
21743 },
21744 },
21745 "pod": {
21746 SchemaProps: spec.SchemaProps{
21747 Ref: ref("kubevirt.io/api/core/v1.PodNetwork"),
21748 },
21749 },
21750 "multus": {
21751 SchemaProps: spec.SchemaProps{
21752 Ref: ref("kubevirt.io/api/core/v1.MultusNetwork"),
21753 },
21754 },
21755 },
21756 Required: []string{"name"},
21757 },
21758 },
21759 Dependencies: []string{
21760 "kubevirt.io/api/core/v1.MultusNetwork", "kubevirt.io/api/core/v1.PodNetwork"},
21761 }
21762 }
21763
21764 func schema_kubevirtio_api_core_v1_NetworkConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
21765 return common.OpenAPIDefinition{
21766 Schema: spec.Schema{
21767 SchemaProps: spec.SchemaProps{
21768 Description: "NetworkConfiguration holds network options",
21769 Type: []string{"object"},
21770 Properties: map[string]spec.Schema{
21771 "defaultNetworkInterface": {
21772 SchemaProps: spec.SchemaProps{
21773 Type: []string{"string"},
21774 Format: "",
21775 },
21776 },
21777 "permitSlirpInterface": {
21778 SchemaProps: spec.SchemaProps{
21779 Description: "DeprecatedPermitSlirpInterface is an alias for the deprecated PermitSlirpInterface. Deprecated: Removed in v1.3.",
21780 Type: []string{"boolean"},
21781 Format: "",
21782 },
21783 },
21784 "permitBridgeInterfaceOnPodNetwork": {
21785 SchemaProps: spec.SchemaProps{
21786 Type: []string{"boolean"},
21787 Format: "",
21788 },
21789 },
21790 "binding": {
21791 SchemaProps: spec.SchemaProps{
21792 Type: []string{"object"},
21793 AdditionalProperties: &spec.SchemaOrBool{
21794 Allows: true,
21795 Schema: &spec.Schema{
21796 SchemaProps: spec.SchemaProps{
21797 Default: map[string]interface{}{},
21798 Ref: ref("kubevirt.io/api/core/v1.InterfaceBindingPlugin"),
21799 },
21800 },
21801 },
21802 },
21803 },
21804 },
21805 },
21806 },
21807 Dependencies: []string{
21808 "kubevirt.io/api/core/v1.InterfaceBindingPlugin"},
21809 }
21810 }
21811
21812 func schema_kubevirtio_api_core_v1_NetworkSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
21813 return common.OpenAPIDefinition{
21814 Schema: spec.Schema{
21815 SchemaProps: spec.SchemaProps{
21816 Description: "Represents the source resource that will be connected to the vm. Only one of its members may be specified.",
21817 Type: []string{"object"},
21818 Properties: map[string]spec.Schema{
21819 "pod": {
21820 SchemaProps: spec.SchemaProps{
21821 Ref: ref("kubevirt.io/api/core/v1.PodNetwork"),
21822 },
21823 },
21824 "multus": {
21825 SchemaProps: spec.SchemaProps{
21826 Ref: ref("kubevirt.io/api/core/v1.MultusNetwork"),
21827 },
21828 },
21829 },
21830 },
21831 },
21832 Dependencies: []string{
21833 "kubevirt.io/api/core/v1.MultusNetwork", "kubevirt.io/api/core/v1.PodNetwork"},
21834 }
21835 }
21836
21837 func schema_kubevirtio_api_core_v1_NoCloudSSHPublicKeyAccessCredentialPropagation(ref common.ReferenceCallback) common.OpenAPIDefinition {
21838 return common.OpenAPIDefinition{
21839 Schema: spec.Schema{
21840 SchemaProps: spec.SchemaProps{
21841 Type: []string{"object"},
21842 },
21843 },
21844 }
21845 }
21846
21847 func schema_kubevirtio_api_core_v1_NodeMediatedDeviceTypesConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
21848 return common.OpenAPIDefinition{
21849 Schema: spec.Schema{
21850 SchemaProps: spec.SchemaProps{
21851 Description: "NodeMediatedDeviceTypesConfig holds information about MDEV types to be defined in a specific node that matches the NodeSelector field.",
21852 Type: []string{"object"},
21853 Properties: map[string]spec.Schema{
21854 "nodeSelector": {
21855 SchemaProps: spec.SchemaProps{
21856 Description: "NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
21857 Type: []string{"object"},
21858 AdditionalProperties: &spec.SchemaOrBool{
21859 Allows: true,
21860 Schema: &spec.Schema{
21861 SchemaProps: spec.SchemaProps{
21862 Default: "",
21863 Type: []string{"string"},
21864 Format: "",
21865 },
21866 },
21867 },
21868 },
21869 },
21870 "mediatedDevicesTypes": {
21871 VendorExtensible: spec.VendorExtensible{
21872 Extensions: spec.Extensions{
21873 "x-kubernetes-list-type": "atomic",
21874 },
21875 },
21876 SchemaProps: spec.SchemaProps{
21877 Description: "Deprecated. Use mediatedDeviceTypes instead.",
21878 Type: []string{"array"},
21879 Items: &spec.SchemaOrArray{
21880 Schema: &spec.Schema{
21881 SchemaProps: spec.SchemaProps{
21882 Default: "",
21883 Type: []string{"string"},
21884 Format: "",
21885 },
21886 },
21887 },
21888 },
21889 },
21890 "mediatedDeviceTypes": {
21891 VendorExtensible: spec.VendorExtensible{
21892 Extensions: spec.Extensions{
21893 "x-kubernetes-list-type": "atomic",
21894 },
21895 },
21896 SchemaProps: spec.SchemaProps{
21897 Type: []string{"array"},
21898 Items: &spec.SchemaOrArray{
21899 Schema: &spec.Schema{
21900 SchemaProps: spec.SchemaProps{
21901 Default: "",
21902 Type: []string{"string"},
21903 Format: "",
21904 },
21905 },
21906 },
21907 },
21908 },
21909 },
21910 Required: []string{"nodeSelector"},
21911 },
21912 },
21913 }
21914 }
21915
21916 func schema_kubevirtio_api_core_v1_NodePlacement(ref common.ReferenceCallback) common.OpenAPIDefinition {
21917 return common.OpenAPIDefinition{
21918 Schema: spec.Schema{
21919 SchemaProps: spec.SchemaProps{
21920 Description: "NodePlacement describes node scheduling configuration.",
21921 Type: []string{"object"},
21922 Properties: map[string]spec.Schema{
21923 "nodeSelector": {
21924 SchemaProps: spec.SchemaProps{
21925 Description: "nodeSelector is the node selector applied to the relevant kind of pods It specifies a map of key-value pairs: for the pod to be eligible to run on a node, the node must have each of the indicated key-value pairs as labels (it can have additional labels as well). See https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector",
21926 Type: []string{"object"},
21927 AdditionalProperties: &spec.SchemaOrBool{
21928 Allows: true,
21929 Schema: &spec.Schema{
21930 SchemaProps: spec.SchemaProps{
21931 Default: "",
21932 Type: []string{"string"},
21933 Format: "",
21934 },
21935 },
21936 },
21937 },
21938 },
21939 "affinity": {
21940 SchemaProps: spec.SchemaProps{
21941 Description: "affinity enables pod affinity/anti-affinity placement expanding the types of constraints that can be expressed with nodeSelector. affinity is going to be applied to the relevant kind of pods in parallel with nodeSelector See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity",
21942 Ref: ref("k8s.io/api/core/v1.Affinity"),
21943 },
21944 },
21945 "tolerations": {
21946 SchemaProps: spec.SchemaProps{
21947 Description: "tolerations is a list of tolerations applied to the relevant kind of pods See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ for more info. These are additional tolerations other than default ones.",
21948 Type: []string{"array"},
21949 Items: &spec.SchemaOrArray{
21950 Schema: &spec.Schema{
21951 SchemaProps: spec.SchemaProps{
21952 Default: map[string]interface{}{},
21953 Ref: ref("k8s.io/api/core/v1.Toleration"),
21954 },
21955 },
21956 },
21957 },
21958 },
21959 },
21960 },
21961 },
21962 Dependencies: []string{
21963 "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Toleration"},
21964 }
21965 }
21966
21967 func schema_kubevirtio_api_core_v1_PITTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
21968 return common.OpenAPIDefinition{
21969 Schema: spec.Schema{
21970 SchemaProps: spec.SchemaProps{
21971 Type: []string{"object"},
21972 Properties: map[string]spec.Schema{
21973 "tickPolicy": {
21974 SchemaProps: spec.SchemaProps{
21975 Description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\", \"discard\".",
21976 Type: []string{"string"},
21977 Format: "",
21978 },
21979 },
21980 "present": {
21981 SchemaProps: spec.SchemaProps{
21982 Description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true.",
21983 Type: []string{"boolean"},
21984 Format: "",
21985 },
21986 },
21987 },
21988 },
21989 },
21990 }
21991 }
21992
21993 func schema_kubevirtio_api_core_v1_PauseOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
21994 return common.OpenAPIDefinition{
21995 Schema: spec.Schema{
21996 SchemaProps: spec.SchemaProps{
21997 Description: "PauseOptions may be provided on pause request.",
21998 Type: []string{"object"},
21999 Properties: map[string]spec.Schema{
22000 "kind": {
22001 SchemaProps: spec.SchemaProps{
22002 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
22003 Type: []string{"string"},
22004 Format: "",
22005 },
22006 },
22007 "apiVersion": {
22008 SchemaProps: spec.SchemaProps{
22009 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
22010 Type: []string{"string"},
22011 Format: "",
22012 },
22013 },
22014 "dryRun": {
22015 VendorExtensible: spec.VendorExtensible{
22016 Extensions: spec.Extensions{
22017 "x-kubernetes-list-type": "atomic",
22018 },
22019 },
22020 SchemaProps: spec.SchemaProps{
22021 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
22022 Type: []string{"array"},
22023 Items: &spec.SchemaOrArray{
22024 Schema: &spec.Schema{
22025 SchemaProps: spec.SchemaProps{
22026 Default: "",
22027 Type: []string{"string"},
22028 Format: "",
22029 },
22030 },
22031 },
22032 },
22033 },
22034 },
22035 },
22036 },
22037 }
22038 }
22039
22040 func schema_kubevirtio_api_core_v1_PciHostDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
22041 return common.OpenAPIDefinition{
22042 Schema: spec.Schema{
22043 SchemaProps: spec.SchemaProps{
22044 Description: "PciHostDevice represents a host PCI device allowed for passthrough",
22045 Type: []string{"object"},
22046 Properties: map[string]spec.Schema{
22047 "pciVendorSelector": {
22048 SchemaProps: spec.SchemaProps{
22049 Description: "The vendor_id:product_id tuple of the PCI device",
22050 Default: "",
22051 Type: []string{"string"},
22052 Format: "",
22053 },
22054 },
22055 "resourceName": {
22056 SchemaProps: spec.SchemaProps{
22057 Description: "The name of the resource that is representing the device. Exposed by a device plugin and requested by VMs. Typically of the form vendor.com/product_name",
22058 Default: "",
22059 Type: []string{"string"},
22060 Format: "",
22061 },
22062 },
22063 "externalResourceProvider": {
22064 SchemaProps: spec.SchemaProps{
22065 Description: "If true, KubeVirt will leave the allocation and monitoring to an external device plugin",
22066 Type: []string{"boolean"},
22067 Format: "",
22068 },
22069 },
22070 },
22071 Required: []string{"pciVendorSelector", "resourceName"},
22072 },
22073 },
22074 }
22075 }
22076
22077 func schema_kubevirtio_api_core_v1_PermittedHostDevices(ref common.ReferenceCallback) common.OpenAPIDefinition {
22078 return common.OpenAPIDefinition{
22079 Schema: spec.Schema{
22080 SchemaProps: spec.SchemaProps{
22081 Description: "PermittedHostDevices holds information about devices allowed for passthrough",
22082 Type: []string{"object"},
22083 Properties: map[string]spec.Schema{
22084 "pciHostDevices": {
22085 VendorExtensible: spec.VendorExtensible{
22086 Extensions: spec.Extensions{
22087 "x-kubernetes-list-type": "atomic",
22088 },
22089 },
22090 SchemaProps: spec.SchemaProps{
22091 Type: []string{"array"},
22092 Items: &spec.SchemaOrArray{
22093 Schema: &spec.Schema{
22094 SchemaProps: spec.SchemaProps{
22095 Default: map[string]interface{}{},
22096 Ref: ref("kubevirt.io/api/core/v1.PciHostDevice"),
22097 },
22098 },
22099 },
22100 },
22101 },
22102 "mediatedDevices": {
22103 VendorExtensible: spec.VendorExtensible{
22104 Extensions: spec.Extensions{
22105 "x-kubernetes-list-type": "atomic",
22106 },
22107 },
22108 SchemaProps: spec.SchemaProps{
22109 Type: []string{"array"},
22110 Items: &spec.SchemaOrArray{
22111 Schema: &spec.Schema{
22112 SchemaProps: spec.SchemaProps{
22113 Default: map[string]interface{}{},
22114 Ref: ref("kubevirt.io/api/core/v1.MediatedHostDevice"),
22115 },
22116 },
22117 },
22118 },
22119 },
22120 "usb": {
22121 VendorExtensible: spec.VendorExtensible{
22122 Extensions: spec.Extensions{
22123 "x-kubernetes-list-type": "atomic",
22124 },
22125 },
22126 SchemaProps: spec.SchemaProps{
22127 Type: []string{"array"},
22128 Items: &spec.SchemaOrArray{
22129 Schema: &spec.Schema{
22130 SchemaProps: spec.SchemaProps{
22131 Default: map[string]interface{}{},
22132 Ref: ref("kubevirt.io/api/core/v1.USBHostDevice"),
22133 },
22134 },
22135 },
22136 },
22137 },
22138 },
22139 },
22140 },
22141 Dependencies: []string{
22142 "kubevirt.io/api/core/v1.MediatedHostDevice", "kubevirt.io/api/core/v1.PciHostDevice", "kubevirt.io/api/core/v1.USBHostDevice"},
22143 }
22144 }
22145
22146 func schema_kubevirtio_api_core_v1_PersistentVolumeClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
22147 return common.OpenAPIDefinition{
22148 Schema: spec.Schema{
22149 SchemaProps: spec.SchemaProps{
22150 Description: "PersistentVolumeClaimInfo contains the relavant information virt-handler needs cached about a PVC",
22151 Type: []string{"object"},
22152 Properties: map[string]spec.Schema{
22153 "claimName": {
22154 SchemaProps: spec.SchemaProps{
22155 Description: "ClaimName is the name of the PVC",
22156 Type: []string{"string"},
22157 Format: "",
22158 },
22159 },
22160 "accessModes": {
22161 VendorExtensible: spec.VendorExtensible{
22162 Extensions: spec.Extensions{
22163 "x-kubernetes-list-type": "atomic",
22164 },
22165 },
22166 SchemaProps: spec.SchemaProps{
22167 Description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
22168 Type: []string{"array"},
22169 Items: &spec.SchemaOrArray{
22170 Schema: &spec.Schema{
22171 SchemaProps: spec.SchemaProps{
22172 Default: "",
22173 Type: []string{"string"},
22174 Format: "",
22175 },
22176 },
22177 },
22178 },
22179 },
22180 "volumeMode": {
22181 SchemaProps: spec.SchemaProps{
22182 Description: "VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.",
22183 Type: []string{"string"},
22184 Format: "",
22185 Enum: []interface{}{"Block", "Filesystem"},
22186 },
22187 },
22188 "capacity": {
22189 SchemaProps: spec.SchemaProps{
22190 Description: "Capacity represents the capacity set on the corresponding PVC status",
22191 Type: []string{"object"},
22192 AdditionalProperties: &spec.SchemaOrBool{
22193 Allows: true,
22194 Schema: &spec.Schema{
22195 SchemaProps: spec.SchemaProps{
22196 Default: map[string]interface{}{},
22197 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
22198 },
22199 },
22200 },
22201 },
22202 },
22203 "requests": {
22204 SchemaProps: spec.SchemaProps{
22205 Description: "Requests represents the resources requested by the corresponding PVC spec",
22206 Type: []string{"object"},
22207 AdditionalProperties: &spec.SchemaOrBool{
22208 Allows: true,
22209 Schema: &spec.Schema{
22210 SchemaProps: spec.SchemaProps{
22211 Default: map[string]interface{}{},
22212 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
22213 },
22214 },
22215 },
22216 },
22217 },
22218 "preallocated": {
22219 SchemaProps: spec.SchemaProps{
22220 Description: "Preallocated indicates if the PVC's storage is preallocated or not",
22221 Type: []string{"boolean"},
22222 Format: "",
22223 },
22224 },
22225 "filesystemOverhead": {
22226 SchemaProps: spec.SchemaProps{
22227 Description: "Percentage of filesystem's size to be reserved when resizing the PVC",
22228 Type: []string{"string"},
22229 Format: "",
22230 },
22231 },
22232 },
22233 },
22234 },
22235 Dependencies: []string{
22236 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
22237 }
22238 }
22239
22240 func schema_kubevirtio_api_core_v1_PersistentVolumeClaimVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
22241 return common.OpenAPIDefinition{
22242 Schema: spec.Schema{
22243 SchemaProps: spec.SchemaProps{
22244 Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
22245 Type: []string{"object"},
22246 Properties: map[string]spec.Schema{
22247 "claimName": {
22248 SchemaProps: spec.SchemaProps{
22249 Description: "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
22250 Default: "",
22251 Type: []string{"string"},
22252 Format: "",
22253 },
22254 },
22255 "readOnly": {
22256 SchemaProps: spec.SchemaProps{
22257 Description: "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
22258 Type: []string{"boolean"},
22259 Format: "",
22260 },
22261 },
22262 "hotpluggable": {
22263 SchemaProps: spec.SchemaProps{
22264 Description: "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged.",
22265 Type: []string{"boolean"},
22266 Format: "",
22267 },
22268 },
22269 },
22270 Required: []string{"claimName"},
22271 },
22272 },
22273 }
22274 }
22275
22276 func schema_kubevirtio_api_core_v1_PluginBinding(ref common.ReferenceCallback) common.OpenAPIDefinition {
22277 return common.OpenAPIDefinition{
22278 Schema: spec.Schema{
22279 SchemaProps: spec.SchemaProps{
22280 Description: "PluginBinding represents a binding implemented in a plugin.",
22281 Type: []string{"object"},
22282 Properties: map[string]spec.Schema{
22283 "name": {
22284 SchemaProps: spec.SchemaProps{
22285 Description: "Name references to the binding name as denined in the kubevirt CR. version: 1alphav1",
22286 Default: "",
22287 Type: []string{"string"},
22288 Format: "",
22289 },
22290 },
22291 },
22292 Required: []string{"name"},
22293 },
22294 },
22295 }
22296 }
22297
22298 func schema_kubevirtio_api_core_v1_PodNetwork(ref common.ReferenceCallback) common.OpenAPIDefinition {
22299 return common.OpenAPIDefinition{
22300 Schema: spec.Schema{
22301 SchemaProps: spec.SchemaProps{
22302 Description: "Represents the stock pod network interface.",
22303 Type: []string{"object"},
22304 Properties: map[string]spec.Schema{
22305 "vmNetworkCIDR": {
22306 SchemaProps: spec.SchemaProps{
22307 Description: "CIDR for vm network. Default 10.0.2.0/24 if not specified.",
22308 Type: []string{"string"},
22309 Format: "",
22310 },
22311 },
22312 "vmIPv6NetworkCIDR": {
22313 SchemaProps: spec.SchemaProps{
22314 Description: "IPv6 CIDR for the vm network. Defaults to fd10:0:2::/120 if not specified.",
22315 Type: []string{"string"},
22316 Format: "",
22317 },
22318 },
22319 },
22320 },
22321 },
22322 }
22323 }
22324
22325 func schema_kubevirtio_api_core_v1_Port(ref common.ReferenceCallback) common.OpenAPIDefinition {
22326 return common.OpenAPIDefinition{
22327 Schema: spec.Schema{
22328 SchemaProps: spec.SchemaProps{
22329 Description: "Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory",
22330 Type: []string{"object"},
22331 Properties: map[string]spec.Schema{
22332 "name": {
22333 SchemaProps: spec.SchemaProps{
22334 Description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.",
22335 Type: []string{"string"},
22336 Format: "",
22337 },
22338 },
22339 "protocol": {
22340 SchemaProps: spec.SchemaProps{
22341 Description: "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".",
22342 Type: []string{"string"},
22343 Format: "",
22344 },
22345 },
22346 "port": {
22347 SchemaProps: spec.SchemaProps{
22348 Description: "Number of port to expose for the virtual machine. This must be a valid port number, 0 < x < 65536.",
22349 Default: 0,
22350 Type: []string{"integer"},
22351 Format: "int32",
22352 },
22353 },
22354 },
22355 Required: []string{"port"},
22356 },
22357 },
22358 }
22359 }
22360
22361 func schema_kubevirtio_api_core_v1_PreferenceMatcher(ref common.ReferenceCallback) common.OpenAPIDefinition {
22362 return common.OpenAPIDefinition{
22363 Schema: spec.Schema{
22364 SchemaProps: spec.SchemaProps{
22365 Description: "PreferenceMatcher references a set of preference that is used to fill fields in the VMI template.",
22366 Type: []string{"object"},
22367 Properties: map[string]spec.Schema{
22368 "name": {
22369 SchemaProps: spec.SchemaProps{
22370 Description: "Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference",
22371 Type: []string{"string"},
22372 Format: "",
22373 },
22374 },
22375 "kind": {
22376 SchemaProps: spec.SchemaProps{
22377 Description: "Kind specifies which preference resource is referenced. Allowed values are: \"VirtualMachinePreference\" and \"VirtualMachineClusterPreference\". If not specified, \"VirtualMachineClusterPreference\" is used by default.",
22378 Type: []string{"string"},
22379 Format: "",
22380 },
22381 },
22382 "revisionName": {
22383 SchemaProps: spec.SchemaProps{
22384 Description: "RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance.",
22385 Type: []string{"string"},
22386 Format: "",
22387 },
22388 },
22389 "inferFromVolume": {
22390 SchemaProps: spec.SchemaProps{
22391 Description: "InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed.",
22392 Type: []string{"string"},
22393 Format: "",
22394 },
22395 },
22396 "inferFromVolumeFailurePolicy": {
22397 SchemaProps: spec.SchemaProps{
22398 Description: "InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype. Allowed values are: \"RejectInferFromVolumeFailure\" and \"IgnoreInferFromVolumeFailure\". If not specified, \"RejectInferFromVolumeFailure\" is used by default.",
22399 Type: []string{"string"},
22400 Format: "",
22401 },
22402 },
22403 },
22404 },
22405 },
22406 }
22407 }
22408
22409 func schema_kubevirtio_api_core_v1_Probe(ref common.ReferenceCallback) common.OpenAPIDefinition {
22410 return common.OpenAPIDefinition{
22411 Schema: spec.Schema{
22412 SchemaProps: spec.SchemaProps{
22413 Description: "Probe describes a health check to be performed against a VirtualMachineInstance to determine whether it is alive or ready to receive traffic.",
22414 Type: []string{"object"},
22415 Properties: map[string]spec.Schema{
22416 "exec": {
22417 SchemaProps: spec.SchemaProps{
22418 Description: "One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail.",
22419 Ref: ref("k8s.io/api/core/v1.ExecAction"),
22420 },
22421 },
22422 "guestAgentPing": {
22423 SchemaProps: spec.SchemaProps{
22424 Description: "GuestAgentPing contacts the qemu-guest-agent for availability checks.",
22425 Ref: ref("kubevirt.io/api/core/v1.GuestAgentPing"),
22426 },
22427 },
22428 "httpGet": {
22429 SchemaProps: spec.SchemaProps{
22430 Description: "HTTPGet specifies the http request to perform.",
22431 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
22432 },
22433 },
22434 "tcpSocket": {
22435 SchemaProps: spec.SchemaProps{
22436 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
22437 Ref: ref("k8s.io/api/core/v1.TCPSocketAction"),
22438 },
22439 },
22440 "initialDelaySeconds": {
22441 SchemaProps: spec.SchemaProps{
22442 Description: "Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
22443 Type: []string{"integer"},
22444 Format: "int32",
22445 },
22446 },
22447 "timeoutSeconds": {
22448 SchemaProps: spec.SchemaProps{
22449 Description: "Number of seconds after which the probe times out. For exec probes the timeout fails the probe but does not terminate the command running on the guest. This means a blocking command can result in an increasing load on the guest. A small buffer will be added to the resulting workload exec probe to compensate for delays caused by the qemu guest exec mechanism. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
22450 Type: []string{"integer"},
22451 Format: "int32",
22452 },
22453 },
22454 "periodSeconds": {
22455 SchemaProps: spec.SchemaProps{
22456 Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.",
22457 Type: []string{"integer"},
22458 Format: "int32",
22459 },
22460 },
22461 "successThreshold": {
22462 SchemaProps: spec.SchemaProps{
22463 Description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.",
22464 Type: []string{"integer"},
22465 Format: "int32",
22466 },
22467 },
22468 "failureThreshold": {
22469 SchemaProps: spec.SchemaProps{
22470 Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
22471 Type: []string{"integer"},
22472 Format: "int32",
22473 },
22474 },
22475 },
22476 },
22477 },
22478 Dependencies: []string{
22479 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction", "kubevirt.io/api/core/v1.GuestAgentPing"},
22480 }
22481 }
22482
22483 func schema_kubevirtio_api_core_v1_ProfilerResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
22484 return common.OpenAPIDefinition{
22485 Schema: spec.Schema{
22486 SchemaProps: spec.SchemaProps{
22487 Type: []string{"object"},
22488 Properties: map[string]spec.Schema{
22489 "pprofData": {
22490 SchemaProps: spec.SchemaProps{
22491 Type: []string{"object"},
22492 AdditionalProperties: &spec.SchemaOrBool{
22493 Allows: true,
22494 Schema: &spec.Schema{
22495 SchemaProps: spec.SchemaProps{
22496 Type: []string{"string"},
22497 Format: "byte",
22498 },
22499 },
22500 },
22501 },
22502 },
22503 },
22504 },
22505 },
22506 }
22507 }
22508
22509 func schema_kubevirtio_api_core_v1_QemuGuestAgentSSHPublicKeyAccessCredentialPropagation(ref common.ReferenceCallback) common.OpenAPIDefinition {
22510 return common.OpenAPIDefinition{
22511 Schema: spec.Schema{
22512 SchemaProps: spec.SchemaProps{
22513 Type: []string{"object"},
22514 Properties: map[string]spec.Schema{
22515 "users": {
22516 VendorExtensible: spec.VendorExtensible{
22517 Extensions: spec.Extensions{
22518 "x-kubernetes-list-type": "set",
22519 },
22520 },
22521 SchemaProps: spec.SchemaProps{
22522 Description: "Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file.",
22523 Type: []string{"array"},
22524 Items: &spec.SchemaOrArray{
22525 Schema: &spec.Schema{
22526 SchemaProps: spec.SchemaProps{
22527 Default: "",
22528 Type: []string{"string"},
22529 Format: "",
22530 },
22531 },
22532 },
22533 },
22534 },
22535 },
22536 Required: []string{"users"},
22537 },
22538 },
22539 }
22540 }
22541
22542 func schema_kubevirtio_api_core_v1_QemuGuestAgentUserPasswordAccessCredentialPropagation(ref common.ReferenceCallback) common.OpenAPIDefinition {
22543 return common.OpenAPIDefinition{
22544 Schema: spec.Schema{
22545 SchemaProps: spec.SchemaProps{
22546 Type: []string{"object"},
22547 },
22548 },
22549 }
22550 }
22551
22552 func schema_kubevirtio_api_core_v1_RESTClientConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
22553 return common.OpenAPIDefinition{
22554 Schema: spec.Schema{
22555 SchemaProps: spec.SchemaProps{
22556 Description: "RESTClientConfiguration allows configuring certain aspects of the k8s rest client.",
22557 Type: []string{"object"},
22558 Properties: map[string]spec.Schema{
22559 "rateLimiter": {
22560 SchemaProps: spec.SchemaProps{
22561 Description: "RateLimiter allows selecting and configuring different rate limiters for the k8s client.",
22562 Ref: ref("kubevirt.io/api/core/v1.RateLimiter"),
22563 },
22564 },
22565 },
22566 },
22567 },
22568 Dependencies: []string{
22569 "kubevirt.io/api/core/v1.RateLimiter"},
22570 }
22571 }
22572
22573 func schema_kubevirtio_api_core_v1_RTCTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
22574 return common.OpenAPIDefinition{
22575 Schema: spec.Schema{
22576 SchemaProps: spec.SchemaProps{
22577 Type: []string{"object"},
22578 Properties: map[string]spec.Schema{
22579 "tickPolicy": {
22580 SchemaProps: spec.SchemaProps{
22581 Description: "TickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest. One of \"delay\", \"catchup\".",
22582 Type: []string{"string"},
22583 Format: "",
22584 },
22585 },
22586 "present": {
22587 SchemaProps: spec.SchemaProps{
22588 Description: "Enabled set to false makes sure that the machine type or a preset can't add the timer. Defaults to true.",
22589 Type: []string{"boolean"},
22590 Format: "",
22591 },
22592 },
22593 "track": {
22594 SchemaProps: spec.SchemaProps{
22595 Description: "Track the guest or the wall clock.",
22596 Type: []string{"string"},
22597 Format: "",
22598 },
22599 },
22600 },
22601 },
22602 },
22603 }
22604 }
22605
22606 func schema_kubevirtio_api_core_v1_RateLimiter(ref common.ReferenceCallback) common.OpenAPIDefinition {
22607 return common.OpenAPIDefinition{
22608 Schema: spec.Schema{
22609 SchemaProps: spec.SchemaProps{
22610 Type: []string{"object"},
22611 Properties: map[string]spec.Schema{
22612 "tokenBucketRateLimiter": {
22613 SchemaProps: spec.SchemaProps{
22614 Ref: ref("kubevirt.io/api/core/v1.TokenBucketRateLimiter"),
22615 },
22616 },
22617 },
22618 },
22619 },
22620 Dependencies: []string{
22621 "kubevirt.io/api/core/v1.TokenBucketRateLimiter"},
22622 }
22623 }
22624
22625 func schema_kubevirtio_api_core_v1_Realtime(ref common.ReferenceCallback) common.OpenAPIDefinition {
22626 return common.OpenAPIDefinition{
22627 Schema: spec.Schema{
22628 SchemaProps: spec.SchemaProps{
22629 Description: "Realtime holds the tuning knobs specific for realtime workloads.",
22630 Type: []string{"object"},
22631 Properties: map[string]spec.Schema{
22632 "mask": {
22633 SchemaProps: spec.SchemaProps{
22634 Description: "Mask defines the vcpu mask expression that defines which vcpus are used for realtime. Format matches libvirt's expressions. Example: \"0-3,^1\",\"0,2,3\",\"2-3\"",
22635 Type: []string{"string"},
22636 Format: "",
22637 },
22638 },
22639 },
22640 },
22641 },
22642 }
22643 }
22644
22645 func schema_kubevirtio_api_core_v1_ReloadableComponentConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
22646 return common.OpenAPIDefinition{
22647 Schema: spec.Schema{
22648 SchemaProps: spec.SchemaProps{
22649 Description: "ReloadableComponentConfiguration holds all generic k8s configuration options which can be reloaded by components without requiring a restart.",
22650 Type: []string{"object"},
22651 Properties: map[string]spec.Schema{
22652 "restClient": {
22653 SchemaProps: spec.SchemaProps{
22654 Description: "RestClient can be used to tune certain aspects of the k8s client in use.",
22655 Ref: ref("kubevirt.io/api/core/v1.RESTClientConfiguration"),
22656 },
22657 },
22658 },
22659 },
22660 },
22661 Dependencies: []string{
22662 "kubevirt.io/api/core/v1.RESTClientConfiguration"},
22663 }
22664 }
22665
22666 func schema_kubevirtio_api_core_v1_RemoveVolumeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
22667 return common.OpenAPIDefinition{
22668 Schema: spec.Schema{
22669 SchemaProps: spec.SchemaProps{
22670 Description: "RemoveVolumeOptions is provided when dynamically hot unplugging volume and disk",
22671 Type: []string{"object"},
22672 Properties: map[string]spec.Schema{
22673 "name": {
22674 SchemaProps: spec.SchemaProps{
22675 Description: "Name represents the name that maps to both the disk and volume that should be removed",
22676 Default: "",
22677 Type: []string{"string"},
22678 Format: "",
22679 },
22680 },
22681 "dryRun": {
22682 VendorExtensible: spec.VendorExtensible{
22683 Extensions: spec.Extensions{
22684 "x-kubernetes-list-type": "atomic",
22685 },
22686 },
22687 SchemaProps: spec.SchemaProps{
22688 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
22689 Type: []string{"array"},
22690 Items: &spec.SchemaOrArray{
22691 Schema: &spec.Schema{
22692 SchemaProps: spec.SchemaProps{
22693 Default: "",
22694 Type: []string{"string"},
22695 Format: "",
22696 },
22697 },
22698 },
22699 },
22700 },
22701 },
22702 Required: []string{"name"},
22703 },
22704 },
22705 }
22706 }
22707
22708 func schema_kubevirtio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition {
22709 return common.OpenAPIDefinition{
22710 Schema: spec.Schema{
22711 SchemaProps: spec.SchemaProps{
22712 Type: []string{"object"},
22713 Properties: map[string]spec.Schema{
22714 "requests": {
22715 SchemaProps: spec.SchemaProps{
22716 Description: "Requests is a description of the initial vmi resources. Valid resource keys are \"memory\" and \"cpu\".",
22717 Type: []string{"object"},
22718 AdditionalProperties: &spec.SchemaOrBool{
22719 Allows: true,
22720 Schema: &spec.Schema{
22721 SchemaProps: spec.SchemaProps{
22722 Default: map[string]interface{}{},
22723 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
22724 },
22725 },
22726 },
22727 },
22728 },
22729 "limits": {
22730 SchemaProps: spec.SchemaProps{
22731 Description: "Limits describes the maximum amount of compute resources allowed. Valid resource keys are \"memory\" and \"cpu\".",
22732 Type: []string{"object"},
22733 AdditionalProperties: &spec.SchemaOrBool{
22734 Allows: true,
22735 Schema: &spec.Schema{
22736 SchemaProps: spec.SchemaProps{
22737 Default: map[string]interface{}{},
22738 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
22739 },
22740 },
22741 },
22742 },
22743 },
22744 "overcommitGuestOverhead": {
22745 SchemaProps: spec.SchemaProps{
22746 Description: "Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.",
22747 Type: []string{"boolean"},
22748 Format: "",
22749 },
22750 },
22751 },
22752 },
22753 },
22754 Dependencies: []string{
22755 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
22756 }
22757 }
22758
22759 func schema_kubevirtio_api_core_v1_RestartOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
22760 return common.OpenAPIDefinition{
22761 Schema: spec.Schema{
22762 SchemaProps: spec.SchemaProps{
22763 Description: "RestartOptions may be provided when deleting an API object.",
22764 Type: []string{"object"},
22765 Properties: map[string]spec.Schema{
22766 "kind": {
22767 SchemaProps: spec.SchemaProps{
22768 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
22769 Type: []string{"string"},
22770 Format: "",
22771 },
22772 },
22773 "apiVersion": {
22774 SchemaProps: spec.SchemaProps{
22775 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
22776 Type: []string{"string"},
22777 Format: "",
22778 },
22779 },
22780 "gracePeriodSeconds": {
22781 SchemaProps: spec.SchemaProps{
22782 Description: "The duration in seconds before the object should be force-restarted. Value must be non-negative integer. The value zero indicates, restart immediately. If this value is nil, the default grace period for deletion of the corresponding VMI for the specified type will be used to determine on how much time to give the VMI to restart. Defaults to a per object value if not specified. zero means restart immediately. Allowed Values: nil and 0",
22783 Type: []string{"integer"},
22784 Format: "int64",
22785 },
22786 },
22787 "dryRun": {
22788 VendorExtensible: spec.VendorExtensible{
22789 Extensions: spec.Extensions{
22790 "x-kubernetes-list-type": "atomic",
22791 },
22792 },
22793 SchemaProps: spec.SchemaProps{
22794 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
22795 Type: []string{"array"},
22796 Items: &spec.SchemaOrArray{
22797 Schema: &spec.Schema{
22798 SchemaProps: spec.SchemaProps{
22799 Default: "",
22800 Type: []string{"string"},
22801 Format: "",
22802 },
22803 },
22804 },
22805 },
22806 },
22807 },
22808 },
22809 },
22810 }
22811 }
22812
22813 func schema_kubevirtio_api_core_v1_Rng(ref common.ReferenceCallback) common.OpenAPIDefinition {
22814 return common.OpenAPIDefinition{
22815 Schema: spec.Schema{
22816 SchemaProps: spec.SchemaProps{
22817 Description: "Rng represents the random device passed from host",
22818 Type: []string{"object"},
22819 },
22820 },
22821 }
22822 }
22823
22824 func schema_kubevirtio_api_core_v1_SEV(ref common.ReferenceCallback) common.OpenAPIDefinition {
22825 return common.OpenAPIDefinition{
22826 Schema: spec.Schema{
22827 SchemaProps: spec.SchemaProps{
22828 Type: []string{"object"},
22829 Properties: map[string]spec.Schema{
22830 "policy": {
22831 SchemaProps: spec.SchemaProps{
22832 Description: "Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true.",
22833 Ref: ref("kubevirt.io/api/core/v1.SEVPolicy"),
22834 },
22835 },
22836 "attestation": {
22837 SchemaProps: spec.SchemaProps{
22838 Description: "If specified, run the attestation process for a vmi.",
22839 Ref: ref("kubevirt.io/api/core/v1.SEVAttestation"),
22840 },
22841 },
22842 "session": {
22843 SchemaProps: spec.SchemaProps{
22844 Description: "Base64 encoded session blob.",
22845 Type: []string{"string"},
22846 Format: "",
22847 },
22848 },
22849 "dhCert": {
22850 SchemaProps: spec.SchemaProps{
22851 Description: "Base64 encoded guest owner's Diffie-Hellman key.",
22852 Type: []string{"string"},
22853 Format: "",
22854 },
22855 },
22856 },
22857 },
22858 },
22859 Dependencies: []string{
22860 "kubevirt.io/api/core/v1.SEVAttestation", "kubevirt.io/api/core/v1.SEVPolicy"},
22861 }
22862 }
22863
22864 func schema_kubevirtio_api_core_v1_SEVAttestation(ref common.ReferenceCallback) common.OpenAPIDefinition {
22865 return common.OpenAPIDefinition{
22866 Schema: spec.Schema{
22867 SchemaProps: spec.SchemaProps{
22868 Type: []string{"object"},
22869 },
22870 },
22871 }
22872 }
22873
22874 func schema_kubevirtio_api_core_v1_SEVMeasurementInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
22875 return common.OpenAPIDefinition{
22876 Schema: spec.Schema{
22877 SchemaProps: spec.SchemaProps{
22878 Description: "SEVMeasurementInfo contains information about the guest launch measurement.",
22879 Type: []string{"object"},
22880 Properties: map[string]spec.Schema{
22881 "kind": {
22882 SchemaProps: spec.SchemaProps{
22883 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
22884 Type: []string{"string"},
22885 Format: "",
22886 },
22887 },
22888 "apiVersion": {
22889 SchemaProps: spec.SchemaProps{
22890 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
22891 Type: []string{"string"},
22892 Format: "",
22893 },
22894 },
22895 "measurement": {
22896 SchemaProps: spec.SchemaProps{
22897 Description: "Base64 encoded launch measurement of the SEV guest.",
22898 Type: []string{"string"},
22899 Format: "",
22900 },
22901 },
22902 "apiMajor": {
22903 SchemaProps: spec.SchemaProps{
22904 Description: "API major version of the SEV host.",
22905 Type: []string{"integer"},
22906 Format: "int32",
22907 },
22908 },
22909 "apiMinor": {
22910 SchemaProps: spec.SchemaProps{
22911 Description: "API minor version of the SEV host.",
22912 Type: []string{"integer"},
22913 Format: "int32",
22914 },
22915 },
22916 "buildID": {
22917 SchemaProps: spec.SchemaProps{
22918 Description: "Build ID of the SEV host.",
22919 Type: []string{"integer"},
22920 Format: "int32",
22921 },
22922 },
22923 "policy": {
22924 SchemaProps: spec.SchemaProps{
22925 Description: "Policy of the SEV guest.",
22926 Type: []string{"integer"},
22927 Format: "int32",
22928 },
22929 },
22930 "loaderSHA": {
22931 SchemaProps: spec.SchemaProps{
22932 Description: "SHA256 of the loader binary",
22933 Type: []string{"string"},
22934 Format: "",
22935 },
22936 },
22937 },
22938 },
22939 },
22940 }
22941 }
22942
22943 func schema_kubevirtio_api_core_v1_SEVPlatformInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
22944 return common.OpenAPIDefinition{
22945 Schema: spec.Schema{
22946 SchemaProps: spec.SchemaProps{
22947 Description: "SEVPlatformInfo contains information about the AMD SEV features for the node.",
22948 Type: []string{"object"},
22949 Properties: map[string]spec.Schema{
22950 "kind": {
22951 SchemaProps: spec.SchemaProps{
22952 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
22953 Type: []string{"string"},
22954 Format: "",
22955 },
22956 },
22957 "apiVersion": {
22958 SchemaProps: spec.SchemaProps{
22959 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
22960 Type: []string{"string"},
22961 Format: "",
22962 },
22963 },
22964 "pdh": {
22965 SchemaProps: spec.SchemaProps{
22966 Description: "Base64 encoded platform Diffie-Hellman key.",
22967 Type: []string{"string"},
22968 Format: "",
22969 },
22970 },
22971 "certChain": {
22972 SchemaProps: spec.SchemaProps{
22973 Description: "Base64 encoded SEV certificate chain.",
22974 Type: []string{"string"},
22975 Format: "",
22976 },
22977 },
22978 },
22979 },
22980 },
22981 }
22982 }
22983
22984 func schema_kubevirtio_api_core_v1_SEVPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
22985 return common.OpenAPIDefinition{
22986 Schema: spec.Schema{
22987 SchemaProps: spec.SchemaProps{
22988 Type: []string{"object"},
22989 Properties: map[string]spec.Schema{
22990 "encryptedState": {
22991 SchemaProps: spec.SchemaProps{
22992 Description: "SEV-ES is required. Defaults to false.",
22993 Type: []string{"boolean"},
22994 Format: "",
22995 },
22996 },
22997 },
22998 },
22999 },
23000 }
23001 }
23002
23003 func schema_kubevirtio_api_core_v1_SEVSecretOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23004 return common.OpenAPIDefinition{
23005 Schema: spec.Schema{
23006 SchemaProps: spec.SchemaProps{
23007 Description: "SEVSecretOptions is used to provide a secret for a running guest.",
23008 Type: []string{"object"},
23009 Properties: map[string]spec.Schema{
23010 "header": {
23011 SchemaProps: spec.SchemaProps{
23012 Description: "Base64 encoded header needed to decrypt the secret.",
23013 Type: []string{"string"},
23014 Format: "",
23015 },
23016 },
23017 "secret": {
23018 SchemaProps: spec.SchemaProps{
23019 Description: "Base64 encoded encrypted launch secret.",
23020 Type: []string{"string"},
23021 Format: "",
23022 },
23023 },
23024 },
23025 },
23026 },
23027 }
23028 }
23029
23030 func schema_kubevirtio_api_core_v1_SEVSessionOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23031 return common.OpenAPIDefinition{
23032 Schema: spec.Schema{
23033 SchemaProps: spec.SchemaProps{
23034 Description: "SEVSessionOptions is used to provide SEV session parameters.",
23035 Type: []string{"object"},
23036 Properties: map[string]spec.Schema{
23037 "session": {
23038 SchemaProps: spec.SchemaProps{
23039 Description: "Base64 encoded session blob.",
23040 Type: []string{"string"},
23041 Format: "",
23042 },
23043 },
23044 "dhCert": {
23045 SchemaProps: spec.SchemaProps{
23046 Description: "Base64 encoded guest owner's Diffie-Hellman key.",
23047 Type: []string{"string"},
23048 Format: "",
23049 },
23050 },
23051 },
23052 },
23053 },
23054 }
23055 }
23056
23057 func schema_kubevirtio_api_core_v1_SMBiosConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
23058 return common.OpenAPIDefinition{
23059 Schema: spec.Schema{
23060 SchemaProps: spec.SchemaProps{
23061 Type: []string{"object"},
23062 Properties: map[string]spec.Schema{
23063 "manufacturer": {
23064 SchemaProps: spec.SchemaProps{
23065 Type: []string{"string"},
23066 Format: "",
23067 },
23068 },
23069 "product": {
23070 SchemaProps: spec.SchemaProps{
23071 Type: []string{"string"},
23072 Format: "",
23073 },
23074 },
23075 "version": {
23076 SchemaProps: spec.SchemaProps{
23077 Type: []string{"string"},
23078 Format: "",
23079 },
23080 },
23081 "sku": {
23082 SchemaProps: spec.SchemaProps{
23083 Type: []string{"string"},
23084 Format: "",
23085 },
23086 },
23087 "family": {
23088 SchemaProps: spec.SchemaProps{
23089 Type: []string{"string"},
23090 Format: "",
23091 },
23092 },
23093 },
23094 },
23095 },
23096 }
23097 }
23098
23099 func schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredential(ref common.ReferenceCallback) common.OpenAPIDefinition {
23100 return common.OpenAPIDefinition{
23101 Schema: spec.Schema{
23102 SchemaProps: spec.SchemaProps{
23103 Description: "SSHPublicKeyAccessCredential represents a source and propagation method for injecting ssh public keys into a vm guest",
23104 Type: []string{"object"},
23105 Properties: map[string]spec.Schema{
23106 "source": {
23107 SchemaProps: spec.SchemaProps{
23108 Description: "Source represents where the public keys are pulled from",
23109 Default: map[string]interface{}{},
23110 Ref: ref("kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialSource"),
23111 },
23112 },
23113 "propagationMethod": {
23114 SchemaProps: spec.SchemaProps{
23115 Description: "PropagationMethod represents how the public key is injected into the vm guest.",
23116 Default: map[string]interface{}{},
23117 Ref: ref("kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialPropagationMethod"),
23118 },
23119 },
23120 },
23121 Required: []string{"source", "propagationMethod"},
23122 },
23123 },
23124 Dependencies: []string{
23125 "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialPropagationMethod", "kubevirt.io/api/core/v1.SSHPublicKeyAccessCredentialSource"},
23126 }
23127 }
23128
23129 func schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredentialPropagationMethod(ref common.ReferenceCallback) common.OpenAPIDefinition {
23130 return common.OpenAPIDefinition{
23131 Schema: spec.Schema{
23132 SchemaProps: spec.SchemaProps{
23133 Description: "SSHPublicKeyAccessCredentialPropagationMethod represents the method used to inject a ssh public key into the vm guest. Only one of its members may be specified.",
23134 Type: []string{"object"},
23135 Properties: map[string]spec.Schema{
23136 "configDrive": {
23137 SchemaProps: spec.SchemaProps{
23138 Description: "ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider",
23139 Ref: ref("kubevirt.io/api/core/v1.ConfigDriveSSHPublicKeyAccessCredentialPropagation"),
23140 },
23141 },
23142 "noCloud": {
23143 SchemaProps: spec.SchemaProps{
23144 Description: "NoCloudPropagation means that the ssh public keys are injected into the VM using metadata using the noCloud cloud-init provider",
23145 Ref: ref("kubevirt.io/api/core/v1.NoCloudSSHPublicKeyAccessCredentialPropagation"),
23146 },
23147 },
23148 "qemuGuestAgent": {
23149 SchemaProps: spec.SchemaProps{
23150 Description: "QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest.",
23151 Ref: ref("kubevirt.io/api/core/v1.QemuGuestAgentSSHPublicKeyAccessCredentialPropagation"),
23152 },
23153 },
23154 },
23155 },
23156 },
23157 Dependencies: []string{
23158 "kubevirt.io/api/core/v1.ConfigDriveSSHPublicKeyAccessCredentialPropagation", "kubevirt.io/api/core/v1.NoCloudSSHPublicKeyAccessCredentialPropagation", "kubevirt.io/api/core/v1.QemuGuestAgentSSHPublicKeyAccessCredentialPropagation"},
23159 }
23160 }
23161
23162 func schema_kubevirtio_api_core_v1_SSHPublicKeyAccessCredentialSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
23163 return common.OpenAPIDefinition{
23164 Schema: spec.Schema{
23165 SchemaProps: spec.SchemaProps{
23166 Description: "SSHPublicKeyAccessCredentialSource represents where to retrieve the ssh key credentials Only one of its members may be specified.",
23167 Type: []string{"object"},
23168 Properties: map[string]spec.Schema{
23169 "secret": {
23170 SchemaProps: spec.SchemaProps{
23171 Description: "Secret means that the access credential is pulled from a kubernetes secret",
23172 Ref: ref("kubevirt.io/api/core/v1.AccessCredentialSecretSource"),
23173 },
23174 },
23175 },
23176 },
23177 },
23178 Dependencies: []string{
23179 "kubevirt.io/api/core/v1.AccessCredentialSecretSource"},
23180 }
23181 }
23182
23183 func schema_kubevirtio_api_core_v1_ScreenshotOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23184 return common.OpenAPIDefinition{
23185 Schema: spec.Schema{
23186 SchemaProps: spec.SchemaProps{
23187 Type: []string{"object"},
23188 Properties: map[string]spec.Schema{
23189 "moveCursor": {
23190 SchemaProps: spec.SchemaProps{
23191 Default: false,
23192 Type: []string{"boolean"},
23193 Format: "",
23194 },
23195 },
23196 },
23197 Required: []string{"moveCursor"},
23198 },
23199 },
23200 }
23201 }
23202
23203 func schema_kubevirtio_api_core_v1_SeccompConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
23204 return common.OpenAPIDefinition{
23205 Schema: spec.Schema{
23206 SchemaProps: spec.SchemaProps{
23207 Description: "SeccompConfiguration holds Seccomp configuration for Kubevirt components",
23208 Type: []string{"object"},
23209 Properties: map[string]spec.Schema{
23210 "virtualMachineInstanceProfile": {
23211 SchemaProps: spec.SchemaProps{
23212 Description: "VirtualMachineInstanceProfile defines what profile should be used with virt-launcher. Defaults to none",
23213 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceProfile"),
23214 },
23215 },
23216 },
23217 },
23218 },
23219 Dependencies: []string{
23220 "kubevirt.io/api/core/v1.VirtualMachineInstanceProfile"},
23221 }
23222 }
23223
23224 func schema_kubevirtio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
23225 return common.OpenAPIDefinition{
23226 Schema: spec.Schema{
23227 SchemaProps: spec.SchemaProps{
23228 Description: "SecretVolumeSource adapts a Secret into a volume.",
23229 Type: []string{"object"},
23230 Properties: map[string]spec.Schema{
23231 "secretName": {
23232 SchemaProps: spec.SchemaProps{
23233 Description: "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
23234 Type: []string{"string"},
23235 Format: "",
23236 },
23237 },
23238 "optional": {
23239 SchemaProps: spec.SchemaProps{
23240 Description: "Specify whether the Secret or it's keys must be defined",
23241 Type: []string{"boolean"},
23242 Format: "",
23243 },
23244 },
23245 "volumeLabel": {
23246 SchemaProps: spec.SchemaProps{
23247 Description: "The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are \"cidata\" (cloud-init), \"config-2\" (cloud-init) or \"OEMDRV\" (kickstart).",
23248 Type: []string{"string"},
23249 Format: "",
23250 },
23251 },
23252 },
23253 },
23254 },
23255 }
23256 }
23257
23258 func schema_kubevirtio_api_core_v1_ServiceAccountVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
23259 return common.OpenAPIDefinition{
23260 Schema: spec.Schema{
23261 SchemaProps: spec.SchemaProps{
23262 Description: "ServiceAccountVolumeSource adapts a ServiceAccount into a volume.",
23263 Type: []string{"object"},
23264 Properties: map[string]spec.Schema{
23265 "serviceAccountName": {
23266 SchemaProps: spec.SchemaProps{
23267 Description: "Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
23268 Type: []string{"string"},
23269 Format: "",
23270 },
23271 },
23272 },
23273 },
23274 },
23275 }
23276 }
23277
23278 func schema_kubevirtio_api_core_v1_SoundDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
23279 return common.OpenAPIDefinition{
23280 Schema: spec.Schema{
23281 SchemaProps: spec.SchemaProps{
23282 Description: "Represents the user's configuration to emulate sound cards in the VMI.",
23283 Type: []string{"object"},
23284 Properties: map[string]spec.Schema{
23285 "name": {
23286 SchemaProps: spec.SchemaProps{
23287 Description: "User's defined name for this sound device",
23288 Default: "",
23289 Type: []string{"string"},
23290 Format: "",
23291 },
23292 },
23293 "model": {
23294 SchemaProps: spec.SchemaProps{
23295 Description: "We only support ich9 or ac97. If SoundDevice is not set: No sound card is emulated. If SoundDevice is set but Model is not: ich9",
23296 Type: []string{"string"},
23297 Format: "",
23298 },
23299 },
23300 },
23301 Required: []string{"name"},
23302 },
23303 },
23304 }
23305 }
23306
23307 func schema_kubevirtio_api_core_v1_StartOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23308 return common.OpenAPIDefinition{
23309 Schema: spec.Schema{
23310 SchemaProps: spec.SchemaProps{
23311 Description: "StartOptions may be provided on start request.",
23312 Type: []string{"object"},
23313 Properties: map[string]spec.Schema{
23314 "kind": {
23315 SchemaProps: spec.SchemaProps{
23316 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
23317 Type: []string{"string"},
23318 Format: "",
23319 },
23320 },
23321 "apiVersion": {
23322 SchemaProps: spec.SchemaProps{
23323 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
23324 Type: []string{"string"},
23325 Format: "",
23326 },
23327 },
23328 "paused": {
23329 SchemaProps: spec.SchemaProps{
23330 Description: "Indicates that VM will be started in paused state.",
23331 Type: []string{"boolean"},
23332 Format: "",
23333 },
23334 },
23335 "dryRun": {
23336 VendorExtensible: spec.VendorExtensible{
23337 Extensions: spec.Extensions{
23338 "x-kubernetes-list-type": "atomic",
23339 },
23340 },
23341 SchemaProps: spec.SchemaProps{
23342 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
23343 Type: []string{"array"},
23344 Items: &spec.SchemaOrArray{
23345 Schema: &spec.Schema{
23346 SchemaProps: spec.SchemaProps{
23347 Default: "",
23348 Type: []string{"string"},
23349 Format: "",
23350 },
23351 },
23352 },
23353 },
23354 },
23355 },
23356 },
23357 },
23358 }
23359 }
23360
23361 func schema_kubevirtio_api_core_v1_StopOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23362 return common.OpenAPIDefinition{
23363 Schema: spec.Schema{
23364 SchemaProps: spec.SchemaProps{
23365 Description: "StopOptions may be provided when deleting an API object.",
23366 Type: []string{"object"},
23367 Properties: map[string]spec.Schema{
23368 "kind": {
23369 SchemaProps: spec.SchemaProps{
23370 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
23371 Type: []string{"string"},
23372 Format: "",
23373 },
23374 },
23375 "apiVersion": {
23376 SchemaProps: spec.SchemaProps{
23377 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
23378 Type: []string{"string"},
23379 Format: "",
23380 },
23381 },
23382 "gracePeriod": {
23383 SchemaProps: spec.SchemaProps{
23384 Description: "this updates the VMIs terminationGracePeriodSeconds during shutdown",
23385 Type: []string{"integer"},
23386 Format: "int64",
23387 },
23388 },
23389 "dryRun": {
23390 VendorExtensible: spec.VendorExtensible{
23391 Extensions: spec.Extensions{
23392 "x-kubernetes-list-type": "atomic",
23393 },
23394 },
23395 SchemaProps: spec.SchemaProps{
23396 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
23397 Type: []string{"array"},
23398 Items: &spec.SchemaOrArray{
23399 Schema: &spec.Schema{
23400 SchemaProps: spec.SchemaProps{
23401 Default: "",
23402 Type: []string{"string"},
23403 Format: "",
23404 },
23405 },
23406 },
23407 },
23408 },
23409 },
23410 },
23411 },
23412 }
23413 }
23414
23415 func schema_kubevirtio_api_core_v1_StorageMigratedVolumeInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
23416 return common.OpenAPIDefinition{
23417 Schema: spec.Schema{
23418 SchemaProps: spec.SchemaProps{
23419 Description: "StorageMigratedVolumeInfo tracks the information about the source and destination volumes during the volume migration",
23420 Type: []string{"object"},
23421 Properties: map[string]spec.Schema{
23422 "volumeName": {
23423 SchemaProps: spec.SchemaProps{
23424 Description: "VolumeName is the name of the volume that is being migrated",
23425 Default: "",
23426 Type: []string{"string"},
23427 Format: "",
23428 },
23429 },
23430 "sourcePVCInfo": {
23431 SchemaProps: spec.SchemaProps{
23432 Description: "SourcePVCInfo contains the information about the source PVC",
23433 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimInfo"),
23434 },
23435 },
23436 "destinationPVCInfo": {
23437 SchemaProps: spec.SchemaProps{
23438 Description: "DestinationPVCInfo contains the information about the destination PVC",
23439 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimInfo"),
23440 },
23441 },
23442 },
23443 Required: []string{"volumeName"},
23444 },
23445 },
23446 Dependencies: []string{
23447 "kubevirt.io/api/core/v1.PersistentVolumeClaimInfo"},
23448 }
23449 }
23450
23451 func schema_kubevirtio_api_core_v1_SupportContainerResources(ref common.ReferenceCallback) common.OpenAPIDefinition {
23452 return common.OpenAPIDefinition{
23453 Schema: spec.Schema{
23454 SchemaProps: spec.SchemaProps{
23455 Description: "SupportContainerResources are used to specify the cpu/memory request and limits for the containers that support various features of Virtual Machines. These containers are usually idle and don't require a lot of memory or cpu.",
23456 Type: []string{"object"},
23457 Properties: map[string]spec.Schema{
23458 "type": {
23459 SchemaProps: spec.SchemaProps{
23460 Default: "",
23461 Type: []string{"string"},
23462 Format: "",
23463 },
23464 },
23465 "resources": {
23466 SchemaProps: spec.SchemaProps{
23467 Default: map[string]interface{}{},
23468 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
23469 },
23470 },
23471 },
23472 Required: []string{"type", "resources"},
23473 },
23474 },
23475 Dependencies: []string{
23476 "k8s.io/api/core/v1.ResourceRequirements"},
23477 }
23478 }
23479
23480 func schema_kubevirtio_api_core_v1_SyNICTimer(ref common.ReferenceCallback) common.OpenAPIDefinition {
23481 return common.OpenAPIDefinition{
23482 Schema: spec.Schema{
23483 SchemaProps: spec.SchemaProps{
23484 Type: []string{"object"},
23485 Properties: map[string]spec.Schema{
23486 "enabled": {
23487 SchemaProps: spec.SchemaProps{
23488 Type: []string{"boolean"},
23489 Format: "",
23490 },
23491 },
23492 "direct": {
23493 SchemaProps: spec.SchemaProps{
23494 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
23495 },
23496 },
23497 },
23498 },
23499 },
23500 Dependencies: []string{
23501 "kubevirt.io/api/core/v1.FeatureState"},
23502 }
23503 }
23504
23505 func schema_kubevirtio_api_core_v1_SysprepSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
23506 return common.OpenAPIDefinition{
23507 Schema: spec.Schema{
23508 SchemaProps: spec.SchemaProps{
23509 Description: "Represents a Sysprep volume source.",
23510 Type: []string{"object"},
23511 Properties: map[string]spec.Schema{
23512 "secret": {
23513 SchemaProps: spec.SchemaProps{
23514 Description: "Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type.",
23515 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
23516 },
23517 },
23518 "configMap": {
23519 SchemaProps: spec.SchemaProps{
23520 Description: "ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type.",
23521 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
23522 },
23523 },
23524 },
23525 },
23526 },
23527 Dependencies: []string{
23528 "k8s.io/api/core/v1.LocalObjectReference"},
23529 }
23530 }
23531
23532 func schema_kubevirtio_api_core_v1_TLSConfiguration(ref common.ReferenceCallback) common.OpenAPIDefinition {
23533 return common.OpenAPIDefinition{
23534 Schema: spec.Schema{
23535 SchemaProps: spec.SchemaProps{
23536 Description: "TLSConfiguration holds TLS options",
23537 Type: []string{"object"},
23538 Properties: map[string]spec.Schema{
23539 "minTLSVersion": {
23540 SchemaProps: spec.SchemaProps{
23541 Description: "MinTLSVersion is a way to specify the minimum protocol version that is acceptable for TLS connections. Protocol versions are based on the following most common TLS configurations:\n\n https://ssl-config.mozilla.org/\n\nNote that SSLv3.0 is not a supported protocol version due to well known vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE",
23542 Type: []string{"string"},
23543 Format: "",
23544 },
23545 },
23546 "ciphers": {
23547 VendorExtensible: spec.VendorExtensible{
23548 Extensions: spec.Extensions{
23549 "x-kubernetes-list-type": "set",
23550 },
23551 },
23552 SchemaProps: spec.SchemaProps{
23553 Type: []string{"array"},
23554 Items: &spec.SchemaOrArray{
23555 Schema: &spec.Schema{
23556 SchemaProps: spec.SchemaProps{
23557 Default: "",
23558 Type: []string{"string"},
23559 Format: "",
23560 },
23561 },
23562 },
23563 },
23564 },
23565 },
23566 },
23567 },
23568 }
23569 }
23570
23571 func schema_kubevirtio_api_core_v1_TPMDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
23572 return common.OpenAPIDefinition{
23573 Schema: spec.Schema{
23574 SchemaProps: spec.SchemaProps{
23575 Type: []string{"object"},
23576 Properties: map[string]spec.Schema{
23577 "persistent": {
23578 SchemaProps: spec.SchemaProps{
23579 Description: "Persistent indicates the state of the TPM device should be kept accross reboots Defaults to false",
23580 Type: []string{"boolean"},
23581 Format: "",
23582 },
23583 },
23584 },
23585 },
23586 },
23587 }
23588 }
23589
23590 func schema_kubevirtio_api_core_v1_Timer(ref common.ReferenceCallback) common.OpenAPIDefinition {
23591 return common.OpenAPIDefinition{
23592 Schema: spec.Schema{
23593 SchemaProps: spec.SchemaProps{
23594 Description: "Represents all available timers in a vmi.",
23595 Type: []string{"object"},
23596 Properties: map[string]spec.Schema{
23597 "hpet": {
23598 SchemaProps: spec.SchemaProps{
23599 Description: "HPET (High Precision Event Timer) - multiple timers with periodic interrupts.",
23600 Ref: ref("kubevirt.io/api/core/v1.HPETTimer"),
23601 },
23602 },
23603 "kvm": {
23604 SchemaProps: spec.SchemaProps{
23605 Description: "KVM \t(KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests.",
23606 Ref: ref("kubevirt.io/api/core/v1.KVMTimer"),
23607 },
23608 },
23609 "pit": {
23610 SchemaProps: spec.SchemaProps{
23611 Description: "PIT (Programmable Interval Timer) - a timer with periodic interrupts.",
23612 Ref: ref("kubevirt.io/api/core/v1.PITTimer"),
23613 },
23614 },
23615 "rtc": {
23616 SchemaProps: spec.SchemaProps{
23617 Description: "RTC (Real Time Clock) - a continuously running timer with periodic interrupts.",
23618 Ref: ref("kubevirt.io/api/core/v1.RTCTimer"),
23619 },
23620 },
23621 "hyperv": {
23622 SchemaProps: spec.SchemaProps{
23623 Description: "Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests.",
23624 Ref: ref("kubevirt.io/api/core/v1.HypervTimer"),
23625 },
23626 },
23627 },
23628 },
23629 },
23630 Dependencies: []string{
23631 "kubevirt.io/api/core/v1.HPETTimer", "kubevirt.io/api/core/v1.HypervTimer", "kubevirt.io/api/core/v1.KVMTimer", "kubevirt.io/api/core/v1.PITTimer", "kubevirt.io/api/core/v1.RTCTimer"},
23632 }
23633 }
23634
23635 func schema_kubevirtio_api_core_v1_TokenBucketRateLimiter(ref common.ReferenceCallback) common.OpenAPIDefinition {
23636 return common.OpenAPIDefinition{
23637 Schema: spec.Schema{
23638 SchemaProps: spec.SchemaProps{
23639 Type: []string{"object"},
23640 Properties: map[string]spec.Schema{
23641 "qps": {
23642 SchemaProps: spec.SchemaProps{
23643 Description: "QPS indicates the maximum QPS to the apiserver from this client. If it's zero, the component default will be used",
23644 Default: 0,
23645 Type: []string{"number"},
23646 Format: "float",
23647 },
23648 },
23649 "burst": {
23650 SchemaProps: spec.SchemaProps{
23651 Description: "Maximum burst for throttle. If it's zero, the component default will be used",
23652 Default: 0,
23653 Type: []string{"integer"},
23654 Format: "int32",
23655 },
23656 },
23657 },
23658 Required: []string{"qps", "burst"},
23659 },
23660 },
23661 }
23662 }
23663
23664 func schema_kubevirtio_api_core_v1_TopologyHints(ref common.ReferenceCallback) common.OpenAPIDefinition {
23665 return common.OpenAPIDefinition{
23666 Schema: spec.Schema{
23667 SchemaProps: spec.SchemaProps{
23668 Type: []string{"object"},
23669 Properties: map[string]spec.Schema{
23670 "tscFrequency": {
23671 SchemaProps: spec.SchemaProps{
23672 Type: []string{"integer"},
23673 Format: "int64",
23674 },
23675 },
23676 },
23677 },
23678 },
23679 }
23680 }
23681
23682 func schema_kubevirtio_api_core_v1_USBHostDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
23683 return common.OpenAPIDefinition{
23684 Schema: spec.Schema{
23685 SchemaProps: spec.SchemaProps{
23686 Type: []string{"object"},
23687 Properties: map[string]spec.Schema{
23688 "resourceName": {
23689 SchemaProps: spec.SchemaProps{
23690 Description: "Identifies the list of USB host devices. e.g: kubevirt.io/storage, kubevirt.io/bootable-usb, etc",
23691 Default: "",
23692 Type: []string{"string"},
23693 Format: "",
23694 },
23695 },
23696 "selectors": {
23697 VendorExtensible: spec.VendorExtensible{
23698 Extensions: spec.Extensions{
23699 "x-kubernetes-list-type": "atomic",
23700 },
23701 },
23702 SchemaProps: spec.SchemaProps{
23703 Type: []string{"array"},
23704 Items: &spec.SchemaOrArray{
23705 Schema: &spec.Schema{
23706 SchemaProps: spec.SchemaProps{
23707 Default: map[string]interface{}{},
23708 Ref: ref("kubevirt.io/api/core/v1.USBSelector"),
23709 },
23710 },
23711 },
23712 },
23713 },
23714 "externalResourceProvider": {
23715 SchemaProps: spec.SchemaProps{
23716 Description: "If true, KubeVirt will leave the allocation and monitoring to an external device plugin",
23717 Type: []string{"boolean"},
23718 Format: "",
23719 },
23720 },
23721 },
23722 Required: []string{"resourceName"},
23723 },
23724 },
23725 Dependencies: []string{
23726 "kubevirt.io/api/core/v1.USBSelector"},
23727 }
23728 }
23729
23730 func schema_kubevirtio_api_core_v1_USBSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
23731 return common.OpenAPIDefinition{
23732 Schema: spec.Schema{
23733 SchemaProps: spec.SchemaProps{
23734 Type: []string{"object"},
23735 Properties: map[string]spec.Schema{
23736 "vendor": {
23737 SchemaProps: spec.SchemaProps{
23738 Default: "",
23739 Type: []string{"string"},
23740 Format: "",
23741 },
23742 },
23743 "product": {
23744 SchemaProps: spec.SchemaProps{
23745 Default: "",
23746 Type: []string{"string"},
23747 Format: "",
23748 },
23749 },
23750 },
23751 Required: []string{"vendor", "product"},
23752 },
23753 },
23754 }
23755 }
23756
23757 func schema_kubevirtio_api_core_v1_UnpauseOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23758 return common.OpenAPIDefinition{
23759 Schema: spec.Schema{
23760 SchemaProps: spec.SchemaProps{
23761 Description: "UnpauseOptions may be provided on unpause request.",
23762 Type: []string{"object"},
23763 Properties: map[string]spec.Schema{
23764 "kind": {
23765 SchemaProps: spec.SchemaProps{
23766 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
23767 Type: []string{"string"},
23768 Format: "",
23769 },
23770 },
23771 "apiVersion": {
23772 SchemaProps: spec.SchemaProps{
23773 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
23774 Type: []string{"string"},
23775 Format: "",
23776 },
23777 },
23778 "dryRun": {
23779 VendorExtensible: spec.VendorExtensible{
23780 Extensions: spec.Extensions{
23781 "x-kubernetes-list-type": "atomic",
23782 },
23783 },
23784 SchemaProps: spec.SchemaProps{
23785 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
23786 Type: []string{"array"},
23787 Items: &spec.SchemaOrArray{
23788 Schema: &spec.Schema{
23789 SchemaProps: spec.SchemaProps{
23790 Default: "",
23791 Type: []string{"string"},
23792 Format: "",
23793 },
23794 },
23795 },
23796 },
23797 },
23798 },
23799 },
23800 },
23801 }
23802 }
23803
23804 func schema_kubevirtio_api_core_v1_UserPasswordAccessCredential(ref common.ReferenceCallback) common.OpenAPIDefinition {
23805 return common.OpenAPIDefinition{
23806 Schema: spec.Schema{
23807 SchemaProps: spec.SchemaProps{
23808 Description: "UserPasswordAccessCredential represents a source and propagation method for injecting user passwords into a vm guest Only one of its members may be specified.",
23809 Type: []string{"object"},
23810 Properties: map[string]spec.Schema{
23811 "source": {
23812 SchemaProps: spec.SchemaProps{
23813 Description: "Source represents where the user passwords are pulled from",
23814 Default: map[string]interface{}{},
23815 Ref: ref("kubevirt.io/api/core/v1.UserPasswordAccessCredentialSource"),
23816 },
23817 },
23818 "propagationMethod": {
23819 SchemaProps: spec.SchemaProps{
23820 Description: "propagationMethod represents how the user passwords are injected into the vm guest.",
23821 Default: map[string]interface{}{},
23822 Ref: ref("kubevirt.io/api/core/v1.UserPasswordAccessCredentialPropagationMethod"),
23823 },
23824 },
23825 },
23826 Required: []string{"source", "propagationMethod"},
23827 },
23828 },
23829 Dependencies: []string{
23830 "kubevirt.io/api/core/v1.UserPasswordAccessCredentialPropagationMethod", "kubevirt.io/api/core/v1.UserPasswordAccessCredentialSource"},
23831 }
23832 }
23833
23834 func schema_kubevirtio_api_core_v1_UserPasswordAccessCredentialPropagationMethod(ref common.ReferenceCallback) common.OpenAPIDefinition {
23835 return common.OpenAPIDefinition{
23836 Schema: spec.Schema{
23837 SchemaProps: spec.SchemaProps{
23838 Description: "UserPasswordAccessCredentialPropagationMethod represents the method used to inject a user passwords into the vm guest. Only one of its members may be specified.",
23839 Type: []string{"object"},
23840 Properties: map[string]spec.Schema{
23841 "qemuGuestAgent": {
23842 SchemaProps: spec.SchemaProps{
23843 Description: "QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest.",
23844 Ref: ref("kubevirt.io/api/core/v1.QemuGuestAgentUserPasswordAccessCredentialPropagation"),
23845 },
23846 },
23847 },
23848 },
23849 },
23850 Dependencies: []string{
23851 "kubevirt.io/api/core/v1.QemuGuestAgentUserPasswordAccessCredentialPropagation"},
23852 }
23853 }
23854
23855 func schema_kubevirtio_api_core_v1_UserPasswordAccessCredentialSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
23856 return common.OpenAPIDefinition{
23857 Schema: spec.Schema{
23858 SchemaProps: spec.SchemaProps{
23859 Description: "UserPasswordAccessCredentialSource represents where to retrieve the user password credentials Only one of its members may be specified.",
23860 Type: []string{"object"},
23861 Properties: map[string]spec.Schema{
23862 "secret": {
23863 SchemaProps: spec.SchemaProps{
23864 Description: "Secret means that the access credential is pulled from a kubernetes secret",
23865 Ref: ref("kubevirt.io/api/core/v1.AccessCredentialSecretSource"),
23866 },
23867 },
23868 },
23869 },
23870 },
23871 Dependencies: []string{
23872 "kubevirt.io/api/core/v1.AccessCredentialSecretSource"},
23873 }
23874 }
23875
23876 func schema_kubevirtio_api_core_v1_VGPUDisplayOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23877 return common.OpenAPIDefinition{
23878 Schema: spec.Schema{
23879 SchemaProps: spec.SchemaProps{
23880 Type: []string{"object"},
23881 Properties: map[string]spec.Schema{
23882 "enabled": {
23883 SchemaProps: spec.SchemaProps{
23884 Description: "Enabled determines if a display addapter backed by a vGPU should be enabled or disabled on the guest. Defaults to true.",
23885 Type: []string{"boolean"},
23886 Format: "",
23887 },
23888 },
23889 "ramFB": {
23890 SchemaProps: spec.SchemaProps{
23891 Description: "Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true.",
23892 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
23893 },
23894 },
23895 },
23896 },
23897 },
23898 Dependencies: []string{
23899 "kubevirt.io/api/core/v1.FeatureState"},
23900 }
23901 }
23902
23903 func schema_kubevirtio_api_core_v1_VGPUOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23904 return common.OpenAPIDefinition{
23905 Schema: spec.Schema{
23906 SchemaProps: spec.SchemaProps{
23907 Type: []string{"object"},
23908 Properties: map[string]spec.Schema{
23909 "display": {
23910 SchemaProps: spec.SchemaProps{
23911 Ref: ref("kubevirt.io/api/core/v1.VGPUDisplayOptions"),
23912 },
23913 },
23914 },
23915 },
23916 },
23917 Dependencies: []string{
23918 "kubevirt.io/api/core/v1.VGPUDisplayOptions"},
23919 }
23920 }
23921
23922 func schema_kubevirtio_api_core_v1_VMISelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
23923 return common.OpenAPIDefinition{
23924 Schema: spec.Schema{
23925 SchemaProps: spec.SchemaProps{
23926 Type: []string{"object"},
23927 Properties: map[string]spec.Schema{
23928 "name": {
23929 SchemaProps: spec.SchemaProps{
23930 Description: "Name of the VirtualMachineInstance to migrate",
23931 Default: "",
23932 Type: []string{"string"},
23933 Format: "",
23934 },
23935 },
23936 },
23937 Required: []string{"name"},
23938 },
23939 },
23940 }
23941 }
23942
23943 func schema_kubevirtio_api_core_v1_VSOCKOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
23944 return common.OpenAPIDefinition{
23945 Schema: spec.Schema{
23946 SchemaProps: spec.SchemaProps{
23947 Type: []string{"object"},
23948 Properties: map[string]spec.Schema{
23949 "targetPort": {
23950 SchemaProps: spec.SchemaProps{
23951 Default: 0,
23952 Type: []string{"integer"},
23953 Format: "int64",
23954 },
23955 },
23956 "useTLS": {
23957 SchemaProps: spec.SchemaProps{
23958 Type: []string{"boolean"},
23959 Format: "",
23960 },
23961 },
23962 },
23963 Required: []string{"targetPort"},
23964 },
23965 },
23966 }
23967 }
23968
23969 func schema_kubevirtio_api_core_v1_VirtualMachine(ref common.ReferenceCallback) common.OpenAPIDefinition {
23970 return common.OpenAPIDefinition{
23971 Schema: spec.Schema{
23972 SchemaProps: spec.SchemaProps{
23973 Description: "VirtualMachine handles the VirtualMachines that are not running or are in a stopped state The VirtualMachine contains the template to create the VirtualMachineInstance. It also mirrors the running state of the created VirtualMachineInstance in its status.",
23974 Type: []string{"object"},
23975 Properties: map[string]spec.Schema{
23976 "kind": {
23977 SchemaProps: spec.SchemaProps{
23978 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
23979 Type: []string{"string"},
23980 Format: "",
23981 },
23982 },
23983 "apiVersion": {
23984 SchemaProps: spec.SchemaProps{
23985 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
23986 Type: []string{"string"},
23987 Format: "",
23988 },
23989 },
23990 "metadata": {
23991 SchemaProps: spec.SchemaProps{
23992 Default: map[string]interface{}{},
23993 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
23994 },
23995 },
23996 "spec": {
23997 SchemaProps: spec.SchemaProps{
23998 Description: "Spec contains the specification of VirtualMachineInstance created",
23999 Default: map[string]interface{}{},
24000 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineSpec"),
24001 },
24002 },
24003 "status": {
24004 SchemaProps: spec.SchemaProps{
24005 Description: "Status holds the current state of the controller and brief information about its associated VirtualMachineInstance",
24006 Default: map[string]interface{}{},
24007 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineStatus"),
24008 },
24009 },
24010 },
24011 Required: []string{"spec"},
24012 },
24013 },
24014 Dependencies: []string{
24015 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineSpec", "kubevirt.io/api/core/v1.VirtualMachineStatus"},
24016 }
24017 }
24018
24019 func schema_kubevirtio_api_core_v1_VirtualMachineCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
24020 return common.OpenAPIDefinition{
24021 Schema: spec.Schema{
24022 SchemaProps: spec.SchemaProps{
24023 Description: "VirtualMachineCondition represents the state of VirtualMachine",
24024 Type: []string{"object"},
24025 Properties: map[string]spec.Schema{
24026 "type": {
24027 SchemaProps: spec.SchemaProps{
24028 Default: "",
24029 Type: []string{"string"},
24030 Format: "",
24031 },
24032 },
24033 "status": {
24034 SchemaProps: spec.SchemaProps{
24035 Default: "",
24036 Type: []string{"string"},
24037 Format: "",
24038 },
24039 },
24040 "lastProbeTime": {
24041 SchemaProps: spec.SchemaProps{
24042 Default: map[string]interface{}{},
24043 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24044 },
24045 },
24046 "lastTransitionTime": {
24047 SchemaProps: spec.SchemaProps{
24048 Default: map[string]interface{}{},
24049 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24050 },
24051 },
24052 "reason": {
24053 SchemaProps: spec.SchemaProps{
24054 Type: []string{"string"},
24055 Format: "",
24056 },
24057 },
24058 "message": {
24059 SchemaProps: spec.SchemaProps{
24060 Type: []string{"string"},
24061 Format: "",
24062 },
24063 },
24064 },
24065 Required: []string{"type", "status"},
24066 },
24067 },
24068 Dependencies: []string{
24069 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
24070 }
24071 }
24072
24073 func schema_kubevirtio_api_core_v1_VirtualMachineInstance(ref common.ReferenceCallback) common.OpenAPIDefinition {
24074 return common.OpenAPIDefinition{
24075 Schema: spec.Schema{
24076 SchemaProps: spec.SchemaProps{
24077 Description: "VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.",
24078 Type: []string{"object"},
24079 Properties: map[string]spec.Schema{
24080 "kind": {
24081 SchemaProps: spec.SchemaProps{
24082 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24083 Type: []string{"string"},
24084 Format: "",
24085 },
24086 },
24087 "apiVersion": {
24088 SchemaProps: spec.SchemaProps{
24089 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24090 Type: []string{"string"},
24091 Format: "",
24092 },
24093 },
24094 "metadata": {
24095 SchemaProps: spec.SchemaProps{
24096 Default: map[string]interface{}{},
24097 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
24098 },
24099 },
24100 "spec": {
24101 SchemaProps: spec.SchemaProps{
24102 Description: "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
24103 Default: map[string]interface{}{},
24104 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceSpec"),
24105 },
24106 },
24107 "status": {
24108 SchemaProps: spec.SchemaProps{
24109 Description: "Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.",
24110 Default: map[string]interface{}{},
24111 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceStatus"),
24112 },
24113 },
24114 },
24115 Required: []string{"spec"},
24116 },
24117 },
24118 Dependencies: []string{
24119 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceSpec", "kubevirt.io/api/core/v1.VirtualMachineInstanceStatus"},
24120 }
24121 }
24122
24123 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
24124 return common.OpenAPIDefinition{
24125 Schema: spec.Schema{
24126 SchemaProps: spec.SchemaProps{
24127 Type: []string{"object"},
24128 Properties: map[string]spec.Schema{
24129 "type": {
24130 SchemaProps: spec.SchemaProps{
24131 Default: "",
24132 Type: []string{"string"},
24133 Format: "",
24134 },
24135 },
24136 "status": {
24137 SchemaProps: spec.SchemaProps{
24138 Default: "",
24139 Type: []string{"string"},
24140 Format: "",
24141 },
24142 },
24143 "lastProbeTime": {
24144 SchemaProps: spec.SchemaProps{
24145 Default: map[string]interface{}{},
24146 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24147 },
24148 },
24149 "lastTransitionTime": {
24150 SchemaProps: spec.SchemaProps{
24151 Default: map[string]interface{}{},
24152 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24153 },
24154 },
24155 "reason": {
24156 SchemaProps: spec.SchemaProps{
24157 Type: []string{"string"},
24158 Format: "",
24159 },
24160 },
24161 "message": {
24162 SchemaProps: spec.SchemaProps{
24163 Type: []string{"string"},
24164 Format: "",
24165 },
24166 },
24167 },
24168 Required: []string{"type", "status"},
24169 },
24170 },
24171 Dependencies: []string{
24172 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
24173 }
24174 }
24175
24176 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystem(ref common.ReferenceCallback) common.OpenAPIDefinition {
24177 return common.OpenAPIDefinition{
24178 Schema: spec.Schema{
24179 SchemaProps: spec.SchemaProps{
24180 Description: "VirtualMachineInstanceFileSystem represents guest os disk",
24181 Type: []string{"object"},
24182 Properties: map[string]spec.Schema{
24183 "diskName": {
24184 SchemaProps: spec.SchemaProps{
24185 Default: "",
24186 Type: []string{"string"},
24187 Format: "",
24188 },
24189 },
24190 "mountPoint": {
24191 SchemaProps: spec.SchemaProps{
24192 Default: "",
24193 Type: []string{"string"},
24194 Format: "",
24195 },
24196 },
24197 "fileSystemType": {
24198 SchemaProps: spec.SchemaProps{
24199 Default: "",
24200 Type: []string{"string"},
24201 Format: "",
24202 },
24203 },
24204 "usedBytes": {
24205 SchemaProps: spec.SchemaProps{
24206 Default: 0,
24207 Type: []string{"integer"},
24208 Format: "int32",
24209 },
24210 },
24211 "totalBytes": {
24212 SchemaProps: spec.SchemaProps{
24213 Default: 0,
24214 Type: []string{"integer"},
24215 Format: "int32",
24216 },
24217 },
24218 "disk": {
24219 SchemaProps: spec.SchemaProps{
24220 Type: []string{"array"},
24221 Items: &spec.SchemaOrArray{
24222 Schema: &spec.Schema{
24223 SchemaProps: spec.SchemaProps{
24224 Default: map[string]interface{}{},
24225 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemDisk"),
24226 },
24227 },
24228 },
24229 },
24230 },
24231 },
24232 Required: []string{"diskName", "mountPoint", "fileSystemType", "usedBytes", "totalBytes"},
24233 },
24234 },
24235 Dependencies: []string{
24236 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemDisk"},
24237 }
24238 }
24239
24240 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemDisk(ref common.ReferenceCallback) common.OpenAPIDefinition {
24241 return common.OpenAPIDefinition{
24242 Schema: spec.Schema{
24243 SchemaProps: spec.SchemaProps{
24244 Description: "VirtualMachineInstanceFileSystemDisk represents the guest os FS disks",
24245 Type: []string{"object"},
24246 Properties: map[string]spec.Schema{
24247 "serial": {
24248 SchemaProps: spec.SchemaProps{
24249 Type: []string{"string"},
24250 Format: "",
24251 },
24252 },
24253 "busType": {
24254 SchemaProps: spec.SchemaProps{
24255 Default: "",
24256 Type: []string{"string"},
24257 Format: "",
24258 },
24259 },
24260 },
24261 Required: []string{"busType"},
24262 },
24263 },
24264 }
24265 }
24266
24267 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
24268 return common.OpenAPIDefinition{
24269 Schema: spec.Schema{
24270 SchemaProps: spec.SchemaProps{
24271 Description: "VirtualMachineInstanceFileSystemInfo represents information regarding single guest os filesystem",
24272 Type: []string{"object"},
24273 Properties: map[string]spec.Schema{
24274 "disks": {
24275 SchemaProps: spec.SchemaProps{
24276 Type: []string{"array"},
24277 Items: &spec.SchemaOrArray{
24278 Schema: &spec.Schema{
24279 SchemaProps: spec.SchemaProps{
24280 Default: map[string]interface{}{},
24281 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystem"),
24282 },
24283 },
24284 },
24285 },
24286 },
24287 },
24288 Required: []string{"disks"},
24289 },
24290 },
24291 Dependencies: []string{
24292 "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystem"},
24293 }
24294 }
24295
24296 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceFileSystemList(ref common.ReferenceCallback) common.OpenAPIDefinition {
24297 return common.OpenAPIDefinition{
24298 Schema: spec.Schema{
24299 SchemaProps: spec.SchemaProps{
24300 Description: "VirtualMachineInstanceFileSystemList comprises the list of all filesystems on guest machine",
24301 Type: []string{"object"},
24302 Properties: map[string]spec.Schema{
24303 "kind": {
24304 SchemaProps: spec.SchemaProps{
24305 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24306 Type: []string{"string"},
24307 Format: "",
24308 },
24309 },
24310 "apiVersion": {
24311 SchemaProps: spec.SchemaProps{
24312 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24313 Type: []string{"string"},
24314 Format: "",
24315 },
24316 },
24317 "metadata": {
24318 SchemaProps: spec.SchemaProps{
24319 Default: map[string]interface{}{},
24320 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
24321 },
24322 },
24323 "items": {
24324 SchemaProps: spec.SchemaProps{
24325 Type: []string{"array"},
24326 Items: &spec.SchemaOrArray{
24327 Schema: &spec.Schema{
24328 SchemaProps: spec.SchemaProps{
24329 Default: map[string]interface{}{},
24330 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystem"),
24331 },
24332 },
24333 },
24334 },
24335 },
24336 },
24337 Required: []string{"items"},
24338 },
24339 },
24340 Dependencies: []string{
24341 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystem"},
24342 }
24343 }
24344
24345 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestAgentInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
24346 return common.OpenAPIDefinition{
24347 Schema: spec.Schema{
24348 SchemaProps: spec.SchemaProps{
24349 Description: "VirtualMachineInstanceGuestAgentInfo represents information from the installed guest agent",
24350 Type: []string{"object"},
24351 Properties: map[string]spec.Schema{
24352 "kind": {
24353 SchemaProps: spec.SchemaProps{
24354 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24355 Type: []string{"string"},
24356 Format: "",
24357 },
24358 },
24359 "apiVersion": {
24360 SchemaProps: spec.SchemaProps{
24361 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24362 Type: []string{"string"},
24363 Format: "",
24364 },
24365 },
24366 "guestAgentVersion": {
24367 SchemaProps: spec.SchemaProps{
24368 Description: "GAVersion is a version of currently installed guest agent",
24369 Type: []string{"string"},
24370 Format: "",
24371 },
24372 },
24373 "supportedCommands": {
24374 VendorExtensible: spec.VendorExtensible{
24375 Extensions: spec.Extensions{
24376 "x-kubernetes-list-type": "atomic",
24377 },
24378 },
24379 SchemaProps: spec.SchemaProps{
24380 Description: "Return command list the guest agent supports",
24381 Type: []string{"array"},
24382 Items: &spec.SchemaOrArray{
24383 Schema: &spec.Schema{
24384 SchemaProps: spec.SchemaProps{
24385 Default: map[string]interface{}{},
24386 Ref: ref("kubevirt.io/api/core/v1.GuestAgentCommandInfo"),
24387 },
24388 },
24389 },
24390 },
24391 },
24392 "hostname": {
24393 SchemaProps: spec.SchemaProps{
24394 Description: "Hostname represents FQDN of a guest",
24395 Type: []string{"string"},
24396 Format: "",
24397 },
24398 },
24399 "os": {
24400 SchemaProps: spec.SchemaProps{
24401 Description: "OS contains the guest operating system information",
24402 Default: map[string]interface{}{},
24403 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSInfo"),
24404 },
24405 },
24406 "timezone": {
24407 SchemaProps: spec.SchemaProps{
24408 Description: "Timezone is guest os current timezone",
24409 Type: []string{"string"},
24410 Format: "",
24411 },
24412 },
24413 "userList": {
24414 SchemaProps: spec.SchemaProps{
24415 Description: "UserList is a list of active guest OS users",
24416 Type: []string{"array"},
24417 Items: &spec.SchemaOrArray{
24418 Schema: &spec.Schema{
24419 SchemaProps: spec.SchemaProps{
24420 Default: map[string]interface{}{},
24421 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUser"),
24422 },
24423 },
24424 },
24425 },
24426 },
24427 "fsInfo": {
24428 SchemaProps: spec.SchemaProps{
24429 Description: "FSInfo is a guest os filesystem information containing the disk mapping and disk mounts with usage",
24430 Default: map[string]interface{}{},
24431 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemInfo"),
24432 },
24433 },
24434 "fsFreezeStatus": {
24435 SchemaProps: spec.SchemaProps{
24436 Description: "FSFreezeStatus is the state of the fs of the guest it can be either frozen or thawed",
24437 Type: []string{"string"},
24438 Format: "",
24439 },
24440 },
24441 },
24442 },
24443 },
24444 Dependencies: []string{
24445 "kubevirt.io/api/core/v1.GuestAgentCommandInfo", "kubevirt.io/api/core/v1.VirtualMachineInstanceFileSystemInfo", "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSInfo", "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUser"},
24446 }
24447 }
24448
24449 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
24450 return common.OpenAPIDefinition{
24451 Schema: spec.Schema{
24452 SchemaProps: spec.SchemaProps{
24453 Type: []string{"object"},
24454 Properties: map[string]spec.Schema{
24455 "name": {
24456 SchemaProps: spec.SchemaProps{
24457 Description: "Name of the Guest OS",
24458 Type: []string{"string"},
24459 Format: "",
24460 },
24461 },
24462 "kernelRelease": {
24463 SchemaProps: spec.SchemaProps{
24464 Description: "Guest OS Kernel Release",
24465 Type: []string{"string"},
24466 Format: "",
24467 },
24468 },
24469 "version": {
24470 SchemaProps: spec.SchemaProps{
24471 Description: "Guest OS Version",
24472 Type: []string{"string"},
24473 Format: "",
24474 },
24475 },
24476 "prettyName": {
24477 SchemaProps: spec.SchemaProps{
24478 Description: "Guest OS Pretty Name",
24479 Type: []string{"string"},
24480 Format: "",
24481 },
24482 },
24483 "versionId": {
24484 SchemaProps: spec.SchemaProps{
24485 Description: "Version ID of the Guest OS",
24486 Type: []string{"string"},
24487 Format: "",
24488 },
24489 },
24490 "kernelVersion": {
24491 SchemaProps: spec.SchemaProps{
24492 Description: "Kernel version of the Guest OS",
24493 Type: []string{"string"},
24494 Format: "",
24495 },
24496 },
24497 "machine": {
24498 SchemaProps: spec.SchemaProps{
24499 Description: "Machine type of the Guest OS",
24500 Type: []string{"string"},
24501 Format: "",
24502 },
24503 },
24504 "id": {
24505 SchemaProps: spec.SchemaProps{
24506 Description: "Guest OS Id",
24507 Type: []string{"string"},
24508 Format: "",
24509 },
24510 },
24511 },
24512 },
24513 },
24514 }
24515 }
24516
24517 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSUser(ref common.ReferenceCallback) common.OpenAPIDefinition {
24518 return common.OpenAPIDefinition{
24519 Schema: spec.Schema{
24520 SchemaProps: spec.SchemaProps{
24521 Description: "VirtualMachineGuestOSUser is the single user of the guest os",
24522 Type: []string{"object"},
24523 Properties: map[string]spec.Schema{
24524 "userName": {
24525 SchemaProps: spec.SchemaProps{
24526 Default: "",
24527 Type: []string{"string"},
24528 Format: "",
24529 },
24530 },
24531 "domain": {
24532 SchemaProps: spec.SchemaProps{
24533 Type: []string{"string"},
24534 Format: "",
24535 },
24536 },
24537 "loginTime": {
24538 SchemaProps: spec.SchemaProps{
24539 Type: []string{"number"},
24540 Format: "double",
24541 },
24542 },
24543 },
24544 Required: []string{"userName"},
24545 },
24546 },
24547 }
24548 }
24549
24550 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceGuestOSUserList(ref common.ReferenceCallback) common.OpenAPIDefinition {
24551 return common.OpenAPIDefinition{
24552 Schema: spec.Schema{
24553 SchemaProps: spec.SchemaProps{
24554 Description: "VirtualMachineInstanceGuestOSUserList comprises the list of all active users on guest machine",
24555 Type: []string{"object"},
24556 Properties: map[string]spec.Schema{
24557 "kind": {
24558 SchemaProps: spec.SchemaProps{
24559 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24560 Type: []string{"string"},
24561 Format: "",
24562 },
24563 },
24564 "apiVersion": {
24565 SchemaProps: spec.SchemaProps{
24566 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24567 Type: []string{"string"},
24568 Format: "",
24569 },
24570 },
24571 "metadata": {
24572 SchemaProps: spec.SchemaProps{
24573 Default: map[string]interface{}{},
24574 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
24575 },
24576 },
24577 "items": {
24578 SchemaProps: spec.SchemaProps{
24579 Type: []string{"array"},
24580 Items: &spec.SchemaOrArray{
24581 Schema: &spec.Schema{
24582 SchemaProps: spec.SchemaProps{
24583 Default: map[string]interface{}{},
24584 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUser"),
24585 },
24586 },
24587 },
24588 },
24589 },
24590 },
24591 Required: []string{"items"},
24592 },
24593 },
24594 Dependencies: []string{
24595 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSUser"},
24596 }
24597 }
24598
24599 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
24600 return common.OpenAPIDefinition{
24601 Schema: spec.Schema{
24602 SchemaProps: spec.SchemaProps{
24603 Description: "VirtualMachineInstanceList is a list of VirtualMachines",
24604 Type: []string{"object"},
24605 Properties: map[string]spec.Schema{
24606 "kind": {
24607 SchemaProps: spec.SchemaProps{
24608 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24609 Type: []string{"string"},
24610 Format: "",
24611 },
24612 },
24613 "apiVersion": {
24614 SchemaProps: spec.SchemaProps{
24615 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24616 Type: []string{"string"},
24617 Format: "",
24618 },
24619 },
24620 "metadata": {
24621 SchemaProps: spec.SchemaProps{
24622 Default: map[string]interface{}{},
24623 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
24624 },
24625 },
24626 "items": {
24627 SchemaProps: spec.SchemaProps{
24628 Type: []string{"array"},
24629 Items: &spec.SchemaOrArray{
24630 Schema: &spec.Schema{
24631 SchemaProps: spec.SchemaProps{
24632 Default: map[string]interface{}{},
24633 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstance"),
24634 },
24635 },
24636 },
24637 },
24638 },
24639 },
24640 Required: []string{"items"},
24641 },
24642 },
24643 Dependencies: []string{
24644 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstance"},
24645 }
24646 }
24647
24648 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigration(ref common.ReferenceCallback) common.OpenAPIDefinition {
24649 return common.OpenAPIDefinition{
24650 Schema: spec.Schema{
24651 SchemaProps: spec.SchemaProps{
24652 Description: "VirtualMachineInstanceMigration represents the object tracking a VMI's migration to another host in the cluster",
24653 Type: []string{"object"},
24654 Properties: map[string]spec.Schema{
24655 "kind": {
24656 SchemaProps: spec.SchemaProps{
24657 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24658 Type: []string{"string"},
24659 Format: "",
24660 },
24661 },
24662 "apiVersion": {
24663 SchemaProps: spec.SchemaProps{
24664 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24665 Type: []string{"string"},
24666 Format: "",
24667 },
24668 },
24669 "metadata": {
24670 SchemaProps: spec.SchemaProps{
24671 Default: map[string]interface{}{},
24672 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
24673 },
24674 },
24675 "spec": {
24676 SchemaProps: spec.SchemaProps{
24677 Default: map[string]interface{}{},
24678 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationSpec"),
24679 },
24680 },
24681 "status": {
24682 SchemaProps: spec.SchemaProps{
24683 Default: map[string]interface{}{},
24684 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationStatus"),
24685 },
24686 },
24687 },
24688 Required: []string{"spec"},
24689 },
24690 },
24691 Dependencies: []string{
24692 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationSpec", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationStatus"},
24693 }
24694 }
24695
24696 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
24697 return common.OpenAPIDefinition{
24698 Schema: spec.Schema{
24699 SchemaProps: spec.SchemaProps{
24700 Type: []string{"object"},
24701 Properties: map[string]spec.Schema{
24702 "type": {
24703 SchemaProps: spec.SchemaProps{
24704 Default: "",
24705 Type: []string{"string"},
24706 Format: "",
24707 },
24708 },
24709 "status": {
24710 SchemaProps: spec.SchemaProps{
24711 Default: "",
24712 Type: []string{"string"},
24713 Format: "",
24714 },
24715 },
24716 "lastProbeTime": {
24717 SchemaProps: spec.SchemaProps{
24718 Default: map[string]interface{}{},
24719 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24720 },
24721 },
24722 "lastTransitionTime": {
24723 SchemaProps: spec.SchemaProps{
24724 Default: map[string]interface{}{},
24725 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24726 },
24727 },
24728 "reason": {
24729 SchemaProps: spec.SchemaProps{
24730 Type: []string{"string"},
24731 Format: "",
24732 },
24733 },
24734 "message": {
24735 SchemaProps: spec.SchemaProps{
24736 Type: []string{"string"},
24737 Format: "",
24738 },
24739 },
24740 },
24741 Required: []string{"type", "status"},
24742 },
24743 },
24744 Dependencies: []string{
24745 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
24746 }
24747 }
24748
24749 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationList(ref common.ReferenceCallback) common.OpenAPIDefinition {
24750 return common.OpenAPIDefinition{
24751 Schema: spec.Schema{
24752 SchemaProps: spec.SchemaProps{
24753 Description: "VirtualMachineInstanceMigrationList is a list of VirtualMachineMigrations",
24754 Type: []string{"object"},
24755 Properties: map[string]spec.Schema{
24756 "kind": {
24757 SchemaProps: spec.SchemaProps{
24758 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
24759 Type: []string{"string"},
24760 Format: "",
24761 },
24762 },
24763 "apiVersion": {
24764 SchemaProps: spec.SchemaProps{
24765 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
24766 Type: []string{"string"},
24767 Format: "",
24768 },
24769 },
24770 "metadata": {
24771 SchemaProps: spec.SchemaProps{
24772 Default: map[string]interface{}{},
24773 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
24774 },
24775 },
24776 "items": {
24777 SchemaProps: spec.SchemaProps{
24778 Type: []string{"array"},
24779 Items: &spec.SchemaOrArray{
24780 Schema: &spec.Schema{
24781 SchemaProps: spec.SchemaProps{
24782 Default: map[string]interface{}{},
24783 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigration"),
24784 },
24785 },
24786 },
24787 },
24788 },
24789 },
24790 Required: []string{"items"},
24791 },
24792 },
24793 Dependencies: []string{
24794 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigration"},
24795 }
24796 }
24797
24798 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationPhaseTransitionTimestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
24799 return common.OpenAPIDefinition{
24800 Schema: spec.Schema{
24801 SchemaProps: spec.SchemaProps{
24802 Description: "VirtualMachineInstanceMigrationPhaseTransitionTimestamp gives a timestamp in relation to when a phase is set on a vmi",
24803 Type: []string{"object"},
24804 Properties: map[string]spec.Schema{
24805 "phase": {
24806 SchemaProps: spec.SchemaProps{
24807 Description: "Phase is the status of the VirtualMachineInstanceMigrationPhase in kubernetes world. It is not the VirtualMachineInstanceMigrationPhase status, but partially correlates to it.",
24808 Type: []string{"string"},
24809 Format: "",
24810 },
24811 },
24812 "phaseTransitionTimestamp": {
24813 SchemaProps: spec.SchemaProps{
24814 Description: "PhaseTransitionTimestamp is the timestamp of when the phase change occurred",
24815 Default: map[string]interface{}{},
24816 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24817 },
24818 },
24819 },
24820 },
24821 },
24822 Dependencies: []string{
24823 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
24824 }
24825 }
24826
24827 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
24828 return common.OpenAPIDefinition{
24829 Schema: spec.Schema{
24830 SchemaProps: spec.SchemaProps{
24831 Type: []string{"object"},
24832 Properties: map[string]spec.Schema{
24833 "vmiName": {
24834 SchemaProps: spec.SchemaProps{
24835 Description: "The name of the VMI to perform the migration on. VMI must exist in the migration objects namespace",
24836 Type: []string{"string"},
24837 Format: "",
24838 },
24839 },
24840 },
24841 },
24842 },
24843 }
24844 }
24845
24846 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationState(ref common.ReferenceCallback) common.OpenAPIDefinition {
24847 return common.OpenAPIDefinition{
24848 Schema: spec.Schema{
24849 SchemaProps: spec.SchemaProps{
24850 Type: []string{"object"},
24851 Properties: map[string]spec.Schema{
24852 "startTimestamp": {
24853 SchemaProps: spec.SchemaProps{
24854 Description: "The time the migration action began",
24855 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24856 },
24857 },
24858 "endTimestamp": {
24859 SchemaProps: spec.SchemaProps{
24860 Description: "The time the migration action ended",
24861 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24862 },
24863 },
24864 "targetNodeDomainReadyTimestamp": {
24865 SchemaProps: spec.SchemaProps{
24866 Description: "The timestamp at which the target node detects the domain is active",
24867 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
24868 },
24869 },
24870 "targetNodeDomainDetected": {
24871 SchemaProps: spec.SchemaProps{
24872 Description: "The Target Node has seen the Domain Start Event",
24873 Type: []string{"boolean"},
24874 Format: "",
24875 },
24876 },
24877 "targetNodeAddress": {
24878 SchemaProps: spec.SchemaProps{
24879 Description: "The address of the target node to use for the migration",
24880 Type: []string{"string"},
24881 Format: "",
24882 },
24883 },
24884 "targetDirectMigrationNodePorts": {
24885 SchemaProps: spec.SchemaProps{
24886 Description: "The list of ports opened for live migration on the destination node",
24887 Type: []string{"object"},
24888 AdditionalProperties: &spec.SchemaOrBool{
24889 Allows: true,
24890 Schema: &spec.Schema{
24891 SchemaProps: spec.SchemaProps{
24892 Default: 0,
24893 Type: []string{"integer"},
24894 Format: "int32",
24895 },
24896 },
24897 },
24898 },
24899 },
24900 "targetNode": {
24901 SchemaProps: spec.SchemaProps{
24902 Description: "The target node that the VMI is moving to",
24903 Type: []string{"string"},
24904 Format: "",
24905 },
24906 },
24907 "targetPod": {
24908 SchemaProps: spec.SchemaProps{
24909 Description: "The target pod that the VMI is moving to",
24910 Type: []string{"string"},
24911 Format: "",
24912 },
24913 },
24914 "targetAttachmentPodUID": {
24915 SchemaProps: spec.SchemaProps{
24916 Description: "The UID of the target attachment pod for hotplug volumes",
24917 Type: []string{"string"},
24918 Format: "",
24919 },
24920 },
24921 "sourceNode": {
24922 SchemaProps: spec.SchemaProps{
24923 Description: "The source node that the VMI originated on",
24924 Type: []string{"string"},
24925 Format: "",
24926 },
24927 },
24928 "sourcePod": {
24929 SchemaProps: spec.SchemaProps{
24930 Type: []string{"string"},
24931 Format: "",
24932 },
24933 },
24934 "completed": {
24935 SchemaProps: spec.SchemaProps{
24936 Description: "Indicates the migration completed",
24937 Type: []string{"boolean"},
24938 Format: "",
24939 },
24940 },
24941 "failed": {
24942 SchemaProps: spec.SchemaProps{
24943 Description: "Indicates that the migration failed",
24944 Type: []string{"boolean"},
24945 Format: "",
24946 },
24947 },
24948 "abortRequested": {
24949 SchemaProps: spec.SchemaProps{
24950 Description: "Indicates that the migration has been requested to abort",
24951 Type: []string{"boolean"},
24952 Format: "",
24953 },
24954 },
24955 "abortStatus": {
24956 SchemaProps: spec.SchemaProps{
24957 Description: "Indicates the final status of the live migration abortion",
24958 Type: []string{"string"},
24959 Format: "",
24960 },
24961 },
24962 "failureReason": {
24963 SchemaProps: spec.SchemaProps{
24964 Description: "Contains the reason why the migration failed",
24965 Type: []string{"string"},
24966 Format: "",
24967 },
24968 },
24969 "migrationUid": {
24970 SchemaProps: spec.SchemaProps{
24971 Description: "The VirtualMachineInstanceMigration object associated with this migration",
24972 Type: []string{"string"},
24973 Format: "",
24974 },
24975 },
24976 "mode": {
24977 SchemaProps: spec.SchemaProps{
24978 Description: "Lets us know if the vmi is currently running pre or post copy migration",
24979 Type: []string{"string"},
24980 Format: "",
24981 },
24982 },
24983 "migrationPolicyName": {
24984 SchemaProps: spec.SchemaProps{
24985 Description: "Name of the migration policy. If string is empty, no policy is matched",
24986 Type: []string{"string"},
24987 Format: "",
24988 },
24989 },
24990 "migrationConfiguration": {
24991 SchemaProps: spec.SchemaProps{
24992 Description: "Migration configurations to apply",
24993 Ref: ref("kubevirt.io/api/core/v1.MigrationConfiguration"),
24994 },
24995 },
24996 "targetCPUSet": {
24997 VendorExtensible: spec.VendorExtensible{
24998 Extensions: spec.Extensions{
24999 "x-kubernetes-list-type": "atomic",
25000 },
25001 },
25002 SchemaProps: spec.SchemaProps{
25003 Description: "If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node",
25004 Type: []string{"array"},
25005 Items: &spec.SchemaOrArray{
25006 Schema: &spec.Schema{
25007 SchemaProps: spec.SchemaProps{
25008 Default: 0,
25009 Type: []string{"integer"},
25010 Format: "int32",
25011 },
25012 },
25013 },
25014 },
25015 },
25016 "targetNodeTopology": {
25017 SchemaProps: spec.SchemaProps{
25018 Description: "If the VMI requires dedicated CPUs, this field will hold the numa topology on the target node",
25019 Type: []string{"string"},
25020 Format: "",
25021 },
25022 },
25023 },
25024 },
25025 },
25026 Dependencies: []string{
25027 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/core/v1.MigrationConfiguration"},
25028 }
25029 }
25030
25031 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceMigrationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
25032 return common.OpenAPIDefinition{
25033 Schema: spec.Schema{
25034 SchemaProps: spec.SchemaProps{
25035 Description: "VirtualMachineInstanceMigration reprents information pertaining to a VMI's migration.",
25036 Type: []string{"object"},
25037 Properties: map[string]spec.Schema{
25038 "phase": {
25039 SchemaProps: spec.SchemaProps{
25040 Type: []string{"string"},
25041 Format: "",
25042 },
25043 },
25044 "conditions": {
25045 SchemaProps: spec.SchemaProps{
25046 Type: []string{"array"},
25047 Items: &spec.SchemaOrArray{
25048 Schema: &spec.Schema{
25049 SchemaProps: spec.SchemaProps{
25050 Default: map[string]interface{}{},
25051 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationCondition"),
25052 },
25053 },
25054 },
25055 },
25056 },
25057 "phaseTransitionTimestamps": {
25058 VendorExtensible: spec.VendorExtensible{
25059 Extensions: spec.Extensions{
25060 "x-kubernetes-list-type": "atomic",
25061 },
25062 },
25063 SchemaProps: spec.SchemaProps{
25064 Description: "PhaseTransitionTimestamp is the timestamp of when the last phase change occurred",
25065 Type: []string{"array"},
25066 Items: &spec.SchemaOrArray{
25067 Schema: &spec.Schema{
25068 SchemaProps: spec.SchemaProps{
25069 Default: map[string]interface{}{},
25070 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationPhaseTransitionTimestamp"),
25071 },
25072 },
25073 },
25074 },
25075 },
25076 "migrationState": {
25077 SchemaProps: spec.SchemaProps{
25078 Description: "Represents the status of a live migration",
25079 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationState"),
25080 },
25081 },
25082 },
25083 },
25084 },
25085 Dependencies: []string{
25086 "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationCondition", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationPhaseTransitionTimestamp", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationState"},
25087 }
25088 }
25089
25090 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceNetworkInterface(ref common.ReferenceCallback) common.OpenAPIDefinition {
25091 return common.OpenAPIDefinition{
25092 Schema: spec.Schema{
25093 SchemaProps: spec.SchemaProps{
25094 Type: []string{"object"},
25095 Properties: map[string]spec.Schema{
25096 "ipAddress": {
25097 SchemaProps: spec.SchemaProps{
25098 Description: "IP address of a Virtual Machine interface. It is always the first item of IPs",
25099 Type: []string{"string"},
25100 Format: "",
25101 },
25102 },
25103 "mac": {
25104 SchemaProps: spec.SchemaProps{
25105 Description: "Hardware address of a Virtual Machine interface",
25106 Type: []string{"string"},
25107 Format: "",
25108 },
25109 },
25110 "name": {
25111 SchemaProps: spec.SchemaProps{
25112 Description: "Name of the interface, corresponds to name of the network assigned to the interface",
25113 Type: []string{"string"},
25114 Format: "",
25115 },
25116 },
25117 "ipAddresses": {
25118 SchemaProps: spec.SchemaProps{
25119 Description: "List of all IP addresses of a Virtual Machine interface",
25120 Type: []string{"array"},
25121 Items: &spec.SchemaOrArray{
25122 Schema: &spec.Schema{
25123 SchemaProps: spec.SchemaProps{
25124 Default: "",
25125 Type: []string{"string"},
25126 Format: "",
25127 },
25128 },
25129 },
25130 },
25131 },
25132 "interfaceName": {
25133 SchemaProps: spec.SchemaProps{
25134 Description: "The interface name inside the Virtual Machine",
25135 Type: []string{"string"},
25136 Format: "",
25137 },
25138 },
25139 "infoSource": {
25140 SchemaProps: spec.SchemaProps{
25141 Description: "Specifies the origin of the interface data collected. values: domain, guest-agent, multus-status.",
25142 Type: []string{"string"},
25143 Format: "",
25144 },
25145 },
25146 "queueCount": {
25147 SchemaProps: spec.SchemaProps{
25148 Description: "Specifies how many queues are allocated by MultiQueue",
25149 Type: []string{"integer"},
25150 Format: "int32",
25151 },
25152 },
25153 },
25154 },
25155 },
25156 }
25157 }
25158
25159 func schema_kubevirtio_api_core_v1_VirtualMachineInstancePhaseTransitionTimestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
25160 return common.OpenAPIDefinition{
25161 Schema: spec.Schema{
25162 SchemaProps: spec.SchemaProps{
25163 Description: "VirtualMachineInstancePhaseTransitionTimestamp gives a timestamp in relation to when a phase is set on a vmi",
25164 Type: []string{"object"},
25165 Properties: map[string]spec.Schema{
25166 "phase": {
25167 SchemaProps: spec.SchemaProps{
25168 Description: "Phase is the status of the VirtualMachineInstance in kubernetes world. It is not the VirtualMachineInstance status, but partially correlates to it.",
25169 Type: []string{"string"},
25170 Format: "",
25171 },
25172 },
25173 "phaseTransitionTimestamp": {
25174 SchemaProps: spec.SchemaProps{
25175 Description: "PhaseTransitionTimestamp is the timestamp of when the phase change occurred",
25176 Default: map[string]interface{}{},
25177 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
25178 },
25179 },
25180 },
25181 },
25182 },
25183 Dependencies: []string{
25184 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
25185 }
25186 }
25187
25188 func schema_kubevirtio_api_core_v1_VirtualMachineInstancePreset(ref common.ReferenceCallback) common.OpenAPIDefinition {
25189 return common.OpenAPIDefinition{
25190 Schema: spec.Schema{
25191 SchemaProps: spec.SchemaProps{
25192 Description: "Deprecated for removal in v2, please use VirtualMachineInstanceType and VirtualMachinePreference instead.\n\nVirtualMachineInstancePreset defines a VMI spec.domain to be applied to all VMIs that match the provided label selector More info: https://kubevirt.io/user-guide/virtual_machines/presets/#overrides",
25193 Type: []string{"object"},
25194 Properties: map[string]spec.Schema{
25195 "kind": {
25196 SchemaProps: spec.SchemaProps{
25197 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
25198 Type: []string{"string"},
25199 Format: "",
25200 },
25201 },
25202 "apiVersion": {
25203 SchemaProps: spec.SchemaProps{
25204 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
25205 Type: []string{"string"},
25206 Format: "",
25207 },
25208 },
25209 "metadata": {
25210 SchemaProps: spec.SchemaProps{
25211 Default: map[string]interface{}{},
25212 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
25213 },
25214 },
25215 "spec": {
25216 SchemaProps: spec.SchemaProps{
25217 Description: "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
25218 Default: map[string]interface{}{},
25219 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstancePresetSpec"),
25220 },
25221 },
25222 },
25223 },
25224 },
25225 Dependencies: []string{
25226 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineInstancePresetSpec"},
25227 }
25228 }
25229
25230 func schema_kubevirtio_api_core_v1_VirtualMachineInstancePresetList(ref common.ReferenceCallback) common.OpenAPIDefinition {
25231 return common.OpenAPIDefinition{
25232 Schema: spec.Schema{
25233 SchemaProps: spec.SchemaProps{
25234 Description: "VirtualMachineInstancePresetList is a list of VirtualMachinePresets",
25235 Type: []string{"object"},
25236 Properties: map[string]spec.Schema{
25237 "kind": {
25238 SchemaProps: spec.SchemaProps{
25239 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
25240 Type: []string{"string"},
25241 Format: "",
25242 },
25243 },
25244 "apiVersion": {
25245 SchemaProps: spec.SchemaProps{
25246 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
25247 Type: []string{"string"},
25248 Format: "",
25249 },
25250 },
25251 "metadata": {
25252 SchemaProps: spec.SchemaProps{
25253 Default: map[string]interface{}{},
25254 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
25255 },
25256 },
25257 "items": {
25258 SchemaProps: spec.SchemaProps{
25259 Type: []string{"array"},
25260 Items: &spec.SchemaOrArray{
25261 Schema: &spec.Schema{
25262 SchemaProps: spec.SchemaProps{
25263 Default: map[string]interface{}{},
25264 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstancePreset"),
25265 },
25266 },
25267 },
25268 },
25269 },
25270 },
25271 Required: []string{"items"},
25272 },
25273 },
25274 Dependencies: []string{
25275 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstancePreset"},
25276 }
25277 }
25278
25279 func schema_kubevirtio_api_core_v1_VirtualMachineInstancePresetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
25280 return common.OpenAPIDefinition{
25281 Schema: spec.Schema{
25282 SchemaProps: spec.SchemaProps{
25283 Type: []string{"object"},
25284 Properties: map[string]spec.Schema{
25285 "selector": {
25286 SchemaProps: spec.SchemaProps{
25287 Description: "Selector is a label query over a set of VMIs. Required.",
25288 Default: map[string]interface{}{},
25289 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
25290 },
25291 },
25292 "domain": {
25293 SchemaProps: spec.SchemaProps{
25294 Description: "Domain is the same object type as contained in VirtualMachineInstanceSpec",
25295 Ref: ref("kubevirt.io/api/core/v1.DomainSpec"),
25296 },
25297 },
25298 },
25299 Required: []string{"selector"},
25300 },
25301 },
25302 Dependencies: []string{
25303 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "kubevirt.io/api/core/v1.DomainSpec"},
25304 }
25305 }
25306
25307 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceProfile(ref common.ReferenceCallback) common.OpenAPIDefinition {
25308 return common.OpenAPIDefinition{
25309 Schema: spec.Schema{
25310 SchemaProps: spec.SchemaProps{
25311 Type: []string{"object"},
25312 Properties: map[string]spec.Schema{
25313 "customProfile": {
25314 SchemaProps: spec.SchemaProps{
25315 Description: "CustomProfile allows to request arbitrary profile for virt-launcher",
25316 Ref: ref("kubevirt.io/api/core/v1.CustomProfile"),
25317 },
25318 },
25319 },
25320 },
25321 },
25322 Dependencies: []string{
25323 "kubevirt.io/api/core/v1.CustomProfile"},
25324 }
25325 }
25326
25327 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSet(ref common.ReferenceCallback) common.OpenAPIDefinition {
25328 return common.OpenAPIDefinition{
25329 Schema: spec.Schema{
25330 SchemaProps: spec.SchemaProps{
25331 Description: "VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.",
25332 Type: []string{"object"},
25333 Properties: map[string]spec.Schema{
25334 "kind": {
25335 SchemaProps: spec.SchemaProps{
25336 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
25337 Type: []string{"string"},
25338 Format: "",
25339 },
25340 },
25341 "apiVersion": {
25342 SchemaProps: spec.SchemaProps{
25343 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
25344 Type: []string{"string"},
25345 Format: "",
25346 },
25347 },
25348 "metadata": {
25349 SchemaProps: spec.SchemaProps{
25350 Default: map[string]interface{}{},
25351 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
25352 },
25353 },
25354 "spec": {
25355 SchemaProps: spec.SchemaProps{
25356 Description: "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
25357 Default: map[string]interface{}{},
25358 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetSpec"),
25359 },
25360 },
25361 "status": {
25362 SchemaProps: spec.SchemaProps{
25363 Description: "Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.",
25364 Default: map[string]interface{}{},
25365 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetStatus"),
25366 },
25367 },
25368 },
25369 Required: []string{"spec"},
25370 },
25371 },
25372 Dependencies: []string{
25373 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetSpec", "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetStatus"},
25374 }
25375 }
25376
25377 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
25378 return common.OpenAPIDefinition{
25379 Schema: spec.Schema{
25380 SchemaProps: spec.SchemaProps{
25381 Type: []string{"object"},
25382 Properties: map[string]spec.Schema{
25383 "type": {
25384 SchemaProps: spec.SchemaProps{
25385 Default: "",
25386 Type: []string{"string"},
25387 Format: "",
25388 },
25389 },
25390 "status": {
25391 SchemaProps: spec.SchemaProps{
25392 Default: "",
25393 Type: []string{"string"},
25394 Format: "",
25395 },
25396 },
25397 "lastProbeTime": {
25398 SchemaProps: spec.SchemaProps{
25399 Default: map[string]interface{}{},
25400 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
25401 },
25402 },
25403 "lastTransitionTime": {
25404 SchemaProps: spec.SchemaProps{
25405 Default: map[string]interface{}{},
25406 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
25407 },
25408 },
25409 "reason": {
25410 SchemaProps: spec.SchemaProps{
25411 Type: []string{"string"},
25412 Format: "",
25413 },
25414 },
25415 "message": {
25416 SchemaProps: spec.SchemaProps{
25417 Type: []string{"string"},
25418 Format: "",
25419 },
25420 },
25421 },
25422 Required: []string{"type", "status"},
25423 },
25424 },
25425 Dependencies: []string{
25426 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
25427 }
25428 }
25429
25430 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetList(ref common.ReferenceCallback) common.OpenAPIDefinition {
25431 return common.OpenAPIDefinition{
25432 Schema: spec.Schema{
25433 SchemaProps: spec.SchemaProps{
25434 Description: "VMIList is a list of VMIs",
25435 Type: []string{"object"},
25436 Properties: map[string]spec.Schema{
25437 "kind": {
25438 SchemaProps: spec.SchemaProps{
25439 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
25440 Type: []string{"string"},
25441 Format: "",
25442 },
25443 },
25444 "apiVersion": {
25445 SchemaProps: spec.SchemaProps{
25446 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
25447 Type: []string{"string"},
25448 Format: "",
25449 },
25450 },
25451 "metadata": {
25452 SchemaProps: spec.SchemaProps{
25453 Default: map[string]interface{}{},
25454 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
25455 },
25456 },
25457 "items": {
25458 SchemaProps: spec.SchemaProps{
25459 Type: []string{"array"},
25460 Items: &spec.SchemaOrArray{
25461 Schema: &spec.Schema{
25462 SchemaProps: spec.SchemaProps{
25463 Default: map[string]interface{}{},
25464 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSet"),
25465 },
25466 },
25467 },
25468 },
25469 },
25470 },
25471 Required: []string{"items"},
25472 },
25473 },
25474 Dependencies: []string{
25475 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSet"},
25476 }
25477 }
25478
25479 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
25480 return common.OpenAPIDefinition{
25481 Schema: spec.Schema{
25482 SchemaProps: spec.SchemaProps{
25483 Type: []string{"object"},
25484 Properties: map[string]spec.Schema{
25485 "replicas": {
25486 SchemaProps: spec.SchemaProps{
25487 Description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.",
25488 Type: []string{"integer"},
25489 Format: "int32",
25490 },
25491 },
25492 "selector": {
25493 SchemaProps: spec.SchemaProps{
25494 Description: "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.",
25495 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
25496 },
25497 },
25498 "template": {
25499 SchemaProps: spec.SchemaProps{
25500 Description: "Template describes the pods that will be created.",
25501 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceTemplateSpec"),
25502 },
25503 },
25504 "paused": {
25505 SchemaProps: spec.SchemaProps{
25506 Description: "Indicates that the replica set is paused.",
25507 Type: []string{"boolean"},
25508 Format: "",
25509 },
25510 },
25511 },
25512 Required: []string{"selector", "template"},
25513 },
25514 },
25515 Dependencies: []string{
25516 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "kubevirt.io/api/core/v1.VirtualMachineInstanceTemplateSpec"},
25517 }
25518 }
25519
25520 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceReplicaSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
25521 return common.OpenAPIDefinition{
25522 Schema: spec.Schema{
25523 SchemaProps: spec.SchemaProps{
25524 Type: []string{"object"},
25525 Properties: map[string]spec.Schema{
25526 "replicas": {
25527 SchemaProps: spec.SchemaProps{
25528 Description: "Total number of non-terminated pods targeted by this deployment (their labels match the selector).",
25529 Type: []string{"integer"},
25530 Format: "int32",
25531 },
25532 },
25533 "readyReplicas": {
25534 SchemaProps: spec.SchemaProps{
25535 Description: "The number of ready replicas for this replica set.",
25536 Type: []string{"integer"},
25537 Format: "int32",
25538 },
25539 },
25540 "conditions": {
25541 SchemaProps: spec.SchemaProps{
25542 Type: []string{"array"},
25543 Items: &spec.SchemaOrArray{
25544 Schema: &spec.Schema{
25545 SchemaProps: spec.SchemaProps{
25546 Default: map[string]interface{}{},
25547 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetCondition"),
25548 },
25549 },
25550 },
25551 },
25552 },
25553 "labelSelector": {
25554 SchemaProps: spec.SchemaProps{
25555 Description: "Canonical form of the label selector for HPA which consumes it through the scale subresource.",
25556 Type: []string{"string"},
25557 Format: "",
25558 },
25559 },
25560 },
25561 },
25562 },
25563 Dependencies: []string{
25564 "kubevirt.io/api/core/v1.VirtualMachineInstanceReplicaSetCondition"},
25565 }
25566 }
25567
25568 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
25569 return common.OpenAPIDefinition{
25570 Schema: spec.Schema{
25571 SchemaProps: spec.SchemaProps{
25572 Description: "VirtualMachineInstanceSpec is a description of a VirtualMachineInstance.",
25573 Type: []string{"object"},
25574 Properties: map[string]spec.Schema{
25575 "priorityClassName": {
25576 SchemaProps: spec.SchemaProps{
25577 Description: "If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.",
25578 Type: []string{"string"},
25579 Format: "",
25580 },
25581 },
25582 "domain": {
25583 SchemaProps: spec.SchemaProps{
25584 Description: "Specification of the desired behavior of the VirtualMachineInstance on the host.",
25585 Default: map[string]interface{}{},
25586 Ref: ref("kubevirt.io/api/core/v1.DomainSpec"),
25587 },
25588 },
25589 "nodeSelector": {
25590 SchemaProps: spec.SchemaProps{
25591 Description: "NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
25592 Type: []string{"object"},
25593 AdditionalProperties: &spec.SchemaOrBool{
25594 Allows: true,
25595 Schema: &spec.Schema{
25596 SchemaProps: spec.SchemaProps{
25597 Default: "",
25598 Type: []string{"string"},
25599 Format: "",
25600 },
25601 },
25602 },
25603 },
25604 },
25605 "affinity": {
25606 SchemaProps: spec.SchemaProps{
25607 Description: "If affinity is specifies, obey all the affinity rules",
25608 Ref: ref("k8s.io/api/core/v1.Affinity"),
25609 },
25610 },
25611 "schedulerName": {
25612 SchemaProps: spec.SchemaProps{
25613 Description: "If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.",
25614 Type: []string{"string"},
25615 Format: "",
25616 },
25617 },
25618 "tolerations": {
25619 SchemaProps: spec.SchemaProps{
25620 Description: "If toleration is specified, obey all the toleration rules.",
25621 Type: []string{"array"},
25622 Items: &spec.SchemaOrArray{
25623 Schema: &spec.Schema{
25624 SchemaProps: spec.SchemaProps{
25625 Default: map[string]interface{}{},
25626 Ref: ref("k8s.io/api/core/v1.Toleration"),
25627 },
25628 },
25629 },
25630 },
25631 },
25632 "topologySpreadConstraints": {
25633 VendorExtensible: spec.VendorExtensible{
25634 Extensions: spec.Extensions{
25635 "x-kubernetes-list-map-keys": []interface{}{
25636 "topologyKey",
25637 "whenUnsatisfiable",
25638 },
25639 "x-kubernetes-list-type": "map",
25640 "x-kubernetes-patch-merge-key": "topologyKey",
25641 "x-kubernetes-patch-strategy": "merge",
25642 },
25643 },
25644 SchemaProps: spec.SchemaProps{
25645 Description: "TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints.",
25646 Type: []string{"array"},
25647 Items: &spec.SchemaOrArray{
25648 Schema: &spec.Schema{
25649 SchemaProps: spec.SchemaProps{
25650 Default: map[string]interface{}{},
25651 Ref: ref("k8s.io/api/core/v1.TopologySpreadConstraint"),
25652 },
25653 },
25654 },
25655 },
25656 },
25657 "evictionStrategy": {
25658 SchemaProps: spec.SchemaProps{
25659 Description: "EvictionStrategy describes the strategy to follow when a node drain occurs. The possible options are: - \"None\": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown. - \"LiveMigrate\": the VirtualMachineInstance will be migrated instead of being shutdown. - \"LiveMigrateIfPossible\": the same as \"LiveMigrate\" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as \"None\". - \"External\": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa.",
25660 Type: []string{"string"},
25661 Format: "",
25662 },
25663 },
25664 "startStrategy": {
25665 SchemaProps: spec.SchemaProps{
25666 Description: "StartStrategy can be set to \"Paused\" if Virtual Machine should be started in paused state.",
25667 Type: []string{"string"},
25668 Format: "",
25669 },
25670 },
25671 "terminationGracePeriodSeconds": {
25672 SchemaProps: spec.SchemaProps{
25673 Description: "Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.",
25674 Type: []string{"integer"},
25675 Format: "int64",
25676 },
25677 },
25678 "volumes": {
25679 SchemaProps: spec.SchemaProps{
25680 Description: "List of volumes that can be mounted by disks belonging to the vmi.",
25681 Type: []string{"array"},
25682 Items: &spec.SchemaOrArray{
25683 Schema: &spec.Schema{
25684 SchemaProps: spec.SchemaProps{
25685 Default: map[string]interface{}{},
25686 Ref: ref("kubevirt.io/api/core/v1.Volume"),
25687 },
25688 },
25689 },
25690 },
25691 },
25692 "livenessProbe": {
25693 SchemaProps: spec.SchemaProps{
25694 Description: "Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
25695 Ref: ref("kubevirt.io/api/core/v1.Probe"),
25696 },
25697 },
25698 "readinessProbe": {
25699 SchemaProps: spec.SchemaProps{
25700 Description: "Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
25701 Ref: ref("kubevirt.io/api/core/v1.Probe"),
25702 },
25703 },
25704 "hostname": {
25705 SchemaProps: spec.SchemaProps{
25706 Description: "Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly.",
25707 Type: []string{"string"},
25708 Format: "",
25709 },
25710 },
25711 "subdomain": {
25712 SchemaProps: spec.SchemaProps{
25713 Description: "If specified, the fully qualified vmi hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname.",
25714 Type: []string{"string"},
25715 Format: "",
25716 },
25717 },
25718 "networks": {
25719 SchemaProps: spec.SchemaProps{
25720 Description: "List of networks that can be attached to a vm's virtual interface.",
25721 Type: []string{"array"},
25722 Items: &spec.SchemaOrArray{
25723 Schema: &spec.Schema{
25724 SchemaProps: spec.SchemaProps{
25725 Default: map[string]interface{}{},
25726 Ref: ref("kubevirt.io/api/core/v1.Network"),
25727 },
25728 },
25729 },
25730 },
25731 },
25732 "dnsPolicy": {
25733 SchemaProps: spec.SchemaProps{
25734 Description: "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.\n\nPossible enum values:\n - `\"ClusterFirst\"` indicates that the pod should use cluster DNS first unless hostNetwork is true, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"ClusterFirstWithHostNet\"` indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"Default\"` indicates that the pod should use the default (as determined by kubelet) DNS settings.\n - `\"None\"` indicates that the pod should use empty DNS settings. DNS parameters such as nameservers and search paths should be defined via DNSConfig.",
25735 Type: []string{"string"},
25736 Format: "",
25737 Enum: []interface{}{"ClusterFirst", "ClusterFirstWithHostNet", "Default", "None"},
25738 },
25739 },
25740 "dnsConfig": {
25741 SchemaProps: spec.SchemaProps{
25742 Description: "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
25743 Ref: ref("k8s.io/api/core/v1.PodDNSConfig"),
25744 },
25745 },
25746 "accessCredentials": {
25747 VendorExtensible: spec.VendorExtensible{
25748 Extensions: spec.Extensions{
25749 "x-kubernetes-list-type": "atomic",
25750 },
25751 },
25752 SchemaProps: spec.SchemaProps{
25753 Description: "Specifies a set of public keys to inject into the vm guest",
25754 Type: []string{"array"},
25755 Items: &spec.SchemaOrArray{
25756 Schema: &spec.Schema{
25757 SchemaProps: spec.SchemaProps{
25758 Default: map[string]interface{}{},
25759 Ref: ref("kubevirt.io/api/core/v1.AccessCredential"),
25760 },
25761 },
25762 },
25763 },
25764 },
25765 "architecture": {
25766 SchemaProps: spec.SchemaProps{
25767 Description: "Specifies the architecture of the vm guest you are attempting to run. Defaults to the compiled architecture of the KubeVirt components",
25768 Type: []string{"string"},
25769 Format: "",
25770 },
25771 },
25772 },
25773 Required: []string{"domain"},
25774 },
25775 },
25776 Dependencies: []string{
25777 "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.TopologySpreadConstraint", "kubevirt.io/api/core/v1.AccessCredential", "kubevirt.io/api/core/v1.DomainSpec", "kubevirt.io/api/core/v1.Network", "kubevirt.io/api/core/v1.Probe", "kubevirt.io/api/core/v1.Volume"},
25778 }
25779 }
25780
25781 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
25782 return common.OpenAPIDefinition{
25783 Schema: spec.Schema{
25784 SchemaProps: spec.SchemaProps{
25785 Description: "VirtualMachineInstanceStatus represents information about the status of a VirtualMachineInstance. Status may trail the actual state of a system.",
25786 Type: []string{"object"},
25787 Properties: map[string]spec.Schema{
25788 "nodeName": {
25789 SchemaProps: spec.SchemaProps{
25790 Description: "NodeName is the name where the VirtualMachineInstance is currently running.",
25791 Type: []string{"string"},
25792 Format: "",
25793 },
25794 },
25795 "reason": {
25796 SchemaProps: spec.SchemaProps{
25797 Description: "A brief CamelCase message indicating details about why the VMI is in this state. e.g. 'NodeUnresponsive'",
25798 Type: []string{"string"},
25799 Format: "",
25800 },
25801 },
25802 "conditions": {
25803 SchemaProps: spec.SchemaProps{
25804 Description: "Conditions are specific points in VirtualMachineInstance's pod runtime.",
25805 Type: []string{"array"},
25806 Items: &spec.SchemaOrArray{
25807 Schema: &spec.Schema{
25808 SchemaProps: spec.SchemaProps{
25809 Default: map[string]interface{}{},
25810 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceCondition"),
25811 },
25812 },
25813 },
25814 },
25815 },
25816 "phase": {
25817 SchemaProps: spec.SchemaProps{
25818 Description: "Phase is the status of the VirtualMachineInstance in kubernetes world. It is not the VirtualMachineInstance status, but partially correlates to it.",
25819 Type: []string{"string"},
25820 Format: "",
25821 },
25822 },
25823 "phaseTransitionTimestamps": {
25824 VendorExtensible: spec.VendorExtensible{
25825 Extensions: spec.Extensions{
25826 "x-kubernetes-list-type": "atomic",
25827 },
25828 },
25829 SchemaProps: spec.SchemaProps{
25830 Description: "PhaseTransitionTimestamp is the timestamp of when the last phase change occurred",
25831 Type: []string{"array"},
25832 Items: &spec.SchemaOrArray{
25833 Schema: &spec.Schema{
25834 SchemaProps: spec.SchemaProps{
25835 Default: map[string]interface{}{},
25836 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstancePhaseTransitionTimestamp"),
25837 },
25838 },
25839 },
25840 },
25841 },
25842 "interfaces": {
25843 SchemaProps: spec.SchemaProps{
25844 Description: "Interfaces represent the details of available network interfaces.",
25845 Type: []string{"array"},
25846 Items: &spec.SchemaOrArray{
25847 Schema: &spec.Schema{
25848 SchemaProps: spec.SchemaProps{
25849 Default: map[string]interface{}{},
25850 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceNetworkInterface"),
25851 },
25852 },
25853 },
25854 },
25855 },
25856 "guestOSInfo": {
25857 SchemaProps: spec.SchemaProps{
25858 Description: "Guest OS Information",
25859 Default: map[string]interface{}{},
25860 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSInfo"),
25861 },
25862 },
25863 "migrationState": {
25864 SchemaProps: spec.SchemaProps{
25865 Description: "Represents the status of a live migration",
25866 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationState"),
25867 },
25868 },
25869 "migrationMethod": {
25870 SchemaProps: spec.SchemaProps{
25871 Description: "Represents the method using which the vmi can be migrated: live migration or block migration",
25872 Type: []string{"string"},
25873 Format: "",
25874 },
25875 },
25876 "migrationTransport": {
25877 SchemaProps: spec.SchemaProps{
25878 Description: "This represents the migration transport",
25879 Type: []string{"string"},
25880 Format: "",
25881 },
25882 },
25883 "qosClass": {
25884 SchemaProps: spec.SchemaProps{
25885 Description: "The Quality of Service (QOS) classification assigned to the virtual machine instance based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md\n\nPossible enum values:\n - `\"BestEffort\"` is the BestEffort qos class.\n - `\"Burstable\"` is the Burstable qos class.\n - `\"Guaranteed\"` is the Guaranteed qos class.",
25886 Type: []string{"string"},
25887 Format: "",
25888 Enum: []interface{}{"BestEffort", "Burstable", "Guaranteed"},
25889 },
25890 },
25891 "launcherContainerImageVersion": {
25892 SchemaProps: spec.SchemaProps{
25893 Description: "LauncherContainerImageVersion indicates what container image is currently active for the vmi.",
25894 Type: []string{"string"},
25895 Format: "",
25896 },
25897 },
25898 "evacuationNodeName": {
25899 SchemaProps: spec.SchemaProps{
25900 Description: "EvacuationNodeName is used to track the eviction process of a VMI. It stores the name of the node that we want to evacuate. It is meant to be used by KubeVirt core components only and can't be set or modified by users.",
25901 Type: []string{"string"},
25902 Format: "",
25903 },
25904 },
25905 "activePods": {
25906 SchemaProps: spec.SchemaProps{
25907 Description: "ActivePods is a mapping of pod UID to node name. It is possible for multiple pods to be running for a single VMI during migration.",
25908 Type: []string{"object"},
25909 AdditionalProperties: &spec.SchemaOrBool{
25910 Allows: true,
25911 Schema: &spec.Schema{
25912 SchemaProps: spec.SchemaProps{
25913 Default: "",
25914 Type: []string{"string"},
25915 Format: "",
25916 },
25917 },
25918 },
25919 },
25920 },
25921 "volumeStatus": {
25922 VendorExtensible: spec.VendorExtensible{
25923 Extensions: spec.Extensions{
25924 "x-kubernetes-list-type": "atomic",
25925 },
25926 },
25927 SchemaProps: spec.SchemaProps{
25928 Description: "VolumeStatus contains the statuses of all the volumes",
25929 Type: []string{"array"},
25930 Items: &spec.SchemaOrArray{
25931 Schema: &spec.Schema{
25932 SchemaProps: spec.SchemaProps{
25933 Default: map[string]interface{}{},
25934 Ref: ref("kubevirt.io/api/core/v1.VolumeStatus"),
25935 },
25936 },
25937 },
25938 },
25939 },
25940 "kernelBootStatus": {
25941 SchemaProps: spec.SchemaProps{
25942 Description: "KernelBootStatus contains info about the kernelBootContainer",
25943 Ref: ref("kubevirt.io/api/core/v1.KernelBootStatus"),
25944 },
25945 },
25946 "fsFreezeStatus": {
25947 SchemaProps: spec.SchemaProps{
25948 Description: "FSFreezeStatus is the state of the fs of the guest it can be either frozen or thawed",
25949 Type: []string{"string"},
25950 Format: "",
25951 },
25952 },
25953 "topologyHints": {
25954 SchemaProps: spec.SchemaProps{
25955 Ref: ref("kubevirt.io/api/core/v1.TopologyHints"),
25956 },
25957 },
25958 "virtualMachineRevisionName": {
25959 SchemaProps: spec.SchemaProps{
25960 Description: "VirtualMachineRevisionName is used to get the vm revision of the vmi when doing an online vm snapshot",
25961 Type: []string{"string"},
25962 Format: "",
25963 },
25964 },
25965 "runtimeUser": {
25966 SchemaProps: spec.SchemaProps{
25967 Description: "RuntimeUser is used to determine what user will be used in launcher",
25968 Default: 0,
25969 Type: []string{"integer"},
25970 Format: "int64",
25971 },
25972 },
25973 "VSOCKCID": {
25974 SchemaProps: spec.SchemaProps{
25975 Description: "VSOCKCID is used to track the allocated VSOCK CID in the VM.",
25976 Type: []string{"integer"},
25977 Format: "int64",
25978 },
25979 },
25980 "selinuxContext": {
25981 SchemaProps: spec.SchemaProps{
25982 Description: "SELinuxContext is the actual SELinux context of the virt-launcher pod",
25983 Type: []string{"string"},
25984 Format: "",
25985 },
25986 },
25987 "machine": {
25988 SchemaProps: spec.SchemaProps{
25989 Description: "Machine shows the final resulting qemu machine type. This can be different than the machine type selected in the spec, due to qemus machine type alias mechanism.",
25990 Ref: ref("kubevirt.io/api/core/v1.Machine"),
25991 },
25992 },
25993 "currentCPUTopology": {
25994 SchemaProps: spec.SchemaProps{
25995 Description: "CurrentCPUTopology specifies the current CPU topology used by the VM workload. Current topology may differ from the desired topology in the spec while CPU hotplug takes place.",
25996 Ref: ref("kubevirt.io/api/core/v1.CPUTopology"),
25997 },
25998 },
25999 "memory": {
26000 SchemaProps: spec.SchemaProps{
26001 Description: "Memory shows various informations about the VirtualMachine memory.",
26002 Ref: ref("kubevirt.io/api/core/v1.MemoryStatus"),
26003 },
26004 },
26005 "migratedVolumes": {
26006 VendorExtensible: spec.VendorExtensible{
26007 Extensions: spec.Extensions{
26008 "x-kubernetes-list-type": "atomic",
26009 },
26010 },
26011 SchemaProps: spec.SchemaProps{
26012 Description: "MigratedVolumes lists the source and destination volumes during the volume migration",
26013 Type: []string{"array"},
26014 Items: &spec.SchemaOrArray{
26015 Schema: &spec.Schema{
26016 SchemaProps: spec.SchemaProps{
26017 Default: map[string]interface{}{},
26018 Ref: ref("kubevirt.io/api/core/v1.StorageMigratedVolumeInfo"),
26019 },
26020 },
26021 },
26022 },
26023 },
26024 },
26025 },
26026 },
26027 Dependencies: []string{
26028 "kubevirt.io/api/core/v1.CPUTopology", "kubevirt.io/api/core/v1.KernelBootStatus", "kubevirt.io/api/core/v1.Machine", "kubevirt.io/api/core/v1.MemoryStatus", "kubevirt.io/api/core/v1.StorageMigratedVolumeInfo", "kubevirt.io/api/core/v1.TopologyHints", "kubevirt.io/api/core/v1.VirtualMachineInstanceCondition", "kubevirt.io/api/core/v1.VirtualMachineInstanceGuestOSInfo", "kubevirt.io/api/core/v1.VirtualMachineInstanceMigrationState", "kubevirt.io/api/core/v1.VirtualMachineInstanceNetworkInterface", "kubevirt.io/api/core/v1.VirtualMachineInstancePhaseTransitionTimestamp", "kubevirt.io/api/core/v1.VolumeStatus"},
26029 }
26030 }
26031
26032 func schema_kubevirtio_api_core_v1_VirtualMachineInstanceTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
26033 return common.OpenAPIDefinition{
26034 Schema: spec.Schema{
26035 SchemaProps: spec.SchemaProps{
26036 Type: []string{"object"},
26037 Properties: map[string]spec.Schema{
26038 "metadata": {
26039 SchemaProps: spec.SchemaProps{
26040 Default: map[string]interface{}{},
26041 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
26042 },
26043 },
26044 "spec": {
26045 SchemaProps: spec.SchemaProps{
26046 Description: "VirtualMachineInstance Spec contains the VirtualMachineInstance specification.",
26047 Default: map[string]interface{}{},
26048 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceSpec"),
26049 },
26050 },
26051 },
26052 },
26053 },
26054 Dependencies: []string{
26055 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineInstanceSpec"},
26056 }
26057 }
26058
26059 func schema_kubevirtio_api_core_v1_VirtualMachineList(ref common.ReferenceCallback) common.OpenAPIDefinition {
26060 return common.OpenAPIDefinition{
26061 Schema: spec.Schema{
26062 SchemaProps: spec.SchemaProps{
26063 Description: "VirtualMachineList is a list of virtualmachines",
26064 Type: []string{"object"},
26065 Properties: map[string]spec.Schema{
26066 "kind": {
26067 SchemaProps: spec.SchemaProps{
26068 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
26069 Type: []string{"string"},
26070 Format: "",
26071 },
26072 },
26073 "apiVersion": {
26074 SchemaProps: spec.SchemaProps{
26075 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
26076 Type: []string{"string"},
26077 Format: "",
26078 },
26079 },
26080 "metadata": {
26081 SchemaProps: spec.SchemaProps{
26082 Default: map[string]interface{}{},
26083 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
26084 },
26085 },
26086 "items": {
26087 SchemaProps: spec.SchemaProps{
26088 Type: []string{"array"},
26089 Items: &spec.SchemaOrArray{
26090 Schema: &spec.Schema{
26091 SchemaProps: spec.SchemaProps{
26092 Default: map[string]interface{}{},
26093 Ref: ref("kubevirt.io/api/core/v1.VirtualMachine"),
26094 },
26095 },
26096 },
26097 },
26098 },
26099 },
26100 Required: []string{"items"},
26101 },
26102 },
26103 Dependencies: []string{
26104 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/core/v1.VirtualMachine"},
26105 }
26106 }
26107
26108 func schema_kubevirtio_api_core_v1_VirtualMachineMemoryDumpRequest(ref common.ReferenceCallback) common.OpenAPIDefinition {
26109 return common.OpenAPIDefinition{
26110 Schema: spec.Schema{
26111 SchemaProps: spec.SchemaProps{
26112 Description: "VirtualMachineMemoryDumpRequest represent the memory dump request phase and info",
26113 Type: []string{"object"},
26114 Properties: map[string]spec.Schema{
26115 "claimName": {
26116 SchemaProps: spec.SchemaProps{
26117 Description: "ClaimName is the name of the pvc that will contain the memory dump",
26118 Default: "",
26119 Type: []string{"string"},
26120 Format: "",
26121 },
26122 },
26123 "phase": {
26124 SchemaProps: spec.SchemaProps{
26125 Description: "Phase represents the memory dump phase",
26126 Default: "",
26127 Type: []string{"string"},
26128 Format: "",
26129 },
26130 },
26131 "remove": {
26132 SchemaProps: spec.SchemaProps{
26133 Description: "Remove represents request of dissociating the memory dump pvc",
26134 Type: []string{"boolean"},
26135 Format: "",
26136 },
26137 },
26138 "startTimestamp": {
26139 SchemaProps: spec.SchemaProps{
26140 Description: "StartTimestamp represents the time the memory dump started",
26141 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
26142 },
26143 },
26144 "endTimestamp": {
26145 SchemaProps: spec.SchemaProps{
26146 Description: "EndTimestamp represents the time the memory dump was completed",
26147 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
26148 },
26149 },
26150 "fileName": {
26151 SchemaProps: spec.SchemaProps{
26152 Description: "FileName represents the name of the output file",
26153 Type: []string{"string"},
26154 Format: "",
26155 },
26156 },
26157 "message": {
26158 SchemaProps: spec.SchemaProps{
26159 Description: "Message is a detailed message about failure of the memory dump",
26160 Type: []string{"string"},
26161 Format: "",
26162 },
26163 },
26164 },
26165 Required: []string{"claimName", "phase"},
26166 },
26167 },
26168 Dependencies: []string{
26169 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
26170 }
26171 }
26172
26173 func schema_kubevirtio_api_core_v1_VirtualMachineOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
26174 return common.OpenAPIDefinition{
26175 Schema: spec.Schema{
26176 SchemaProps: spec.SchemaProps{
26177 Description: "VirtualMachineOptions holds the cluster level information regarding the virtual machine.",
26178 Type: []string{"object"},
26179 Properties: map[string]spec.Schema{
26180 "disableFreePageReporting": {
26181 SchemaProps: spec.SchemaProps{
26182 Description: "DisableFreePageReporting disable the free page reporting of memory balloon device https://libvirt.org/formatdomain.html#memory-balloon-device. This will have effect only if AutoattachMemBalloon is not false and the vmi is not requesting any high performance feature (dedicatedCPU/realtime/hugePages), in which free page reporting is always disabled.",
26183 Ref: ref("kubevirt.io/api/core/v1.DisableFreePageReporting"),
26184 },
26185 },
26186 "disableSerialConsoleLog": {
26187 SchemaProps: spec.SchemaProps{
26188 Description: "DisableSerialConsoleLog disables logging the auto-attached default serial console. If not set, serial console logs will be written to a file and then streamed from a container named `guest-console-log`. The value can be individually overridden for each VM, not relevant if AutoattachSerialConsole is disabled.",
26189 Ref: ref("kubevirt.io/api/core/v1.DisableSerialConsoleLog"),
26190 },
26191 },
26192 },
26193 },
26194 },
26195 Dependencies: []string{
26196 "kubevirt.io/api/core/v1.DisableFreePageReporting", "kubevirt.io/api/core/v1.DisableSerialConsoleLog"},
26197 }
26198 }
26199
26200 func schema_kubevirtio_api_core_v1_VirtualMachineSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
26201 return common.OpenAPIDefinition{
26202 Schema: spec.Schema{
26203 SchemaProps: spec.SchemaProps{
26204 Description: "VirtualMachineSpec describes how the proper VirtualMachine should look like",
26205 Type: []string{"object"},
26206 Properties: map[string]spec.Schema{
26207 "running": {
26208 SchemaProps: spec.SchemaProps{
26209 Description: "Running controls whether the associatied VirtualMachineInstance is created or not Mutually exclusive with RunStrategy",
26210 Type: []string{"boolean"},
26211 Format: "",
26212 },
26213 },
26214 "runStrategy": {
26215 SchemaProps: spec.SchemaProps{
26216 Description: "Running state indicates the requested running state of the VirtualMachineInstance mutually exclusive with Running",
26217 Type: []string{"string"},
26218 Format: "",
26219 },
26220 },
26221 "instancetype": {
26222 SchemaProps: spec.SchemaProps{
26223 Description: "InstancetypeMatcher references a instancetype that is used to fill fields in Template",
26224 Ref: ref("kubevirt.io/api/core/v1.InstancetypeMatcher"),
26225 },
26226 },
26227 "preference": {
26228 SchemaProps: spec.SchemaProps{
26229 Description: "PreferenceMatcher references a set of preference that is used to fill fields in Template",
26230 Ref: ref("kubevirt.io/api/core/v1.PreferenceMatcher"),
26231 },
26232 },
26233 "template": {
26234 SchemaProps: spec.SchemaProps{
26235 Description: "Template is the direct specification of VirtualMachineInstance",
26236 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineInstanceTemplateSpec"),
26237 },
26238 },
26239 "dataVolumeTemplates": {
26240 SchemaProps: spec.SchemaProps{
26241 Description: "dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference. DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle.",
26242 Type: []string{"array"},
26243 Items: &spec.SchemaOrArray{
26244 Schema: &spec.Schema{
26245 SchemaProps: spec.SchemaProps{
26246 Default: map[string]interface{}{},
26247 Ref: ref("kubevirt.io/api/core/v1.DataVolumeTemplateSpec"),
26248 },
26249 },
26250 },
26251 },
26252 },
26253 "updateVolumesStrategy": {
26254 SchemaProps: spec.SchemaProps{
26255 Description: "UpdateVolumesStrategy is the strategy to apply on volumes updates",
26256 Type: []string{"string"},
26257 Format: "",
26258 },
26259 },
26260 },
26261 Required: []string{"template"},
26262 },
26263 },
26264 Dependencies: []string{
26265 "kubevirt.io/api/core/v1.DataVolumeTemplateSpec", "kubevirt.io/api/core/v1.InstancetypeMatcher", "kubevirt.io/api/core/v1.PreferenceMatcher", "kubevirt.io/api/core/v1.VirtualMachineInstanceTemplateSpec"},
26266 }
26267 }
26268
26269 func schema_kubevirtio_api_core_v1_VirtualMachineStartFailure(ref common.ReferenceCallback) common.OpenAPIDefinition {
26270 return common.OpenAPIDefinition{
26271 Schema: spec.Schema{
26272 SchemaProps: spec.SchemaProps{
26273 Description: "VirtualMachineStartFailure tracks VMIs which failed to transition successfully to running using the VM status",
26274 Type: []string{"object"},
26275 Properties: map[string]spec.Schema{
26276 "consecutiveFailCount": {
26277 SchemaProps: spec.SchemaProps{
26278 Type: []string{"integer"},
26279 Format: "int32",
26280 },
26281 },
26282 "lastFailedVMIUID": {
26283 SchemaProps: spec.SchemaProps{
26284 Type: []string{"string"},
26285 Format: "",
26286 },
26287 },
26288 "retryAfterTimestamp": {
26289 SchemaProps: spec.SchemaProps{
26290 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
26291 },
26292 },
26293 },
26294 },
26295 },
26296 Dependencies: []string{
26297 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
26298 }
26299 }
26300
26301 func schema_kubevirtio_api_core_v1_VirtualMachineStateChangeRequest(ref common.ReferenceCallback) common.OpenAPIDefinition {
26302 return common.OpenAPIDefinition{
26303 Schema: spec.Schema{
26304 SchemaProps: spec.SchemaProps{
26305 Type: []string{"object"},
26306 Properties: map[string]spec.Schema{
26307 "action": {
26308 SchemaProps: spec.SchemaProps{
26309 Description: "Indicates the type of action that is requested. e.g. Start or Stop",
26310 Default: "",
26311 Type: []string{"string"},
26312 Format: "",
26313 },
26314 },
26315 "data": {
26316 SchemaProps: spec.SchemaProps{
26317 Description: "Provides additional data in order to perform the Action",
26318 Type: []string{"object"},
26319 AdditionalProperties: &spec.SchemaOrBool{
26320 Allows: true,
26321 Schema: &spec.Schema{
26322 SchemaProps: spec.SchemaProps{
26323 Default: "",
26324 Type: []string{"string"},
26325 Format: "",
26326 },
26327 },
26328 },
26329 },
26330 },
26331 "uid": {
26332 SchemaProps: spec.SchemaProps{
26333 Description: "Indicates the UUID of an existing Virtual Machine Instance that this change request applies to -- if applicable",
26334 Type: []string{"string"},
26335 Format: "",
26336 },
26337 },
26338 },
26339 Required: []string{"action"},
26340 },
26341 },
26342 }
26343 }
26344
26345 func schema_kubevirtio_api_core_v1_VirtualMachineStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
26346 return common.OpenAPIDefinition{
26347 Schema: spec.Schema{
26348 SchemaProps: spec.SchemaProps{
26349 Description: "VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing",
26350 Type: []string{"object"},
26351 Properties: map[string]spec.Schema{
26352 "snapshotInProgress": {
26353 SchemaProps: spec.SchemaProps{
26354 Description: "SnapshotInProgress is the name of the VirtualMachineSnapshot currently executing",
26355 Type: []string{"string"},
26356 Format: "",
26357 },
26358 },
26359 "restoreInProgress": {
26360 SchemaProps: spec.SchemaProps{
26361 Description: "RestoreInProgress is the name of the VirtualMachineRestore currently executing",
26362 Type: []string{"string"},
26363 Format: "",
26364 },
26365 },
26366 "created": {
26367 SchemaProps: spec.SchemaProps{
26368 Description: "Created indicates if the virtual machine is created in the cluster",
26369 Type: []string{"boolean"},
26370 Format: "",
26371 },
26372 },
26373 "ready": {
26374 SchemaProps: spec.SchemaProps{
26375 Description: "Ready indicates if the virtual machine is running and ready",
26376 Type: []string{"boolean"},
26377 Format: "",
26378 },
26379 },
26380 "printableStatus": {
26381 SchemaProps: spec.SchemaProps{
26382 Description: "PrintableStatus is a human readable, high-level representation of the status of the virtual machine",
26383 Type: []string{"string"},
26384 Format: "",
26385 },
26386 },
26387 "conditions": {
26388 SchemaProps: spec.SchemaProps{
26389 Description: "Hold the state information of the VirtualMachine and its VirtualMachineInstance",
26390 Type: []string{"array"},
26391 Items: &spec.SchemaOrArray{
26392 Schema: &spec.Schema{
26393 SchemaProps: spec.SchemaProps{
26394 Default: map[string]interface{}{},
26395 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineCondition"),
26396 },
26397 },
26398 },
26399 },
26400 },
26401 "stateChangeRequests": {
26402 SchemaProps: spec.SchemaProps{
26403 Description: "StateChangeRequests indicates a list of actions that should be taken on a VMI e.g. stop a specific VMI then start a new one.",
26404 Type: []string{"array"},
26405 Items: &spec.SchemaOrArray{
26406 Schema: &spec.Schema{
26407 SchemaProps: spec.SchemaProps{
26408 Default: map[string]interface{}{},
26409 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineStateChangeRequest"),
26410 },
26411 },
26412 },
26413 },
26414 },
26415 "volumeRequests": {
26416 VendorExtensible: spec.VendorExtensible{
26417 Extensions: spec.Extensions{
26418 "x-kubernetes-list-type": "atomic",
26419 },
26420 },
26421 SchemaProps: spec.SchemaProps{
26422 Description: "VolumeRequests indicates a list of volumes add or remove from the VMI template and hotplug on an active running VMI.",
26423 Type: []string{"array"},
26424 Items: &spec.SchemaOrArray{
26425 Schema: &spec.Schema{
26426 SchemaProps: spec.SchemaProps{
26427 Default: map[string]interface{}{},
26428 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineVolumeRequest"),
26429 },
26430 },
26431 },
26432 },
26433 },
26434 "volumeSnapshotStatuses": {
26435 SchemaProps: spec.SchemaProps{
26436 Description: "VolumeSnapshotStatuses indicates a list of statuses whether snapshotting is supported by each volume.",
26437 Type: []string{"array"},
26438 Items: &spec.SchemaOrArray{
26439 Schema: &spec.Schema{
26440 SchemaProps: spec.SchemaProps{
26441 Default: map[string]interface{}{},
26442 Ref: ref("kubevirt.io/api/core/v1.VolumeSnapshotStatus"),
26443 },
26444 },
26445 },
26446 },
26447 },
26448 "startFailure": {
26449 SchemaProps: spec.SchemaProps{
26450 Description: "StartFailure tracks consecutive VMI startup failures for the purposes of crash loop backoffs",
26451 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineStartFailure"),
26452 },
26453 },
26454 "memoryDumpRequest": {
26455 SchemaProps: spec.SchemaProps{
26456 Description: "MemoryDumpRequest tracks memory dump request phase and info of getting a memory dump to the given pvc",
26457 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineMemoryDumpRequest"),
26458 },
26459 },
26460 "observedGeneration": {
26461 SchemaProps: spec.SchemaProps{
26462 Description: "ObservedGeneration is the generation observed by the vmi when started.",
26463 Type: []string{"integer"},
26464 Format: "int64",
26465 },
26466 },
26467 "desiredGeneration": {
26468 SchemaProps: spec.SchemaProps{
26469 Description: "DesiredGeneration is the generation which is desired for the VMI. This will be used in comparisons with ObservedGeneration to understand when the VMI is out of sync. This will be changed at the same time as ObservedGeneration to remove errors which could occur if Generation is updated through an Update() before ObservedGeneration in Status.",
26470 Type: []string{"integer"},
26471 Format: "int64",
26472 },
26473 },
26474 "runStrategy": {
26475 SchemaProps: spec.SchemaProps{
26476 Description: "RunStrategy tracks the last recorded RunStrategy used by the VM. This is needed to correctly process the next strategy (for now only the RerunOnFailure)",
26477 Type: []string{"string"},
26478 Format: "",
26479 },
26480 },
26481 },
26482 },
26483 },
26484 Dependencies: []string{
26485 "kubevirt.io/api/core/v1.VirtualMachineCondition", "kubevirt.io/api/core/v1.VirtualMachineMemoryDumpRequest", "kubevirt.io/api/core/v1.VirtualMachineStartFailure", "kubevirt.io/api/core/v1.VirtualMachineStateChangeRequest", "kubevirt.io/api/core/v1.VirtualMachineVolumeRequest", "kubevirt.io/api/core/v1.VolumeSnapshotStatus"},
26486 }
26487 }
26488
26489 func schema_kubevirtio_api_core_v1_VirtualMachineVolumeRequest(ref common.ReferenceCallback) common.OpenAPIDefinition {
26490 return common.OpenAPIDefinition{
26491 Schema: spec.Schema{
26492 SchemaProps: spec.SchemaProps{
26493 Type: []string{"object"},
26494 Properties: map[string]spec.Schema{
26495 "addVolumeOptions": {
26496 SchemaProps: spec.SchemaProps{
26497 Description: "AddVolumeOptions when set indicates a volume should be added. The details within this field specify how to add the volume",
26498 Ref: ref("kubevirt.io/api/core/v1.AddVolumeOptions"),
26499 },
26500 },
26501 "removeVolumeOptions": {
26502 SchemaProps: spec.SchemaProps{
26503 Description: "RemoveVolumeOptions when set indicates a volume should be removed. The details within this field specify how to add the volume",
26504 Ref: ref("kubevirt.io/api/core/v1.RemoveVolumeOptions"),
26505 },
26506 },
26507 },
26508 },
26509 },
26510 Dependencies: []string{
26511 "kubevirt.io/api/core/v1.AddVolumeOptions", "kubevirt.io/api/core/v1.RemoveVolumeOptions"},
26512 }
26513 }
26514
26515 func schema_kubevirtio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAPIDefinition {
26516 return common.OpenAPIDefinition{
26517 Schema: spec.Schema{
26518 SchemaProps: spec.SchemaProps{
26519 Description: "Volume represents a named volume in a vmi.",
26520 Type: []string{"object"},
26521 Properties: map[string]spec.Schema{
26522 "name": {
26523 SchemaProps: spec.SchemaProps{
26524 Description: "Volume's name. Must be a DNS_LABEL and unique within the vmi. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
26525 Default: "",
26526 Type: []string{"string"},
26527 Format: "",
26528 },
26529 },
26530 "hostDisk": {
26531 SchemaProps: spec.SchemaProps{
26532 Description: "HostDisk represents a disk created on the cluster level",
26533 Ref: ref("kubevirt.io/api/core/v1.HostDisk"),
26534 },
26535 },
26536 "persistentVolumeClaim": {
26537 SchemaProps: spec.SchemaProps{
26538 Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
26539 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
26540 },
26541 },
26542 "cloudInitNoCloud": {
26543 SchemaProps: spec.SchemaProps{
26544 Description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html",
26545 Ref: ref("kubevirt.io/api/core/v1.CloudInitNoCloudSource"),
26546 },
26547 },
26548 "cloudInitConfigDrive": {
26549 SchemaProps: spec.SchemaProps{
26550 Description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html",
26551 Ref: ref("kubevirt.io/api/core/v1.CloudInitConfigDriveSource"),
26552 },
26553 },
26554 "sysprep": {
26555 SchemaProps: spec.SchemaProps{
26556 Description: "Represents a Sysprep volume source.",
26557 Ref: ref("kubevirt.io/api/core/v1.SysprepSource"),
26558 },
26559 },
26560 "containerDisk": {
26561 SchemaProps: spec.SchemaProps{
26562 Description: "ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html",
26563 Ref: ref("kubevirt.io/api/core/v1.ContainerDiskSource"),
26564 },
26565 },
26566 "ephemeral": {
26567 SchemaProps: spec.SchemaProps{
26568 Description: "Ephemeral is a special volume source that \"wraps\" specified source and provides copy-on-write image on top of it.",
26569 Ref: ref("kubevirt.io/api/core/v1.EphemeralVolumeSource"),
26570 },
26571 },
26572 "emptyDisk": {
26573 SchemaProps: spec.SchemaProps{
26574 Description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html",
26575 Ref: ref("kubevirt.io/api/core/v1.EmptyDiskSource"),
26576 },
26577 },
26578 "dataVolume": {
26579 SchemaProps: spec.SchemaProps{
26580 Description: "DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.",
26581 Ref: ref("kubevirt.io/api/core/v1.DataVolumeSource"),
26582 },
26583 },
26584 "configMap": {
26585 SchemaProps: spec.SchemaProps{
26586 Description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
26587 Ref: ref("kubevirt.io/api/core/v1.ConfigMapVolumeSource"),
26588 },
26589 },
26590 "secret": {
26591 SchemaProps: spec.SchemaProps{
26592 Description: "SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/",
26593 Ref: ref("kubevirt.io/api/core/v1.SecretVolumeSource"),
26594 },
26595 },
26596 "downwardAPI": {
26597 SchemaProps: spec.SchemaProps{
26598 Description: "DownwardAPI represents downward API about the pod that should populate this volume",
26599 Ref: ref("kubevirt.io/api/core/v1.DownwardAPIVolumeSource"),
26600 },
26601 },
26602 "serviceAccount": {
26603 SchemaProps: spec.SchemaProps{
26604 Description: "ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
26605 Ref: ref("kubevirt.io/api/core/v1.ServiceAccountVolumeSource"),
26606 },
26607 },
26608 "downwardMetrics": {
26609 SchemaProps: spec.SchemaProps{
26610 Description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics.",
26611 Ref: ref("kubevirt.io/api/core/v1.DownwardMetricsVolumeSource"),
26612 },
26613 },
26614 "memoryDump": {
26615 SchemaProps: spec.SchemaProps{
26616 Description: "MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi",
26617 Ref: ref("kubevirt.io/api/core/v1.MemoryDumpVolumeSource"),
26618 },
26619 },
26620 },
26621 Required: []string{"name"},
26622 },
26623 },
26624 Dependencies: []string{
26625 "kubevirt.io/api/core/v1.CloudInitConfigDriveSource", "kubevirt.io/api/core/v1.CloudInitNoCloudSource", "kubevirt.io/api/core/v1.ConfigMapVolumeSource", "kubevirt.io/api/core/v1.ContainerDiskSource", "kubevirt.io/api/core/v1.DataVolumeSource", "kubevirt.io/api/core/v1.DownwardAPIVolumeSource", "kubevirt.io/api/core/v1.DownwardMetricsVolumeSource", "kubevirt.io/api/core/v1.EmptyDiskSource", "kubevirt.io/api/core/v1.EphemeralVolumeSource", "kubevirt.io/api/core/v1.HostDisk", "kubevirt.io/api/core/v1.MemoryDumpVolumeSource", "kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource", "kubevirt.io/api/core/v1.SecretVolumeSource", "kubevirt.io/api/core/v1.ServiceAccountVolumeSource", "kubevirt.io/api/core/v1.SysprepSource"},
26626 }
26627 }
26628
26629 func schema_kubevirtio_api_core_v1_VolumeSnapshotStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
26630 return common.OpenAPIDefinition{
26631 Schema: spec.Schema{
26632 SchemaProps: spec.SchemaProps{
26633 Type: []string{"object"},
26634 Properties: map[string]spec.Schema{
26635 "name": {
26636 SchemaProps: spec.SchemaProps{
26637 Description: "Volume name",
26638 Default: "",
26639 Type: []string{"string"},
26640 Format: "",
26641 },
26642 },
26643 "enabled": {
26644 SchemaProps: spec.SchemaProps{
26645 Description: "True if the volume supports snapshotting",
26646 Default: false,
26647 Type: []string{"boolean"},
26648 Format: "",
26649 },
26650 },
26651 "reason": {
26652 SchemaProps: spec.SchemaProps{
26653 Description: "Empty if snapshotting is enabled, contains reason otherwise",
26654 Type: []string{"string"},
26655 Format: "",
26656 },
26657 },
26658 },
26659 Required: []string{"name", "enabled"},
26660 },
26661 },
26662 }
26663 }
26664
26665 func schema_kubevirtio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
26666 return common.OpenAPIDefinition{
26667 Schema: spec.Schema{
26668 SchemaProps: spec.SchemaProps{
26669 Description: "Represents the source of a volume to mount. Only one of its members may be specified.",
26670 Type: []string{"object"},
26671 Properties: map[string]spec.Schema{
26672 "hostDisk": {
26673 SchemaProps: spec.SchemaProps{
26674 Description: "HostDisk represents a disk created on the cluster level",
26675 Ref: ref("kubevirt.io/api/core/v1.HostDisk"),
26676 },
26677 },
26678 "persistentVolumeClaim": {
26679 SchemaProps: spec.SchemaProps{
26680 Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
26681 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
26682 },
26683 },
26684 "cloudInitNoCloud": {
26685 SchemaProps: spec.SchemaProps{
26686 Description: "CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html",
26687 Ref: ref("kubevirt.io/api/core/v1.CloudInitNoCloudSource"),
26688 },
26689 },
26690 "cloudInitConfigDrive": {
26691 SchemaProps: spec.SchemaProps{
26692 Description: "CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html",
26693 Ref: ref("kubevirt.io/api/core/v1.CloudInitConfigDriveSource"),
26694 },
26695 },
26696 "sysprep": {
26697 SchemaProps: spec.SchemaProps{
26698 Description: "Represents a Sysprep volume source.",
26699 Ref: ref("kubevirt.io/api/core/v1.SysprepSource"),
26700 },
26701 },
26702 "containerDisk": {
26703 SchemaProps: spec.SchemaProps{
26704 Description: "ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html",
26705 Ref: ref("kubevirt.io/api/core/v1.ContainerDiskSource"),
26706 },
26707 },
26708 "ephemeral": {
26709 SchemaProps: spec.SchemaProps{
26710 Description: "Ephemeral is a special volume source that \"wraps\" specified source and provides copy-on-write image on top of it.",
26711 Ref: ref("kubevirt.io/api/core/v1.EphemeralVolumeSource"),
26712 },
26713 },
26714 "emptyDisk": {
26715 SchemaProps: spec.SchemaProps{
26716 Description: "EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html",
26717 Ref: ref("kubevirt.io/api/core/v1.EmptyDiskSource"),
26718 },
26719 },
26720 "dataVolume": {
26721 SchemaProps: spec.SchemaProps{
26722 Description: "DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.",
26723 Ref: ref("kubevirt.io/api/core/v1.DataVolumeSource"),
26724 },
26725 },
26726 "configMap": {
26727 SchemaProps: spec.SchemaProps{
26728 Description: "ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/",
26729 Ref: ref("kubevirt.io/api/core/v1.ConfigMapVolumeSource"),
26730 },
26731 },
26732 "secret": {
26733 SchemaProps: spec.SchemaProps{
26734 Description: "SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/",
26735 Ref: ref("kubevirt.io/api/core/v1.SecretVolumeSource"),
26736 },
26737 },
26738 "downwardAPI": {
26739 SchemaProps: spec.SchemaProps{
26740 Description: "DownwardAPI represents downward API about the pod that should populate this volume",
26741 Ref: ref("kubevirt.io/api/core/v1.DownwardAPIVolumeSource"),
26742 },
26743 },
26744 "serviceAccount": {
26745 SchemaProps: spec.SchemaProps{
26746 Description: "ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
26747 Ref: ref("kubevirt.io/api/core/v1.ServiceAccountVolumeSource"),
26748 },
26749 },
26750 "downwardMetrics": {
26751 SchemaProps: spec.SchemaProps{
26752 Description: "DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics.",
26753 Ref: ref("kubevirt.io/api/core/v1.DownwardMetricsVolumeSource"),
26754 },
26755 },
26756 "memoryDump": {
26757 SchemaProps: spec.SchemaProps{
26758 Description: "MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi",
26759 Ref: ref("kubevirt.io/api/core/v1.MemoryDumpVolumeSource"),
26760 },
26761 },
26762 },
26763 },
26764 },
26765 Dependencies: []string{
26766 "kubevirt.io/api/core/v1.CloudInitConfigDriveSource", "kubevirt.io/api/core/v1.CloudInitNoCloudSource", "kubevirt.io/api/core/v1.ConfigMapVolumeSource", "kubevirt.io/api/core/v1.ContainerDiskSource", "kubevirt.io/api/core/v1.DataVolumeSource", "kubevirt.io/api/core/v1.DownwardAPIVolumeSource", "kubevirt.io/api/core/v1.DownwardMetricsVolumeSource", "kubevirt.io/api/core/v1.EmptyDiskSource", "kubevirt.io/api/core/v1.EphemeralVolumeSource", "kubevirt.io/api/core/v1.HostDisk", "kubevirt.io/api/core/v1.MemoryDumpVolumeSource", "kubevirt.io/api/core/v1.PersistentVolumeClaimVolumeSource", "kubevirt.io/api/core/v1.SecretVolumeSource", "kubevirt.io/api/core/v1.ServiceAccountVolumeSource", "kubevirt.io/api/core/v1.SysprepSource"},
26767 }
26768 }
26769
26770 func schema_kubevirtio_api_core_v1_VolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
26771 return common.OpenAPIDefinition{
26772 Schema: spec.Schema{
26773 SchemaProps: spec.SchemaProps{
26774 Description: "VolumeStatus represents information about the status of volumes attached to the VirtualMachineInstance.",
26775 Type: []string{"object"},
26776 Properties: map[string]spec.Schema{
26777 "name": {
26778 SchemaProps: spec.SchemaProps{
26779 Description: "Name is the name of the volume",
26780 Default: "",
26781 Type: []string{"string"},
26782 Format: "",
26783 },
26784 },
26785 "target": {
26786 SchemaProps: spec.SchemaProps{
26787 Description: "Target is the target name used when adding the volume to the VM, eg: vda",
26788 Default: "",
26789 Type: []string{"string"},
26790 Format: "",
26791 },
26792 },
26793 "phase": {
26794 SchemaProps: spec.SchemaProps{
26795 Description: "Phase is the phase",
26796 Type: []string{"string"},
26797 Format: "",
26798 },
26799 },
26800 "reason": {
26801 SchemaProps: spec.SchemaProps{
26802 Description: "Reason is a brief description of why we are in the current hotplug volume phase",
26803 Type: []string{"string"},
26804 Format: "",
26805 },
26806 },
26807 "message": {
26808 SchemaProps: spec.SchemaProps{
26809 Description: "Message is a detailed message about the current hotplug volume phase",
26810 Type: []string{"string"},
26811 Format: "",
26812 },
26813 },
26814 "persistentVolumeClaimInfo": {
26815 SchemaProps: spec.SchemaProps{
26816 Description: "PersistentVolumeClaimInfo is information about the PVC that handler requires during start flow",
26817 Ref: ref("kubevirt.io/api/core/v1.PersistentVolumeClaimInfo"),
26818 },
26819 },
26820 "hotplugVolume": {
26821 SchemaProps: spec.SchemaProps{
26822 Description: "If the volume is hotplug, this will contain the hotplug status.",
26823 Ref: ref("kubevirt.io/api/core/v1.HotplugVolumeStatus"),
26824 },
26825 },
26826 "size": {
26827 SchemaProps: spec.SchemaProps{
26828 Description: "Represents the size of the volume",
26829 Type: []string{"integer"},
26830 Format: "int64",
26831 },
26832 },
26833 "memoryDumpVolume": {
26834 SchemaProps: spec.SchemaProps{
26835 Description: "If the volume is memorydump volume, this will contain the memorydump info.",
26836 Ref: ref("kubevirt.io/api/core/v1.DomainMemoryDumpInfo"),
26837 },
26838 },
26839 "containerDiskVolume": {
26840 SchemaProps: spec.SchemaProps{
26841 Description: "ContainerDiskVolume shows info about the containerdisk, if the volume is a containerdisk",
26842 Ref: ref("kubevirt.io/api/core/v1.ContainerDiskInfo"),
26843 },
26844 },
26845 },
26846 Required: []string{"name", "target"},
26847 },
26848 },
26849 Dependencies: []string{
26850 "kubevirt.io/api/core/v1.ContainerDiskInfo", "kubevirt.io/api/core/v1.DomainMemoryDumpInfo", "kubevirt.io/api/core/v1.HotplugVolumeStatus", "kubevirt.io/api/core/v1.PersistentVolumeClaimInfo"},
26851 }
26852 }
26853
26854 func schema_kubevirtio_api_core_v1_Watchdog(ref common.ReferenceCallback) common.OpenAPIDefinition {
26855 return common.OpenAPIDefinition{
26856 Schema: spec.Schema{
26857 SchemaProps: spec.SchemaProps{
26858 Description: "Named watchdog device.",
26859 Type: []string{"object"},
26860 Properties: map[string]spec.Schema{
26861 "name": {
26862 SchemaProps: spec.SchemaProps{
26863 Description: "Name of the watchdog.",
26864 Default: "",
26865 Type: []string{"string"},
26866 Format: "",
26867 },
26868 },
26869 "i6300esb": {
26870 SchemaProps: spec.SchemaProps{
26871 Description: "i6300esb watchdog device.",
26872 Ref: ref("kubevirt.io/api/core/v1.I6300ESBWatchdog"),
26873 },
26874 },
26875 },
26876 Required: []string{"name"},
26877 },
26878 },
26879 Dependencies: []string{
26880 "kubevirt.io/api/core/v1.I6300ESBWatchdog"},
26881 }
26882 }
26883
26884 func schema_kubevirtio_api_core_v1_WatchdogDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
26885 return common.OpenAPIDefinition{
26886 Schema: spec.Schema{
26887 SchemaProps: spec.SchemaProps{
26888 Description: "Hardware watchdog device. Exactly one of its members must be set.",
26889 Type: []string{"object"},
26890 Properties: map[string]spec.Schema{
26891 "i6300esb": {
26892 SchemaProps: spec.SchemaProps{
26893 Description: "i6300esb watchdog device.",
26894 Ref: ref("kubevirt.io/api/core/v1.I6300ESBWatchdog"),
26895 },
26896 },
26897 },
26898 },
26899 },
26900 Dependencies: []string{
26901 "kubevirt.io/api/core/v1.I6300ESBWatchdog"},
26902 }
26903 }
26904
26905 func schema_kubevirtio_api_export_v1alpha1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
26906 return common.OpenAPIDefinition{
26907 Schema: spec.Schema{
26908 SchemaProps: spec.SchemaProps{
26909 Description: "Condition defines conditions",
26910 Type: []string{"object"},
26911 Properties: map[string]spec.Schema{
26912 "type": {
26913 SchemaProps: spec.SchemaProps{
26914 Default: "",
26915 Type: []string{"string"},
26916 Format: "",
26917 },
26918 },
26919 "status": {
26920 SchemaProps: spec.SchemaProps{
26921 Default: "",
26922 Type: []string{"string"},
26923 Format: "",
26924 },
26925 },
26926 "lastProbeTime": {
26927 SchemaProps: spec.SchemaProps{
26928 Default: map[string]interface{}{},
26929 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
26930 },
26931 },
26932 "lastTransitionTime": {
26933 SchemaProps: spec.SchemaProps{
26934 Default: map[string]interface{}{},
26935 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
26936 },
26937 },
26938 "reason": {
26939 SchemaProps: spec.SchemaProps{
26940 Type: []string{"string"},
26941 Format: "",
26942 },
26943 },
26944 "message": {
26945 SchemaProps: spec.SchemaProps{
26946 Type: []string{"string"},
26947 Format: "",
26948 },
26949 },
26950 },
26951 Required: []string{"type", "status"},
26952 },
26953 },
26954 Dependencies: []string{
26955 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
26956 }
26957 }
26958
26959 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExport(ref common.ReferenceCallback) common.OpenAPIDefinition {
26960 return common.OpenAPIDefinition{
26961 Schema: spec.Schema{
26962 SchemaProps: spec.SchemaProps{
26963 Description: "VirtualMachineExport defines the operation of exporting a VM source",
26964 Type: []string{"object"},
26965 Properties: map[string]spec.Schema{
26966 "kind": {
26967 SchemaProps: spec.SchemaProps{
26968 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
26969 Type: []string{"string"},
26970 Format: "",
26971 },
26972 },
26973 "apiVersion": {
26974 SchemaProps: spec.SchemaProps{
26975 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
26976 Type: []string{"string"},
26977 Format: "",
26978 },
26979 },
26980 "metadata": {
26981 SchemaProps: spec.SchemaProps{
26982 Default: map[string]interface{}{},
26983 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
26984 },
26985 },
26986 "spec": {
26987 SchemaProps: spec.SchemaProps{
26988 Default: map[string]interface{}{},
26989 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportSpec"),
26990 },
26991 },
26992 "status": {
26993 SchemaProps: spec.SchemaProps{
26994 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportStatus"),
26995 },
26996 },
26997 },
26998 Required: []string{"spec"},
26999 },
27000 },
27001 Dependencies: []string{
27002 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/export/v1alpha1.VirtualMachineExportSpec", "kubevirt.io/api/export/v1alpha1.VirtualMachineExportStatus"},
27003 }
27004 }
27005
27006 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportLink(ref common.ReferenceCallback) common.OpenAPIDefinition {
27007 return common.OpenAPIDefinition{
27008 Schema: spec.Schema{
27009 SchemaProps: spec.SchemaProps{
27010 Description: "VirtualMachineExportLink contains a list of volumes available for export, as well as the URLs to obtain these volumes",
27011 Type: []string{"object"},
27012 Properties: map[string]spec.Schema{
27013 "cert": {
27014 SchemaProps: spec.SchemaProps{
27015 Description: "Cert is the public CA certificate base64 encoded",
27016 Default: "",
27017 Type: []string{"string"},
27018 Format: "",
27019 },
27020 },
27021 "volumes": {
27022 VendorExtensible: spec.VendorExtensible{
27023 Extensions: spec.Extensions{
27024 "x-kubernetes-list-map-keys": []interface{}{
27025 "name",
27026 },
27027 "x-kubernetes-list-type": "map",
27028 },
27029 },
27030 SchemaProps: spec.SchemaProps{
27031 Description: "Volumes is a list of available volumes to export",
27032 Type: []string{"array"},
27033 Items: &spec.SchemaOrArray{
27034 Schema: &spec.Schema{
27035 SchemaProps: spec.SchemaProps{
27036 Default: map[string]interface{}{},
27037 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolume"),
27038 },
27039 },
27040 },
27041 },
27042 },
27043 "manifests": {
27044 VendorExtensible: spec.VendorExtensible{
27045 Extensions: spec.Extensions{
27046 "x-kubernetes-list-map-keys": []interface{}{
27047 "type",
27048 },
27049 "x-kubernetes-list-type": "map",
27050 },
27051 },
27052 SchemaProps: spec.SchemaProps{
27053 Description: "Manifests is a list of available manifests for the export",
27054 Type: []string{"array"},
27055 Items: &spec.SchemaOrArray{
27056 Schema: &spec.Schema{
27057 SchemaProps: spec.SchemaProps{
27058 Default: map[string]interface{}{},
27059 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportManifest"),
27060 },
27061 },
27062 },
27063 },
27064 },
27065 },
27066 Required: []string{"cert"},
27067 },
27068 },
27069 Dependencies: []string{
27070 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportManifest", "kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolume"},
27071 }
27072 }
27073
27074 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportLinks(ref common.ReferenceCallback) common.OpenAPIDefinition {
27075 return common.OpenAPIDefinition{
27076 Schema: spec.Schema{
27077 SchemaProps: spec.SchemaProps{
27078 Description: "VirtualMachineExportLinks contains the links that point the exported VM resources",
27079 Type: []string{"object"},
27080 Properties: map[string]spec.Schema{
27081 "internal": {
27082 SchemaProps: spec.SchemaProps{
27083 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportLink"),
27084 },
27085 },
27086 "external": {
27087 SchemaProps: spec.SchemaProps{
27088 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportLink"),
27089 },
27090 },
27091 },
27092 },
27093 },
27094 Dependencies: []string{
27095 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportLink"},
27096 }
27097 }
27098
27099 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportList(ref common.ReferenceCallback) common.OpenAPIDefinition {
27100 return common.OpenAPIDefinition{
27101 Schema: spec.Schema{
27102 SchemaProps: spec.SchemaProps{
27103 Description: "VirtualMachineExportList is a list of VirtualMachineExport resources",
27104 Type: []string{"object"},
27105 Properties: map[string]spec.Schema{
27106 "kind": {
27107 SchemaProps: spec.SchemaProps{
27108 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
27109 Type: []string{"string"},
27110 Format: "",
27111 },
27112 },
27113 "apiVersion": {
27114 SchemaProps: spec.SchemaProps{
27115 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
27116 Type: []string{"string"},
27117 Format: "",
27118 },
27119 },
27120 "metadata": {
27121 SchemaProps: spec.SchemaProps{
27122 Default: map[string]interface{}{},
27123 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
27124 },
27125 },
27126 "items": {
27127 VendorExtensible: spec.VendorExtensible{
27128 Extensions: spec.Extensions{
27129 "x-kubernetes-list-type": "atomic",
27130 },
27131 },
27132 SchemaProps: spec.SchemaProps{
27133 Type: []string{"array"},
27134 Items: &spec.SchemaOrArray{
27135 Schema: &spec.Schema{
27136 SchemaProps: spec.SchemaProps{
27137 Default: map[string]interface{}{},
27138 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExport"),
27139 },
27140 },
27141 },
27142 },
27143 },
27144 },
27145 Required: []string{"metadata", "items"},
27146 },
27147 },
27148 Dependencies: []string{
27149 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/export/v1alpha1.VirtualMachineExport"},
27150 }
27151 }
27152
27153 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportManifest(ref common.ReferenceCallback) common.OpenAPIDefinition {
27154 return common.OpenAPIDefinition{
27155 Schema: spec.Schema{
27156 SchemaProps: spec.SchemaProps{
27157 Description: "VirtualMachineExportManifest contains the type and URL of the exported manifest",
27158 Type: []string{"object"},
27159 Properties: map[string]spec.Schema{
27160 "type": {
27161 SchemaProps: spec.SchemaProps{
27162 Description: "Type is the type of manifest returned",
27163 Default: "",
27164 Type: []string{"string"},
27165 Format: "",
27166 },
27167 },
27168 "url": {
27169 SchemaProps: spec.SchemaProps{
27170 Description: "Url is the url of the endpoint that returns the manifest",
27171 Default: "",
27172 Type: []string{"string"},
27173 Format: "",
27174 },
27175 },
27176 },
27177 Required: []string{"type", "url"},
27178 },
27179 },
27180 }
27181 }
27182
27183 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
27184 return common.OpenAPIDefinition{
27185 Schema: spec.Schema{
27186 SchemaProps: spec.SchemaProps{
27187 Description: "VirtualMachineExportSpec is the spec for a VirtualMachineExport resource",
27188 Type: []string{"object"},
27189 Properties: map[string]spec.Schema{
27190 "source": {
27191 SchemaProps: spec.SchemaProps{
27192 Default: map[string]interface{}{},
27193 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
27194 },
27195 },
27196 "tokenSecretRef": {
27197 SchemaProps: spec.SchemaProps{
27198 Description: "TokenSecretRef is the name of the custom-defined secret that contains the token used by the export server pod",
27199 Type: []string{"string"},
27200 Format: "",
27201 },
27202 },
27203 "ttlDuration": {
27204 SchemaProps: spec.SchemaProps{
27205 Description: "ttlDuration limits the lifetime of an export If this field is set, after this duration has passed from counting from CreationTimestamp, the export is eligible to be automatically deleted. If this field is omitted, a reasonable default is applied.",
27206 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
27207 },
27208 },
27209 },
27210 Required: []string{"source"},
27211 },
27212 },
27213 Dependencies: []string{
27214 "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
27215 }
27216 }
27217
27218 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
27219 return common.OpenAPIDefinition{
27220 Schema: spec.Schema{
27221 SchemaProps: spec.SchemaProps{
27222 Description: "VirtualMachineExportStatus is the status for a VirtualMachineExport resource",
27223 Type: []string{"object"},
27224 Properties: map[string]spec.Schema{
27225 "phase": {
27226 SchemaProps: spec.SchemaProps{
27227 Type: []string{"string"},
27228 Format: "",
27229 },
27230 },
27231 "links": {
27232 SchemaProps: spec.SchemaProps{
27233 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportLinks"),
27234 },
27235 },
27236 "tokenSecretRef": {
27237 SchemaProps: spec.SchemaProps{
27238 Description: "TokenSecretRef is the name of the secret that contains the token used by the export server pod",
27239 Type: []string{"string"},
27240 Format: "",
27241 },
27242 },
27243 "ttlExpirationTime": {
27244 SchemaProps: spec.SchemaProps{
27245 Description: "The time at which the VM Export will be completely removed according to specified TTL Formula is CreationTimestamp + TTL",
27246 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
27247 },
27248 },
27249 "serviceName": {
27250 SchemaProps: spec.SchemaProps{
27251 Description: "ServiceName is the name of the service created associated with the Virtual Machine export. It will be used to create the internal URLs for downloading the images",
27252 Type: []string{"string"},
27253 Format: "",
27254 },
27255 },
27256 "virtualMachineName": {
27257 SchemaProps: spec.SchemaProps{
27258 Description: "VirtualMachineName shows the name of the source virtual machine if the source is either a VirtualMachine or a VirtualMachineSnapshot. This is mainly to easily identify the source VirtualMachine in case of a VirtualMachineSnapshot",
27259 Type: []string{"string"},
27260 Format: "",
27261 },
27262 },
27263 "conditions": {
27264 VendorExtensible: spec.VendorExtensible{
27265 Extensions: spec.Extensions{
27266 "x-kubernetes-list-type": "atomic",
27267 },
27268 },
27269 SchemaProps: spec.SchemaProps{
27270 Type: []string{"array"},
27271 Items: &spec.SchemaOrArray{
27272 Schema: &spec.Schema{
27273 SchemaProps: spec.SchemaProps{
27274 Default: map[string]interface{}{},
27275 Ref: ref("kubevirt.io/api/export/v1alpha1.Condition"),
27276 },
27277 },
27278 },
27279 },
27280 },
27281 },
27282 },
27283 },
27284 Dependencies: []string{
27285 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/export/v1alpha1.Condition", "kubevirt.io/api/export/v1alpha1.VirtualMachineExportLinks"},
27286 }
27287 }
27288
27289 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
27290 return common.OpenAPIDefinition{
27291 Schema: spec.Schema{
27292 SchemaProps: spec.SchemaProps{
27293 Description: "VirtualMachineExportVolume contains the name and available formats for the exported volume",
27294 Type: []string{"object"},
27295 Properties: map[string]spec.Schema{
27296 "name": {
27297 SchemaProps: spec.SchemaProps{
27298 Description: "Name is the name of the exported volume",
27299 Default: "",
27300 Type: []string{"string"},
27301 Format: "",
27302 },
27303 },
27304 "formats": {
27305 VendorExtensible: spec.VendorExtensible{
27306 Extensions: spec.Extensions{
27307 "x-kubernetes-list-map-keys": []interface{}{
27308 "format",
27309 },
27310 "x-kubernetes-list-type": "map",
27311 },
27312 },
27313 SchemaProps: spec.SchemaProps{
27314 Type: []string{"array"},
27315 Items: &spec.SchemaOrArray{
27316 Schema: &spec.Schema{
27317 SchemaProps: spec.SchemaProps{
27318 Default: map[string]interface{}{},
27319 Ref: ref("kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolumeFormat"),
27320 },
27321 },
27322 },
27323 },
27324 },
27325 },
27326 Required: []string{"name"},
27327 },
27328 },
27329 Dependencies: []string{
27330 "kubevirt.io/api/export/v1alpha1.VirtualMachineExportVolumeFormat"},
27331 }
27332 }
27333
27334 func schema_kubevirtio_api_export_v1alpha1_VirtualMachineExportVolumeFormat(ref common.ReferenceCallback) common.OpenAPIDefinition {
27335 return common.OpenAPIDefinition{
27336 Schema: spec.Schema{
27337 SchemaProps: spec.SchemaProps{
27338 Description: "VirtualMachineExportVolumeFormat contains the format type and URL to get the volume in that format",
27339 Type: []string{"object"},
27340 Properties: map[string]spec.Schema{
27341 "format": {
27342 SchemaProps: spec.SchemaProps{
27343 Description: "Format is the format of the image at the specified URL",
27344 Default: "",
27345 Type: []string{"string"},
27346 Format: "",
27347 },
27348 },
27349 "url": {
27350 SchemaProps: spec.SchemaProps{
27351 Description: "Url is the url that contains the volume in the format specified",
27352 Default: "",
27353 Type: []string{"string"},
27354 Format: "",
27355 },
27356 },
27357 },
27358 Required: []string{"format", "url"},
27359 },
27360 },
27361 }
27362 }
27363
27364 func schema_kubevirtio_api_export_v1beta1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
27365 return common.OpenAPIDefinition{
27366 Schema: spec.Schema{
27367 SchemaProps: spec.SchemaProps{
27368 Description: "Condition defines conditions",
27369 Type: []string{"object"},
27370 Properties: map[string]spec.Schema{
27371 "type": {
27372 SchemaProps: spec.SchemaProps{
27373 Default: "",
27374 Type: []string{"string"},
27375 Format: "",
27376 },
27377 },
27378 "status": {
27379 SchemaProps: spec.SchemaProps{
27380 Default: "",
27381 Type: []string{"string"},
27382 Format: "",
27383 },
27384 },
27385 "lastProbeTime": {
27386 SchemaProps: spec.SchemaProps{
27387 Default: map[string]interface{}{},
27388 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
27389 },
27390 },
27391 "lastTransitionTime": {
27392 SchemaProps: spec.SchemaProps{
27393 Default: map[string]interface{}{},
27394 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
27395 },
27396 },
27397 "reason": {
27398 SchemaProps: spec.SchemaProps{
27399 Type: []string{"string"},
27400 Format: "",
27401 },
27402 },
27403 "message": {
27404 SchemaProps: spec.SchemaProps{
27405 Type: []string{"string"},
27406 Format: "",
27407 },
27408 },
27409 },
27410 Required: []string{"type", "status"},
27411 },
27412 },
27413 Dependencies: []string{
27414 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
27415 }
27416 }
27417
27418 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExport(ref common.ReferenceCallback) common.OpenAPIDefinition {
27419 return common.OpenAPIDefinition{
27420 Schema: spec.Schema{
27421 SchemaProps: spec.SchemaProps{
27422 Description: "VirtualMachineExport defines the operation of exporting a VM source",
27423 Type: []string{"object"},
27424 Properties: map[string]spec.Schema{
27425 "kind": {
27426 SchemaProps: spec.SchemaProps{
27427 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
27428 Type: []string{"string"},
27429 Format: "",
27430 },
27431 },
27432 "apiVersion": {
27433 SchemaProps: spec.SchemaProps{
27434 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
27435 Type: []string{"string"},
27436 Format: "",
27437 },
27438 },
27439 "metadata": {
27440 SchemaProps: spec.SchemaProps{
27441 Default: map[string]interface{}{},
27442 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
27443 },
27444 },
27445 "spec": {
27446 SchemaProps: spec.SchemaProps{
27447 Default: map[string]interface{}{},
27448 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportSpec"),
27449 },
27450 },
27451 "status": {
27452 SchemaProps: spec.SchemaProps{
27453 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportStatus"),
27454 },
27455 },
27456 },
27457 Required: []string{"spec"},
27458 },
27459 },
27460 Dependencies: []string{
27461 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/export/v1beta1.VirtualMachineExportSpec", "kubevirt.io/api/export/v1beta1.VirtualMachineExportStatus"},
27462 }
27463 }
27464
27465 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportLink(ref common.ReferenceCallback) common.OpenAPIDefinition {
27466 return common.OpenAPIDefinition{
27467 Schema: spec.Schema{
27468 SchemaProps: spec.SchemaProps{
27469 Description: "VirtualMachineExportLink contains a list of volumes available for export, as well as the URLs to obtain these volumes",
27470 Type: []string{"object"},
27471 Properties: map[string]spec.Schema{
27472 "cert": {
27473 SchemaProps: spec.SchemaProps{
27474 Description: "Cert is the public CA certificate base64 encoded",
27475 Default: "",
27476 Type: []string{"string"},
27477 Format: "",
27478 },
27479 },
27480 "volumes": {
27481 VendorExtensible: spec.VendorExtensible{
27482 Extensions: spec.Extensions{
27483 "x-kubernetes-list-map-keys": []interface{}{
27484 "name",
27485 },
27486 "x-kubernetes-list-type": "map",
27487 },
27488 },
27489 SchemaProps: spec.SchemaProps{
27490 Description: "Volumes is a list of available volumes to export",
27491 Type: []string{"array"},
27492 Items: &spec.SchemaOrArray{
27493 Schema: &spec.Schema{
27494 SchemaProps: spec.SchemaProps{
27495 Default: map[string]interface{}{},
27496 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportVolume"),
27497 },
27498 },
27499 },
27500 },
27501 },
27502 "manifests": {
27503 VendorExtensible: spec.VendorExtensible{
27504 Extensions: spec.Extensions{
27505 "x-kubernetes-list-map-keys": []interface{}{
27506 "type",
27507 },
27508 "x-kubernetes-list-type": "map",
27509 },
27510 },
27511 SchemaProps: spec.SchemaProps{
27512 Description: "Manifests is a list of available manifests for the export",
27513 Type: []string{"array"},
27514 Items: &spec.SchemaOrArray{
27515 Schema: &spec.Schema{
27516 SchemaProps: spec.SchemaProps{
27517 Default: map[string]interface{}{},
27518 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportManifest"),
27519 },
27520 },
27521 },
27522 },
27523 },
27524 },
27525 Required: []string{"cert"},
27526 },
27527 },
27528 Dependencies: []string{
27529 "kubevirt.io/api/export/v1beta1.VirtualMachineExportManifest", "kubevirt.io/api/export/v1beta1.VirtualMachineExportVolume"},
27530 }
27531 }
27532
27533 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportLinks(ref common.ReferenceCallback) common.OpenAPIDefinition {
27534 return common.OpenAPIDefinition{
27535 Schema: spec.Schema{
27536 SchemaProps: spec.SchemaProps{
27537 Description: "VirtualMachineExportLinks contains the links that point the exported VM resources",
27538 Type: []string{"object"},
27539 Properties: map[string]spec.Schema{
27540 "internal": {
27541 SchemaProps: spec.SchemaProps{
27542 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportLink"),
27543 },
27544 },
27545 "external": {
27546 SchemaProps: spec.SchemaProps{
27547 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportLink"),
27548 },
27549 },
27550 },
27551 },
27552 },
27553 Dependencies: []string{
27554 "kubevirt.io/api/export/v1beta1.VirtualMachineExportLink"},
27555 }
27556 }
27557
27558 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportList(ref common.ReferenceCallback) common.OpenAPIDefinition {
27559 return common.OpenAPIDefinition{
27560 Schema: spec.Schema{
27561 SchemaProps: spec.SchemaProps{
27562 Description: "VirtualMachineExportList is a list of VirtualMachineExport resources",
27563 Type: []string{"object"},
27564 Properties: map[string]spec.Schema{
27565 "kind": {
27566 SchemaProps: spec.SchemaProps{
27567 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
27568 Type: []string{"string"},
27569 Format: "",
27570 },
27571 },
27572 "apiVersion": {
27573 SchemaProps: spec.SchemaProps{
27574 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
27575 Type: []string{"string"},
27576 Format: "",
27577 },
27578 },
27579 "metadata": {
27580 SchemaProps: spec.SchemaProps{
27581 Default: map[string]interface{}{},
27582 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
27583 },
27584 },
27585 "items": {
27586 VendorExtensible: spec.VendorExtensible{
27587 Extensions: spec.Extensions{
27588 "x-kubernetes-list-type": "atomic",
27589 },
27590 },
27591 SchemaProps: spec.SchemaProps{
27592 Type: []string{"array"},
27593 Items: &spec.SchemaOrArray{
27594 Schema: &spec.Schema{
27595 SchemaProps: spec.SchemaProps{
27596 Default: map[string]interface{}{},
27597 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExport"),
27598 },
27599 },
27600 },
27601 },
27602 },
27603 },
27604 Required: []string{"metadata", "items"},
27605 },
27606 },
27607 Dependencies: []string{
27608 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/export/v1beta1.VirtualMachineExport"},
27609 }
27610 }
27611
27612 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportManifest(ref common.ReferenceCallback) common.OpenAPIDefinition {
27613 return common.OpenAPIDefinition{
27614 Schema: spec.Schema{
27615 SchemaProps: spec.SchemaProps{
27616 Description: "VirtualMachineExportManifest contains the type and URL of the exported manifest",
27617 Type: []string{"object"},
27618 Properties: map[string]spec.Schema{
27619 "type": {
27620 SchemaProps: spec.SchemaProps{
27621 Description: "Type is the type of manifest returned",
27622 Default: "",
27623 Type: []string{"string"},
27624 Format: "",
27625 },
27626 },
27627 "url": {
27628 SchemaProps: spec.SchemaProps{
27629 Description: "Url is the url of the endpoint that returns the manifest",
27630 Default: "",
27631 Type: []string{"string"},
27632 Format: "",
27633 },
27634 },
27635 },
27636 Required: []string{"type", "url"},
27637 },
27638 },
27639 }
27640 }
27641
27642 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
27643 return common.OpenAPIDefinition{
27644 Schema: spec.Schema{
27645 SchemaProps: spec.SchemaProps{
27646 Description: "VirtualMachineExportSpec is the spec for a VirtualMachineExport resource",
27647 Type: []string{"object"},
27648 Properties: map[string]spec.Schema{
27649 "source": {
27650 SchemaProps: spec.SchemaProps{
27651 Default: map[string]interface{}{},
27652 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
27653 },
27654 },
27655 "tokenSecretRef": {
27656 SchemaProps: spec.SchemaProps{
27657 Description: "TokenSecretRef is the name of the custom-defined secret that contains the token used by the export server pod",
27658 Type: []string{"string"},
27659 Format: "",
27660 },
27661 },
27662 "ttlDuration": {
27663 SchemaProps: spec.SchemaProps{
27664 Description: "ttlDuration limits the lifetime of an export If this field is set, after this duration has passed from counting from CreationTimestamp, the export is eligible to be automatically deleted. If this field is omitted, a reasonable default is applied.",
27665 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
27666 },
27667 },
27668 },
27669 Required: []string{"source"},
27670 },
27671 },
27672 Dependencies: []string{
27673 "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
27674 }
27675 }
27676
27677 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
27678 return common.OpenAPIDefinition{
27679 Schema: spec.Schema{
27680 SchemaProps: spec.SchemaProps{
27681 Description: "VirtualMachineExportStatus is the status for a VirtualMachineExport resource",
27682 Type: []string{"object"},
27683 Properties: map[string]spec.Schema{
27684 "phase": {
27685 SchemaProps: spec.SchemaProps{
27686 Type: []string{"string"},
27687 Format: "",
27688 },
27689 },
27690 "links": {
27691 SchemaProps: spec.SchemaProps{
27692 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportLinks"),
27693 },
27694 },
27695 "tokenSecretRef": {
27696 SchemaProps: spec.SchemaProps{
27697 Description: "TokenSecretRef is the name of the secret that contains the token used by the export server pod",
27698 Type: []string{"string"},
27699 Format: "",
27700 },
27701 },
27702 "ttlExpirationTime": {
27703 SchemaProps: spec.SchemaProps{
27704 Description: "The time at which the VM Export will be completely removed according to specified TTL Formula is CreationTimestamp + TTL",
27705 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
27706 },
27707 },
27708 "serviceName": {
27709 SchemaProps: spec.SchemaProps{
27710 Description: "ServiceName is the name of the service created associated with the Virtual Machine export. It will be used to create the internal URLs for downloading the images",
27711 Type: []string{"string"},
27712 Format: "",
27713 },
27714 },
27715 "virtualMachineName": {
27716 SchemaProps: spec.SchemaProps{
27717 Description: "VirtualMachineName shows the name of the source virtual machine if the source is either a VirtualMachine or a VirtualMachineSnapshot. This is mainly to easily identify the source VirtualMachine in case of a VirtualMachineSnapshot",
27718 Type: []string{"string"},
27719 Format: "",
27720 },
27721 },
27722 "conditions": {
27723 VendorExtensible: spec.VendorExtensible{
27724 Extensions: spec.Extensions{
27725 "x-kubernetes-list-type": "atomic",
27726 },
27727 },
27728 SchemaProps: spec.SchemaProps{
27729 Type: []string{"array"},
27730 Items: &spec.SchemaOrArray{
27731 Schema: &spec.Schema{
27732 SchemaProps: spec.SchemaProps{
27733 Default: map[string]interface{}{},
27734 Ref: ref("kubevirt.io/api/export/v1beta1.Condition"),
27735 },
27736 },
27737 },
27738 },
27739 },
27740 },
27741 },
27742 },
27743 Dependencies: []string{
27744 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/export/v1beta1.Condition", "kubevirt.io/api/export/v1beta1.VirtualMachineExportLinks"},
27745 }
27746 }
27747
27748 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
27749 return common.OpenAPIDefinition{
27750 Schema: spec.Schema{
27751 SchemaProps: spec.SchemaProps{
27752 Description: "VirtualMachineExportVolume contains the name and available formats for the exported volume",
27753 Type: []string{"object"},
27754 Properties: map[string]spec.Schema{
27755 "name": {
27756 SchemaProps: spec.SchemaProps{
27757 Description: "Name is the name of the exported volume",
27758 Default: "",
27759 Type: []string{"string"},
27760 Format: "",
27761 },
27762 },
27763 "formats": {
27764 VendorExtensible: spec.VendorExtensible{
27765 Extensions: spec.Extensions{
27766 "x-kubernetes-list-map-keys": []interface{}{
27767 "format",
27768 },
27769 "x-kubernetes-list-type": "map",
27770 },
27771 },
27772 SchemaProps: spec.SchemaProps{
27773 Type: []string{"array"},
27774 Items: &spec.SchemaOrArray{
27775 Schema: &spec.Schema{
27776 SchemaProps: spec.SchemaProps{
27777 Default: map[string]interface{}{},
27778 Ref: ref("kubevirt.io/api/export/v1beta1.VirtualMachineExportVolumeFormat"),
27779 },
27780 },
27781 },
27782 },
27783 },
27784 },
27785 Required: []string{"name"},
27786 },
27787 },
27788 Dependencies: []string{
27789 "kubevirt.io/api/export/v1beta1.VirtualMachineExportVolumeFormat"},
27790 }
27791 }
27792
27793 func schema_kubevirtio_api_export_v1beta1_VirtualMachineExportVolumeFormat(ref common.ReferenceCallback) common.OpenAPIDefinition {
27794 return common.OpenAPIDefinition{
27795 Schema: spec.Schema{
27796 SchemaProps: spec.SchemaProps{
27797 Description: "VirtualMachineExportVolumeFormat contains the format type and URL to get the volume in that format",
27798 Type: []string{"object"},
27799 Properties: map[string]spec.Schema{
27800 "format": {
27801 SchemaProps: spec.SchemaProps{
27802 Description: "Format is the format of the image at the specified URL",
27803 Default: "",
27804 Type: []string{"string"},
27805 Format: "",
27806 },
27807 },
27808 "url": {
27809 SchemaProps: spec.SchemaProps{
27810 Description: "Url is the url that contains the volume in the format specified",
27811 Default: "",
27812 Type: []string{"string"},
27813 Format: "",
27814 },
27815 },
27816 },
27817 Required: []string{"format", "url"},
27818 },
27819 },
27820 }
27821 }
27822
27823 func schema_kubevirtio_api_instancetype_v1alpha1_CPUInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
27824 return common.OpenAPIDefinition{
27825 Schema: spec.Schema{
27826 SchemaProps: spec.SchemaProps{
27827 Description: "CPUInstancetype contains the CPU related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the number of vCPUs to be exposed to the guest by the instancetype.",
27828 Type: []string{"object"},
27829 Properties: map[string]spec.Schema{
27830 "guest": {
27831 SchemaProps: spec.SchemaProps{
27832 Description: "Required number of vCPUs to expose to the guest.\n\nThe resulting CPU topology being derived from the optional PreferredCPUTopology attribute of CPUPreferences that itself defaults to PreferSockets.",
27833 Default: 0,
27834 Type: []string{"integer"},
27835 Format: "int64",
27836 },
27837 },
27838 "model": {
27839 SchemaProps: spec.SchemaProps{
27840 Description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model.",
27841 Type: []string{"string"},
27842 Format: "",
27843 },
27844 },
27845 "dedicatedCPUPlacement": {
27846 SchemaProps: spec.SchemaProps{
27847 Description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it.",
27848 Type: []string{"boolean"},
27849 Format: "",
27850 },
27851 },
27852 "numa": {
27853 SchemaProps: spec.SchemaProps{
27854 Description: "NUMA allows specifying settings for the guest NUMA topology",
27855 Ref: ref("kubevirt.io/api/core/v1.NUMA"),
27856 },
27857 },
27858 "isolateEmulatorThread": {
27859 SchemaProps: spec.SchemaProps{
27860 Description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it.",
27861 Type: []string{"boolean"},
27862 Format: "",
27863 },
27864 },
27865 "realtime": {
27866 SchemaProps: spec.SchemaProps{
27867 Description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads",
27868 Ref: ref("kubevirt.io/api/core/v1.Realtime"),
27869 },
27870 },
27871 },
27872 Required: []string{"guest"},
27873 },
27874 },
27875 Dependencies: []string{
27876 "kubevirt.io/api/core/v1.NUMA", "kubevirt.io/api/core/v1.Realtime"},
27877 }
27878 }
27879
27880 func schema_kubevirtio_api_instancetype_v1alpha1_CPUPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
27881 return common.OpenAPIDefinition{
27882 Schema: spec.Schema{
27883 SchemaProps: spec.SchemaProps{
27884 Description: "CPUPreferences contains various optional CPU preferences.",
27885 Type: []string{"object"},
27886 Properties: map[string]spec.Schema{
27887 "preferredCPUTopology": {
27888 SchemaProps: spec.SchemaProps{
27889 Description: "PreferredCPUTopology optionally defines the preferred guest visible CPU topology, defaults to PreferSockets.",
27890 Type: []string{"string"},
27891 Format: "",
27892 },
27893 },
27894 },
27895 },
27896 },
27897 }
27898 }
27899
27900 func schema_kubevirtio_api_instancetype_v1alpha1_ClockPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
27901 return common.OpenAPIDefinition{
27902 Schema: spec.Schema{
27903 SchemaProps: spec.SchemaProps{
27904 Description: "ClockPreferences contains various optional defaults for Clock.",
27905 Type: []string{"object"},
27906 Properties: map[string]spec.Schema{
27907 "preferredClockOffset": {
27908 SchemaProps: spec.SchemaProps{
27909 Description: "ClockOffset allows specifying the UTC offset or the timezone of the guest clock.",
27910 Ref: ref("kubevirt.io/api/core/v1.ClockOffset"),
27911 },
27912 },
27913 "preferredTimer": {
27914 SchemaProps: spec.SchemaProps{
27915 Description: "Timer specifies whih timers are attached to the vmi.",
27916 Ref: ref("kubevirt.io/api/core/v1.Timer"),
27917 },
27918 },
27919 },
27920 },
27921 },
27922 Dependencies: []string{
27923 "kubevirt.io/api/core/v1.ClockOffset", "kubevirt.io/api/core/v1.Timer"},
27924 }
27925 }
27926
27927 func schema_kubevirtio_api_instancetype_v1alpha1_DevicePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
27928 return common.OpenAPIDefinition{
27929 Schema: spec.Schema{
27930 SchemaProps: spec.SchemaProps{
27931 Description: "DevicePreferences contains various optional Device preferences.",
27932 Type: []string{"object"},
27933 Properties: map[string]spec.Schema{
27934 "preferredAutoattachGraphicsDevice": {
27935 SchemaProps: spec.SchemaProps{
27936 Description: "PreferredAutoattachGraphicsDevice optionally defines the preferred value of AutoattachGraphicsDevice",
27937 Type: []string{"boolean"},
27938 Format: "",
27939 },
27940 },
27941 "preferredAutoattachMemBalloon": {
27942 SchemaProps: spec.SchemaProps{
27943 Description: "PreferredAutoattachMemBalloon optionally defines the preferred value of AutoattachMemBalloon",
27944 Type: []string{"boolean"},
27945 Format: "",
27946 },
27947 },
27948 "preferredAutoattachPodInterface": {
27949 SchemaProps: spec.SchemaProps{
27950 Description: "PreferredAutoattachPodInterface optionally defines the preferred value of AutoattachPodInterface",
27951 Type: []string{"boolean"},
27952 Format: "",
27953 },
27954 },
27955 "preferredAutoattachSerialConsole": {
27956 SchemaProps: spec.SchemaProps{
27957 Description: "PreferredAutoattachSerialConsole optionally defines the preferred value of AutoattachSerialConsole",
27958 Type: []string{"boolean"},
27959 Format: "",
27960 },
27961 },
27962 "preferredAutoattachInputDevice": {
27963 SchemaProps: spec.SchemaProps{
27964 Description: "PreferredAutoattachInputDevice optionally defines the preferred value of AutoattachInputDevice",
27965 Type: []string{"boolean"},
27966 Format: "",
27967 },
27968 },
27969 "preferredDisableHotplug": {
27970 SchemaProps: spec.SchemaProps{
27971 Description: "PreferredDisableHotplug optionally defines the preferred value of DisableHotplug",
27972 Type: []string{"boolean"},
27973 Format: "",
27974 },
27975 },
27976 "preferredVirtualGPUOptions": {
27977 SchemaProps: spec.SchemaProps{
27978 Description: "PreferredVirtualGPUOptions optionally defines the preferred value of VirtualGPUOptions",
27979 Ref: ref("kubevirt.io/api/core/v1.VGPUOptions"),
27980 },
27981 },
27982 "preferredSoundModel": {
27983 SchemaProps: spec.SchemaProps{
27984 Description: "PreferredSoundModel optionally defines the preferred model for Sound devices.",
27985 Type: []string{"string"},
27986 Format: "",
27987 },
27988 },
27989 "preferredUseVirtioTransitional": {
27990 SchemaProps: spec.SchemaProps{
27991 Description: "PreferredUseVirtioTransitional optionally defines the preferred value of UseVirtioTransitional",
27992 Type: []string{"boolean"},
27993 Format: "",
27994 },
27995 },
27996 "preferredInputBus": {
27997 SchemaProps: spec.SchemaProps{
27998 Description: "PreferredInputBus optionally defines the preferred bus for Input devices.",
27999 Type: []string{"string"},
28000 Format: "",
28001 },
28002 },
28003 "preferredInputType": {
28004 SchemaProps: spec.SchemaProps{
28005 Description: "PreferredInputType optionally defines the preferred type for Input devices.",
28006 Type: []string{"string"},
28007 Format: "",
28008 },
28009 },
28010 "preferredDiskBus": {
28011 SchemaProps: spec.SchemaProps{
28012 Description: "PreferredDiskBus optionally defines the preferred bus for Disk Disk devices.",
28013 Type: []string{"string"},
28014 Format: "",
28015 },
28016 },
28017 "preferredLunBus": {
28018 SchemaProps: spec.SchemaProps{
28019 Description: "PreferredLunBus optionally defines the preferred bus for Lun Disk devices.",
28020 Type: []string{"string"},
28021 Format: "",
28022 },
28023 },
28024 "preferredCdromBus": {
28025 SchemaProps: spec.SchemaProps{
28026 Description: "PreferredCdromBus optionally defines the preferred bus for Cdrom Disk devices.",
28027 Type: []string{"string"},
28028 Format: "",
28029 },
28030 },
28031 "preferredDiskDedicatedIoThread": {
28032 SchemaProps: spec.SchemaProps{
28033 Description: "PreferredDedicatedIoThread optionally enables dedicated IO threads for Disk devices.",
28034 Type: []string{"boolean"},
28035 Format: "",
28036 },
28037 },
28038 "preferredDiskCache": {
28039 SchemaProps: spec.SchemaProps{
28040 Description: "PreferredCache optionally defines the DriverCache to be used by Disk devices.",
28041 Type: []string{"string"},
28042 Format: "",
28043 },
28044 },
28045 "preferredDiskIO": {
28046 SchemaProps: spec.SchemaProps{
28047 Description: "PreferredIo optionally defines the QEMU disk IO mode to be used by Disk devices.",
28048 Type: []string{"string"},
28049 Format: "",
28050 },
28051 },
28052 "preferredDiskBlockSize": {
28053 SchemaProps: spec.SchemaProps{
28054 Description: "PreferredBlockSize optionally defines the block size of Disk devices.",
28055 Ref: ref("kubevirt.io/api/core/v1.BlockSize"),
28056 },
28057 },
28058 "preferredInterfaceModel": {
28059 SchemaProps: spec.SchemaProps{
28060 Description: "PreferredInterfaceModel optionally defines the preferred model to be used by Interface devices.",
28061 Type: []string{"string"},
28062 Format: "",
28063 },
28064 },
28065 "preferredRng": {
28066 SchemaProps: spec.SchemaProps{
28067 Description: "PreferredRng optionally defines the preferred rng device to be used.",
28068 Ref: ref("kubevirt.io/api/core/v1.Rng"),
28069 },
28070 },
28071 "preferredBlockMultiQueue": {
28072 SchemaProps: spec.SchemaProps{
28073 Description: "PreferredBlockMultiQueue optionally enables the vhost multiqueue feature for virtio disks.",
28074 Type: []string{"boolean"},
28075 Format: "",
28076 },
28077 },
28078 "preferredNetworkInterfaceMultiQueue": {
28079 SchemaProps: spec.SchemaProps{
28080 Description: "PreferredNetworkInterfaceMultiQueue optionally enables the vhost multiqueue feature for virtio interfaces.",
28081 Type: []string{"boolean"},
28082 Format: "",
28083 },
28084 },
28085 "preferredTPM": {
28086 SchemaProps: spec.SchemaProps{
28087 Description: "PreferredTPM optionally defines the preferred TPM device to be used.",
28088 Ref: ref("kubevirt.io/api/core/v1.TPMDevice"),
28089 },
28090 },
28091 },
28092 },
28093 },
28094 Dependencies: []string{
28095 "kubevirt.io/api/core/v1.BlockSize", "kubevirt.io/api/core/v1.Rng", "kubevirt.io/api/core/v1.TPMDevice", "kubevirt.io/api/core/v1.VGPUOptions"},
28096 }
28097 }
28098
28099 func schema_kubevirtio_api_instancetype_v1alpha1_FeaturePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28100 return common.OpenAPIDefinition{
28101 Schema: spec.Schema{
28102 SchemaProps: spec.SchemaProps{
28103 Description: "FeaturePreferences contains various optional defaults for Features.",
28104 Type: []string{"object"},
28105 Properties: map[string]spec.Schema{
28106 "preferredAcpi": {
28107 SchemaProps: spec.SchemaProps{
28108 Description: "PreferredAcpi optionally enables the ACPI feature",
28109 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
28110 },
28111 },
28112 "preferredApic": {
28113 SchemaProps: spec.SchemaProps{
28114 Description: "PreferredApic optionally enables and configures the APIC feature",
28115 Ref: ref("kubevirt.io/api/core/v1.FeatureAPIC"),
28116 },
28117 },
28118 "preferredHyperv": {
28119 SchemaProps: spec.SchemaProps{
28120 Description: "PreferredHyperv optionally enables and configures HyperV features",
28121 Ref: ref("kubevirt.io/api/core/v1.FeatureHyperv"),
28122 },
28123 },
28124 "preferredKvm": {
28125 SchemaProps: spec.SchemaProps{
28126 Description: "PreferredKvm optionally enables and configures KVM features",
28127 Ref: ref("kubevirt.io/api/core/v1.FeatureKVM"),
28128 },
28129 },
28130 "preferredPvspinlock": {
28131 SchemaProps: spec.SchemaProps{
28132 Description: "PreferredPvspinlock optionally enables the Pvspinlock feature",
28133 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
28134 },
28135 },
28136 "preferredSmm": {
28137 SchemaProps: spec.SchemaProps{
28138 Description: "PreferredSmm optionally enables the SMM feature",
28139 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
28140 },
28141 },
28142 },
28143 },
28144 },
28145 Dependencies: []string{
28146 "kubevirt.io/api/core/v1.FeatureAPIC", "kubevirt.io/api/core/v1.FeatureHyperv", "kubevirt.io/api/core/v1.FeatureKVM", "kubevirt.io/api/core/v1.FeatureState"},
28147 }
28148 }
28149
28150 func schema_kubevirtio_api_instancetype_v1alpha1_FirmwarePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28151 return common.OpenAPIDefinition{
28152 Schema: spec.Schema{
28153 SchemaProps: spec.SchemaProps{
28154 Description: "FirmwarePreferences contains various optional defaults for Firmware.",
28155 Type: []string{"object"},
28156 Properties: map[string]spec.Schema{
28157 "preferredUseBios": {
28158 SchemaProps: spec.SchemaProps{
28159 Description: "PreferredUseBios optionally enables BIOS",
28160 Type: []string{"boolean"},
28161 Format: "",
28162 },
28163 },
28164 "preferredUseBiosSerial": {
28165 SchemaProps: spec.SchemaProps{
28166 Description: "PreferredUseBiosSerial optionally transmitts BIOS output over the serial.\n\nRequires PreferredUseBios to be enabled.",
28167 Type: []string{"boolean"},
28168 Format: "",
28169 },
28170 },
28171 "preferredUseEfi": {
28172 SchemaProps: spec.SchemaProps{
28173 Description: "PreferredUseEfi optionally enables EFI",
28174 Type: []string{"boolean"},
28175 Format: "",
28176 },
28177 },
28178 "preferredUseSecureBoot": {
28179 SchemaProps: spec.SchemaProps{
28180 Description: "PreferredUseSecureBoot optionally enables SecureBoot and the OVMF roms will be swapped for SecureBoot-enabled ones.\n\nRequires PreferredUseEfi and PreferredSmm to be enabled.",
28181 Type: []string{"boolean"},
28182 Format: "",
28183 },
28184 },
28185 },
28186 },
28187 },
28188 }
28189 }
28190
28191 func schema_kubevirtio_api_instancetype_v1alpha1_MachinePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28192 return common.OpenAPIDefinition{
28193 Schema: spec.Schema{
28194 SchemaProps: spec.SchemaProps{
28195 Description: "MachinePreferences contains various optional defaults for Machine.",
28196 Type: []string{"object"},
28197 Properties: map[string]spec.Schema{
28198 "preferredMachineType": {
28199 SchemaProps: spec.SchemaProps{
28200 Description: "PreferredMachineType optionally defines the preferred machine type to use.",
28201 Type: []string{"string"},
28202 Format: "",
28203 },
28204 },
28205 },
28206 },
28207 },
28208 }
28209 }
28210
28211 func schema_kubevirtio_api_instancetype_v1alpha1_MemoryInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
28212 return common.OpenAPIDefinition{
28213 Schema: spec.Schema{
28214 SchemaProps: spec.SchemaProps{
28215 Description: "MemoryInstancetype contains the Memory related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the amount of RAM to be exposed to the guest by the instancetype.",
28216 Type: []string{"object"},
28217 Properties: map[string]spec.Schema{
28218 "guest": {
28219 SchemaProps: spec.SchemaProps{
28220 Description: "Required amount of memory which is visible inside the guest OS.",
28221 Default: map[string]interface{}{},
28222 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
28223 },
28224 },
28225 "hugepages": {
28226 SchemaProps: spec.SchemaProps{
28227 Description: "Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory.",
28228 Ref: ref("kubevirt.io/api/core/v1.Hugepages"),
28229 },
28230 },
28231 },
28232 Required: []string{"guest"},
28233 },
28234 },
28235 Dependencies: []string{
28236 "k8s.io/apimachinery/pkg/api/resource.Quantity", "kubevirt.io/api/core/v1.Hugepages"},
28237 }
28238 }
28239
28240 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
28241 return common.OpenAPIDefinition{
28242 Schema: spec.Schema{
28243 SchemaProps: spec.SchemaProps{
28244 Description: "VirtualMachineClusterInstancetype is a cluster scoped version of VirtualMachineInstancetype resource.",
28245 Type: []string{"object"},
28246 Properties: map[string]spec.Schema{
28247 "kind": {
28248 SchemaProps: spec.SchemaProps{
28249 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28250 Type: []string{"string"},
28251 Format: "",
28252 },
28253 },
28254 "apiVersion": {
28255 SchemaProps: spec.SchemaProps{
28256 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28257 Type: []string{"string"},
28258 Format: "",
28259 },
28260 },
28261 "metadata": {
28262 SchemaProps: spec.SchemaProps{
28263 Default: map[string]interface{}{},
28264 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
28265 },
28266 },
28267 "spec": {
28268 SchemaProps: spec.SchemaProps{
28269 Description: "Required spec describing the instancetype",
28270 Default: map[string]interface{}{},
28271 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpec"),
28272 },
28273 },
28274 },
28275 Required: []string{"spec"},
28276 },
28277 },
28278 Dependencies: []string{
28279 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpec"},
28280 }
28281 }
28282
28283 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
28284 return common.OpenAPIDefinition{
28285 Schema: spec.Schema{
28286 SchemaProps: spec.SchemaProps{
28287 Description: "VirtualMachineClusterInstancetypeList is a list of VirtualMachineClusterInstancetype resources.",
28288 Type: []string{"object"},
28289 Properties: map[string]spec.Schema{
28290 "kind": {
28291 SchemaProps: spec.SchemaProps{
28292 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28293 Type: []string{"string"},
28294 Format: "",
28295 },
28296 },
28297 "apiVersion": {
28298 SchemaProps: spec.SchemaProps{
28299 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28300 Type: []string{"string"},
28301 Format: "",
28302 },
28303 },
28304 "metadata": {
28305 SchemaProps: spec.SchemaProps{
28306 Default: map[string]interface{}{},
28307 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
28308 },
28309 },
28310 "items": {
28311 SchemaProps: spec.SchemaProps{
28312 Type: []string{"array"},
28313 Items: &spec.SchemaOrArray{
28314 Schema: &spec.Schema{
28315 SchemaProps: spec.SchemaProps{
28316 Default: map[string]interface{}{},
28317 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterInstancetype"),
28318 },
28319 },
28320 },
28321 },
28322 },
28323 },
28324 Required: []string{"items"},
28325 },
28326 },
28327 Dependencies: []string{
28328 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterInstancetype"},
28329 }
28330 }
28331
28332 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterPreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
28333 return common.OpenAPIDefinition{
28334 Schema: spec.Schema{
28335 SchemaProps: spec.SchemaProps{
28336 Description: "VirtualMachineClusterPreference is a cluster scoped version of the VirtualMachinePreference resource.",
28337 Type: []string{"object"},
28338 Properties: map[string]spec.Schema{
28339 "kind": {
28340 SchemaProps: spec.SchemaProps{
28341 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28342 Type: []string{"string"},
28343 Format: "",
28344 },
28345 },
28346 "apiVersion": {
28347 SchemaProps: spec.SchemaProps{
28348 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28349 Type: []string{"string"},
28350 Format: "",
28351 },
28352 },
28353 "metadata": {
28354 SchemaProps: spec.SchemaProps{
28355 Default: map[string]interface{}{},
28356 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
28357 },
28358 },
28359 "spec": {
28360 SchemaProps: spec.SchemaProps{
28361 Description: "Required spec describing the preferences",
28362 Default: map[string]interface{}{},
28363 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpec"),
28364 },
28365 },
28366 },
28367 Required: []string{"spec"},
28368 },
28369 },
28370 Dependencies: []string{
28371 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpec"},
28372 }
28373 }
28374
28375 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineClusterPreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
28376 return common.OpenAPIDefinition{
28377 Schema: spec.Schema{
28378 SchemaProps: spec.SchemaProps{
28379 Description: "VirtualMachineClusterPreferenceList is a list of VirtualMachineClusterPreference resources.",
28380 Type: []string{"object"},
28381 Properties: map[string]spec.Schema{
28382 "kind": {
28383 SchemaProps: spec.SchemaProps{
28384 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28385 Type: []string{"string"},
28386 Format: "",
28387 },
28388 },
28389 "apiVersion": {
28390 SchemaProps: spec.SchemaProps{
28391 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28392 Type: []string{"string"},
28393 Format: "",
28394 },
28395 },
28396 "metadata": {
28397 SchemaProps: spec.SchemaProps{
28398 Default: map[string]interface{}{},
28399 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
28400 },
28401 },
28402 "items": {
28403 VendorExtensible: spec.VendorExtensible{
28404 Extensions: spec.Extensions{
28405 "x-kubernetes-list-type": "set",
28406 },
28407 },
28408 SchemaProps: spec.SchemaProps{
28409 Type: []string{"array"},
28410 Items: &spec.SchemaOrArray{
28411 Schema: &spec.Schema{
28412 SchemaProps: spec.SchemaProps{
28413 Default: map[string]interface{}{},
28414 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterPreference"),
28415 },
28416 },
28417 },
28418 },
28419 },
28420 },
28421 Required: []string{"items"},
28422 },
28423 },
28424 Dependencies: []string{
28425 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineClusterPreference"},
28426 }
28427 }
28428
28429 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
28430 return common.OpenAPIDefinition{
28431 Schema: spec.Schema{
28432 SchemaProps: spec.SchemaProps{
28433 Description: "VirtualMachineInstancetype resource contains quantitative and resource related VirtualMachine configuration that can be used by multiple VirtualMachine resources.",
28434 Type: []string{"object"},
28435 Properties: map[string]spec.Schema{
28436 "kind": {
28437 SchemaProps: spec.SchemaProps{
28438 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28439 Type: []string{"string"},
28440 Format: "",
28441 },
28442 },
28443 "apiVersion": {
28444 SchemaProps: spec.SchemaProps{
28445 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28446 Type: []string{"string"},
28447 Format: "",
28448 },
28449 },
28450 "metadata": {
28451 SchemaProps: spec.SchemaProps{
28452 Default: map[string]interface{}{},
28453 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
28454 },
28455 },
28456 "spec": {
28457 SchemaProps: spec.SchemaProps{
28458 Description: "Required spec describing the instancetype",
28459 Default: map[string]interface{}{},
28460 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpec"),
28461 },
28462 },
28463 },
28464 Required: []string{"spec"},
28465 },
28466 },
28467 Dependencies: []string{
28468 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetypeSpec"},
28469 }
28470 }
28471
28472 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
28473 return common.OpenAPIDefinition{
28474 Schema: spec.Schema{
28475 SchemaProps: spec.SchemaProps{
28476 Description: "VirtualMachineInstancetypeList is a list of VirtualMachineInstancetype resources.",
28477 Type: []string{"object"},
28478 Properties: map[string]spec.Schema{
28479 "kind": {
28480 SchemaProps: spec.SchemaProps{
28481 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28482 Type: []string{"string"},
28483 Format: "",
28484 },
28485 },
28486 "apiVersion": {
28487 SchemaProps: spec.SchemaProps{
28488 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28489 Type: []string{"string"},
28490 Format: "",
28491 },
28492 },
28493 "metadata": {
28494 SchemaProps: spec.SchemaProps{
28495 Default: map[string]interface{}{},
28496 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
28497 },
28498 },
28499 "items": {
28500 SchemaProps: spec.SchemaProps{
28501 Type: []string{"array"},
28502 Items: &spec.SchemaOrArray{
28503 Schema: &spec.Schema{
28504 SchemaProps: spec.SchemaProps{
28505 Default: map[string]interface{}{},
28506 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetype"),
28507 },
28508 },
28509 },
28510 },
28511 },
28512 },
28513 Required: []string{"items"},
28514 },
28515 },
28516 Dependencies: []string{
28517 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachineInstancetype"},
28518 }
28519 }
28520
28521 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
28522 return common.OpenAPIDefinition{
28523 Schema: spec.Schema{
28524 SchemaProps: spec.SchemaProps{
28525 Description: "VirtualMachineInstancetypeSpec is a description of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype.\n\nCPU and Memory are required attributes with both requiring that their Guest attribute is defined, ensuring a number of vCPUs and amount of RAM is always provided by each instancetype.",
28526 Type: []string{"object"},
28527 Properties: map[string]spec.Schema{
28528 "cpu": {
28529 SchemaProps: spec.SchemaProps{
28530 Description: "Required CPU related attributes of the instancetype.",
28531 Default: map[string]interface{}{},
28532 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.CPUInstancetype"),
28533 },
28534 },
28535 "memory": {
28536 SchemaProps: spec.SchemaProps{
28537 Description: "Required Memory related attributes of the instancetype.",
28538 Default: map[string]interface{}{},
28539 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.MemoryInstancetype"),
28540 },
28541 },
28542 "gpus": {
28543 VendorExtensible: spec.VendorExtensible{
28544 Extensions: spec.Extensions{
28545 "x-kubernetes-list-type": "atomic",
28546 },
28547 },
28548 SchemaProps: spec.SchemaProps{
28549 Description: "Optionally defines any GPU devices associated with the instancetype.",
28550 Type: []string{"array"},
28551 Items: &spec.SchemaOrArray{
28552 Schema: &spec.Schema{
28553 SchemaProps: spec.SchemaProps{
28554 Default: map[string]interface{}{},
28555 Ref: ref("kubevirt.io/api/core/v1.GPU"),
28556 },
28557 },
28558 },
28559 },
28560 },
28561 "hostDevices": {
28562 VendorExtensible: spec.VendorExtensible{
28563 Extensions: spec.Extensions{
28564 "x-kubernetes-list-type": "atomic",
28565 },
28566 },
28567 SchemaProps: spec.SchemaProps{
28568 Description: "Optionally defines any HostDevices associated with the instancetype.",
28569 Type: []string{"array"},
28570 Items: &spec.SchemaOrArray{
28571 Schema: &spec.Schema{
28572 SchemaProps: spec.SchemaProps{
28573 Default: map[string]interface{}{},
28574 Ref: ref("kubevirt.io/api/core/v1.HostDevice"),
28575 },
28576 },
28577 },
28578 },
28579 },
28580 "ioThreadsPolicy": {
28581 SchemaProps: spec.SchemaProps{
28582 Description: "Optionally defines the IOThreadsPolicy to be used by the instancetype.",
28583 Type: []string{"string"},
28584 Format: "",
28585 },
28586 },
28587 "launchSecurity": {
28588 SchemaProps: spec.SchemaProps{
28589 Description: "Optionally defines the LaunchSecurity to be used by the instancetype.",
28590 Ref: ref("kubevirt.io/api/core/v1.LaunchSecurity"),
28591 },
28592 },
28593 },
28594 Required: []string{"cpu", "memory"},
28595 },
28596 },
28597 Dependencies: []string{
28598 "kubevirt.io/api/core/v1.GPU", "kubevirt.io/api/core/v1.HostDevice", "kubevirt.io/api/core/v1.LaunchSecurity", "kubevirt.io/api/instancetype/v1alpha1.CPUInstancetype", "kubevirt.io/api/instancetype/v1alpha1.MemoryInstancetype"},
28599 }
28600 }
28601
28602 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachineInstancetypeSpecRevision(ref common.ReferenceCallback) common.OpenAPIDefinition {
28603 return common.OpenAPIDefinition{
28604 Schema: spec.Schema{
28605 SchemaProps: spec.SchemaProps{
28606 Description: "VirtualMachineInstancetypeSpecRevision is used to capture a versioned copy of VirtualMachineInstancetypeSpec within a ControllerRevision\n\n**WARNING** This struct should never change ensuring it can always be unmarshaled from a ControllerRevision",
28607 Type: []string{"object"},
28608 Properties: map[string]spec.Schema{
28609 "apiVersion": {
28610 SchemaProps: spec.SchemaProps{
28611 Description: "The specific version of VirtualMachineInstancetypeSpec that is contained below",
28612 Default: "",
28613 Type: []string{"string"},
28614 Format: "",
28615 },
28616 },
28617 "spec": {
28618 VendorExtensible: spec.VendorExtensible{
28619 Extensions: spec.Extensions{
28620 "x-kubernetes-list-type": "atomic",
28621 },
28622 },
28623 SchemaProps: spec.SchemaProps{
28624 Description: "This is a marshaled version of the VirtualMachineInstancetypeSpec",
28625 Type: []string{"string"},
28626 Format: "byte",
28627 },
28628 },
28629 },
28630 Required: []string{"apiVersion", "spec"},
28631 },
28632 },
28633 }
28634 }
28635
28636 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
28637 return common.OpenAPIDefinition{
28638 Schema: spec.Schema{
28639 SchemaProps: spec.SchemaProps{
28640 Description: "VirtualMachinePreference resource contains optional preferences related to the VirtualMachine.",
28641 Type: []string{"object"},
28642 Properties: map[string]spec.Schema{
28643 "kind": {
28644 SchemaProps: spec.SchemaProps{
28645 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28646 Type: []string{"string"},
28647 Format: "",
28648 },
28649 },
28650 "apiVersion": {
28651 SchemaProps: spec.SchemaProps{
28652 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28653 Type: []string{"string"},
28654 Format: "",
28655 },
28656 },
28657 "metadata": {
28658 SchemaProps: spec.SchemaProps{
28659 Default: map[string]interface{}{},
28660 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
28661 },
28662 },
28663 "spec": {
28664 SchemaProps: spec.SchemaProps{
28665 Description: "Required spec describing the preferences",
28666 Default: map[string]interface{}{},
28667 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpec"),
28668 },
28669 },
28670 },
28671 Required: []string{"spec"},
28672 },
28673 },
28674 Dependencies: []string{
28675 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreferenceSpec"},
28676 }
28677 }
28678
28679 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
28680 return common.OpenAPIDefinition{
28681 Schema: spec.Schema{
28682 SchemaProps: spec.SchemaProps{
28683 Description: "VirtualMachinePreferenceList is a list of VirtualMachinePreference resources.",
28684 Type: []string{"object"},
28685 Properties: map[string]spec.Schema{
28686 "kind": {
28687 SchemaProps: spec.SchemaProps{
28688 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
28689 Type: []string{"string"},
28690 Format: "",
28691 },
28692 },
28693 "apiVersion": {
28694 SchemaProps: spec.SchemaProps{
28695 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
28696 Type: []string{"string"},
28697 Format: "",
28698 },
28699 },
28700 "metadata": {
28701 SchemaProps: spec.SchemaProps{
28702 Default: map[string]interface{}{},
28703 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
28704 },
28705 },
28706 "items": {
28707 VendorExtensible: spec.VendorExtensible{
28708 Extensions: spec.Extensions{
28709 "x-kubernetes-list-type": "set",
28710 },
28711 },
28712 SchemaProps: spec.SchemaProps{
28713 Type: []string{"array"},
28714 Items: &spec.SchemaOrArray{
28715 Schema: &spec.Schema{
28716 SchemaProps: spec.SchemaProps{
28717 Default: map[string]interface{}{},
28718 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreference"),
28719 },
28720 },
28721 },
28722 },
28723 },
28724 },
28725 Required: []string{"items"},
28726 },
28727 },
28728 Dependencies: []string{
28729 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha1.VirtualMachinePreference"},
28730 }
28731 }
28732
28733 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
28734 return common.OpenAPIDefinition{
28735 Schema: spec.Schema{
28736 SchemaProps: spec.SchemaProps{
28737 Description: "VirtualMachinePreferenceSpec is a description of the VirtualMachinePreference or VirtualMachineClusterPreference.",
28738 Type: []string{"object"},
28739 Properties: map[string]spec.Schema{
28740 "clock": {
28741 SchemaProps: spec.SchemaProps{
28742 Description: "Clock optionally defines preferences associated with the Clock attribute of a VirtualMachineInstance DomainSpec",
28743 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.ClockPreferences"),
28744 },
28745 },
28746 "cpu": {
28747 SchemaProps: spec.SchemaProps{
28748 Description: "CPU optionally defines preferences associated with the CPU attribute of a VirtualMachineInstance DomainSpec",
28749 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.CPUPreferences"),
28750 },
28751 },
28752 "devices": {
28753 SchemaProps: spec.SchemaProps{
28754 Description: "Devices optionally defines preferences associated with the Devices attribute of a VirtualMachineInstance DomainSpec",
28755 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.DevicePreferences"),
28756 },
28757 },
28758 "features": {
28759 SchemaProps: spec.SchemaProps{
28760 Description: "Features optionally defines preferences associated with the Features attribute of a VirtualMachineInstance DomainSpec",
28761 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.FeaturePreferences"),
28762 },
28763 },
28764 "firmware": {
28765 SchemaProps: spec.SchemaProps{
28766 Description: "Firmware optionally defines preferences associated with the Firmware attribute of a VirtualMachineInstance DomainSpec",
28767 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.FirmwarePreferences"),
28768 },
28769 },
28770 "machine": {
28771 SchemaProps: spec.SchemaProps{
28772 Description: "Machine optionally defines preferences associated with the Machine attribute of a VirtualMachineInstance DomainSpec",
28773 Ref: ref("kubevirt.io/api/instancetype/v1alpha1.MachinePreferences"),
28774 },
28775 },
28776 },
28777 },
28778 },
28779 Dependencies: []string{
28780 "kubevirt.io/api/instancetype/v1alpha1.CPUPreferences", "kubevirt.io/api/instancetype/v1alpha1.ClockPreferences", "kubevirt.io/api/instancetype/v1alpha1.DevicePreferences", "kubevirt.io/api/instancetype/v1alpha1.FeaturePreferences", "kubevirt.io/api/instancetype/v1alpha1.FirmwarePreferences", "kubevirt.io/api/instancetype/v1alpha1.MachinePreferences"},
28781 }
28782 }
28783
28784 func schema_kubevirtio_api_instancetype_v1alpha1_VirtualMachinePreferenceSpecRevision(ref common.ReferenceCallback) common.OpenAPIDefinition {
28785 return common.OpenAPIDefinition{
28786 Schema: spec.Schema{
28787 SchemaProps: spec.SchemaProps{
28788 Description: "VirtualMachinePreferenceSpecRevision is used to capture a versioned copy of VirtualMachinePreferenceSpec within a ControllerRevision\n\n**WARNING** This struct should never change ensuring it can always be unmarshaled from a ControllerRevision",
28789 Type: []string{"object"},
28790 Properties: map[string]spec.Schema{
28791 "apiVersion": {
28792 SchemaProps: spec.SchemaProps{
28793 Description: "The specific version of VirtualMachinePreferenceSpec that is contained below",
28794 Default: "",
28795 Type: []string{"string"},
28796 Format: "",
28797 },
28798 },
28799 "spec": {
28800 VendorExtensible: spec.VendorExtensible{
28801 Extensions: spec.Extensions{
28802 "x-kubernetes-list-type": "atomic",
28803 },
28804 },
28805 SchemaProps: spec.SchemaProps{
28806 Description: "This is a marshaled version of the VirtualMachinePreferenceSpec",
28807 Type: []string{"string"},
28808 Format: "byte",
28809 },
28810 },
28811 },
28812 Required: []string{"apiVersion", "spec"},
28813 },
28814 },
28815 }
28816 }
28817
28818 func schema_kubevirtio_api_instancetype_v1alpha2_CPUInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
28819 return common.OpenAPIDefinition{
28820 Schema: spec.Schema{
28821 SchemaProps: spec.SchemaProps{
28822 Description: "CPUInstancetype contains the CPU related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the number of vCPUs to be exposed to the guest by the instancetype.",
28823 Type: []string{"object"},
28824 Properties: map[string]spec.Schema{
28825 "guest": {
28826 SchemaProps: spec.SchemaProps{
28827 Description: "Required number of vCPUs to expose to the guest.\n\nThe resulting CPU topology being derived from the optional PreferredCPUTopology attribute of CPUPreferences that itself defaults to PreferSockets.",
28828 Default: 0,
28829 Type: []string{"integer"},
28830 Format: "int64",
28831 },
28832 },
28833 "model": {
28834 SchemaProps: spec.SchemaProps{
28835 Description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model.",
28836 Type: []string{"string"},
28837 Format: "",
28838 },
28839 },
28840 "dedicatedCPUPlacement": {
28841 SchemaProps: spec.SchemaProps{
28842 Description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it.",
28843 Type: []string{"boolean"},
28844 Format: "",
28845 },
28846 },
28847 "numa": {
28848 SchemaProps: spec.SchemaProps{
28849 Description: "NUMA allows specifying settings for the guest NUMA topology",
28850 Ref: ref("kubevirt.io/api/core/v1.NUMA"),
28851 },
28852 },
28853 "isolateEmulatorThread": {
28854 SchemaProps: spec.SchemaProps{
28855 Description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it.",
28856 Type: []string{"boolean"},
28857 Format: "",
28858 },
28859 },
28860 "realtime": {
28861 SchemaProps: spec.SchemaProps{
28862 Description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads",
28863 Ref: ref("kubevirt.io/api/core/v1.Realtime"),
28864 },
28865 },
28866 },
28867 Required: []string{"guest"},
28868 },
28869 },
28870 Dependencies: []string{
28871 "kubevirt.io/api/core/v1.NUMA", "kubevirt.io/api/core/v1.Realtime"},
28872 }
28873 }
28874
28875 func schema_kubevirtio_api_instancetype_v1alpha2_CPUPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28876 return common.OpenAPIDefinition{
28877 Schema: spec.Schema{
28878 SchemaProps: spec.SchemaProps{
28879 Description: "CPUPreferences contains various optional CPU preferences.",
28880 Type: []string{"object"},
28881 Properties: map[string]spec.Schema{
28882 "preferredCPUTopology": {
28883 SchemaProps: spec.SchemaProps{
28884 Description: "PreferredCPUTopology optionally defines the preferred guest visible CPU topology, defaults to PreferSockets.",
28885 Type: []string{"string"},
28886 Format: "",
28887 },
28888 },
28889 },
28890 },
28891 },
28892 }
28893 }
28894
28895 func schema_kubevirtio_api_instancetype_v1alpha2_ClockPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28896 return common.OpenAPIDefinition{
28897 Schema: spec.Schema{
28898 SchemaProps: spec.SchemaProps{
28899 Description: "ClockPreferences contains various optional defaults for Clock.",
28900 Type: []string{"object"},
28901 Properties: map[string]spec.Schema{
28902 "preferredClockOffset": {
28903 SchemaProps: spec.SchemaProps{
28904 Description: "ClockOffset allows specifying the UTC offset or the timezone of the guest clock.",
28905 Ref: ref("kubevirt.io/api/core/v1.ClockOffset"),
28906 },
28907 },
28908 "preferredTimer": {
28909 SchemaProps: spec.SchemaProps{
28910 Description: "Timer specifies whih timers are attached to the vmi.",
28911 Ref: ref("kubevirt.io/api/core/v1.Timer"),
28912 },
28913 },
28914 },
28915 },
28916 },
28917 Dependencies: []string{
28918 "kubevirt.io/api/core/v1.ClockOffset", "kubevirt.io/api/core/v1.Timer"},
28919 }
28920 }
28921
28922 func schema_kubevirtio_api_instancetype_v1alpha2_DevicePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
28923 return common.OpenAPIDefinition{
28924 Schema: spec.Schema{
28925 SchemaProps: spec.SchemaProps{
28926 Description: "DevicePreferences contains various optional Device preferences.",
28927 Type: []string{"object"},
28928 Properties: map[string]spec.Schema{
28929 "preferredAutoattachGraphicsDevice": {
28930 SchemaProps: spec.SchemaProps{
28931 Description: "PreferredAutoattachGraphicsDevice optionally defines the preferred value of AutoattachGraphicsDevice",
28932 Type: []string{"boolean"},
28933 Format: "",
28934 },
28935 },
28936 "preferredAutoattachMemBalloon": {
28937 SchemaProps: spec.SchemaProps{
28938 Description: "PreferredAutoattachMemBalloon optionally defines the preferred value of AutoattachMemBalloon",
28939 Type: []string{"boolean"},
28940 Format: "",
28941 },
28942 },
28943 "preferredAutoattachPodInterface": {
28944 SchemaProps: spec.SchemaProps{
28945 Description: "PreferredAutoattachPodInterface optionally defines the preferred value of AutoattachPodInterface",
28946 Type: []string{"boolean"},
28947 Format: "",
28948 },
28949 },
28950 "preferredAutoattachSerialConsole": {
28951 SchemaProps: spec.SchemaProps{
28952 Description: "PreferredAutoattachSerialConsole optionally defines the preferred value of AutoattachSerialConsole",
28953 Type: []string{"boolean"},
28954 Format: "",
28955 },
28956 },
28957 "preferredAutoattachInputDevice": {
28958 SchemaProps: spec.SchemaProps{
28959 Description: "PreferredAutoattachInputDevice optionally defines the preferred value of AutoattachInputDevice",
28960 Type: []string{"boolean"},
28961 Format: "",
28962 },
28963 },
28964 "preferredDisableHotplug": {
28965 SchemaProps: spec.SchemaProps{
28966 Description: "PreferredDisableHotplug optionally defines the preferred value of DisableHotplug",
28967 Type: []string{"boolean"},
28968 Format: "",
28969 },
28970 },
28971 "preferredVirtualGPUOptions": {
28972 SchemaProps: spec.SchemaProps{
28973 Description: "PreferredVirtualGPUOptions optionally defines the preferred value of VirtualGPUOptions",
28974 Ref: ref("kubevirt.io/api/core/v1.VGPUOptions"),
28975 },
28976 },
28977 "preferredSoundModel": {
28978 SchemaProps: spec.SchemaProps{
28979 Description: "PreferredSoundModel optionally defines the preferred model for Sound devices.",
28980 Type: []string{"string"},
28981 Format: "",
28982 },
28983 },
28984 "preferredUseVirtioTransitional": {
28985 SchemaProps: spec.SchemaProps{
28986 Description: "PreferredUseVirtioTransitional optionally defines the preferred value of UseVirtioTransitional",
28987 Type: []string{"boolean"},
28988 Format: "",
28989 },
28990 },
28991 "preferredInputBus": {
28992 SchemaProps: spec.SchemaProps{
28993 Description: "PreferredInputBus optionally defines the preferred bus for Input devices.",
28994 Type: []string{"string"},
28995 Format: "",
28996 },
28997 },
28998 "preferredInputType": {
28999 SchemaProps: spec.SchemaProps{
29000 Description: "PreferredInputType optionally defines the preferred type for Input devices.",
29001 Type: []string{"string"},
29002 Format: "",
29003 },
29004 },
29005 "preferredDiskBus": {
29006 SchemaProps: spec.SchemaProps{
29007 Description: "PreferredDiskBus optionally defines the preferred bus for Disk Disk devices.",
29008 Type: []string{"string"},
29009 Format: "",
29010 },
29011 },
29012 "preferredLunBus": {
29013 SchemaProps: spec.SchemaProps{
29014 Description: "PreferredLunBus optionally defines the preferred bus for Lun Disk devices.",
29015 Type: []string{"string"},
29016 Format: "",
29017 },
29018 },
29019 "preferredCdromBus": {
29020 SchemaProps: spec.SchemaProps{
29021 Description: "PreferredCdromBus optionally defines the preferred bus for Cdrom Disk devices.",
29022 Type: []string{"string"},
29023 Format: "",
29024 },
29025 },
29026 "preferredDiskDedicatedIoThread": {
29027 SchemaProps: spec.SchemaProps{
29028 Description: "PreferredDedicatedIoThread optionally enables dedicated IO threads for Disk devices.",
29029 Type: []string{"boolean"},
29030 Format: "",
29031 },
29032 },
29033 "preferredDiskCache": {
29034 SchemaProps: spec.SchemaProps{
29035 Description: "PreferredCache optionally defines the DriverCache to be used by Disk devices.",
29036 Type: []string{"string"},
29037 Format: "",
29038 },
29039 },
29040 "preferredDiskIO": {
29041 SchemaProps: spec.SchemaProps{
29042 Description: "PreferredIo optionally defines the QEMU disk IO mode to be used by Disk devices.",
29043 Type: []string{"string"},
29044 Format: "",
29045 },
29046 },
29047 "preferredDiskBlockSize": {
29048 SchemaProps: spec.SchemaProps{
29049 Description: "PreferredBlockSize optionally defines the block size of Disk devices.",
29050 Ref: ref("kubevirt.io/api/core/v1.BlockSize"),
29051 },
29052 },
29053 "preferredInterfaceModel": {
29054 SchemaProps: spec.SchemaProps{
29055 Description: "PreferredInterfaceModel optionally defines the preferred model to be used by Interface devices.",
29056 Type: []string{"string"},
29057 Format: "",
29058 },
29059 },
29060 "preferredRng": {
29061 SchemaProps: spec.SchemaProps{
29062 Description: "PreferredRng optionally defines the preferred rng device to be used.",
29063 Ref: ref("kubevirt.io/api/core/v1.Rng"),
29064 },
29065 },
29066 "preferredBlockMultiQueue": {
29067 SchemaProps: spec.SchemaProps{
29068 Description: "PreferredBlockMultiQueue optionally enables the vhost multiqueue feature for virtio disks.",
29069 Type: []string{"boolean"},
29070 Format: "",
29071 },
29072 },
29073 "preferredNetworkInterfaceMultiQueue": {
29074 SchemaProps: spec.SchemaProps{
29075 Description: "PreferredNetworkInterfaceMultiQueue optionally enables the vhost multiqueue feature for virtio interfaces.",
29076 Type: []string{"boolean"},
29077 Format: "",
29078 },
29079 },
29080 "preferredTPM": {
29081 SchemaProps: spec.SchemaProps{
29082 Description: "PreferredTPM optionally defines the preferred TPM device to be used.",
29083 Ref: ref("kubevirt.io/api/core/v1.TPMDevice"),
29084 },
29085 },
29086 },
29087 },
29088 },
29089 Dependencies: []string{
29090 "kubevirt.io/api/core/v1.BlockSize", "kubevirt.io/api/core/v1.Rng", "kubevirt.io/api/core/v1.TPMDevice", "kubevirt.io/api/core/v1.VGPUOptions"},
29091 }
29092 }
29093
29094 func schema_kubevirtio_api_instancetype_v1alpha2_FeaturePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29095 return common.OpenAPIDefinition{
29096 Schema: spec.Schema{
29097 SchemaProps: spec.SchemaProps{
29098 Description: "FeaturePreferences contains various optional defaults for Features.",
29099 Type: []string{"object"},
29100 Properties: map[string]spec.Schema{
29101 "preferredAcpi": {
29102 SchemaProps: spec.SchemaProps{
29103 Description: "PreferredAcpi optionally enables the ACPI feature",
29104 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
29105 },
29106 },
29107 "preferredApic": {
29108 SchemaProps: spec.SchemaProps{
29109 Description: "PreferredApic optionally enables and configures the APIC feature",
29110 Ref: ref("kubevirt.io/api/core/v1.FeatureAPIC"),
29111 },
29112 },
29113 "preferredHyperv": {
29114 SchemaProps: spec.SchemaProps{
29115 Description: "PreferredHyperv optionally enables and configures HyperV features",
29116 Ref: ref("kubevirt.io/api/core/v1.FeatureHyperv"),
29117 },
29118 },
29119 "preferredKvm": {
29120 SchemaProps: spec.SchemaProps{
29121 Description: "PreferredKvm optionally enables and configures KVM features",
29122 Ref: ref("kubevirt.io/api/core/v1.FeatureKVM"),
29123 },
29124 },
29125 "preferredPvspinlock": {
29126 SchemaProps: spec.SchemaProps{
29127 Description: "PreferredPvspinlock optionally enables the Pvspinlock feature",
29128 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
29129 },
29130 },
29131 "preferredSmm": {
29132 SchemaProps: spec.SchemaProps{
29133 Description: "PreferredSmm optionally enables the SMM feature",
29134 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
29135 },
29136 },
29137 },
29138 },
29139 },
29140 Dependencies: []string{
29141 "kubevirt.io/api/core/v1.FeatureAPIC", "kubevirt.io/api/core/v1.FeatureHyperv", "kubevirt.io/api/core/v1.FeatureKVM", "kubevirt.io/api/core/v1.FeatureState"},
29142 }
29143 }
29144
29145 func schema_kubevirtio_api_instancetype_v1alpha2_FirmwarePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29146 return common.OpenAPIDefinition{
29147 Schema: spec.Schema{
29148 SchemaProps: spec.SchemaProps{
29149 Description: "FirmwarePreferences contains various optional defaults for Firmware.",
29150 Type: []string{"object"},
29151 Properties: map[string]spec.Schema{
29152 "preferredUseBios": {
29153 SchemaProps: spec.SchemaProps{
29154 Description: "PreferredUseBios optionally enables BIOS",
29155 Type: []string{"boolean"},
29156 Format: "",
29157 },
29158 },
29159 "preferredUseBiosSerial": {
29160 SchemaProps: spec.SchemaProps{
29161 Description: "PreferredUseBiosSerial optionally transmitts BIOS output over the serial.\n\nRequires PreferredUseBios to be enabled.",
29162 Type: []string{"boolean"},
29163 Format: "",
29164 },
29165 },
29166 "preferredUseEfi": {
29167 SchemaProps: spec.SchemaProps{
29168 Description: "PreferredUseEfi optionally enables EFI",
29169 Type: []string{"boolean"},
29170 Format: "",
29171 },
29172 },
29173 "preferredUseSecureBoot": {
29174 SchemaProps: spec.SchemaProps{
29175 Description: "PreferredUseSecureBoot optionally enables SecureBoot and the OVMF roms will be swapped for SecureBoot-enabled ones.\n\nRequires PreferredUseEfi and PreferredSmm to be enabled.",
29176 Type: []string{"boolean"},
29177 Format: "",
29178 },
29179 },
29180 },
29181 },
29182 },
29183 }
29184 }
29185
29186 func schema_kubevirtio_api_instancetype_v1alpha2_MachinePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29187 return common.OpenAPIDefinition{
29188 Schema: spec.Schema{
29189 SchemaProps: spec.SchemaProps{
29190 Description: "MachinePreferences contains various optional defaults for Machine.",
29191 Type: []string{"object"},
29192 Properties: map[string]spec.Schema{
29193 "preferredMachineType": {
29194 SchemaProps: spec.SchemaProps{
29195 Description: "PreferredMachineType optionally defines the preferred machine type to use.",
29196 Type: []string{"string"},
29197 Format: "",
29198 },
29199 },
29200 },
29201 },
29202 },
29203 }
29204 }
29205
29206 func schema_kubevirtio_api_instancetype_v1alpha2_MemoryInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
29207 return common.OpenAPIDefinition{
29208 Schema: spec.Schema{
29209 SchemaProps: spec.SchemaProps{
29210 Description: "MemoryInstancetype contains the Memory related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the amount of RAM to be exposed to the guest by the instancetype.",
29211 Type: []string{"object"},
29212 Properties: map[string]spec.Schema{
29213 "guest": {
29214 SchemaProps: spec.SchemaProps{
29215 Description: "Required amount of memory which is visible inside the guest OS.",
29216 Default: map[string]interface{}{},
29217 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
29218 },
29219 },
29220 "hugepages": {
29221 SchemaProps: spec.SchemaProps{
29222 Description: "Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory.",
29223 Ref: ref("kubevirt.io/api/core/v1.Hugepages"),
29224 },
29225 },
29226 },
29227 Required: []string{"guest"},
29228 },
29229 },
29230 Dependencies: []string{
29231 "k8s.io/apimachinery/pkg/api/resource.Quantity", "kubevirt.io/api/core/v1.Hugepages"},
29232 }
29233 }
29234
29235 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
29236 return common.OpenAPIDefinition{
29237 Schema: spec.Schema{
29238 SchemaProps: spec.SchemaProps{
29239 Description: "VirtualMachineClusterInstancetype is a cluster scoped version of VirtualMachineInstancetype resource.",
29240 Type: []string{"object"},
29241 Properties: map[string]spec.Schema{
29242 "kind": {
29243 SchemaProps: spec.SchemaProps{
29244 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29245 Type: []string{"string"},
29246 Format: "",
29247 },
29248 },
29249 "apiVersion": {
29250 SchemaProps: spec.SchemaProps{
29251 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29252 Type: []string{"string"},
29253 Format: "",
29254 },
29255 },
29256 "metadata": {
29257 SchemaProps: spec.SchemaProps{
29258 Default: map[string]interface{}{},
29259 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
29260 },
29261 },
29262 "spec": {
29263 SchemaProps: spec.SchemaProps{
29264 Description: "Required spec describing the instancetype",
29265 Default: map[string]interface{}{},
29266 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeSpec"),
29267 },
29268 },
29269 },
29270 Required: []string{"spec"},
29271 },
29272 },
29273 Dependencies: []string{
29274 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeSpec"},
29275 }
29276 }
29277
29278 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
29279 return common.OpenAPIDefinition{
29280 Schema: spec.Schema{
29281 SchemaProps: spec.SchemaProps{
29282 Description: "VirtualMachineClusterInstancetypeList is a list of VirtualMachineClusterInstancetype resources.",
29283 Type: []string{"object"},
29284 Properties: map[string]spec.Schema{
29285 "kind": {
29286 SchemaProps: spec.SchemaProps{
29287 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29288 Type: []string{"string"},
29289 Format: "",
29290 },
29291 },
29292 "apiVersion": {
29293 SchemaProps: spec.SchemaProps{
29294 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29295 Type: []string{"string"},
29296 Format: "",
29297 },
29298 },
29299 "metadata": {
29300 SchemaProps: spec.SchemaProps{
29301 Default: map[string]interface{}{},
29302 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
29303 },
29304 },
29305 "items": {
29306 SchemaProps: spec.SchemaProps{
29307 Type: []string{"array"},
29308 Items: &spec.SchemaOrArray{
29309 Schema: &spec.Schema{
29310 SchemaProps: spec.SchemaProps{
29311 Default: map[string]interface{}{},
29312 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterInstancetype"),
29313 },
29314 },
29315 },
29316 },
29317 },
29318 },
29319 Required: []string{"items"},
29320 },
29321 },
29322 Dependencies: []string{
29323 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterInstancetype"},
29324 }
29325 }
29326
29327 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterPreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
29328 return common.OpenAPIDefinition{
29329 Schema: spec.Schema{
29330 SchemaProps: spec.SchemaProps{
29331 Description: "VirtualMachineClusterPreference is a cluster scoped version of the VirtualMachinePreference resource.",
29332 Type: []string{"object"},
29333 Properties: map[string]spec.Schema{
29334 "kind": {
29335 SchemaProps: spec.SchemaProps{
29336 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29337 Type: []string{"string"},
29338 Format: "",
29339 },
29340 },
29341 "apiVersion": {
29342 SchemaProps: spec.SchemaProps{
29343 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29344 Type: []string{"string"},
29345 Format: "",
29346 },
29347 },
29348 "metadata": {
29349 SchemaProps: spec.SchemaProps{
29350 Default: map[string]interface{}{},
29351 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
29352 },
29353 },
29354 "spec": {
29355 SchemaProps: spec.SchemaProps{
29356 Description: "Required spec describing the preferences",
29357 Default: map[string]interface{}{},
29358 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceSpec"),
29359 },
29360 },
29361 },
29362 Required: []string{"spec"},
29363 },
29364 },
29365 Dependencies: []string{
29366 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceSpec"},
29367 }
29368 }
29369
29370 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineClusterPreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
29371 return common.OpenAPIDefinition{
29372 Schema: spec.Schema{
29373 SchemaProps: spec.SchemaProps{
29374 Description: "VirtualMachineClusterPreferenceList is a list of VirtualMachineClusterPreference resources.",
29375 Type: []string{"object"},
29376 Properties: map[string]spec.Schema{
29377 "kind": {
29378 SchemaProps: spec.SchemaProps{
29379 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29380 Type: []string{"string"},
29381 Format: "",
29382 },
29383 },
29384 "apiVersion": {
29385 SchemaProps: spec.SchemaProps{
29386 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29387 Type: []string{"string"},
29388 Format: "",
29389 },
29390 },
29391 "metadata": {
29392 SchemaProps: spec.SchemaProps{
29393 Default: map[string]interface{}{},
29394 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
29395 },
29396 },
29397 "items": {
29398 VendorExtensible: spec.VendorExtensible{
29399 Extensions: spec.Extensions{
29400 "x-kubernetes-list-type": "set",
29401 },
29402 },
29403 SchemaProps: spec.SchemaProps{
29404 Type: []string{"array"},
29405 Items: &spec.SchemaOrArray{
29406 Schema: &spec.Schema{
29407 SchemaProps: spec.SchemaProps{
29408 Default: map[string]interface{}{},
29409 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterPreference"),
29410 },
29411 },
29412 },
29413 },
29414 },
29415 },
29416 Required: []string{"items"},
29417 },
29418 },
29419 Dependencies: []string{
29420 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineClusterPreference"},
29421 }
29422 }
29423
29424 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
29425 return common.OpenAPIDefinition{
29426 Schema: spec.Schema{
29427 SchemaProps: spec.SchemaProps{
29428 Description: "VirtualMachineInstancetype resource contains quantitative and resource related VirtualMachine configuration that can be used by multiple VirtualMachine resources.",
29429 Type: []string{"object"},
29430 Properties: map[string]spec.Schema{
29431 "kind": {
29432 SchemaProps: spec.SchemaProps{
29433 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29434 Type: []string{"string"},
29435 Format: "",
29436 },
29437 },
29438 "apiVersion": {
29439 SchemaProps: spec.SchemaProps{
29440 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29441 Type: []string{"string"},
29442 Format: "",
29443 },
29444 },
29445 "metadata": {
29446 SchemaProps: spec.SchemaProps{
29447 Default: map[string]interface{}{},
29448 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
29449 },
29450 },
29451 "spec": {
29452 SchemaProps: spec.SchemaProps{
29453 Description: "Required spec describing the instancetype",
29454 Default: map[string]interface{}{},
29455 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeSpec"),
29456 },
29457 },
29458 },
29459 Required: []string{"spec"},
29460 },
29461 },
29462 Dependencies: []string{
29463 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetypeSpec"},
29464 }
29465 }
29466
29467 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
29468 return common.OpenAPIDefinition{
29469 Schema: spec.Schema{
29470 SchemaProps: spec.SchemaProps{
29471 Description: "VirtualMachineInstancetypeList is a list of VirtualMachineInstancetype resources.",
29472 Type: []string{"object"},
29473 Properties: map[string]spec.Schema{
29474 "kind": {
29475 SchemaProps: spec.SchemaProps{
29476 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29477 Type: []string{"string"},
29478 Format: "",
29479 },
29480 },
29481 "apiVersion": {
29482 SchemaProps: spec.SchemaProps{
29483 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29484 Type: []string{"string"},
29485 Format: "",
29486 },
29487 },
29488 "metadata": {
29489 SchemaProps: spec.SchemaProps{
29490 Default: map[string]interface{}{},
29491 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
29492 },
29493 },
29494 "items": {
29495 SchemaProps: spec.SchemaProps{
29496 Type: []string{"array"},
29497 Items: &spec.SchemaOrArray{
29498 Schema: &spec.Schema{
29499 SchemaProps: spec.SchemaProps{
29500 Default: map[string]interface{}{},
29501 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetype"),
29502 },
29503 },
29504 },
29505 },
29506 },
29507 },
29508 Required: []string{"items"},
29509 },
29510 },
29511 Dependencies: []string{
29512 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachineInstancetype"},
29513 }
29514 }
29515
29516 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachineInstancetypeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
29517 return common.OpenAPIDefinition{
29518 Schema: spec.Schema{
29519 SchemaProps: spec.SchemaProps{
29520 Description: "VirtualMachineInstancetypeSpec is a description of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype.\n\nCPU and Memory are required attributes with both requiring that their Guest attribute is defined, ensuring a number of vCPUs and amount of RAM is always provided by each instancetype.",
29521 Type: []string{"object"},
29522 Properties: map[string]spec.Schema{
29523 "cpu": {
29524 SchemaProps: spec.SchemaProps{
29525 Description: "Required CPU related attributes of the instancetype.",
29526 Default: map[string]interface{}{},
29527 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.CPUInstancetype"),
29528 },
29529 },
29530 "memory": {
29531 SchemaProps: spec.SchemaProps{
29532 Description: "Required Memory related attributes of the instancetype.",
29533 Default: map[string]interface{}{},
29534 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.MemoryInstancetype"),
29535 },
29536 },
29537 "gpus": {
29538 VendorExtensible: spec.VendorExtensible{
29539 Extensions: spec.Extensions{
29540 "x-kubernetes-list-type": "atomic",
29541 },
29542 },
29543 SchemaProps: spec.SchemaProps{
29544 Description: "Optionally defines any GPU devices associated with the instancetype.",
29545 Type: []string{"array"},
29546 Items: &spec.SchemaOrArray{
29547 Schema: &spec.Schema{
29548 SchemaProps: spec.SchemaProps{
29549 Default: map[string]interface{}{},
29550 Ref: ref("kubevirt.io/api/core/v1.GPU"),
29551 },
29552 },
29553 },
29554 },
29555 },
29556 "hostDevices": {
29557 VendorExtensible: spec.VendorExtensible{
29558 Extensions: spec.Extensions{
29559 "x-kubernetes-list-type": "atomic",
29560 },
29561 },
29562 SchemaProps: spec.SchemaProps{
29563 Description: "Optionally defines any HostDevices associated with the instancetype.",
29564 Type: []string{"array"},
29565 Items: &spec.SchemaOrArray{
29566 Schema: &spec.Schema{
29567 SchemaProps: spec.SchemaProps{
29568 Default: map[string]interface{}{},
29569 Ref: ref("kubevirt.io/api/core/v1.HostDevice"),
29570 },
29571 },
29572 },
29573 },
29574 },
29575 "ioThreadsPolicy": {
29576 SchemaProps: spec.SchemaProps{
29577 Description: "Optionally defines the IOThreadsPolicy to be used by the instancetype.",
29578 Type: []string{"string"},
29579 Format: "",
29580 },
29581 },
29582 "launchSecurity": {
29583 SchemaProps: spec.SchemaProps{
29584 Description: "Optionally defines the LaunchSecurity to be used by the instancetype.",
29585 Ref: ref("kubevirt.io/api/core/v1.LaunchSecurity"),
29586 },
29587 },
29588 },
29589 Required: []string{"cpu", "memory"},
29590 },
29591 },
29592 Dependencies: []string{
29593 "kubevirt.io/api/core/v1.GPU", "kubevirt.io/api/core/v1.HostDevice", "kubevirt.io/api/core/v1.LaunchSecurity", "kubevirt.io/api/instancetype/v1alpha2.CPUInstancetype", "kubevirt.io/api/instancetype/v1alpha2.MemoryInstancetype"},
29594 }
29595 }
29596
29597 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
29598 return common.OpenAPIDefinition{
29599 Schema: spec.Schema{
29600 SchemaProps: spec.SchemaProps{
29601 Description: "VirtualMachinePreference resource contains optional preferences related to the VirtualMachine.",
29602 Type: []string{"object"},
29603 Properties: map[string]spec.Schema{
29604 "kind": {
29605 SchemaProps: spec.SchemaProps{
29606 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29607 Type: []string{"string"},
29608 Format: "",
29609 },
29610 },
29611 "apiVersion": {
29612 SchemaProps: spec.SchemaProps{
29613 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29614 Type: []string{"string"},
29615 Format: "",
29616 },
29617 },
29618 "metadata": {
29619 SchemaProps: spec.SchemaProps{
29620 Default: map[string]interface{}{},
29621 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
29622 },
29623 },
29624 "spec": {
29625 SchemaProps: spec.SchemaProps{
29626 Description: "Required spec describing the preferences",
29627 Default: map[string]interface{}{},
29628 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceSpec"),
29629 },
29630 },
29631 },
29632 Required: []string{"spec"},
29633 },
29634 },
29635 Dependencies: []string{
29636 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreferenceSpec"},
29637 }
29638 }
29639
29640 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
29641 return common.OpenAPIDefinition{
29642 Schema: spec.Schema{
29643 SchemaProps: spec.SchemaProps{
29644 Description: "VirtualMachinePreferenceList is a list of VirtualMachinePreference resources.",
29645 Type: []string{"object"},
29646 Properties: map[string]spec.Schema{
29647 "kind": {
29648 SchemaProps: spec.SchemaProps{
29649 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
29650 Type: []string{"string"},
29651 Format: "",
29652 },
29653 },
29654 "apiVersion": {
29655 SchemaProps: spec.SchemaProps{
29656 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
29657 Type: []string{"string"},
29658 Format: "",
29659 },
29660 },
29661 "metadata": {
29662 SchemaProps: spec.SchemaProps{
29663 Default: map[string]interface{}{},
29664 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
29665 },
29666 },
29667 "items": {
29668 VendorExtensible: spec.VendorExtensible{
29669 Extensions: spec.Extensions{
29670 "x-kubernetes-list-type": "set",
29671 },
29672 },
29673 SchemaProps: spec.SchemaProps{
29674 Type: []string{"array"},
29675 Items: &spec.SchemaOrArray{
29676 Schema: &spec.Schema{
29677 SchemaProps: spec.SchemaProps{
29678 Default: map[string]interface{}{},
29679 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreference"),
29680 },
29681 },
29682 },
29683 },
29684 },
29685 },
29686 Required: []string{"items"},
29687 },
29688 },
29689 Dependencies: []string{
29690 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1alpha2.VirtualMachinePreference"},
29691 }
29692 }
29693
29694 func schema_kubevirtio_api_instancetype_v1alpha2_VirtualMachinePreferenceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
29695 return common.OpenAPIDefinition{
29696 Schema: spec.Schema{
29697 SchemaProps: spec.SchemaProps{
29698 Description: "VirtualMachinePreferenceSpec is a description of the VirtualMachinePreference or VirtualMachineClusterPreference.",
29699 Type: []string{"object"},
29700 Properties: map[string]spec.Schema{
29701 "clock": {
29702 SchemaProps: spec.SchemaProps{
29703 Description: "Clock optionally defines preferences associated with the Clock attribute of a VirtualMachineInstance DomainSpec",
29704 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.ClockPreferences"),
29705 },
29706 },
29707 "cpu": {
29708 SchemaProps: spec.SchemaProps{
29709 Description: "CPU optionally defines preferences associated with the CPU attribute of a VirtualMachineInstance DomainSpec",
29710 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.CPUPreferences"),
29711 },
29712 },
29713 "devices": {
29714 SchemaProps: spec.SchemaProps{
29715 Description: "Devices optionally defines preferences associated with the Devices attribute of a VirtualMachineInstance DomainSpec",
29716 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.DevicePreferences"),
29717 },
29718 },
29719 "features": {
29720 SchemaProps: spec.SchemaProps{
29721 Description: "Features optionally defines preferences associated with the Features attribute of a VirtualMachineInstance DomainSpec",
29722 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.FeaturePreferences"),
29723 },
29724 },
29725 "firmware": {
29726 SchemaProps: spec.SchemaProps{
29727 Description: "Firmware optionally defines preferences associated with the Firmware attribute of a VirtualMachineInstance DomainSpec",
29728 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.FirmwarePreferences"),
29729 },
29730 },
29731 "machine": {
29732 SchemaProps: spec.SchemaProps{
29733 Description: "Machine optionally defines preferences associated with the Machine attribute of a VirtualMachineInstance DomainSpec",
29734 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.MachinePreferences"),
29735 },
29736 },
29737 "volumes": {
29738 SchemaProps: spec.SchemaProps{
29739 Description: "Volumes optionally defines preferences associated with the Volumes attribute of a VirtualMachineInstace DomainSpec",
29740 Ref: ref("kubevirt.io/api/instancetype/v1alpha2.VolumePreferences"),
29741 },
29742 },
29743 },
29744 },
29745 },
29746 Dependencies: []string{
29747 "kubevirt.io/api/instancetype/v1alpha2.CPUPreferences", "kubevirt.io/api/instancetype/v1alpha2.ClockPreferences", "kubevirt.io/api/instancetype/v1alpha2.DevicePreferences", "kubevirt.io/api/instancetype/v1alpha2.FeaturePreferences", "kubevirt.io/api/instancetype/v1alpha2.FirmwarePreferences", "kubevirt.io/api/instancetype/v1alpha2.MachinePreferences", "kubevirt.io/api/instancetype/v1alpha2.VolumePreferences"},
29748 }
29749 }
29750
29751 func schema_kubevirtio_api_instancetype_v1alpha2_VolumePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29752 return common.OpenAPIDefinition{
29753 Schema: spec.Schema{
29754 SchemaProps: spec.SchemaProps{
29755 Type: []string{"object"},
29756 Properties: map[string]spec.Schema{
29757 "preferredStorageClassName": {
29758 SchemaProps: spec.SchemaProps{
29759 Description: "PreffereedStorageClassName optionally defines the preferred storageClass",
29760 Type: []string{"string"},
29761 Format: "",
29762 },
29763 },
29764 },
29765 },
29766 },
29767 }
29768 }
29769
29770 func schema_kubevirtio_api_instancetype_v1beta1_CPUInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
29771 return common.OpenAPIDefinition{
29772 Schema: spec.Schema{
29773 SchemaProps: spec.SchemaProps{
29774 Description: "CPUInstancetype contains the CPU related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the number of vCPUs to be exposed to the guest by the instancetype.",
29775 Type: []string{"object"},
29776 Properties: map[string]spec.Schema{
29777 "guest": {
29778 SchemaProps: spec.SchemaProps{
29779 Description: "Required number of vCPUs to expose to the guest.\n\nThe resulting CPU topology being derived from the optional PreferredCPUTopology attribute of CPUPreferences that itself defaults to PreferSockets.",
29780 Default: 0,
29781 Type: []string{"integer"},
29782 Format: "int64",
29783 },
29784 },
29785 "model": {
29786 SchemaProps: spec.SchemaProps{
29787 Description: "Model specifies the CPU model inside the VMI. List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. It is possible to specify special cases like \"host-passthrough\" to get the same CPU as the node and \"host-model\" to get CPU closest to the node one. Defaults to host-model.",
29788 Type: []string{"string"},
29789 Format: "",
29790 },
29791 },
29792 "dedicatedCPUPlacement": {
29793 SchemaProps: spec.SchemaProps{
29794 Description: "DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node with enough dedicated pCPUs and pin the vCPUs to it.",
29795 Type: []string{"boolean"},
29796 Format: "",
29797 },
29798 },
29799 "numa": {
29800 SchemaProps: spec.SchemaProps{
29801 Description: "NUMA allows specifying settings for the guest NUMA topology",
29802 Ref: ref("kubevirt.io/api/core/v1.NUMA"),
29803 },
29804 },
29805 "isolateEmulatorThread": {
29806 SchemaProps: spec.SchemaProps{
29807 Description: "IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place the emulator thread on it.",
29808 Type: []string{"boolean"},
29809 Format: "",
29810 },
29811 },
29812 "realtime": {
29813 SchemaProps: spec.SchemaProps{
29814 Description: "Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads",
29815 Ref: ref("kubevirt.io/api/core/v1.Realtime"),
29816 },
29817 },
29818 "maxSockets": {
29819 SchemaProps: spec.SchemaProps{
29820 Description: "MaxSockets specifies the maximum amount of sockets that can be hotplugged",
29821 Type: []string{"integer"},
29822 Format: "int64",
29823 },
29824 },
29825 },
29826 Required: []string{"guest"},
29827 },
29828 },
29829 Dependencies: []string{
29830 "kubevirt.io/api/core/v1.NUMA", "kubevirt.io/api/core/v1.Realtime"},
29831 }
29832 }
29833
29834 func schema_kubevirtio_api_instancetype_v1beta1_CPUPreferenceRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
29835 return common.OpenAPIDefinition{
29836 Schema: spec.Schema{
29837 SchemaProps: spec.SchemaProps{
29838 Type: []string{"object"},
29839 Properties: map[string]spec.Schema{
29840 "guest": {
29841 SchemaProps: spec.SchemaProps{
29842 Description: "Minimal number of vCPUs required by the preference.",
29843 Default: 0,
29844 Type: []string{"integer"},
29845 Format: "int64",
29846 },
29847 },
29848 },
29849 Required: []string{"guest"},
29850 },
29851 },
29852 }
29853 }
29854
29855 func schema_kubevirtio_api_instancetype_v1beta1_CPUPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29856 return common.OpenAPIDefinition{
29857 Schema: spec.Schema{
29858 SchemaProps: spec.SchemaProps{
29859 Description: "CPUPreferences contains various optional CPU preferences.",
29860 Type: []string{"object"},
29861 Properties: map[string]spec.Schema{
29862 "preferredCPUTopology": {
29863 SchemaProps: spec.SchemaProps{
29864 Description: "PreferredCPUTopology optionally defines the preferred guest visible CPU topology, defaults to PreferSockets.",
29865 Type: []string{"string"},
29866 Format: "",
29867 },
29868 },
29869 "spreadOptions": {
29870 SchemaProps: spec.SchemaProps{
29871 Ref: ref("kubevirt.io/api/instancetype/v1beta1.SpreadOptions"),
29872 },
29873 },
29874 "preferredCPUFeatures": {
29875 SchemaProps: spec.SchemaProps{
29876 Description: "PreferredCPUFeatures optionally defines a slice of preferred CPU features.",
29877 Type: []string{"array"},
29878 Items: &spec.SchemaOrArray{
29879 Schema: &spec.Schema{
29880 SchemaProps: spec.SchemaProps{
29881 Default: map[string]interface{}{},
29882 Ref: ref("kubevirt.io/api/core/v1.CPUFeature"),
29883 },
29884 },
29885 },
29886 },
29887 },
29888 },
29889 },
29890 },
29891 Dependencies: []string{
29892 "kubevirt.io/api/core/v1.CPUFeature", "kubevirt.io/api/instancetype/v1beta1.SpreadOptions"},
29893 }
29894 }
29895
29896 func schema_kubevirtio_api_instancetype_v1beta1_ClockPreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29897 return common.OpenAPIDefinition{
29898 Schema: spec.Schema{
29899 SchemaProps: spec.SchemaProps{
29900 Description: "ClockPreferences contains various optional defaults for Clock.",
29901 Type: []string{"object"},
29902 Properties: map[string]spec.Schema{
29903 "preferredClockOffset": {
29904 SchemaProps: spec.SchemaProps{
29905 Description: "ClockOffset allows specifying the UTC offset or the timezone of the guest clock.",
29906 Ref: ref("kubevirt.io/api/core/v1.ClockOffset"),
29907 },
29908 },
29909 "preferredTimer": {
29910 SchemaProps: spec.SchemaProps{
29911 Description: "Timer specifies whih timers are attached to the vmi.",
29912 Ref: ref("kubevirt.io/api/core/v1.Timer"),
29913 },
29914 },
29915 },
29916 },
29917 },
29918 Dependencies: []string{
29919 "kubevirt.io/api/core/v1.ClockOffset", "kubevirt.io/api/core/v1.Timer"},
29920 }
29921 }
29922
29923 func schema_kubevirtio_api_instancetype_v1beta1_DevicePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
29924 return common.OpenAPIDefinition{
29925 Schema: spec.Schema{
29926 SchemaProps: spec.SchemaProps{
29927 Description: "DevicePreferences contains various optional Device preferences.",
29928 Type: []string{"object"},
29929 Properties: map[string]spec.Schema{
29930 "preferredAutoattachGraphicsDevice": {
29931 SchemaProps: spec.SchemaProps{
29932 Description: "PreferredAutoattachGraphicsDevice optionally defines the preferred value of AutoattachGraphicsDevice",
29933 Type: []string{"boolean"},
29934 Format: "",
29935 },
29936 },
29937 "preferredAutoattachMemBalloon": {
29938 SchemaProps: spec.SchemaProps{
29939 Description: "PreferredAutoattachMemBalloon optionally defines the preferred value of AutoattachMemBalloon",
29940 Type: []string{"boolean"},
29941 Format: "",
29942 },
29943 },
29944 "preferredAutoattachPodInterface": {
29945 SchemaProps: spec.SchemaProps{
29946 Description: "PreferredAutoattachPodInterface optionally defines the preferred value of AutoattachPodInterface",
29947 Type: []string{"boolean"},
29948 Format: "",
29949 },
29950 },
29951 "preferredAutoattachSerialConsole": {
29952 SchemaProps: spec.SchemaProps{
29953 Description: "PreferredAutoattachSerialConsole optionally defines the preferred value of AutoattachSerialConsole",
29954 Type: []string{"boolean"},
29955 Format: "",
29956 },
29957 },
29958 "preferredAutoattachInputDevice": {
29959 SchemaProps: spec.SchemaProps{
29960 Description: "PreferredAutoattachInputDevice optionally defines the preferred value of AutoattachInputDevice",
29961 Type: []string{"boolean"},
29962 Format: "",
29963 },
29964 },
29965 "preferredDisableHotplug": {
29966 SchemaProps: spec.SchemaProps{
29967 Description: "PreferredDisableHotplug optionally defines the preferred value of DisableHotplug",
29968 Type: []string{"boolean"},
29969 Format: "",
29970 },
29971 },
29972 "preferredVirtualGPUOptions": {
29973 SchemaProps: spec.SchemaProps{
29974 Description: "PreferredVirtualGPUOptions optionally defines the preferred value of VirtualGPUOptions",
29975 Ref: ref("kubevirt.io/api/core/v1.VGPUOptions"),
29976 },
29977 },
29978 "preferredSoundModel": {
29979 SchemaProps: spec.SchemaProps{
29980 Description: "PreferredSoundModel optionally defines the preferred model for Sound devices.",
29981 Type: []string{"string"},
29982 Format: "",
29983 },
29984 },
29985 "preferredUseVirtioTransitional": {
29986 SchemaProps: spec.SchemaProps{
29987 Description: "PreferredUseVirtioTransitional optionally defines the preferred value of UseVirtioTransitional",
29988 Type: []string{"boolean"},
29989 Format: "",
29990 },
29991 },
29992 "preferredInputBus": {
29993 SchemaProps: spec.SchemaProps{
29994 Description: "PreferredInputBus optionally defines the preferred bus for Input devices.",
29995 Type: []string{"string"},
29996 Format: "",
29997 },
29998 },
29999 "preferredInputType": {
30000 SchemaProps: spec.SchemaProps{
30001 Description: "PreferredInputType optionally defines the preferred type for Input devices.",
30002 Type: []string{"string"},
30003 Format: "",
30004 },
30005 },
30006 "preferredDiskBus": {
30007 SchemaProps: spec.SchemaProps{
30008 Description: "PreferredDiskBus optionally defines the preferred bus for Disk Disk devices.",
30009 Type: []string{"string"},
30010 Format: "",
30011 },
30012 },
30013 "preferredLunBus": {
30014 SchemaProps: spec.SchemaProps{
30015 Description: "PreferredLunBus optionally defines the preferred bus for Lun Disk devices.",
30016 Type: []string{"string"},
30017 Format: "",
30018 },
30019 },
30020 "preferredCdromBus": {
30021 SchemaProps: spec.SchemaProps{
30022 Description: "PreferredCdromBus optionally defines the preferred bus for Cdrom Disk devices.",
30023 Type: []string{"string"},
30024 Format: "",
30025 },
30026 },
30027 "preferredDiskDedicatedIoThread": {
30028 SchemaProps: spec.SchemaProps{
30029 Description: "PreferredDedicatedIoThread optionally enables dedicated IO threads for Disk devices using the virtio bus.",
30030 Type: []string{"boolean"},
30031 Format: "",
30032 },
30033 },
30034 "preferredDiskCache": {
30035 SchemaProps: spec.SchemaProps{
30036 Description: "PreferredCache optionally defines the DriverCache to be used by Disk devices.",
30037 Type: []string{"string"},
30038 Format: "",
30039 },
30040 },
30041 "preferredDiskIO": {
30042 SchemaProps: spec.SchemaProps{
30043 Description: "PreferredIo optionally defines the QEMU disk IO mode to be used by Disk devices.",
30044 Type: []string{"string"},
30045 Format: "",
30046 },
30047 },
30048 "preferredDiskBlockSize": {
30049 SchemaProps: spec.SchemaProps{
30050 Description: "PreferredBlockSize optionally defines the block size of Disk devices.",
30051 Ref: ref("kubevirt.io/api/core/v1.BlockSize"),
30052 },
30053 },
30054 "preferredInterfaceModel": {
30055 SchemaProps: spec.SchemaProps{
30056 Description: "PreferredInterfaceModel optionally defines the preferred model to be used by Interface devices.",
30057 Type: []string{"string"},
30058 Format: "",
30059 },
30060 },
30061 "preferredRng": {
30062 SchemaProps: spec.SchemaProps{
30063 Description: "PreferredRng optionally defines the preferred rng device to be used.",
30064 Ref: ref("kubevirt.io/api/core/v1.Rng"),
30065 },
30066 },
30067 "preferredBlockMultiQueue": {
30068 SchemaProps: spec.SchemaProps{
30069 Description: "PreferredBlockMultiQueue optionally enables the vhost multiqueue feature for virtio disks.",
30070 Type: []string{"boolean"},
30071 Format: "",
30072 },
30073 },
30074 "preferredNetworkInterfaceMultiQueue": {
30075 SchemaProps: spec.SchemaProps{
30076 Description: "PreferredNetworkInterfaceMultiQueue optionally enables the vhost multiqueue feature for virtio interfaces.",
30077 Type: []string{"boolean"},
30078 Format: "",
30079 },
30080 },
30081 "preferredTPM": {
30082 SchemaProps: spec.SchemaProps{
30083 Description: "PreferredTPM optionally defines the preferred TPM device to be used.",
30084 Ref: ref("kubevirt.io/api/core/v1.TPMDevice"),
30085 },
30086 },
30087 "preferredInterfaceMasquerade": {
30088 SchemaProps: spec.SchemaProps{
30089 Description: "PreferredInterfaceMasquerade optionally defines the preferred masquerade configuration to use with each network interface.",
30090 Ref: ref("kubevirt.io/api/core/v1.InterfaceMasquerade"),
30091 },
30092 },
30093 },
30094 },
30095 },
30096 Dependencies: []string{
30097 "kubevirt.io/api/core/v1.BlockSize", "kubevirt.io/api/core/v1.InterfaceMasquerade", "kubevirt.io/api/core/v1.Rng", "kubevirt.io/api/core/v1.TPMDevice", "kubevirt.io/api/core/v1.VGPUOptions"},
30098 }
30099 }
30100
30101 func schema_kubevirtio_api_instancetype_v1beta1_FeaturePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
30102 return common.OpenAPIDefinition{
30103 Schema: spec.Schema{
30104 SchemaProps: spec.SchemaProps{
30105 Description: "FeaturePreferences contains various optional defaults for Features.",
30106 Type: []string{"object"},
30107 Properties: map[string]spec.Schema{
30108 "preferredAcpi": {
30109 SchemaProps: spec.SchemaProps{
30110 Description: "PreferredAcpi optionally enables the ACPI feature",
30111 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
30112 },
30113 },
30114 "preferredApic": {
30115 SchemaProps: spec.SchemaProps{
30116 Description: "PreferredApic optionally enables and configures the APIC feature",
30117 Ref: ref("kubevirt.io/api/core/v1.FeatureAPIC"),
30118 },
30119 },
30120 "preferredHyperv": {
30121 SchemaProps: spec.SchemaProps{
30122 Description: "PreferredHyperv optionally enables and configures HyperV features",
30123 Ref: ref("kubevirt.io/api/core/v1.FeatureHyperv"),
30124 },
30125 },
30126 "preferredKvm": {
30127 SchemaProps: spec.SchemaProps{
30128 Description: "PreferredKvm optionally enables and configures KVM features",
30129 Ref: ref("kubevirt.io/api/core/v1.FeatureKVM"),
30130 },
30131 },
30132 "preferredPvspinlock": {
30133 SchemaProps: spec.SchemaProps{
30134 Description: "PreferredPvspinlock optionally enables the Pvspinlock feature",
30135 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
30136 },
30137 },
30138 "preferredSmm": {
30139 SchemaProps: spec.SchemaProps{
30140 Description: "PreferredSmm optionally enables the SMM feature",
30141 Ref: ref("kubevirt.io/api/core/v1.FeatureState"),
30142 },
30143 },
30144 },
30145 },
30146 },
30147 Dependencies: []string{
30148 "kubevirt.io/api/core/v1.FeatureAPIC", "kubevirt.io/api/core/v1.FeatureHyperv", "kubevirt.io/api/core/v1.FeatureKVM", "kubevirt.io/api/core/v1.FeatureState"},
30149 }
30150 }
30151
30152 func schema_kubevirtio_api_instancetype_v1beta1_FirmwarePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
30153 return common.OpenAPIDefinition{
30154 Schema: spec.Schema{
30155 SchemaProps: spec.SchemaProps{
30156 Description: "FirmwarePreferences contains various optional defaults for Firmware.",
30157 Type: []string{"object"},
30158 Properties: map[string]spec.Schema{
30159 "preferredUseBios": {
30160 SchemaProps: spec.SchemaProps{
30161 Description: "PreferredUseBios optionally enables BIOS",
30162 Type: []string{"boolean"},
30163 Format: "",
30164 },
30165 },
30166 "preferredUseBiosSerial": {
30167 SchemaProps: spec.SchemaProps{
30168 Description: "PreferredUseBiosSerial optionally transmitts BIOS output over the serial.\n\nRequires PreferredUseBios to be enabled.",
30169 Type: []string{"boolean"},
30170 Format: "",
30171 },
30172 },
30173 "preferredUseEfi": {
30174 SchemaProps: spec.SchemaProps{
30175 Description: "PreferredUseEfi optionally enables EFI",
30176 Type: []string{"boolean"},
30177 Format: "",
30178 },
30179 },
30180 "preferredUseSecureBoot": {
30181 SchemaProps: spec.SchemaProps{
30182 Description: "PreferredUseSecureBoot optionally enables SecureBoot and the OVMF roms will be swapped for SecureBoot-enabled ones.\n\nRequires PreferredUseEfi and PreferredSmm to be enabled.",
30183 Type: []string{"boolean"},
30184 Format: "",
30185 },
30186 },
30187 },
30188 },
30189 },
30190 }
30191 }
30192
30193 func schema_kubevirtio_api_instancetype_v1beta1_MachinePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
30194 return common.OpenAPIDefinition{
30195 Schema: spec.Schema{
30196 SchemaProps: spec.SchemaProps{
30197 Description: "MachinePreferences contains various optional defaults for Machine.",
30198 Type: []string{"object"},
30199 Properties: map[string]spec.Schema{
30200 "preferredMachineType": {
30201 SchemaProps: spec.SchemaProps{
30202 Description: "PreferredMachineType optionally defines the preferred machine type to use.",
30203 Type: []string{"string"},
30204 Format: "",
30205 },
30206 },
30207 },
30208 },
30209 },
30210 }
30211 }
30212
30213 func schema_kubevirtio_api_instancetype_v1beta1_MemoryInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
30214 return common.OpenAPIDefinition{
30215 Schema: spec.Schema{
30216 SchemaProps: spec.SchemaProps{
30217 Description: "MemoryInstancetype contains the Memory related configuration of a given VirtualMachineInstancetypeSpec.\n\nGuest is a required attribute and defines the amount of RAM to be exposed to the guest by the instancetype.",
30218 Type: []string{"object"},
30219 Properties: map[string]spec.Schema{
30220 "guest": {
30221 SchemaProps: spec.SchemaProps{
30222 Description: "Required amount of memory which is visible inside the guest OS.",
30223 Default: map[string]interface{}{},
30224 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
30225 },
30226 },
30227 "hugepages": {
30228 SchemaProps: spec.SchemaProps{
30229 Description: "Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory.",
30230 Ref: ref("kubevirt.io/api/core/v1.Hugepages"),
30231 },
30232 },
30233 "overcommitPercent": {
30234 SchemaProps: spec.SchemaProps{
30235 Description: "OvercommitPercent is the percentage of the guest memory which will be overcommitted. This means that the VMIs parent pod (virt-launcher) will request less physical memory by a factor specified by the OvercommitPercent. Overcommits can lead to memory exhaustion, which in turn can lead to crashes. Use carefully. Defaults to 0",
30236 Type: []string{"integer"},
30237 Format: "int32",
30238 },
30239 },
30240 "maxGuest": {
30241 SchemaProps: spec.SchemaProps{
30242 Description: "MaxGuest allows to specify the maximum amount of memory which is visible inside the Guest OS. The delta between MaxGuest and Guest is the amount of memory that can be hot(un)plugged.",
30243 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
30244 },
30245 },
30246 },
30247 Required: []string{"guest"},
30248 },
30249 },
30250 Dependencies: []string{
30251 "k8s.io/apimachinery/pkg/api/resource.Quantity", "kubevirt.io/api/core/v1.Hugepages"},
30252 }
30253 }
30254
30255 func schema_kubevirtio_api_instancetype_v1beta1_MemoryPreferenceRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
30256 return common.OpenAPIDefinition{
30257 Schema: spec.Schema{
30258 SchemaProps: spec.SchemaProps{
30259 Type: []string{"object"},
30260 Properties: map[string]spec.Schema{
30261 "guest": {
30262 SchemaProps: spec.SchemaProps{
30263 Description: "Minimal amount of memory required by the preference.",
30264 Default: map[string]interface{}{},
30265 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
30266 },
30267 },
30268 },
30269 Required: []string{"guest"},
30270 },
30271 },
30272 Dependencies: []string{
30273 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
30274 }
30275 }
30276
30277 func schema_kubevirtio_api_instancetype_v1beta1_PreferenceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition {
30278 return common.OpenAPIDefinition{
30279 Schema: spec.Schema{
30280 SchemaProps: spec.SchemaProps{
30281 Type: []string{"object"},
30282 Properties: map[string]spec.Schema{
30283 "cpu": {
30284 SchemaProps: spec.SchemaProps{
30285 Description: "Required CPU related attributes of the instancetype.",
30286 Ref: ref("kubevirt.io/api/instancetype/v1beta1.CPUPreferenceRequirement"),
30287 },
30288 },
30289 "memory": {
30290 SchemaProps: spec.SchemaProps{
30291 Description: "Required Memory related attributes of the instancetype.",
30292 Ref: ref("kubevirt.io/api/instancetype/v1beta1.MemoryPreferenceRequirement"),
30293 },
30294 },
30295 },
30296 },
30297 },
30298 Dependencies: []string{
30299 "kubevirt.io/api/instancetype/v1beta1.CPUPreferenceRequirement", "kubevirt.io/api/instancetype/v1beta1.MemoryPreferenceRequirement"},
30300 }
30301 }
30302
30303 func schema_kubevirtio_api_instancetype_v1beta1_SpreadOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
30304 return common.OpenAPIDefinition{
30305 Schema: spec.Schema{
30306 SchemaProps: spec.SchemaProps{
30307 Type: []string{"object"},
30308 Properties: map[string]spec.Schema{
30309 "across": {
30310 SchemaProps: spec.SchemaProps{
30311 Description: "Across optionally defines how to spread vCPUs across the guest visible topology. Default: SocketsCores",
30312 Type: []string{"string"},
30313 Format: "",
30314 },
30315 },
30316 "ratio": {
30317 SchemaProps: spec.SchemaProps{
30318 Description: "Ratio optionally defines the ratio to spread vCPUs across the guest visible topology:\n\nCoresThreads - 1:2 - Controls the ratio of cores to threads. Only a ratio of 2 is currently accepted. SocketsCores - 1:N - Controls the ratio of socket to cores. SocketsCoresThreads - 1:N:2 - Controls the ratio of socket to cores. Each core providing 2 threads.\n\nDefault: 2",
30319 Type: []string{"integer"},
30320 Format: "int64",
30321 },
30322 },
30323 },
30324 },
30325 },
30326 }
30327 }
30328
30329 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
30330 return common.OpenAPIDefinition{
30331 Schema: spec.Schema{
30332 SchemaProps: spec.SchemaProps{
30333 Description: "VirtualMachineClusterInstancetype is a cluster scoped version of VirtualMachineInstancetype resource.",
30334 Type: []string{"object"},
30335 Properties: map[string]spec.Schema{
30336 "kind": {
30337 SchemaProps: spec.SchemaProps{
30338 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30339 Type: []string{"string"},
30340 Format: "",
30341 },
30342 },
30343 "apiVersion": {
30344 SchemaProps: spec.SchemaProps{
30345 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30346 Type: []string{"string"},
30347 Format: "",
30348 },
30349 },
30350 "metadata": {
30351 SchemaProps: spec.SchemaProps{
30352 Default: map[string]interface{}{},
30353 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
30354 },
30355 },
30356 "spec": {
30357 SchemaProps: spec.SchemaProps{
30358 Description: "Required spec describing the instancetype",
30359 Default: map[string]interface{}{},
30360 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeSpec"),
30361 },
30362 },
30363 },
30364 Required: []string{"spec"},
30365 },
30366 },
30367 Dependencies: []string{
30368 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeSpec"},
30369 }
30370 }
30371
30372 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
30373 return common.OpenAPIDefinition{
30374 Schema: spec.Schema{
30375 SchemaProps: spec.SchemaProps{
30376 Description: "VirtualMachineClusterInstancetypeList is a list of VirtualMachineClusterInstancetype resources.",
30377 Type: []string{"object"},
30378 Properties: map[string]spec.Schema{
30379 "kind": {
30380 SchemaProps: spec.SchemaProps{
30381 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30382 Type: []string{"string"},
30383 Format: "",
30384 },
30385 },
30386 "apiVersion": {
30387 SchemaProps: spec.SchemaProps{
30388 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30389 Type: []string{"string"},
30390 Format: "",
30391 },
30392 },
30393 "metadata": {
30394 SchemaProps: spec.SchemaProps{
30395 Default: map[string]interface{}{},
30396 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
30397 },
30398 },
30399 "items": {
30400 SchemaProps: spec.SchemaProps{
30401 Type: []string{"array"},
30402 Items: &spec.SchemaOrArray{
30403 Schema: &spec.Schema{
30404 SchemaProps: spec.SchemaProps{
30405 Default: map[string]interface{}{},
30406 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterInstancetype"),
30407 },
30408 },
30409 },
30410 },
30411 },
30412 },
30413 Required: []string{"items"},
30414 },
30415 },
30416 Dependencies: []string{
30417 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterInstancetype"},
30418 }
30419 }
30420
30421 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterPreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
30422 return common.OpenAPIDefinition{
30423 Schema: spec.Schema{
30424 SchemaProps: spec.SchemaProps{
30425 Description: "VirtualMachineClusterPreference is a cluster scoped version of the VirtualMachinePreference resource.",
30426 Type: []string{"object"},
30427 Properties: map[string]spec.Schema{
30428 "kind": {
30429 SchemaProps: spec.SchemaProps{
30430 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30431 Type: []string{"string"},
30432 Format: "",
30433 },
30434 },
30435 "apiVersion": {
30436 SchemaProps: spec.SchemaProps{
30437 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30438 Type: []string{"string"},
30439 Format: "",
30440 },
30441 },
30442 "metadata": {
30443 SchemaProps: spec.SchemaProps{
30444 Default: map[string]interface{}{},
30445 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
30446 },
30447 },
30448 "spec": {
30449 SchemaProps: spec.SchemaProps{
30450 Description: "Required spec describing the preferences",
30451 Default: map[string]interface{}{},
30452 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceSpec"),
30453 },
30454 },
30455 },
30456 Required: []string{"spec"},
30457 },
30458 },
30459 Dependencies: []string{
30460 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceSpec"},
30461 }
30462 }
30463
30464 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineClusterPreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
30465 return common.OpenAPIDefinition{
30466 Schema: spec.Schema{
30467 SchemaProps: spec.SchemaProps{
30468 Description: "VirtualMachineClusterPreferenceList is a list of VirtualMachineClusterPreference resources.",
30469 Type: []string{"object"},
30470 Properties: map[string]spec.Schema{
30471 "kind": {
30472 SchemaProps: spec.SchemaProps{
30473 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30474 Type: []string{"string"},
30475 Format: "",
30476 },
30477 },
30478 "apiVersion": {
30479 SchemaProps: spec.SchemaProps{
30480 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30481 Type: []string{"string"},
30482 Format: "",
30483 },
30484 },
30485 "metadata": {
30486 SchemaProps: spec.SchemaProps{
30487 Default: map[string]interface{}{},
30488 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
30489 },
30490 },
30491 "items": {
30492 VendorExtensible: spec.VendorExtensible{
30493 Extensions: spec.Extensions{
30494 "x-kubernetes-list-type": "set",
30495 },
30496 },
30497 SchemaProps: spec.SchemaProps{
30498 Type: []string{"array"},
30499 Items: &spec.SchemaOrArray{
30500 Schema: &spec.Schema{
30501 SchemaProps: spec.SchemaProps{
30502 Default: map[string]interface{}{},
30503 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterPreference"),
30504 },
30505 },
30506 },
30507 },
30508 },
30509 },
30510 Required: []string{"items"},
30511 },
30512 },
30513 Dependencies: []string{
30514 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachineClusterPreference"},
30515 }
30516 }
30517
30518 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetype(ref common.ReferenceCallback) common.OpenAPIDefinition {
30519 return common.OpenAPIDefinition{
30520 Schema: spec.Schema{
30521 SchemaProps: spec.SchemaProps{
30522 Description: "VirtualMachineInstancetype resource contains quantitative and resource related VirtualMachine configuration that can be used by multiple VirtualMachine resources.",
30523 Type: []string{"object"},
30524 Properties: map[string]spec.Schema{
30525 "kind": {
30526 SchemaProps: spec.SchemaProps{
30527 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30528 Type: []string{"string"},
30529 Format: "",
30530 },
30531 },
30532 "apiVersion": {
30533 SchemaProps: spec.SchemaProps{
30534 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30535 Type: []string{"string"},
30536 Format: "",
30537 },
30538 },
30539 "metadata": {
30540 SchemaProps: spec.SchemaProps{
30541 Default: map[string]interface{}{},
30542 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
30543 },
30544 },
30545 "spec": {
30546 SchemaProps: spec.SchemaProps{
30547 Description: "Required spec describing the instancetype",
30548 Default: map[string]interface{}{},
30549 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeSpec"),
30550 },
30551 },
30552 },
30553 Required: []string{"spec"},
30554 },
30555 },
30556 Dependencies: []string{
30557 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetypeSpec"},
30558 }
30559 }
30560
30561 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetypeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
30562 return common.OpenAPIDefinition{
30563 Schema: spec.Schema{
30564 SchemaProps: spec.SchemaProps{
30565 Description: "VirtualMachineInstancetypeList is a list of VirtualMachineInstancetype resources.",
30566 Type: []string{"object"},
30567 Properties: map[string]spec.Schema{
30568 "kind": {
30569 SchemaProps: spec.SchemaProps{
30570 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30571 Type: []string{"string"},
30572 Format: "",
30573 },
30574 },
30575 "apiVersion": {
30576 SchemaProps: spec.SchemaProps{
30577 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30578 Type: []string{"string"},
30579 Format: "",
30580 },
30581 },
30582 "metadata": {
30583 SchemaProps: spec.SchemaProps{
30584 Default: map[string]interface{}{},
30585 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
30586 },
30587 },
30588 "items": {
30589 SchemaProps: spec.SchemaProps{
30590 Type: []string{"array"},
30591 Items: &spec.SchemaOrArray{
30592 Schema: &spec.Schema{
30593 SchemaProps: spec.SchemaProps{
30594 Default: map[string]interface{}{},
30595 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetype"),
30596 },
30597 },
30598 },
30599 },
30600 },
30601 },
30602 Required: []string{"items"},
30603 },
30604 },
30605 Dependencies: []string{
30606 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachineInstancetype"},
30607 }
30608 }
30609
30610 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachineInstancetypeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
30611 return common.OpenAPIDefinition{
30612 Schema: spec.Schema{
30613 SchemaProps: spec.SchemaProps{
30614 Description: "VirtualMachineInstancetypeSpec is a description of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype.\n\nCPU and Memory are required attributes with both requiring that their Guest attribute is defined, ensuring a number of vCPUs and amount of RAM is always provided by each instancetype.",
30615 Type: []string{"object"},
30616 Properties: map[string]spec.Schema{
30617 "nodeSelector": {
30618 SchemaProps: spec.SchemaProps{
30619 Description: "NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n\nNodeSelector is the name of the custom node selector for the instancetype.",
30620 Type: []string{"object"},
30621 AdditionalProperties: &spec.SchemaOrBool{
30622 Allows: true,
30623 Schema: &spec.Schema{
30624 SchemaProps: spec.SchemaProps{
30625 Default: "",
30626 Type: []string{"string"},
30627 Format: "",
30628 },
30629 },
30630 },
30631 },
30632 },
30633 "schedulerName": {
30634 SchemaProps: spec.SchemaProps{
30635 Description: "If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.\n\nSchedulerName is the name of the custom K8s scheduler for the instancetype.",
30636 Type: []string{"string"},
30637 Format: "",
30638 },
30639 },
30640 "cpu": {
30641 SchemaProps: spec.SchemaProps{
30642 Description: "Required CPU related attributes of the instancetype.",
30643 Default: map[string]interface{}{},
30644 Ref: ref("kubevirt.io/api/instancetype/v1beta1.CPUInstancetype"),
30645 },
30646 },
30647 "memory": {
30648 SchemaProps: spec.SchemaProps{
30649 Description: "Required Memory related attributes of the instancetype.",
30650 Default: map[string]interface{}{},
30651 Ref: ref("kubevirt.io/api/instancetype/v1beta1.MemoryInstancetype"),
30652 },
30653 },
30654 "gpus": {
30655 VendorExtensible: spec.VendorExtensible{
30656 Extensions: spec.Extensions{
30657 "x-kubernetes-list-type": "atomic",
30658 },
30659 },
30660 SchemaProps: spec.SchemaProps{
30661 Description: "Optionally defines any GPU devices associated with the instancetype.",
30662 Type: []string{"array"},
30663 Items: &spec.SchemaOrArray{
30664 Schema: &spec.Schema{
30665 SchemaProps: spec.SchemaProps{
30666 Default: map[string]interface{}{},
30667 Ref: ref("kubevirt.io/api/core/v1.GPU"),
30668 },
30669 },
30670 },
30671 },
30672 },
30673 "hostDevices": {
30674 VendorExtensible: spec.VendorExtensible{
30675 Extensions: spec.Extensions{
30676 "x-kubernetes-list-type": "atomic",
30677 },
30678 },
30679 SchemaProps: spec.SchemaProps{
30680 Description: "Optionally defines any HostDevices associated with the instancetype.",
30681 Type: []string{"array"},
30682 Items: &spec.SchemaOrArray{
30683 Schema: &spec.Schema{
30684 SchemaProps: spec.SchemaProps{
30685 Default: map[string]interface{}{},
30686 Ref: ref("kubevirt.io/api/core/v1.HostDevice"),
30687 },
30688 },
30689 },
30690 },
30691 },
30692 "ioThreadsPolicy": {
30693 SchemaProps: spec.SchemaProps{
30694 Description: "Optionally defines the IOThreadsPolicy to be used by the instancetype.",
30695 Type: []string{"string"},
30696 Format: "",
30697 },
30698 },
30699 "launchSecurity": {
30700 SchemaProps: spec.SchemaProps{
30701 Description: "Optionally defines the LaunchSecurity to be used by the instancetype.",
30702 Ref: ref("kubevirt.io/api/core/v1.LaunchSecurity"),
30703 },
30704 },
30705 "annotations": {
30706 SchemaProps: spec.SchemaProps{
30707 Description: "Optionally defines the required Annotations to be used by the instance type and applied to the VirtualMachineInstance",
30708 Type: []string{"object"},
30709 AdditionalProperties: &spec.SchemaOrBool{
30710 Allows: true,
30711 Schema: &spec.Schema{
30712 SchemaProps: spec.SchemaProps{
30713 Default: "",
30714 Type: []string{"string"},
30715 Format: "",
30716 },
30717 },
30718 },
30719 },
30720 },
30721 },
30722 Required: []string{"cpu", "memory"},
30723 },
30724 },
30725 Dependencies: []string{
30726 "kubevirt.io/api/core/v1.GPU", "kubevirt.io/api/core/v1.HostDevice", "kubevirt.io/api/core/v1.LaunchSecurity", "kubevirt.io/api/instancetype/v1beta1.CPUInstancetype", "kubevirt.io/api/instancetype/v1beta1.MemoryInstancetype"},
30727 }
30728 }
30729
30730 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreference(ref common.ReferenceCallback) common.OpenAPIDefinition {
30731 return common.OpenAPIDefinition{
30732 Schema: spec.Schema{
30733 SchemaProps: spec.SchemaProps{
30734 Description: "VirtualMachinePreference resource contains optional preferences related to the VirtualMachine.",
30735 Type: []string{"object"},
30736 Properties: map[string]spec.Schema{
30737 "kind": {
30738 SchemaProps: spec.SchemaProps{
30739 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30740 Type: []string{"string"},
30741 Format: "",
30742 },
30743 },
30744 "apiVersion": {
30745 SchemaProps: spec.SchemaProps{
30746 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30747 Type: []string{"string"},
30748 Format: "",
30749 },
30750 },
30751 "metadata": {
30752 SchemaProps: spec.SchemaProps{
30753 Default: map[string]interface{}{},
30754 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
30755 },
30756 },
30757 "spec": {
30758 SchemaProps: spec.SchemaProps{
30759 Description: "Required spec describing the preferences",
30760 Default: map[string]interface{}{},
30761 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceSpec"),
30762 },
30763 },
30764 },
30765 Required: []string{"spec"},
30766 },
30767 },
30768 Dependencies: []string{
30769 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreferenceSpec"},
30770 }
30771 }
30772
30773 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
30774 return common.OpenAPIDefinition{
30775 Schema: spec.Schema{
30776 SchemaProps: spec.SchemaProps{
30777 Description: "VirtualMachinePreferenceList is a list of VirtualMachinePreference resources.",
30778 Type: []string{"object"},
30779 Properties: map[string]spec.Schema{
30780 "kind": {
30781 SchemaProps: spec.SchemaProps{
30782 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30783 Type: []string{"string"},
30784 Format: "",
30785 },
30786 },
30787 "apiVersion": {
30788 SchemaProps: spec.SchemaProps{
30789 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30790 Type: []string{"string"},
30791 Format: "",
30792 },
30793 },
30794 "metadata": {
30795 SchemaProps: spec.SchemaProps{
30796 Default: map[string]interface{}{},
30797 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
30798 },
30799 },
30800 "items": {
30801 VendorExtensible: spec.VendorExtensible{
30802 Extensions: spec.Extensions{
30803 "x-kubernetes-list-type": "set",
30804 },
30805 },
30806 SchemaProps: spec.SchemaProps{
30807 Type: []string{"array"},
30808 Items: &spec.SchemaOrArray{
30809 Schema: &spec.Schema{
30810 SchemaProps: spec.SchemaProps{
30811 Default: map[string]interface{}{},
30812 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreference"),
30813 },
30814 },
30815 },
30816 },
30817 },
30818 },
30819 Required: []string{"items"},
30820 },
30821 },
30822 Dependencies: []string{
30823 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/instancetype/v1beta1.VirtualMachinePreference"},
30824 }
30825 }
30826
30827 func schema_kubevirtio_api_instancetype_v1beta1_VirtualMachinePreferenceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
30828 return common.OpenAPIDefinition{
30829 Schema: spec.Schema{
30830 SchemaProps: spec.SchemaProps{
30831 Description: "VirtualMachinePreferenceSpec is a description of the VirtualMachinePreference or VirtualMachineClusterPreference.",
30832 Type: []string{"object"},
30833 Properties: map[string]spec.Schema{
30834 "clock": {
30835 SchemaProps: spec.SchemaProps{
30836 Description: "Clock optionally defines preferences associated with the Clock attribute of a VirtualMachineInstance DomainSpec",
30837 Ref: ref("kubevirt.io/api/instancetype/v1beta1.ClockPreferences"),
30838 },
30839 },
30840 "cpu": {
30841 SchemaProps: spec.SchemaProps{
30842 Description: "CPU optionally defines preferences associated with the CPU attribute of a VirtualMachineInstance DomainSpec",
30843 Ref: ref("kubevirt.io/api/instancetype/v1beta1.CPUPreferences"),
30844 },
30845 },
30846 "devices": {
30847 SchemaProps: spec.SchemaProps{
30848 Description: "Devices optionally defines preferences associated with the Devices attribute of a VirtualMachineInstance DomainSpec",
30849 Ref: ref("kubevirt.io/api/instancetype/v1beta1.DevicePreferences"),
30850 },
30851 },
30852 "features": {
30853 SchemaProps: spec.SchemaProps{
30854 Description: "Features optionally defines preferences associated with the Features attribute of a VirtualMachineInstance DomainSpec",
30855 Ref: ref("kubevirt.io/api/instancetype/v1beta1.FeaturePreferences"),
30856 },
30857 },
30858 "firmware": {
30859 SchemaProps: spec.SchemaProps{
30860 Description: "Firmware optionally defines preferences associated with the Firmware attribute of a VirtualMachineInstance DomainSpec",
30861 Ref: ref("kubevirt.io/api/instancetype/v1beta1.FirmwarePreferences"),
30862 },
30863 },
30864 "machine": {
30865 SchemaProps: spec.SchemaProps{
30866 Description: "Machine optionally defines preferences associated with the Machine attribute of a VirtualMachineInstance DomainSpec",
30867 Ref: ref("kubevirt.io/api/instancetype/v1beta1.MachinePreferences"),
30868 },
30869 },
30870 "volumes": {
30871 SchemaProps: spec.SchemaProps{
30872 Description: "Volumes optionally defines preferences associated with the Volumes attribute of a VirtualMachineInstace DomainSpec",
30873 Ref: ref("kubevirt.io/api/instancetype/v1beta1.VolumePreferences"),
30874 },
30875 },
30876 "preferredSubdomain": {
30877 SchemaProps: spec.SchemaProps{
30878 Description: "Subdomain of the VirtualMachineInstance",
30879 Type: []string{"string"},
30880 Format: "",
30881 },
30882 },
30883 "preferredTerminationGracePeriodSeconds": {
30884 SchemaProps: spec.SchemaProps{
30885 Description: "Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.",
30886 Type: []string{"integer"},
30887 Format: "int64",
30888 },
30889 },
30890 "requirements": {
30891 SchemaProps: spec.SchemaProps{
30892 Description: "Requirements defines the minium amount of instance type defined resources required by a set of preferences",
30893 Ref: ref("kubevirt.io/api/instancetype/v1beta1.PreferenceRequirements"),
30894 },
30895 },
30896 "annotations": {
30897 SchemaProps: spec.SchemaProps{
30898 Description: "Optionally defines preferred Annotations to be applied to the VirtualMachineInstance",
30899 Type: []string{"object"},
30900 AdditionalProperties: &spec.SchemaOrBool{
30901 Allows: true,
30902 Schema: &spec.Schema{
30903 SchemaProps: spec.SchemaProps{
30904 Default: "",
30905 Type: []string{"string"},
30906 Format: "",
30907 },
30908 },
30909 },
30910 },
30911 },
30912 "preferSpreadSocketToCoreRatio": {
30913 SchemaProps: spec.SchemaProps{
30914 Description: "PreferSpreadSocketToCoreRatio defines the ratio to spread vCPUs between cores and sockets, it defaults to 2.",
30915 Type: []string{"integer"},
30916 Format: "int64",
30917 },
30918 },
30919 },
30920 },
30921 },
30922 Dependencies: []string{
30923 "kubevirt.io/api/instancetype/v1beta1.CPUPreferences", "kubevirt.io/api/instancetype/v1beta1.ClockPreferences", "kubevirt.io/api/instancetype/v1beta1.DevicePreferences", "kubevirt.io/api/instancetype/v1beta1.FeaturePreferences", "kubevirt.io/api/instancetype/v1beta1.FirmwarePreferences", "kubevirt.io/api/instancetype/v1beta1.MachinePreferences", "kubevirt.io/api/instancetype/v1beta1.PreferenceRequirements", "kubevirt.io/api/instancetype/v1beta1.VolumePreferences"},
30924 }
30925 }
30926
30927 func schema_kubevirtio_api_instancetype_v1beta1_VolumePreferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
30928 return common.OpenAPIDefinition{
30929 Schema: spec.Schema{
30930 SchemaProps: spec.SchemaProps{
30931 Type: []string{"object"},
30932 Properties: map[string]spec.Schema{
30933 "preferredStorageClassName": {
30934 SchemaProps: spec.SchemaProps{
30935 Description: "PreffereedStorageClassName optionally defines the preferred storageClass",
30936 Type: []string{"string"},
30937 Format: "",
30938 },
30939 },
30940 },
30941 },
30942 },
30943 }
30944 }
30945
30946 func schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
30947 return common.OpenAPIDefinition{
30948 Schema: spec.Schema{
30949 SchemaProps: spec.SchemaProps{
30950 Description: "MigrationPolicy holds migration policy (i.e. configurations) to apply to a VM or group of VMs",
30951 Type: []string{"object"},
30952 Properties: map[string]spec.Schema{
30953 "kind": {
30954 SchemaProps: spec.SchemaProps{
30955 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
30956 Type: []string{"string"},
30957 Format: "",
30958 },
30959 },
30960 "apiVersion": {
30961 SchemaProps: spec.SchemaProps{
30962 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
30963 Type: []string{"string"},
30964 Format: "",
30965 },
30966 },
30967 "metadata": {
30968 SchemaProps: spec.SchemaProps{
30969 Default: map[string]interface{}{},
30970 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
30971 },
30972 },
30973 "spec": {
30974 SchemaProps: spec.SchemaProps{
30975 Default: map[string]interface{}{},
30976 Ref: ref("kubevirt.io/api/migrations/v1alpha1.MigrationPolicySpec"),
30977 },
30978 },
30979 "status": {
30980 SchemaProps: spec.SchemaProps{
30981 Default: map[string]interface{}{},
30982 Ref: ref("kubevirt.io/api/migrations/v1alpha1.MigrationPolicyStatus"),
30983 },
30984 },
30985 },
30986 Required: []string{"spec"},
30987 },
30988 },
30989 Dependencies: []string{
30990 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/migrations/v1alpha1.MigrationPolicySpec", "kubevirt.io/api/migrations/v1alpha1.MigrationPolicyStatus"},
30991 }
30992 }
30993
30994 func schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicyList(ref common.ReferenceCallback) common.OpenAPIDefinition {
30995 return common.OpenAPIDefinition{
30996 Schema: spec.Schema{
30997 SchemaProps: spec.SchemaProps{
30998 Description: "MigrationPolicyList is a list of MigrationPolicy",
30999 Type: []string{"object"},
31000 Properties: map[string]spec.Schema{
31001 "kind": {
31002 SchemaProps: spec.SchemaProps{
31003 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31004 Type: []string{"string"},
31005 Format: "",
31006 },
31007 },
31008 "apiVersion": {
31009 SchemaProps: spec.SchemaProps{
31010 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31011 Type: []string{"string"},
31012 Format: "",
31013 },
31014 },
31015 "metadata": {
31016 SchemaProps: spec.SchemaProps{
31017 Default: map[string]interface{}{},
31018 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
31019 },
31020 },
31021 "items": {
31022 VendorExtensible: spec.VendorExtensible{
31023 Extensions: spec.Extensions{
31024 "x-kubernetes-list-type": "atomic",
31025 },
31026 },
31027 SchemaProps: spec.SchemaProps{
31028 Type: []string{"array"},
31029 Items: &spec.SchemaOrArray{
31030 Schema: &spec.Schema{
31031 SchemaProps: spec.SchemaProps{
31032 Default: map[string]interface{}{},
31033 Ref: ref("kubevirt.io/api/migrations/v1alpha1.MigrationPolicy"),
31034 },
31035 },
31036 },
31037 },
31038 },
31039 },
31040 Required: []string{"items"},
31041 },
31042 },
31043 Dependencies: []string{
31044 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/migrations/v1alpha1.MigrationPolicy"},
31045 }
31046 }
31047
31048 func schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicySpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31049 return common.OpenAPIDefinition{
31050 Schema: spec.Schema{
31051 SchemaProps: spec.SchemaProps{
31052 Type: []string{"object"},
31053 Properties: map[string]spec.Schema{
31054 "selectors": {
31055 SchemaProps: spec.SchemaProps{
31056 Ref: ref("kubevirt.io/api/migrations/v1alpha1.Selectors"),
31057 },
31058 },
31059 "allowAutoConverge": {
31060 SchemaProps: spec.SchemaProps{
31061 Type: []string{"boolean"},
31062 Format: "",
31063 },
31064 },
31065 "bandwidthPerMigration": {
31066 SchemaProps: spec.SchemaProps{
31067 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
31068 },
31069 },
31070 "completionTimeoutPerGiB": {
31071 SchemaProps: spec.SchemaProps{
31072 Type: []string{"integer"},
31073 Format: "int64",
31074 },
31075 },
31076 "allowPostCopy": {
31077 SchemaProps: spec.SchemaProps{
31078 Type: []string{"boolean"},
31079 Format: "",
31080 },
31081 },
31082 },
31083 Required: []string{"selectors"},
31084 },
31085 },
31086 Dependencies: []string{
31087 "k8s.io/apimachinery/pkg/api/resource.Quantity", "kubevirt.io/api/migrations/v1alpha1.Selectors"},
31088 }
31089 }
31090
31091 func schema_kubevirtio_api_migrations_v1alpha1_MigrationPolicyStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
31092 return common.OpenAPIDefinition{
31093 Schema: spec.Schema{
31094 SchemaProps: spec.SchemaProps{
31095 Type: []string{"object"},
31096 },
31097 },
31098 }
31099 }
31100
31101 func schema_kubevirtio_api_migrations_v1alpha1_Selectors(ref common.ReferenceCallback) common.OpenAPIDefinition {
31102 return common.OpenAPIDefinition{
31103 Schema: spec.Schema{
31104 SchemaProps: spec.SchemaProps{
31105 Type: []string{"object"},
31106 Properties: map[string]spec.Schema{
31107 "namespaceSelector": {
31108 SchemaProps: spec.SchemaProps{
31109 Type: []string{"object"},
31110 AdditionalProperties: &spec.SchemaOrBool{
31111 Allows: true,
31112 Schema: &spec.Schema{
31113 SchemaProps: spec.SchemaProps{
31114 Default: "",
31115 Type: []string{"string"},
31116 Format: "",
31117 },
31118 },
31119 },
31120 },
31121 },
31122 "virtualMachineInstanceSelector": {
31123 SchemaProps: spec.SchemaProps{
31124 Type: []string{"object"},
31125 AdditionalProperties: &spec.SchemaOrBool{
31126 Allows: true,
31127 Schema: &spec.Schema{
31128 SchemaProps: spec.SchemaProps{
31129 Default: "",
31130 Type: []string{"string"},
31131 Format: "",
31132 },
31133 },
31134 },
31135 },
31136 },
31137 },
31138 },
31139 },
31140 }
31141 }
31142
31143 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePool(ref common.ReferenceCallback) common.OpenAPIDefinition {
31144 return common.OpenAPIDefinition{
31145 Schema: spec.Schema{
31146 SchemaProps: spec.SchemaProps{
31147 Description: "VirtualMachinePool resource contains a VirtualMachine configuration that can be used to replicate multiple VirtualMachine resources.",
31148 Type: []string{"object"},
31149 Properties: map[string]spec.Schema{
31150 "kind": {
31151 SchemaProps: spec.SchemaProps{
31152 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31153 Type: []string{"string"},
31154 Format: "",
31155 },
31156 },
31157 "apiVersion": {
31158 SchemaProps: spec.SchemaProps{
31159 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31160 Type: []string{"string"},
31161 Format: "",
31162 },
31163 },
31164 "metadata": {
31165 SchemaProps: spec.SchemaProps{
31166 Default: map[string]interface{}{},
31167 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31168 },
31169 },
31170 "spec": {
31171 SchemaProps: spec.SchemaProps{
31172 Default: map[string]interface{}{},
31173 Ref: ref("kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolSpec"),
31174 },
31175 },
31176 "status": {
31177 SchemaProps: spec.SchemaProps{
31178 Default: map[string]interface{}{},
31179 Ref: ref("kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolStatus"),
31180 },
31181 },
31182 },
31183 Required: []string{"spec"},
31184 },
31185 },
31186 Dependencies: []string{
31187 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolSpec", "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolStatus"},
31188 }
31189 }
31190
31191 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
31192 return common.OpenAPIDefinition{
31193 Schema: spec.Schema{
31194 SchemaProps: spec.SchemaProps{
31195 Type: []string{"object"},
31196 Properties: map[string]spec.Schema{
31197 "type": {
31198 SchemaProps: spec.SchemaProps{
31199 Default: "",
31200 Type: []string{"string"},
31201 Format: "",
31202 },
31203 },
31204 "status": {
31205 SchemaProps: spec.SchemaProps{
31206 Default: "",
31207 Type: []string{"string"},
31208 Format: "",
31209 },
31210 },
31211 "lastProbeTime": {
31212 SchemaProps: spec.SchemaProps{
31213 Default: map[string]interface{}{},
31214 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31215 },
31216 },
31217 "lastTransitionTime": {
31218 SchemaProps: spec.SchemaProps{
31219 Default: map[string]interface{}{},
31220 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31221 },
31222 },
31223 "reason": {
31224 SchemaProps: spec.SchemaProps{
31225 Type: []string{"string"},
31226 Format: "",
31227 },
31228 },
31229 "message": {
31230 SchemaProps: spec.SchemaProps{
31231 Type: []string{"string"},
31232 Format: "",
31233 },
31234 },
31235 },
31236 Required: []string{"type", "status"},
31237 },
31238 },
31239 Dependencies: []string{
31240 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
31241 }
31242 }
31243
31244 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolList(ref common.ReferenceCallback) common.OpenAPIDefinition {
31245 return common.OpenAPIDefinition{
31246 Schema: spec.Schema{
31247 SchemaProps: spec.SchemaProps{
31248 Description: "VirtualMachinePoolList is a list of VirtualMachinePool resources.",
31249 Type: []string{"object"},
31250 Properties: map[string]spec.Schema{
31251 "kind": {
31252 SchemaProps: spec.SchemaProps{
31253 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31254 Type: []string{"string"},
31255 Format: "",
31256 },
31257 },
31258 "apiVersion": {
31259 SchemaProps: spec.SchemaProps{
31260 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31261 Type: []string{"string"},
31262 Format: "",
31263 },
31264 },
31265 "metadata": {
31266 SchemaProps: spec.SchemaProps{
31267 Default: map[string]interface{}{},
31268 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
31269 },
31270 },
31271 "items": {
31272 SchemaProps: spec.SchemaProps{
31273 Type: []string{"array"},
31274 Items: &spec.SchemaOrArray{
31275 Schema: &spec.Schema{
31276 SchemaProps: spec.SchemaProps{
31277 Default: map[string]interface{}{},
31278 Ref: ref("kubevirt.io/api/pool/v1alpha1.VirtualMachinePool"),
31279 },
31280 },
31281 },
31282 },
31283 },
31284 },
31285 Required: []string{"items"},
31286 },
31287 },
31288 Dependencies: []string{
31289 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/pool/v1alpha1.VirtualMachinePool"},
31290 }
31291 }
31292
31293 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31294 return common.OpenAPIDefinition{
31295 Schema: spec.Schema{
31296 SchemaProps: spec.SchemaProps{
31297 Type: []string{"object"},
31298 Properties: map[string]spec.Schema{
31299 "replicas": {
31300 SchemaProps: spec.SchemaProps{
31301 Description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.",
31302 Type: []string{"integer"},
31303 Format: "int32",
31304 },
31305 },
31306 "selector": {
31307 SchemaProps: spec.SchemaProps{
31308 Description: "Label selector for pods. Existing Poolss whose pods are selected by this will be the ones affected by this deployment.",
31309 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
31310 },
31311 },
31312 "virtualMachineTemplate": {
31313 SchemaProps: spec.SchemaProps{
31314 Description: "Template describes the VM that will be created.",
31315 Ref: ref("kubevirt.io/api/pool/v1alpha1.VirtualMachineTemplateSpec"),
31316 },
31317 },
31318 "paused": {
31319 SchemaProps: spec.SchemaProps{
31320 Description: "Indicates that the pool is paused.",
31321 Type: []string{"boolean"},
31322 Format: "",
31323 },
31324 },
31325 },
31326 Required: []string{"selector", "virtualMachineTemplate"},
31327 },
31328 },
31329 Dependencies: []string{
31330 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "kubevirt.io/api/pool/v1alpha1.VirtualMachineTemplateSpec"},
31331 }
31332 }
31333
31334 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachinePoolStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
31335 return common.OpenAPIDefinition{
31336 Schema: spec.Schema{
31337 SchemaProps: spec.SchemaProps{
31338 Type: []string{"object"},
31339 Properties: map[string]spec.Schema{
31340 "replicas": {
31341 SchemaProps: spec.SchemaProps{
31342 Type: []string{"integer"},
31343 Format: "int32",
31344 },
31345 },
31346 "readyReplicas": {
31347 SchemaProps: spec.SchemaProps{
31348 Type: []string{"integer"},
31349 Format: "int32",
31350 },
31351 },
31352 "conditions": {
31353 VendorExtensible: spec.VendorExtensible{
31354 Extensions: spec.Extensions{
31355 "x-kubernetes-list-type": "atomic",
31356 },
31357 },
31358 SchemaProps: spec.SchemaProps{
31359 Type: []string{"array"},
31360 Items: &spec.SchemaOrArray{
31361 Schema: &spec.Schema{
31362 SchemaProps: spec.SchemaProps{
31363 Default: map[string]interface{}{},
31364 Ref: ref("kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolCondition"),
31365 },
31366 },
31367 },
31368 },
31369 },
31370 "labelSelector": {
31371 SchemaProps: spec.SchemaProps{
31372 Description: "Canonical form of the label selector for HPA which consumes it through the scale subresource.",
31373 Type: []string{"string"},
31374 Format: "",
31375 },
31376 },
31377 },
31378 },
31379 },
31380 Dependencies: []string{
31381 "kubevirt.io/api/pool/v1alpha1.VirtualMachinePoolCondition"},
31382 }
31383 }
31384
31385 func schema_kubevirtio_api_pool_v1alpha1_VirtualMachineTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31386 return common.OpenAPIDefinition{
31387 Schema: spec.Schema{
31388 SchemaProps: spec.SchemaProps{
31389 Type: []string{"object"},
31390 Properties: map[string]spec.Schema{
31391 "metadata": {
31392 SchemaProps: spec.SchemaProps{
31393 Default: map[string]interface{}{},
31394 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31395 },
31396 },
31397 "spec": {
31398 SchemaProps: spec.SchemaProps{
31399 Description: "VirtualMachineSpec contains the VirtualMachine specification.",
31400 Default: map[string]interface{}{},
31401 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineSpec"),
31402 },
31403 },
31404 },
31405 },
31406 },
31407 Dependencies: []string{
31408 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineSpec"},
31409 }
31410 }
31411
31412 func schema_kubevirtio_api_snapshot_v1alpha1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
31413 return common.OpenAPIDefinition{
31414 Schema: spec.Schema{
31415 SchemaProps: spec.SchemaProps{
31416 Description: "Condition defines conditions",
31417 Type: []string{"object"},
31418 Properties: map[string]spec.Schema{
31419 "type": {
31420 SchemaProps: spec.SchemaProps{
31421 Default: "",
31422 Type: []string{"string"},
31423 Format: "",
31424 },
31425 },
31426 "status": {
31427 SchemaProps: spec.SchemaProps{
31428 Default: "",
31429 Type: []string{"string"},
31430 Format: "",
31431 },
31432 },
31433 "lastProbeTime": {
31434 SchemaProps: spec.SchemaProps{
31435 Default: map[string]interface{}{},
31436 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31437 },
31438 },
31439 "lastTransitionTime": {
31440 SchemaProps: spec.SchemaProps{
31441 Default: map[string]interface{}{},
31442 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31443 },
31444 },
31445 "reason": {
31446 SchemaProps: spec.SchemaProps{
31447 Type: []string{"string"},
31448 Format: "",
31449 },
31450 },
31451 "message": {
31452 SchemaProps: spec.SchemaProps{
31453 Type: []string{"string"},
31454 Format: "",
31455 },
31456 },
31457 },
31458 Required: []string{"type", "status"},
31459 },
31460 },
31461 Dependencies: []string{
31462 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
31463 }
31464 }
31465
31466 func schema_kubevirtio_api_snapshot_v1alpha1_Error(ref common.ReferenceCallback) common.OpenAPIDefinition {
31467 return common.OpenAPIDefinition{
31468 Schema: spec.Schema{
31469 SchemaProps: spec.SchemaProps{
31470 Description: "Error is the last error encountered during the snapshot/restore",
31471 Type: []string{"object"},
31472 Properties: map[string]spec.Schema{
31473 "time": {
31474 SchemaProps: spec.SchemaProps{
31475 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31476 },
31477 },
31478 "message": {
31479 SchemaProps: spec.SchemaProps{
31480 Type: []string{"string"},
31481 Format: "",
31482 },
31483 },
31484 },
31485 },
31486 },
31487 Dependencies: []string{
31488 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
31489 }
31490 }
31491
31492 func schema_kubevirtio_api_snapshot_v1alpha1_PersistentVolumeClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
31493 return common.OpenAPIDefinition{
31494 Schema: spec.Schema{
31495 SchemaProps: spec.SchemaProps{
31496 Type: []string{"object"},
31497 Properties: map[string]spec.Schema{
31498 "metadata": {
31499 SchemaProps: spec.SchemaProps{
31500 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
31501 Default: map[string]interface{}{},
31502 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31503 },
31504 },
31505 "spec": {
31506 SchemaProps: spec.SchemaProps{
31507 Description: "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
31508 Default: map[string]interface{}{},
31509 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
31510 },
31511 },
31512 },
31513 },
31514 },
31515 Dependencies: []string{
31516 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
31517 }
31518 }
31519
31520 func schema_kubevirtio_api_snapshot_v1alpha1_SnapshotVolumesLists(ref common.ReferenceCallback) common.OpenAPIDefinition {
31521 return common.OpenAPIDefinition{
31522 Schema: spec.Schema{
31523 SchemaProps: spec.SchemaProps{
31524 Description: "SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot",
31525 Type: []string{"object"},
31526 Properties: map[string]spec.Schema{
31527 "includedVolumes": {
31528 VendorExtensible: spec.VendorExtensible{
31529 Extensions: spec.Extensions{
31530 "x-kubernetes-list-type": "set",
31531 },
31532 },
31533 SchemaProps: spec.SchemaProps{
31534 Type: []string{"array"},
31535 Items: &spec.SchemaOrArray{
31536 Schema: &spec.Schema{
31537 SchemaProps: spec.SchemaProps{
31538 Default: "",
31539 Type: []string{"string"},
31540 Format: "",
31541 },
31542 },
31543 },
31544 },
31545 },
31546 "excludedVolumes": {
31547 VendorExtensible: spec.VendorExtensible{
31548 Extensions: spec.Extensions{
31549 "x-kubernetes-list-type": "set",
31550 },
31551 },
31552 SchemaProps: spec.SchemaProps{
31553 Type: []string{"array"},
31554 Items: &spec.SchemaOrArray{
31555 Schema: &spec.Schema{
31556 SchemaProps: spec.SchemaProps{
31557 Default: "",
31558 Type: []string{"string"},
31559 Format: "",
31560 },
31561 },
31562 },
31563 },
31564 },
31565 },
31566 },
31567 },
31568 }
31569 }
31570
31571 func schema_kubevirtio_api_snapshot_v1alpha1_SourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31572 return common.OpenAPIDefinition{
31573 Schema: spec.Schema{
31574 SchemaProps: spec.SchemaProps{
31575 Description: "SourceSpec contains the appropriate spec for the resource being snapshotted",
31576 Type: []string{"object"},
31577 Properties: map[string]spec.Schema{
31578 "virtualMachine": {
31579 SchemaProps: spec.SchemaProps{
31580 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachine"),
31581 },
31582 },
31583 },
31584 },
31585 },
31586 Dependencies: []string{
31587 "kubevirt.io/api/snapshot/v1alpha1.VirtualMachine"},
31588 }
31589 }
31590
31591 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachine(ref common.ReferenceCallback) common.OpenAPIDefinition {
31592 return common.OpenAPIDefinition{
31593 Schema: spec.Schema{
31594 SchemaProps: spec.SchemaProps{
31595 Type: []string{"object"},
31596 Properties: map[string]spec.Schema{
31597 "metadata": {
31598 SchemaProps: spec.SchemaProps{
31599 Default: map[string]interface{}{},
31600 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31601 },
31602 },
31603 "spec": {
31604 SchemaProps: spec.SchemaProps{
31605 Description: "VirtualMachineSpec contains the VirtualMachine specification.",
31606 Default: map[string]interface{}{},
31607 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineSpec"),
31608 },
31609 },
31610 "status": {
31611 SchemaProps: spec.SchemaProps{
31612 Description: "Status holds the current state of the controller and brief information about its associated VirtualMachineInstance",
31613 Default: map[string]interface{}{},
31614 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineStatus"),
31615 },
31616 },
31617 },
31618 },
31619 },
31620 Dependencies: []string{
31621 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineSpec", "kubevirt.io/api/core/v1.VirtualMachineStatus"},
31622 }
31623 }
31624
31625 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestore(ref common.ReferenceCallback) common.OpenAPIDefinition {
31626 return common.OpenAPIDefinition{
31627 Schema: spec.Schema{
31628 SchemaProps: spec.SchemaProps{
31629 Description: "VirtualMachineRestore defines the operation of restoring a VM",
31630 Type: []string{"object"},
31631 Properties: map[string]spec.Schema{
31632 "kind": {
31633 SchemaProps: spec.SchemaProps{
31634 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31635 Type: []string{"string"},
31636 Format: "",
31637 },
31638 },
31639 "apiVersion": {
31640 SchemaProps: spec.SchemaProps{
31641 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31642 Type: []string{"string"},
31643 Format: "",
31644 },
31645 },
31646 "metadata": {
31647 SchemaProps: spec.SchemaProps{
31648 Default: map[string]interface{}{},
31649 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31650 },
31651 },
31652 "spec": {
31653 SchemaProps: spec.SchemaProps{
31654 Default: map[string]interface{}{},
31655 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreSpec"),
31656 },
31657 },
31658 "status": {
31659 SchemaProps: spec.SchemaProps{
31660 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreStatus"),
31661 },
31662 },
31663 },
31664 Required: []string{"spec"},
31665 },
31666 },
31667 Dependencies: []string{
31668 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreSpec", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestoreStatus"},
31669 }
31670 }
31671
31672 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreList(ref common.ReferenceCallback) common.OpenAPIDefinition {
31673 return common.OpenAPIDefinition{
31674 Schema: spec.Schema{
31675 SchemaProps: spec.SchemaProps{
31676 Description: "VirtualMachineRestoreList is a list of VirtualMachineRestore resources",
31677 Type: []string{"object"},
31678 Properties: map[string]spec.Schema{
31679 "kind": {
31680 SchemaProps: spec.SchemaProps{
31681 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31682 Type: []string{"string"},
31683 Format: "",
31684 },
31685 },
31686 "apiVersion": {
31687 SchemaProps: spec.SchemaProps{
31688 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31689 Type: []string{"string"},
31690 Format: "",
31691 },
31692 },
31693 "metadata": {
31694 SchemaProps: spec.SchemaProps{
31695 Default: map[string]interface{}{},
31696 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
31697 },
31698 },
31699 "items": {
31700 SchemaProps: spec.SchemaProps{
31701 Type: []string{"array"},
31702 Items: &spec.SchemaOrArray{
31703 Schema: &spec.Schema{
31704 SchemaProps: spec.SchemaProps{
31705 Default: map[string]interface{}{},
31706 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestore"),
31707 },
31708 },
31709 },
31710 },
31711 },
31712 },
31713 Required: []string{"metadata", "items"},
31714 },
31715 },
31716 Dependencies: []string{
31717 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineRestore"},
31718 }
31719 }
31720
31721 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31722 return common.OpenAPIDefinition{
31723 Schema: spec.Schema{
31724 SchemaProps: spec.SchemaProps{
31725 Description: "VirtualMachineRestoreSpec is the spec for a VirtualMachineRestoreresource",
31726 Type: []string{"object"},
31727 Properties: map[string]spec.Schema{
31728 "target": {
31729 SchemaProps: spec.SchemaProps{
31730 Description: "initially only VirtualMachine type supported",
31731 Default: map[string]interface{}{},
31732 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
31733 },
31734 },
31735 "virtualMachineSnapshotName": {
31736 SchemaProps: spec.SchemaProps{
31737 Default: "",
31738 Type: []string{"string"},
31739 Format: "",
31740 },
31741 },
31742 "patches": {
31743 VendorExtensible: spec.VendorExtensible{
31744 Extensions: spec.Extensions{
31745 "x-kubernetes-list-type": "atomic",
31746 },
31747 },
31748 SchemaProps: spec.SchemaProps{
31749 Description: "If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be applied to the target manifest before it's created. Patches should fit the target's Kind.\n\nExample for a patch: {\"op\": \"replace\", \"path\": \"/metadata/name\", \"value\": \"new-vm-name\"}",
31750 Type: []string{"array"},
31751 Items: &spec.SchemaOrArray{
31752 Schema: &spec.Schema{
31753 SchemaProps: spec.SchemaProps{
31754 Default: "",
31755 Type: []string{"string"},
31756 Format: "",
31757 },
31758 },
31759 },
31760 },
31761 },
31762 },
31763 Required: []string{"target", "virtualMachineSnapshotName"},
31764 },
31765 },
31766 Dependencies: []string{
31767 "k8s.io/api/core/v1.TypedLocalObjectReference"},
31768 }
31769 }
31770
31771 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineRestoreStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
31772 return common.OpenAPIDefinition{
31773 Schema: spec.Schema{
31774 SchemaProps: spec.SchemaProps{
31775 Description: "VirtualMachineRestoreStatus is the spec for a VirtualMachineRestoreresource",
31776 Type: []string{"object"},
31777 Properties: map[string]spec.Schema{
31778 "restores": {
31779 SchemaProps: spec.SchemaProps{
31780 Type: []string{"array"},
31781 Items: &spec.SchemaOrArray{
31782 Schema: &spec.Schema{
31783 SchemaProps: spec.SchemaProps{
31784 Default: map[string]interface{}{},
31785 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VolumeRestore"),
31786 },
31787 },
31788 },
31789 },
31790 },
31791 "restoreTime": {
31792 SchemaProps: spec.SchemaProps{
31793 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
31794 },
31795 },
31796 "deletedDataVolumes": {
31797 SchemaProps: spec.SchemaProps{
31798 Type: []string{"array"},
31799 Items: &spec.SchemaOrArray{
31800 Schema: &spec.Schema{
31801 SchemaProps: spec.SchemaProps{
31802 Default: "",
31803 Type: []string{"string"},
31804 Format: "",
31805 },
31806 },
31807 },
31808 },
31809 },
31810 "complete": {
31811 SchemaProps: spec.SchemaProps{
31812 Type: []string{"boolean"},
31813 Format: "",
31814 },
31815 },
31816 "conditions": {
31817 SchemaProps: spec.SchemaProps{
31818 Type: []string{"array"},
31819 Items: &spec.SchemaOrArray{
31820 Schema: &spec.Schema{
31821 SchemaProps: spec.SchemaProps{
31822 Default: map[string]interface{}{},
31823 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.Condition"),
31824 },
31825 },
31826 },
31827 },
31828 },
31829 },
31830 },
31831 },
31832 Dependencies: []string{
31833 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1alpha1.Condition", "kubevirt.io/api/snapshot/v1alpha1.VolumeRestore"},
31834 }
31835 }
31836
31837 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshot(ref common.ReferenceCallback) common.OpenAPIDefinition {
31838 return common.OpenAPIDefinition{
31839 Schema: spec.Schema{
31840 SchemaProps: spec.SchemaProps{
31841 Description: "VirtualMachineSnapshot defines the operation of snapshotting a VM",
31842 Type: []string{"object"},
31843 Properties: map[string]spec.Schema{
31844 "kind": {
31845 SchemaProps: spec.SchemaProps{
31846 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31847 Type: []string{"string"},
31848 Format: "",
31849 },
31850 },
31851 "apiVersion": {
31852 SchemaProps: spec.SchemaProps{
31853 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31854 Type: []string{"string"},
31855 Format: "",
31856 },
31857 },
31858 "metadata": {
31859 SchemaProps: spec.SchemaProps{
31860 Default: map[string]interface{}{},
31861 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31862 },
31863 },
31864 "spec": {
31865 SchemaProps: spec.SchemaProps{
31866 Default: map[string]interface{}{},
31867 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotSpec"),
31868 },
31869 },
31870 "status": {
31871 SchemaProps: spec.SchemaProps{
31872 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotStatus"),
31873 },
31874 },
31875 },
31876 Required: []string{"spec"},
31877 },
31878 },
31879 Dependencies: []string{
31880 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotSpec", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotStatus"},
31881 }
31882 }
31883
31884 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContent(ref common.ReferenceCallback) common.OpenAPIDefinition {
31885 return common.OpenAPIDefinition{
31886 Schema: spec.Schema{
31887 SchemaProps: spec.SchemaProps{
31888 Description: "VirtualMachineSnapshotContent contains the snapshot data",
31889 Type: []string{"object"},
31890 Properties: map[string]spec.Schema{
31891 "kind": {
31892 SchemaProps: spec.SchemaProps{
31893 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31894 Type: []string{"string"},
31895 Format: "",
31896 },
31897 },
31898 "apiVersion": {
31899 SchemaProps: spec.SchemaProps{
31900 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31901 Type: []string{"string"},
31902 Format: "",
31903 },
31904 },
31905 "metadata": {
31906 SchemaProps: spec.SchemaProps{
31907 Default: map[string]interface{}{},
31908 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
31909 },
31910 },
31911 "spec": {
31912 SchemaProps: spec.SchemaProps{
31913 Default: map[string]interface{}{},
31914 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentSpec"),
31915 },
31916 },
31917 "status": {
31918 SchemaProps: spec.SchemaProps{
31919 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentStatus"),
31920 },
31921 },
31922 },
31923 Required: []string{"spec"},
31924 },
31925 },
31926 Dependencies: []string{
31927 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentSpec", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContentStatus"},
31928 }
31929 }
31930
31931 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentList(ref common.ReferenceCallback) common.OpenAPIDefinition {
31932 return common.OpenAPIDefinition{
31933 Schema: spec.Schema{
31934 SchemaProps: spec.SchemaProps{
31935 Description: "VirtualMachineSnapshotContentList is a list of VirtualMachineSnapshot resources",
31936 Type: []string{"object"},
31937 Properties: map[string]spec.Schema{
31938 "kind": {
31939 SchemaProps: spec.SchemaProps{
31940 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
31941 Type: []string{"string"},
31942 Format: "",
31943 },
31944 },
31945 "apiVersion": {
31946 SchemaProps: spec.SchemaProps{
31947 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
31948 Type: []string{"string"},
31949 Format: "",
31950 },
31951 },
31952 "metadata": {
31953 SchemaProps: spec.SchemaProps{
31954 Default: map[string]interface{}{},
31955 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
31956 },
31957 },
31958 "items": {
31959 SchemaProps: spec.SchemaProps{
31960 Type: []string{"array"},
31961 Items: &spec.SchemaOrArray{
31962 Schema: &spec.Schema{
31963 SchemaProps: spec.SchemaProps{
31964 Default: map[string]interface{}{},
31965 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContent"),
31966 },
31967 },
31968 },
31969 },
31970 },
31971 },
31972 Required: []string{"metadata", "items"},
31973 },
31974 },
31975 Dependencies: []string{
31976 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshotContent"},
31977 }
31978 }
31979
31980 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
31981 return common.OpenAPIDefinition{
31982 Schema: spec.Schema{
31983 SchemaProps: spec.SchemaProps{
31984 Description: "VirtualMachineSnapshotContentSpec is the spec for a VirtualMachineSnapshotContent resource",
31985 Type: []string{"object"},
31986 Properties: map[string]spec.Schema{
31987 "virtualMachineSnapshotName": {
31988 SchemaProps: spec.SchemaProps{
31989 Type: []string{"string"},
31990 Format: "",
31991 },
31992 },
31993 "source": {
31994 SchemaProps: spec.SchemaProps{
31995 Default: map[string]interface{}{},
31996 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.SourceSpec"),
31997 },
31998 },
31999 "volumeBackups": {
32000 SchemaProps: spec.SchemaProps{
32001 Type: []string{"array"},
32002 Items: &spec.SchemaOrArray{
32003 Schema: &spec.Schema{
32004 SchemaProps: spec.SchemaProps{
32005 Default: map[string]interface{}{},
32006 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VolumeBackup"),
32007 },
32008 },
32009 },
32010 },
32011 },
32012 },
32013 Required: []string{"source"},
32014 },
32015 },
32016 Dependencies: []string{
32017 "kubevirt.io/api/snapshot/v1alpha1.SourceSpec", "kubevirt.io/api/snapshot/v1alpha1.VolumeBackup"},
32018 }
32019 }
32020
32021 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotContentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
32022 return common.OpenAPIDefinition{
32023 Schema: spec.Schema{
32024 SchemaProps: spec.SchemaProps{
32025 Description: "VirtualMachineSnapshotContentStatus is the status for a VirtualMachineSnapshotStatus resource",
32026 Type: []string{"object"},
32027 Properties: map[string]spec.Schema{
32028 "creationTime": {
32029 SchemaProps: spec.SchemaProps{
32030 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32031 },
32032 },
32033 "readyToUse": {
32034 SchemaProps: spec.SchemaProps{
32035 Type: []string{"boolean"},
32036 Format: "",
32037 },
32038 },
32039 "error": {
32040 SchemaProps: spec.SchemaProps{
32041 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.Error"),
32042 },
32043 },
32044 "volumeSnapshotStatus": {
32045 SchemaProps: spec.SchemaProps{
32046 Type: []string{"array"},
32047 Items: &spec.SchemaOrArray{
32048 Schema: &spec.Schema{
32049 SchemaProps: spec.SchemaProps{
32050 Default: map[string]interface{}{},
32051 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VolumeSnapshotStatus"),
32052 },
32053 },
32054 },
32055 },
32056 },
32057 },
32058 },
32059 },
32060 Dependencies: []string{
32061 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1alpha1.Error", "kubevirt.io/api/snapshot/v1alpha1.VolumeSnapshotStatus"},
32062 }
32063 }
32064
32065 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotList(ref common.ReferenceCallback) common.OpenAPIDefinition {
32066 return common.OpenAPIDefinition{
32067 Schema: spec.Schema{
32068 SchemaProps: spec.SchemaProps{
32069 Description: "VirtualMachineSnapshotList is a list of VirtualMachineSnapshot resources",
32070 Type: []string{"object"},
32071 Properties: map[string]spec.Schema{
32072 "kind": {
32073 SchemaProps: spec.SchemaProps{
32074 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32075 Type: []string{"string"},
32076 Format: "",
32077 },
32078 },
32079 "apiVersion": {
32080 SchemaProps: spec.SchemaProps{
32081 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32082 Type: []string{"string"},
32083 Format: "",
32084 },
32085 },
32086 "metadata": {
32087 SchemaProps: spec.SchemaProps{
32088 Default: map[string]interface{}{},
32089 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
32090 },
32091 },
32092 "items": {
32093 SchemaProps: spec.SchemaProps{
32094 Type: []string{"array"},
32095 Items: &spec.SchemaOrArray{
32096 Schema: &spec.Schema{
32097 SchemaProps: spec.SchemaProps{
32098 Default: map[string]interface{}{},
32099 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshot"),
32100 },
32101 },
32102 },
32103 },
32104 },
32105 },
32106 Required: []string{"metadata", "items"},
32107 },
32108 },
32109 Dependencies: []string{
32110 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1alpha1.VirtualMachineSnapshot"},
32111 }
32112 }
32113
32114 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
32115 return common.OpenAPIDefinition{
32116 Schema: spec.Schema{
32117 SchemaProps: spec.SchemaProps{
32118 Description: "VirtualMachineSnapshotSpec is the spec for a VirtualMachineSnapshot resource",
32119 Type: []string{"object"},
32120 Properties: map[string]spec.Schema{
32121 "source": {
32122 SchemaProps: spec.SchemaProps{
32123 Default: map[string]interface{}{},
32124 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
32125 },
32126 },
32127 "deletionPolicy": {
32128 SchemaProps: spec.SchemaProps{
32129 Type: []string{"string"},
32130 Format: "",
32131 },
32132 },
32133 "failureDeadline": {
32134 SchemaProps: spec.SchemaProps{
32135 Description: "This time represents the number of seconds we permit the vm snapshot to take. In case we pass this deadline we mark this snapshot as failed. Defaults to DefaultFailureDeadline - 5min",
32136 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
32137 },
32138 },
32139 },
32140 Required: []string{"source"},
32141 },
32142 },
32143 Dependencies: []string{
32144 "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
32145 }
32146 }
32147
32148 func schema_kubevirtio_api_snapshot_v1alpha1_VirtualMachineSnapshotStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
32149 return common.OpenAPIDefinition{
32150 Schema: spec.Schema{
32151 SchemaProps: spec.SchemaProps{
32152 Description: "VirtualMachineSnapshotStatus is the status for a VirtualMachineSnapshot resource",
32153 Type: []string{"object"},
32154 Properties: map[string]spec.Schema{
32155 "sourceUID": {
32156 SchemaProps: spec.SchemaProps{
32157 Type: []string{"string"},
32158 Format: "",
32159 },
32160 },
32161 "virtualMachineSnapshotContentName": {
32162 SchemaProps: spec.SchemaProps{
32163 Type: []string{"string"},
32164 Format: "",
32165 },
32166 },
32167 "creationTime": {
32168 SchemaProps: spec.SchemaProps{
32169 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32170 },
32171 },
32172 "phase": {
32173 SchemaProps: spec.SchemaProps{
32174 Type: []string{"string"},
32175 Format: "",
32176 },
32177 },
32178 "readyToUse": {
32179 SchemaProps: spec.SchemaProps{
32180 Type: []string{"boolean"},
32181 Format: "",
32182 },
32183 },
32184 "error": {
32185 SchemaProps: spec.SchemaProps{
32186 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.Error"),
32187 },
32188 },
32189 "conditions": {
32190 SchemaProps: spec.SchemaProps{
32191 Type: []string{"array"},
32192 Items: &spec.SchemaOrArray{
32193 Schema: &spec.Schema{
32194 SchemaProps: spec.SchemaProps{
32195 Default: map[string]interface{}{},
32196 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.Condition"),
32197 },
32198 },
32199 },
32200 },
32201 },
32202 "indications": {
32203 VendorExtensible: spec.VendorExtensible{
32204 Extensions: spec.Extensions{
32205 "x-kubernetes-list-type": "set",
32206 },
32207 },
32208 SchemaProps: spec.SchemaProps{
32209 Type: []string{"array"},
32210 Items: &spec.SchemaOrArray{
32211 Schema: &spec.Schema{
32212 SchemaProps: spec.SchemaProps{
32213 Default: "",
32214 Type: []string{"string"},
32215 Format: "",
32216 },
32217 },
32218 },
32219 },
32220 },
32221 "snapshotVolumes": {
32222 SchemaProps: spec.SchemaProps{
32223 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.SnapshotVolumesLists"),
32224 },
32225 },
32226 },
32227 },
32228 },
32229 Dependencies: []string{
32230 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1alpha1.Condition", "kubevirt.io/api/snapshot/v1alpha1.Error", "kubevirt.io/api/snapshot/v1alpha1.SnapshotVolumesLists"},
32231 }
32232 }
32233
32234 func schema_kubevirtio_api_snapshot_v1alpha1_VolumeBackup(ref common.ReferenceCallback) common.OpenAPIDefinition {
32235 return common.OpenAPIDefinition{
32236 Schema: spec.Schema{
32237 SchemaProps: spec.SchemaProps{
32238 Description: "VolumeBackup contains the data neeed to restore a PVC",
32239 Type: []string{"object"},
32240 Properties: map[string]spec.Schema{
32241 "volumeName": {
32242 SchemaProps: spec.SchemaProps{
32243 Default: "",
32244 Type: []string{"string"},
32245 Format: "",
32246 },
32247 },
32248 "persistentVolumeClaim": {
32249 SchemaProps: spec.SchemaProps{
32250 Default: map[string]interface{}{},
32251 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.PersistentVolumeClaim"),
32252 },
32253 },
32254 "volumeSnapshotName": {
32255 SchemaProps: spec.SchemaProps{
32256 Type: []string{"string"},
32257 Format: "",
32258 },
32259 },
32260 },
32261 Required: []string{"volumeName", "persistentVolumeClaim"},
32262 },
32263 },
32264 Dependencies: []string{
32265 "kubevirt.io/api/snapshot/v1alpha1.PersistentVolumeClaim"},
32266 }
32267 }
32268
32269 func schema_kubevirtio_api_snapshot_v1alpha1_VolumeRestore(ref common.ReferenceCallback) common.OpenAPIDefinition {
32270 return common.OpenAPIDefinition{
32271 Schema: spec.Schema{
32272 SchemaProps: spec.SchemaProps{
32273 Description: "VolumeRestore contains the data neeed to restore a PVC",
32274 Type: []string{"object"},
32275 Properties: map[string]spec.Schema{
32276 "volumeName": {
32277 SchemaProps: spec.SchemaProps{
32278 Default: "",
32279 Type: []string{"string"},
32280 Format: "",
32281 },
32282 },
32283 "persistentVolumeClaim": {
32284 SchemaProps: spec.SchemaProps{
32285 Default: "",
32286 Type: []string{"string"},
32287 Format: "",
32288 },
32289 },
32290 "volumeSnapshotName": {
32291 SchemaProps: spec.SchemaProps{
32292 Default: "",
32293 Type: []string{"string"},
32294 Format: "",
32295 },
32296 },
32297 "dataVolumeName": {
32298 SchemaProps: spec.SchemaProps{
32299 Type: []string{"string"},
32300 Format: "",
32301 },
32302 },
32303 },
32304 Required: []string{"volumeName", "persistentVolumeClaim", "volumeSnapshotName"},
32305 },
32306 },
32307 }
32308 }
32309
32310 func schema_kubevirtio_api_snapshot_v1alpha1_VolumeSnapshotStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
32311 return common.OpenAPIDefinition{
32312 Schema: spec.Schema{
32313 SchemaProps: spec.SchemaProps{
32314 Description: "VolumeSnapshotStatus is the status of a VolumeSnapshot",
32315 Type: []string{"object"},
32316 Properties: map[string]spec.Schema{
32317 "volumeSnapshotName": {
32318 SchemaProps: spec.SchemaProps{
32319 Default: "",
32320 Type: []string{"string"},
32321 Format: "",
32322 },
32323 },
32324 "creationTime": {
32325 SchemaProps: spec.SchemaProps{
32326 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32327 },
32328 },
32329 "readyToUse": {
32330 SchemaProps: spec.SchemaProps{
32331 Type: []string{"boolean"},
32332 Format: "",
32333 },
32334 },
32335 "error": {
32336 SchemaProps: spec.SchemaProps{
32337 Ref: ref("kubevirt.io/api/snapshot/v1alpha1.Error"),
32338 },
32339 },
32340 },
32341 Required: []string{"volumeSnapshotName"},
32342 },
32343 },
32344 Dependencies: []string{
32345 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1alpha1.Error"},
32346 }
32347 }
32348
32349 func schema_kubevirtio_api_snapshot_v1beta1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
32350 return common.OpenAPIDefinition{
32351 Schema: spec.Schema{
32352 SchemaProps: spec.SchemaProps{
32353 Description: "Condition defines conditions",
32354 Type: []string{"object"},
32355 Properties: map[string]spec.Schema{
32356 "type": {
32357 SchemaProps: spec.SchemaProps{
32358 Default: "",
32359 Type: []string{"string"},
32360 Format: "",
32361 },
32362 },
32363 "status": {
32364 SchemaProps: spec.SchemaProps{
32365 Default: "",
32366 Type: []string{"string"},
32367 Format: "",
32368 },
32369 },
32370 "lastProbeTime": {
32371 SchemaProps: spec.SchemaProps{
32372 Default: map[string]interface{}{},
32373 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32374 },
32375 },
32376 "lastTransitionTime": {
32377 SchemaProps: spec.SchemaProps{
32378 Default: map[string]interface{}{},
32379 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32380 },
32381 },
32382 "reason": {
32383 SchemaProps: spec.SchemaProps{
32384 Type: []string{"string"},
32385 Format: "",
32386 },
32387 },
32388 "message": {
32389 SchemaProps: spec.SchemaProps{
32390 Type: []string{"string"},
32391 Format: "",
32392 },
32393 },
32394 },
32395 Required: []string{"type", "status"},
32396 },
32397 },
32398 Dependencies: []string{
32399 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
32400 }
32401 }
32402
32403 func schema_kubevirtio_api_snapshot_v1beta1_Error(ref common.ReferenceCallback) common.OpenAPIDefinition {
32404 return common.OpenAPIDefinition{
32405 Schema: spec.Schema{
32406 SchemaProps: spec.SchemaProps{
32407 Description: "Error is the last error encountered during the snapshot/restore",
32408 Type: []string{"object"},
32409 Properties: map[string]spec.Schema{
32410 "time": {
32411 SchemaProps: spec.SchemaProps{
32412 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32413 },
32414 },
32415 "message": {
32416 SchemaProps: spec.SchemaProps{
32417 Type: []string{"string"},
32418 Format: "",
32419 },
32420 },
32421 },
32422 },
32423 },
32424 Dependencies: []string{
32425 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
32426 }
32427 }
32428
32429 func schema_kubevirtio_api_snapshot_v1beta1_PersistentVolumeClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
32430 return common.OpenAPIDefinition{
32431 Schema: spec.Schema{
32432 SchemaProps: spec.SchemaProps{
32433 Type: []string{"object"},
32434 Properties: map[string]spec.Schema{
32435 "metadata": {
32436 SchemaProps: spec.SchemaProps{
32437 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
32438 Default: map[string]interface{}{},
32439 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
32440 },
32441 },
32442 "spec": {
32443 SchemaProps: spec.SchemaProps{
32444 Description: "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
32445 Default: map[string]interface{}{},
32446 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
32447 },
32448 },
32449 },
32450 },
32451 },
32452 Dependencies: []string{
32453 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
32454 }
32455 }
32456
32457 func schema_kubevirtio_api_snapshot_v1beta1_SnapshotVolumesLists(ref common.ReferenceCallback) common.OpenAPIDefinition {
32458 return common.OpenAPIDefinition{
32459 Schema: spec.Schema{
32460 SchemaProps: spec.SchemaProps{
32461 Description: "SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot",
32462 Type: []string{"object"},
32463 Properties: map[string]spec.Schema{
32464 "includedVolumes": {
32465 VendorExtensible: spec.VendorExtensible{
32466 Extensions: spec.Extensions{
32467 "x-kubernetes-list-type": "set",
32468 },
32469 },
32470 SchemaProps: spec.SchemaProps{
32471 Type: []string{"array"},
32472 Items: &spec.SchemaOrArray{
32473 Schema: &spec.Schema{
32474 SchemaProps: spec.SchemaProps{
32475 Default: "",
32476 Type: []string{"string"},
32477 Format: "",
32478 },
32479 },
32480 },
32481 },
32482 },
32483 "excludedVolumes": {
32484 VendorExtensible: spec.VendorExtensible{
32485 Extensions: spec.Extensions{
32486 "x-kubernetes-list-type": "set",
32487 },
32488 },
32489 SchemaProps: spec.SchemaProps{
32490 Type: []string{"array"},
32491 Items: &spec.SchemaOrArray{
32492 Schema: &spec.Schema{
32493 SchemaProps: spec.SchemaProps{
32494 Default: "",
32495 Type: []string{"string"},
32496 Format: "",
32497 },
32498 },
32499 },
32500 },
32501 },
32502 },
32503 },
32504 },
32505 }
32506 }
32507
32508 func schema_kubevirtio_api_snapshot_v1beta1_SourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
32509 return common.OpenAPIDefinition{
32510 Schema: spec.Schema{
32511 SchemaProps: spec.SchemaProps{
32512 Description: "SourceSpec contains the appropriate spec for the resource being snapshotted",
32513 Type: []string{"object"},
32514 Properties: map[string]spec.Schema{
32515 "virtualMachine": {
32516 SchemaProps: spec.SchemaProps{
32517 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachine"),
32518 },
32519 },
32520 },
32521 },
32522 },
32523 Dependencies: []string{
32524 "kubevirt.io/api/snapshot/v1beta1.VirtualMachine"},
32525 }
32526 }
32527
32528 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachine(ref common.ReferenceCallback) common.OpenAPIDefinition {
32529 return common.OpenAPIDefinition{
32530 Schema: spec.Schema{
32531 SchemaProps: spec.SchemaProps{
32532 Type: []string{"object"},
32533 Properties: map[string]spec.Schema{
32534 "metadata": {
32535 SchemaProps: spec.SchemaProps{
32536 Default: map[string]interface{}{},
32537 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
32538 },
32539 },
32540 "spec": {
32541 SchemaProps: spec.SchemaProps{
32542 Description: "VirtualMachineSpec contains the VirtualMachine specification.",
32543 Default: map[string]interface{}{},
32544 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineSpec"),
32545 },
32546 },
32547 "status": {
32548 SchemaProps: spec.SchemaProps{
32549 Description: "Status holds the current state of the controller and brief information about its associated VirtualMachineInstance",
32550 Default: map[string]interface{}{},
32551 Ref: ref("kubevirt.io/api/core/v1.VirtualMachineStatus"),
32552 },
32553 },
32554 },
32555 },
32556 },
32557 Dependencies: []string{
32558 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/core/v1.VirtualMachineSpec", "kubevirt.io/api/core/v1.VirtualMachineStatus"},
32559 }
32560 }
32561
32562 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestore(ref common.ReferenceCallback) common.OpenAPIDefinition {
32563 return common.OpenAPIDefinition{
32564 Schema: spec.Schema{
32565 SchemaProps: spec.SchemaProps{
32566 Description: "VirtualMachineRestore defines the operation of restoring a VM",
32567 Type: []string{"object"},
32568 Properties: map[string]spec.Schema{
32569 "kind": {
32570 SchemaProps: spec.SchemaProps{
32571 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32572 Type: []string{"string"},
32573 Format: "",
32574 },
32575 },
32576 "apiVersion": {
32577 SchemaProps: spec.SchemaProps{
32578 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32579 Type: []string{"string"},
32580 Format: "",
32581 },
32582 },
32583 "metadata": {
32584 SchemaProps: spec.SchemaProps{
32585 Default: map[string]interface{}{},
32586 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
32587 },
32588 },
32589 "spec": {
32590 SchemaProps: spec.SchemaProps{
32591 Default: map[string]interface{}{},
32592 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreSpec"),
32593 },
32594 },
32595 "status": {
32596 SchemaProps: spec.SchemaProps{
32597 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreStatus"),
32598 },
32599 },
32600 },
32601 Required: []string{"spec"},
32602 },
32603 },
32604 Dependencies: []string{
32605 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreSpec", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestoreStatus"},
32606 }
32607 }
32608
32609 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreList(ref common.ReferenceCallback) common.OpenAPIDefinition {
32610 return common.OpenAPIDefinition{
32611 Schema: spec.Schema{
32612 SchemaProps: spec.SchemaProps{
32613 Description: "VirtualMachineRestoreList is a list of VirtualMachineRestore resources",
32614 Type: []string{"object"},
32615 Properties: map[string]spec.Schema{
32616 "kind": {
32617 SchemaProps: spec.SchemaProps{
32618 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32619 Type: []string{"string"},
32620 Format: "",
32621 },
32622 },
32623 "apiVersion": {
32624 SchemaProps: spec.SchemaProps{
32625 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32626 Type: []string{"string"},
32627 Format: "",
32628 },
32629 },
32630 "metadata": {
32631 SchemaProps: spec.SchemaProps{
32632 Default: map[string]interface{}{},
32633 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
32634 },
32635 },
32636 "items": {
32637 SchemaProps: spec.SchemaProps{
32638 Type: []string{"array"},
32639 Items: &spec.SchemaOrArray{
32640 Schema: &spec.Schema{
32641 SchemaProps: spec.SchemaProps{
32642 Default: map[string]interface{}{},
32643 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestore"),
32644 },
32645 },
32646 },
32647 },
32648 },
32649 },
32650 Required: []string{"metadata", "items"},
32651 },
32652 },
32653 Dependencies: []string{
32654 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineRestore"},
32655 }
32656 }
32657
32658 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
32659 return common.OpenAPIDefinition{
32660 Schema: spec.Schema{
32661 SchemaProps: spec.SchemaProps{
32662 Description: "VirtualMachineRestoreSpec is the spec for a VirtualMachineRestoreresource",
32663 Type: []string{"object"},
32664 Properties: map[string]spec.Schema{
32665 "target": {
32666 SchemaProps: spec.SchemaProps{
32667 Description: "initially only VirtualMachine type supported",
32668 Default: map[string]interface{}{},
32669 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
32670 },
32671 },
32672 "virtualMachineSnapshotName": {
32673 SchemaProps: spec.SchemaProps{
32674 Default: "",
32675 Type: []string{"string"},
32676 Format: "",
32677 },
32678 },
32679 "patches": {
32680 VendorExtensible: spec.VendorExtensible{
32681 Extensions: spec.Extensions{
32682 "x-kubernetes-list-type": "atomic",
32683 },
32684 },
32685 SchemaProps: spec.SchemaProps{
32686 Description: "If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be applied to the target manifest before it's created. Patches should fit the target's Kind.\n\nExample for a patch: {\"op\": \"replace\", \"path\": \"/metadata/name\", \"value\": \"new-vm-name\"}",
32687 Type: []string{"array"},
32688 Items: &spec.SchemaOrArray{
32689 Schema: &spec.Schema{
32690 SchemaProps: spec.SchemaProps{
32691 Default: "",
32692 Type: []string{"string"},
32693 Format: "",
32694 },
32695 },
32696 },
32697 },
32698 },
32699 },
32700 Required: []string{"target", "virtualMachineSnapshotName"},
32701 },
32702 },
32703 Dependencies: []string{
32704 "k8s.io/api/core/v1.TypedLocalObjectReference"},
32705 }
32706 }
32707
32708 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineRestoreStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
32709 return common.OpenAPIDefinition{
32710 Schema: spec.Schema{
32711 SchemaProps: spec.SchemaProps{
32712 Description: "VirtualMachineRestoreStatus is the spec for a VirtualMachineRestoreresource",
32713 Type: []string{"object"},
32714 Properties: map[string]spec.Schema{
32715 "restores": {
32716 VendorExtensible: spec.VendorExtensible{
32717 Extensions: spec.Extensions{
32718 "x-kubernetes-list-type": "atomic",
32719 },
32720 },
32721 SchemaProps: spec.SchemaProps{
32722 Type: []string{"array"},
32723 Items: &spec.SchemaOrArray{
32724 Schema: &spec.Schema{
32725 SchemaProps: spec.SchemaProps{
32726 Default: map[string]interface{}{},
32727 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VolumeRestore"),
32728 },
32729 },
32730 },
32731 },
32732 },
32733 "restoreTime": {
32734 SchemaProps: spec.SchemaProps{
32735 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32736 },
32737 },
32738 "deletedDataVolumes": {
32739 VendorExtensible: spec.VendorExtensible{
32740 Extensions: spec.Extensions{
32741 "x-kubernetes-list-type": "set",
32742 },
32743 },
32744 SchemaProps: spec.SchemaProps{
32745 Type: []string{"array"},
32746 Items: &spec.SchemaOrArray{
32747 Schema: &spec.Schema{
32748 SchemaProps: spec.SchemaProps{
32749 Default: "",
32750 Type: []string{"string"},
32751 Format: "",
32752 },
32753 },
32754 },
32755 },
32756 },
32757 "complete": {
32758 SchemaProps: spec.SchemaProps{
32759 Type: []string{"boolean"},
32760 Format: "",
32761 },
32762 },
32763 "conditions": {
32764 VendorExtensible: spec.VendorExtensible{
32765 Extensions: spec.Extensions{
32766 "x-kubernetes-list-type": "atomic",
32767 },
32768 },
32769 SchemaProps: spec.SchemaProps{
32770 Type: []string{"array"},
32771 Items: &spec.SchemaOrArray{
32772 Schema: &spec.Schema{
32773 SchemaProps: spec.SchemaProps{
32774 Default: map[string]interface{}{},
32775 Ref: ref("kubevirt.io/api/snapshot/v1beta1.Condition"),
32776 },
32777 },
32778 },
32779 },
32780 },
32781 },
32782 },
32783 },
32784 Dependencies: []string{
32785 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1beta1.Condition", "kubevirt.io/api/snapshot/v1beta1.VolumeRestore"},
32786 }
32787 }
32788
32789 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshot(ref common.ReferenceCallback) common.OpenAPIDefinition {
32790 return common.OpenAPIDefinition{
32791 Schema: spec.Schema{
32792 SchemaProps: spec.SchemaProps{
32793 Description: "VirtualMachineSnapshot defines the operation of snapshotting a VM",
32794 Type: []string{"object"},
32795 Properties: map[string]spec.Schema{
32796 "kind": {
32797 SchemaProps: spec.SchemaProps{
32798 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32799 Type: []string{"string"},
32800 Format: "",
32801 },
32802 },
32803 "apiVersion": {
32804 SchemaProps: spec.SchemaProps{
32805 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32806 Type: []string{"string"},
32807 Format: "",
32808 },
32809 },
32810 "metadata": {
32811 SchemaProps: spec.SchemaProps{
32812 Default: map[string]interface{}{},
32813 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
32814 },
32815 },
32816 "spec": {
32817 SchemaProps: spec.SchemaProps{
32818 Default: map[string]interface{}{},
32819 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotSpec"),
32820 },
32821 },
32822 "status": {
32823 SchemaProps: spec.SchemaProps{
32824 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotStatus"),
32825 },
32826 },
32827 },
32828 Required: []string{"spec"},
32829 },
32830 },
32831 Dependencies: []string{
32832 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotSpec", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotStatus"},
32833 }
32834 }
32835
32836 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContent(ref common.ReferenceCallback) common.OpenAPIDefinition {
32837 return common.OpenAPIDefinition{
32838 Schema: spec.Schema{
32839 SchemaProps: spec.SchemaProps{
32840 Description: "VirtualMachineSnapshotContent contains the snapshot data",
32841 Type: []string{"object"},
32842 Properties: map[string]spec.Schema{
32843 "kind": {
32844 SchemaProps: spec.SchemaProps{
32845 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32846 Type: []string{"string"},
32847 Format: "",
32848 },
32849 },
32850 "apiVersion": {
32851 SchemaProps: spec.SchemaProps{
32852 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32853 Type: []string{"string"},
32854 Format: "",
32855 },
32856 },
32857 "metadata": {
32858 SchemaProps: spec.SchemaProps{
32859 Default: map[string]interface{}{},
32860 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
32861 },
32862 },
32863 "spec": {
32864 SchemaProps: spec.SchemaProps{
32865 Default: map[string]interface{}{},
32866 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentSpec"),
32867 },
32868 },
32869 "status": {
32870 SchemaProps: spec.SchemaProps{
32871 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentStatus"),
32872 },
32873 },
32874 },
32875 Required: []string{"spec"},
32876 },
32877 },
32878 Dependencies: []string{
32879 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentSpec", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContentStatus"},
32880 }
32881 }
32882
32883 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentList(ref common.ReferenceCallback) common.OpenAPIDefinition {
32884 return common.OpenAPIDefinition{
32885 Schema: spec.Schema{
32886 SchemaProps: spec.SchemaProps{
32887 Description: "VirtualMachineSnapshotContentList is a list of VirtualMachineSnapshot resources",
32888 Type: []string{"object"},
32889 Properties: map[string]spec.Schema{
32890 "kind": {
32891 SchemaProps: spec.SchemaProps{
32892 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
32893 Type: []string{"string"},
32894 Format: "",
32895 },
32896 },
32897 "apiVersion": {
32898 SchemaProps: spec.SchemaProps{
32899 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
32900 Type: []string{"string"},
32901 Format: "",
32902 },
32903 },
32904 "metadata": {
32905 SchemaProps: spec.SchemaProps{
32906 Default: map[string]interface{}{},
32907 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
32908 },
32909 },
32910 "items": {
32911 SchemaProps: spec.SchemaProps{
32912 Type: []string{"array"},
32913 Items: &spec.SchemaOrArray{
32914 Schema: &spec.Schema{
32915 SchemaProps: spec.SchemaProps{
32916 Default: map[string]interface{}{},
32917 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContent"),
32918 },
32919 },
32920 },
32921 },
32922 },
32923 },
32924 Required: []string{"metadata", "items"},
32925 },
32926 },
32927 Dependencies: []string{
32928 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshotContent"},
32929 }
32930 }
32931
32932 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
32933 return common.OpenAPIDefinition{
32934 Schema: spec.Schema{
32935 SchemaProps: spec.SchemaProps{
32936 Description: "VirtualMachineSnapshotContentSpec is the spec for a VirtualMachineSnapshotContent resource",
32937 Type: []string{"object"},
32938 Properties: map[string]spec.Schema{
32939 "virtualMachineSnapshotName": {
32940 SchemaProps: spec.SchemaProps{
32941 Type: []string{"string"},
32942 Format: "",
32943 },
32944 },
32945 "source": {
32946 SchemaProps: spec.SchemaProps{
32947 Default: map[string]interface{}{},
32948 Ref: ref("kubevirt.io/api/snapshot/v1beta1.SourceSpec"),
32949 },
32950 },
32951 "volumeBackups": {
32952 VendorExtensible: spec.VendorExtensible{
32953 Extensions: spec.Extensions{
32954 "x-kubernetes-list-type": "atomic",
32955 },
32956 },
32957 SchemaProps: spec.SchemaProps{
32958 Type: []string{"array"},
32959 Items: &spec.SchemaOrArray{
32960 Schema: &spec.Schema{
32961 SchemaProps: spec.SchemaProps{
32962 Default: map[string]interface{}{},
32963 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VolumeBackup"),
32964 },
32965 },
32966 },
32967 },
32968 },
32969 },
32970 Required: []string{"source"},
32971 },
32972 },
32973 Dependencies: []string{
32974 "kubevirt.io/api/snapshot/v1beta1.SourceSpec", "kubevirt.io/api/snapshot/v1beta1.VolumeBackup"},
32975 }
32976 }
32977
32978 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotContentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
32979 return common.OpenAPIDefinition{
32980 Schema: spec.Schema{
32981 SchemaProps: spec.SchemaProps{
32982 Description: "VirtualMachineSnapshotContentStatus is the status for a VirtualMachineSnapshotStatus resource",
32983 Type: []string{"object"},
32984 Properties: map[string]spec.Schema{
32985 "creationTime": {
32986 SchemaProps: spec.SchemaProps{
32987 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
32988 },
32989 },
32990 "readyToUse": {
32991 SchemaProps: spec.SchemaProps{
32992 Type: []string{"boolean"},
32993 Format: "",
32994 },
32995 },
32996 "error": {
32997 SchemaProps: spec.SchemaProps{
32998 Ref: ref("kubevirt.io/api/snapshot/v1beta1.Error"),
32999 },
33000 },
33001 "volumeSnapshotStatus": {
33002 VendorExtensible: spec.VendorExtensible{
33003 Extensions: spec.Extensions{
33004 "x-kubernetes-list-type": "atomic",
33005 },
33006 },
33007 SchemaProps: spec.SchemaProps{
33008 Type: []string{"array"},
33009 Items: &spec.SchemaOrArray{
33010 Schema: &spec.Schema{
33011 SchemaProps: spec.SchemaProps{
33012 Default: map[string]interface{}{},
33013 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VolumeSnapshotStatus"),
33014 },
33015 },
33016 },
33017 },
33018 },
33019 },
33020 },
33021 },
33022 Dependencies: []string{
33023 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1beta1.Error", "kubevirt.io/api/snapshot/v1beta1.VolumeSnapshotStatus"},
33024 }
33025 }
33026
33027 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotList(ref common.ReferenceCallback) common.OpenAPIDefinition {
33028 return common.OpenAPIDefinition{
33029 Schema: spec.Schema{
33030 SchemaProps: spec.SchemaProps{
33031 Description: "VirtualMachineSnapshotList is a list of VirtualMachineSnapshot resources",
33032 Type: []string{"object"},
33033 Properties: map[string]spec.Schema{
33034 "kind": {
33035 SchemaProps: spec.SchemaProps{
33036 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33037 Type: []string{"string"},
33038 Format: "",
33039 },
33040 },
33041 "apiVersion": {
33042 SchemaProps: spec.SchemaProps{
33043 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33044 Type: []string{"string"},
33045 Format: "",
33046 },
33047 },
33048 "metadata": {
33049 SchemaProps: spec.SchemaProps{
33050 Default: map[string]interface{}{},
33051 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
33052 },
33053 },
33054 "items": {
33055 SchemaProps: spec.SchemaProps{
33056 Type: []string{"array"},
33057 Items: &spec.SchemaOrArray{
33058 Schema: &spec.Schema{
33059 SchemaProps: spec.SchemaProps{
33060 Default: map[string]interface{}{},
33061 Ref: ref("kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshot"),
33062 },
33063 },
33064 },
33065 },
33066 },
33067 },
33068 Required: []string{"metadata", "items"},
33069 },
33070 },
33071 Dependencies: []string{
33072 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/api/snapshot/v1beta1.VirtualMachineSnapshot"},
33073 }
33074 }
33075
33076 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
33077 return common.OpenAPIDefinition{
33078 Schema: spec.Schema{
33079 SchemaProps: spec.SchemaProps{
33080 Description: "VirtualMachineSnapshotSpec is the spec for a VirtualMachineSnapshot resource",
33081 Type: []string{"object"},
33082 Properties: map[string]spec.Schema{
33083 "source": {
33084 SchemaProps: spec.SchemaProps{
33085 Default: map[string]interface{}{},
33086 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
33087 },
33088 },
33089 "deletionPolicy": {
33090 SchemaProps: spec.SchemaProps{
33091 Type: []string{"string"},
33092 Format: "",
33093 },
33094 },
33095 "failureDeadline": {
33096 SchemaProps: spec.SchemaProps{
33097 Description: "This time represents the number of seconds we permit the vm snapshot to take. In case we pass this deadline we mark this snapshot as failed. Defaults to DefaultFailureDeadline - 5min",
33098 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
33099 },
33100 },
33101 },
33102 Required: []string{"source"},
33103 },
33104 },
33105 Dependencies: []string{
33106 "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
33107 }
33108 }
33109
33110 func schema_kubevirtio_api_snapshot_v1beta1_VirtualMachineSnapshotStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
33111 return common.OpenAPIDefinition{
33112 Schema: spec.Schema{
33113 SchemaProps: spec.SchemaProps{
33114 Description: "VirtualMachineSnapshotStatus is the status for a VirtualMachineSnapshot resource",
33115 Type: []string{"object"},
33116 Properties: map[string]spec.Schema{
33117 "sourceUID": {
33118 SchemaProps: spec.SchemaProps{
33119 Type: []string{"string"},
33120 Format: "",
33121 },
33122 },
33123 "virtualMachineSnapshotContentName": {
33124 SchemaProps: spec.SchemaProps{
33125 Type: []string{"string"},
33126 Format: "",
33127 },
33128 },
33129 "creationTime": {
33130 SchemaProps: spec.SchemaProps{
33131 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
33132 },
33133 },
33134 "phase": {
33135 SchemaProps: spec.SchemaProps{
33136 Type: []string{"string"},
33137 Format: "",
33138 },
33139 },
33140 "readyToUse": {
33141 SchemaProps: spec.SchemaProps{
33142 Type: []string{"boolean"},
33143 Format: "",
33144 },
33145 },
33146 "error": {
33147 SchemaProps: spec.SchemaProps{
33148 Ref: ref("kubevirt.io/api/snapshot/v1beta1.Error"),
33149 },
33150 },
33151 "conditions": {
33152 VendorExtensible: spec.VendorExtensible{
33153 Extensions: spec.Extensions{
33154 "x-kubernetes-list-type": "atomic",
33155 },
33156 },
33157 SchemaProps: spec.SchemaProps{
33158 Type: []string{"array"},
33159 Items: &spec.SchemaOrArray{
33160 Schema: &spec.Schema{
33161 SchemaProps: spec.SchemaProps{
33162 Default: map[string]interface{}{},
33163 Ref: ref("kubevirt.io/api/snapshot/v1beta1.Condition"),
33164 },
33165 },
33166 },
33167 },
33168 },
33169 "indications": {
33170 VendorExtensible: spec.VendorExtensible{
33171 Extensions: spec.Extensions{
33172 "x-kubernetes-list-type": "set",
33173 },
33174 },
33175 SchemaProps: spec.SchemaProps{
33176 Type: []string{"array"},
33177 Items: &spec.SchemaOrArray{
33178 Schema: &spec.Schema{
33179 SchemaProps: spec.SchemaProps{
33180 Default: "",
33181 Type: []string{"string"},
33182 Format: "",
33183 },
33184 },
33185 },
33186 },
33187 },
33188 "snapshotVolumes": {
33189 SchemaProps: spec.SchemaProps{
33190 Ref: ref("kubevirt.io/api/snapshot/v1beta1.SnapshotVolumesLists"),
33191 },
33192 },
33193 },
33194 },
33195 },
33196 Dependencies: []string{
33197 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1beta1.Condition", "kubevirt.io/api/snapshot/v1beta1.Error", "kubevirt.io/api/snapshot/v1beta1.SnapshotVolumesLists"},
33198 }
33199 }
33200
33201 func schema_kubevirtio_api_snapshot_v1beta1_VolumeBackup(ref common.ReferenceCallback) common.OpenAPIDefinition {
33202 return common.OpenAPIDefinition{
33203 Schema: spec.Schema{
33204 SchemaProps: spec.SchemaProps{
33205 Description: "VolumeBackup contains the data neeed to restore a PVC",
33206 Type: []string{"object"},
33207 Properties: map[string]spec.Schema{
33208 "volumeName": {
33209 SchemaProps: spec.SchemaProps{
33210 Default: "",
33211 Type: []string{"string"},
33212 Format: "",
33213 },
33214 },
33215 "persistentVolumeClaim": {
33216 SchemaProps: spec.SchemaProps{
33217 Default: map[string]interface{}{},
33218 Ref: ref("kubevirt.io/api/snapshot/v1beta1.PersistentVolumeClaim"),
33219 },
33220 },
33221 "volumeSnapshotName": {
33222 SchemaProps: spec.SchemaProps{
33223 Type: []string{"string"},
33224 Format: "",
33225 },
33226 },
33227 },
33228 Required: []string{"volumeName", "persistentVolumeClaim"},
33229 },
33230 },
33231 Dependencies: []string{
33232 "kubevirt.io/api/snapshot/v1beta1.PersistentVolumeClaim"},
33233 }
33234 }
33235
33236 func schema_kubevirtio_api_snapshot_v1beta1_VolumeRestore(ref common.ReferenceCallback) common.OpenAPIDefinition {
33237 return common.OpenAPIDefinition{
33238 Schema: spec.Schema{
33239 SchemaProps: spec.SchemaProps{
33240 Description: "VolumeRestore contains the data neeed to restore a PVC",
33241 Type: []string{"object"},
33242 Properties: map[string]spec.Schema{
33243 "volumeName": {
33244 SchemaProps: spec.SchemaProps{
33245 Default: "",
33246 Type: []string{"string"},
33247 Format: "",
33248 },
33249 },
33250 "persistentVolumeClaim": {
33251 SchemaProps: spec.SchemaProps{
33252 Default: "",
33253 Type: []string{"string"},
33254 Format: "",
33255 },
33256 },
33257 "volumeSnapshotName": {
33258 SchemaProps: spec.SchemaProps{
33259 Default: "",
33260 Type: []string{"string"},
33261 Format: "",
33262 },
33263 },
33264 "dataVolumeName": {
33265 SchemaProps: spec.SchemaProps{
33266 Type: []string{"string"},
33267 Format: "",
33268 },
33269 },
33270 },
33271 Required: []string{"volumeName", "persistentVolumeClaim", "volumeSnapshotName"},
33272 },
33273 },
33274 }
33275 }
33276
33277 func schema_kubevirtio_api_snapshot_v1beta1_VolumeSnapshotStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
33278 return common.OpenAPIDefinition{
33279 Schema: spec.Schema{
33280 SchemaProps: spec.SchemaProps{
33281 Description: "VolumeSnapshotStatus is the status of a VolumeSnapshot",
33282 Type: []string{"object"},
33283 Properties: map[string]spec.Schema{
33284 "volumeSnapshotName": {
33285 SchemaProps: spec.SchemaProps{
33286 Default: "",
33287 Type: []string{"string"},
33288 Format: "",
33289 },
33290 },
33291 "creationTime": {
33292 SchemaProps: spec.SchemaProps{
33293 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
33294 },
33295 },
33296 "readyToUse": {
33297 SchemaProps: spec.SchemaProps{
33298 Type: []string{"boolean"},
33299 Format: "",
33300 },
33301 },
33302 "error": {
33303 SchemaProps: spec.SchemaProps{
33304 Ref: ref("kubevirt.io/api/snapshot/v1beta1.Error"),
33305 },
33306 },
33307 },
33308 Required: []string{"volumeSnapshotName"},
33309 },
33310 },
33311 Dependencies: []string{
33312 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/api/snapshot/v1beta1.Error"},
33313 }
33314 }
33315
33316 func schema_pkg_apis_core_v1beta1_CDI(ref common.ReferenceCallback) common.OpenAPIDefinition {
33317 return common.OpenAPIDefinition{
33318 Schema: spec.Schema{
33319 SchemaProps: spec.SchemaProps{
33320 Description: "CDI is the CDI Operator CRD",
33321 Type: []string{"object"},
33322 Properties: map[string]spec.Schema{
33323 "kind": {
33324 SchemaProps: spec.SchemaProps{
33325 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33326 Type: []string{"string"},
33327 Format: "",
33328 },
33329 },
33330 "apiVersion": {
33331 SchemaProps: spec.SchemaProps{
33332 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33333 Type: []string{"string"},
33334 Format: "",
33335 },
33336 },
33337 "metadata": {
33338 SchemaProps: spec.SchemaProps{
33339 Default: map[string]interface{}{},
33340 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
33341 },
33342 },
33343 "spec": {
33344 SchemaProps: spec.SchemaProps{
33345 Default: map[string]interface{}{},
33346 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDISpec"),
33347 },
33348 },
33349 "status": {
33350 SchemaProps: spec.SchemaProps{
33351 Default: map[string]interface{}{},
33352 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIStatus"),
33353 },
33354 },
33355 },
33356 Required: []string{"spec"},
33357 },
33358 },
33359 Dependencies: []string{
33360 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDISpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIStatus"},
33361 }
33362 }
33363
33364 func schema_pkg_apis_core_v1beta1_CDICertConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
33365 return common.OpenAPIDefinition{
33366 Schema: spec.Schema{
33367 SchemaProps: spec.SchemaProps{
33368 Description: "CDICertConfig has the CertConfigs for CDI",
33369 Type: []string{"object"},
33370 Properties: map[string]spec.Schema{
33371 "ca": {
33372 SchemaProps: spec.SchemaProps{
33373 Description: "CA configuration CA certs are kept in the CA bundle as long as they are valid",
33374 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CertConfig"),
33375 },
33376 },
33377 "server": {
33378 SchemaProps: spec.SchemaProps{
33379 Description: "Server configuration Certs are rotated and discarded",
33380 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CertConfig"),
33381 },
33382 },
33383 },
33384 },
33385 },
33386 Dependencies: []string{
33387 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CertConfig"},
33388 }
33389 }
33390
33391 func schema_pkg_apis_core_v1beta1_CDIConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
33392 return common.OpenAPIDefinition{
33393 Schema: spec.Schema{
33394 SchemaProps: spec.SchemaProps{
33395 Description: "CDIConfig provides a user configuration for CDI",
33396 Type: []string{"object"},
33397 Properties: map[string]spec.Schema{
33398 "kind": {
33399 SchemaProps: spec.SchemaProps{
33400 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33401 Type: []string{"string"},
33402 Format: "",
33403 },
33404 },
33405 "apiVersion": {
33406 SchemaProps: spec.SchemaProps{
33407 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33408 Type: []string{"string"},
33409 Format: "",
33410 },
33411 },
33412 "metadata": {
33413 SchemaProps: spec.SchemaProps{
33414 Default: map[string]interface{}{},
33415 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
33416 },
33417 },
33418 "spec": {
33419 SchemaProps: spec.SchemaProps{
33420 Default: map[string]interface{}{},
33421 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigSpec"),
33422 },
33423 },
33424 "status": {
33425 SchemaProps: spec.SchemaProps{
33426 Default: map[string]interface{}{},
33427 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigStatus"),
33428 },
33429 },
33430 },
33431 Required: []string{"spec"},
33432 },
33433 },
33434 Dependencies: []string{
33435 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigStatus"},
33436 }
33437 }
33438
33439 func schema_pkg_apis_core_v1beta1_CDIConfigList(ref common.ReferenceCallback) common.OpenAPIDefinition {
33440 return common.OpenAPIDefinition{
33441 Schema: spec.Schema{
33442 SchemaProps: spec.SchemaProps{
33443 Description: "CDIConfigList provides the needed parameters to do request a list of CDIConfigs from the system",
33444 Type: []string{"object"},
33445 Properties: map[string]spec.Schema{
33446 "kind": {
33447 SchemaProps: spec.SchemaProps{
33448 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33449 Type: []string{"string"},
33450 Format: "",
33451 },
33452 },
33453 "apiVersion": {
33454 SchemaProps: spec.SchemaProps{
33455 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33456 Type: []string{"string"},
33457 Format: "",
33458 },
33459 },
33460 "metadata": {
33461 SchemaProps: spec.SchemaProps{
33462 Default: map[string]interface{}{},
33463 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
33464 },
33465 },
33466 "items": {
33467 SchemaProps: spec.SchemaProps{
33468 Description: "Items provides a list of CDIConfigs",
33469 Type: []string{"array"},
33470 Items: &spec.SchemaOrArray{
33471 Schema: &spec.Schema{
33472 SchemaProps: spec.SchemaProps{
33473 Default: map[string]interface{}{},
33474 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfig"),
33475 },
33476 },
33477 },
33478 },
33479 },
33480 },
33481 Required: []string{"metadata", "items"},
33482 },
33483 },
33484 Dependencies: []string{
33485 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfig"},
33486 }
33487 }
33488
33489 func schema_pkg_apis_core_v1beta1_CDIConfigSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
33490 return common.OpenAPIDefinition{
33491 Schema: spec.Schema{
33492 SchemaProps: spec.SchemaProps{
33493 Description: "CDIConfigSpec defines specification for user configuration",
33494 Type: []string{"object"},
33495 Properties: map[string]spec.Schema{
33496 "uploadProxyURLOverride": {
33497 SchemaProps: spec.SchemaProps{
33498 Description: "Override the URL used when uploading to a DataVolume",
33499 Type: []string{"string"},
33500 Format: "",
33501 },
33502 },
33503 "importProxy": {
33504 SchemaProps: spec.SchemaProps{
33505 Description: "ImportProxy contains importer pod proxy configuration.",
33506 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportProxy"),
33507 },
33508 },
33509 "scratchSpaceStorageClass": {
33510 SchemaProps: spec.SchemaProps{
33511 Description: "Override the storage class to used for scratch space during transfer operations. The scratch space storage class is determined in the following order: 1. value of scratchSpaceStorageClass, if that doesn't exist, use the default storage class, if there is no default storage class, use the storage class of the DataVolume, if no storage class specified, use no storage class for scratch space",
33512 Type: []string{"string"},
33513 Format: "",
33514 },
33515 },
33516 "podResourceRequirements": {
33517 SchemaProps: spec.SchemaProps{
33518 Description: "ResourceRequirements describes the compute resource requirements.",
33519 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
33520 },
33521 },
33522 "featureGates": {
33523 SchemaProps: spec.SchemaProps{
33524 Description: "FeatureGates are a list of specific enabled feature gates",
33525 Type: []string{"array"},
33526 Items: &spec.SchemaOrArray{
33527 Schema: &spec.Schema{
33528 SchemaProps: spec.SchemaProps{
33529 Default: "",
33530 Type: []string{"string"},
33531 Format: "",
33532 },
33533 },
33534 },
33535 },
33536 },
33537 "filesystemOverhead": {
33538 SchemaProps: spec.SchemaProps{
33539 Description: "FilesystemOverhead describes the space reserved for overhead when using Filesystem volumes. A value is between 0 and 1, if not defined it is 0.055 (5.5% overhead)",
33540 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.FilesystemOverhead"),
33541 },
33542 },
33543 "preallocation": {
33544 SchemaProps: spec.SchemaProps{
33545 Description: "Preallocation controls whether storage for DataVolumes should be allocated in advance.",
33546 Type: []string{"boolean"},
33547 Format: "",
33548 },
33549 },
33550 "insecureRegistries": {
33551 SchemaProps: spec.SchemaProps{
33552 Description: "InsecureRegistries is a list of TLS disabled registries",
33553 Type: []string{"array"},
33554 Items: &spec.SchemaOrArray{
33555 Schema: &spec.Schema{
33556 SchemaProps: spec.SchemaProps{
33557 Default: "",
33558 Type: []string{"string"},
33559 Format: "",
33560 },
33561 },
33562 },
33563 },
33564 },
33565 "dataVolumeTTLSeconds": {
33566 SchemaProps: spec.SchemaProps{
33567 Description: "DataVolumeTTLSeconds is the time in seconds after DataVolume completion it can be garbage collected. The default is 0 sec. To disable GC use -1.",
33568 Type: []string{"integer"},
33569 Format: "int32",
33570 },
33571 },
33572 "tlsSecurityProfile": {
33573 SchemaProps: spec.SchemaProps{
33574 Description: "TLSSecurityProfile is used by operators to apply cluster-wide TLS security settings to operands.",
33575 Ref: ref("github.com/openshift/api/config/v1.TLSSecurityProfile"),
33576 },
33577 },
33578 "imagePullSecrets": {
33579 SchemaProps: spec.SchemaProps{
33580 Description: "The imagePullSecrets used to pull the container images",
33581 Type: []string{"array"},
33582 Items: &spec.SchemaOrArray{
33583 Schema: &spec.Schema{
33584 SchemaProps: spec.SchemaProps{
33585 Default: map[string]interface{}{},
33586 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
33587 },
33588 },
33589 },
33590 },
33591 },
33592 },
33593 },
33594 },
33595 Dependencies: []string{
33596 "github.com/openshift/api/config/v1.TLSSecurityProfile", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.ResourceRequirements", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.FilesystemOverhead", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportProxy"},
33597 }
33598 }
33599
33600 func schema_pkg_apis_core_v1beta1_CDIConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
33601 return common.OpenAPIDefinition{
33602 Schema: spec.Schema{
33603 SchemaProps: spec.SchemaProps{
33604 Description: "CDIConfigStatus provides the most recently observed status of the CDI Config resource",
33605 Type: []string{"object"},
33606 Properties: map[string]spec.Schema{
33607 "uploadProxyURL": {
33608 SchemaProps: spec.SchemaProps{
33609 Description: "The calculated upload proxy URL",
33610 Type: []string{"string"},
33611 Format: "",
33612 },
33613 },
33614 "importProxy": {
33615 SchemaProps: spec.SchemaProps{
33616 Description: "ImportProxy contains importer pod proxy configuration.",
33617 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportProxy"),
33618 },
33619 },
33620 "scratchSpaceStorageClass": {
33621 SchemaProps: spec.SchemaProps{
33622 Description: "The calculated storage class to be used for scratch space",
33623 Type: []string{"string"},
33624 Format: "",
33625 },
33626 },
33627 "defaultPodResourceRequirements": {
33628 SchemaProps: spec.SchemaProps{
33629 Description: "ResourceRequirements describes the compute resource requirements.",
33630 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
33631 },
33632 },
33633 "filesystemOverhead": {
33634 SchemaProps: spec.SchemaProps{
33635 Description: "FilesystemOverhead describes the space reserved for overhead when using Filesystem volumes. A percentage value is between 0 and 1",
33636 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.FilesystemOverhead"),
33637 },
33638 },
33639 "preallocation": {
33640 SchemaProps: spec.SchemaProps{
33641 Description: "Preallocation controls whether storage for DataVolumes should be allocated in advance.",
33642 Type: []string{"boolean"},
33643 Format: "",
33644 },
33645 },
33646 "imagePullSecrets": {
33647 SchemaProps: spec.SchemaProps{
33648 Description: "The imagePullSecrets used to pull the container images",
33649 Type: []string{"array"},
33650 Items: &spec.SchemaOrArray{
33651 Schema: &spec.Schema{
33652 SchemaProps: spec.SchemaProps{
33653 Default: map[string]interface{}{},
33654 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
33655 },
33656 },
33657 },
33658 },
33659 },
33660 },
33661 },
33662 },
33663 Dependencies: []string{
33664 "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.ResourceRequirements", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.FilesystemOverhead", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportProxy"},
33665 }
33666 }
33667
33668 func schema_pkg_apis_core_v1beta1_CDIList(ref common.ReferenceCallback) common.OpenAPIDefinition {
33669 return common.OpenAPIDefinition{
33670 Schema: spec.Schema{
33671 SchemaProps: spec.SchemaProps{
33672 Description: "CDIList provides the needed parameters to do request a list of CDIs from the system",
33673 Type: []string{"object"},
33674 Properties: map[string]spec.Schema{
33675 "kind": {
33676 SchemaProps: spec.SchemaProps{
33677 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33678 Type: []string{"string"},
33679 Format: "",
33680 },
33681 },
33682 "apiVersion": {
33683 SchemaProps: spec.SchemaProps{
33684 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33685 Type: []string{"string"},
33686 Format: "",
33687 },
33688 },
33689 "metadata": {
33690 SchemaProps: spec.SchemaProps{
33691 Default: map[string]interface{}{},
33692 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
33693 },
33694 },
33695 "items": {
33696 SchemaProps: spec.SchemaProps{
33697 Description: "Items provides a list of CDIs",
33698 Type: []string{"array"},
33699 Items: &spec.SchemaOrArray{
33700 Schema: &spec.Schema{
33701 SchemaProps: spec.SchemaProps{
33702 Default: map[string]interface{}{},
33703 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDI"),
33704 },
33705 },
33706 },
33707 },
33708 },
33709 },
33710 Required: []string{"metadata", "items"},
33711 },
33712 },
33713 Dependencies: []string{
33714 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDI"},
33715 }
33716 }
33717
33718 func schema_pkg_apis_core_v1beta1_CDISpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
33719 return common.OpenAPIDefinition{
33720 Schema: spec.Schema{
33721 SchemaProps: spec.SchemaProps{
33722 Description: "CDISpec defines our specification for the CDI installation",
33723 Type: []string{"object"},
33724 Properties: map[string]spec.Schema{
33725 "imagePullPolicy": {
33726 SchemaProps: spec.SchemaProps{
33727 Description: "PullPolicy describes a policy for if/when to pull a container image\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present",
33728 Type: []string{"string"},
33729 Format: "",
33730 Enum: []interface{}{"Always", "IfNotPresent", "Never"},
33731 },
33732 },
33733 "uninstallStrategy": {
33734 SchemaProps: spec.SchemaProps{
33735 Description: "CDIUninstallStrategy defines the state to leave CDI on uninstall",
33736 Type: []string{"string"},
33737 Format: "",
33738 },
33739 },
33740 "infra": {
33741 SchemaProps: spec.SchemaProps{
33742 Description: "Rules on which nodes CDI infrastructure pods will be scheduled",
33743 Default: map[string]interface{}{},
33744 Ref: ref("kubevirt.io/controller-lifecycle-operator-sdk/api.NodePlacement"),
33745 },
33746 },
33747 "workload": {
33748 SchemaProps: spec.SchemaProps{
33749 Description: "Restrict on which nodes CDI workload pods will be scheduled",
33750 Default: map[string]interface{}{},
33751 Ref: ref("kubevirt.io/controller-lifecycle-operator-sdk/api.NodePlacement"),
33752 },
33753 },
33754 "cloneStrategyOverride": {
33755 SchemaProps: spec.SchemaProps{
33756 Description: "Clone strategy override: should we use a host-assisted copy even if snapshots are available?",
33757 Type: []string{"string"},
33758 Format: "",
33759 },
33760 },
33761 "config": {
33762 SchemaProps: spec.SchemaProps{
33763 Description: "CDIConfig at CDI level",
33764 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigSpec"),
33765 },
33766 },
33767 "certConfig": {
33768 SchemaProps: spec.SchemaProps{
33769 Description: "certificate configuration",
33770 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDICertConfig"),
33771 },
33772 },
33773 "priorityClass": {
33774 SchemaProps: spec.SchemaProps{
33775 Description: "PriorityClass of the CDI control plane",
33776 Type: []string{"string"},
33777 Format: "",
33778 },
33779 },
33780 },
33781 },
33782 },
33783 Dependencies: []string{
33784 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDICertConfig", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.CDIConfigSpec", "kubevirt.io/controller-lifecycle-operator-sdk/api.NodePlacement"},
33785 }
33786 }
33787
33788 func schema_pkg_apis_core_v1beta1_CDIStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
33789 return common.OpenAPIDefinition{
33790 Schema: spec.Schema{
33791 SchemaProps: spec.SchemaProps{
33792 Description: "CDIStatus defines the status of the installation",
33793 Type: []string{"object"},
33794 Properties: map[string]spec.Schema{
33795 "phase": {
33796 SchemaProps: spec.SchemaProps{
33797 Type: []string{"string"},
33798 Format: "",
33799 },
33800 },
33801 "conditions": {
33802 SchemaProps: spec.SchemaProps{
33803 Description: "A list of current conditions of the resource",
33804 Type: []string{"array"},
33805 Items: &spec.SchemaOrArray{
33806 Schema: &spec.Schema{
33807 SchemaProps: spec.SchemaProps{
33808 Default: map[string]interface{}{},
33809 Ref: ref("github.com/openshift/custom-resource-status/conditions/v1.Condition"),
33810 },
33811 },
33812 },
33813 },
33814 },
33815 "operatorVersion": {
33816 SchemaProps: spec.SchemaProps{
33817 Description: "The version of the resource as defined by the operator",
33818 Type: []string{"string"},
33819 Format: "",
33820 },
33821 },
33822 "targetVersion": {
33823 SchemaProps: spec.SchemaProps{
33824 Description: "The desired version of the resource",
33825 Type: []string{"string"},
33826 Format: "",
33827 },
33828 },
33829 "observedVersion": {
33830 SchemaProps: spec.SchemaProps{
33831 Description: "The observed version of the resource",
33832 Type: []string{"string"},
33833 Format: "",
33834 },
33835 },
33836 },
33837 },
33838 },
33839 Dependencies: []string{
33840 "github.com/openshift/custom-resource-status/conditions/v1.Condition"},
33841 }
33842 }
33843
33844 func schema_pkg_apis_core_v1beta1_CertConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
33845 return common.OpenAPIDefinition{
33846 Schema: spec.Schema{
33847 SchemaProps: spec.SchemaProps{
33848 Description: "CertConfig contains the tunables for TLS certificates",
33849 Type: []string{"object"},
33850 Properties: map[string]spec.Schema{
33851 "duration": {
33852 SchemaProps: spec.SchemaProps{
33853 Description: "The requested 'duration' (i.e. lifetime) of the Certificate.",
33854 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
33855 },
33856 },
33857 "renewBefore": {
33858 SchemaProps: spec.SchemaProps{
33859 Description: "The amount of time before the currently issued certificate's `notAfter` time that we will begin to attempt to renew the certificate.",
33860 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
33861 },
33862 },
33863 },
33864 },
33865 },
33866 Dependencies: []string{
33867 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
33868 }
33869 }
33870
33871 func schema_pkg_apis_core_v1beta1_ClaimPropertySet(ref common.ReferenceCallback) common.OpenAPIDefinition {
33872 return common.OpenAPIDefinition{
33873 Schema: spec.Schema{
33874 SchemaProps: spec.SchemaProps{
33875 Description: "ClaimPropertySet is a set of properties applicable to PVC",
33876 Type: []string{"object"},
33877 Properties: map[string]spec.Schema{
33878 "accessModes": {
33879 SchemaProps: spec.SchemaProps{
33880 Description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
33881 Type: []string{"array"},
33882 Items: &spec.SchemaOrArray{
33883 Schema: &spec.Schema{
33884 SchemaProps: spec.SchemaProps{
33885 Default: "",
33886 Type: []string{"string"},
33887 Format: "",
33888 },
33889 },
33890 },
33891 },
33892 },
33893 "volumeMode": {
33894 SchemaProps: spec.SchemaProps{
33895 Description: "VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.",
33896 Type: []string{"string"},
33897 Format: "",
33898 Enum: []interface{}{"Block", "Filesystem"},
33899 },
33900 },
33901 },
33902 },
33903 },
33904 }
33905 }
33906
33907 func schema_pkg_apis_core_v1beta1_ConditionState(ref common.ReferenceCallback) common.OpenAPIDefinition {
33908 return common.OpenAPIDefinition{
33909 Schema: spec.Schema{
33910 SchemaProps: spec.SchemaProps{
33911 Description: "ConditionState represents the state of a condition",
33912 Type: []string{"object"},
33913 Properties: map[string]spec.Schema{
33914 "status": {
33915 SchemaProps: spec.SchemaProps{
33916 Default: "",
33917 Type: []string{"string"},
33918 Format: "",
33919 },
33920 },
33921 "lastTransitionTime": {
33922 SchemaProps: spec.SchemaProps{
33923 Default: map[string]interface{}{},
33924 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
33925 },
33926 },
33927 "lastHeartbeatTime": {
33928 SchemaProps: spec.SchemaProps{
33929 Default: map[string]interface{}{},
33930 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
33931 },
33932 },
33933 "reason": {
33934 SchemaProps: spec.SchemaProps{
33935 Type: []string{"string"},
33936 Format: "",
33937 },
33938 },
33939 "message": {
33940 SchemaProps: spec.SchemaProps{
33941 Type: []string{"string"},
33942 Format: "",
33943 },
33944 },
33945 },
33946 Required: []string{"status"},
33947 },
33948 },
33949 Dependencies: []string{
33950 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
33951 }
33952 }
33953
33954 func schema_pkg_apis_core_v1beta1_DataImportCron(ref common.ReferenceCallback) common.OpenAPIDefinition {
33955 return common.OpenAPIDefinition{
33956 Schema: spec.Schema{
33957 SchemaProps: spec.SchemaProps{
33958 Description: "DataImportCron defines a cron job for recurring polling/importing disk images as PVCs into a golden image namespace",
33959 Type: []string{"object"},
33960 Properties: map[string]spec.Schema{
33961 "kind": {
33962 SchemaProps: spec.SchemaProps{
33963 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
33964 Type: []string{"string"},
33965 Format: "",
33966 },
33967 },
33968 "apiVersion": {
33969 SchemaProps: spec.SchemaProps{
33970 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
33971 Type: []string{"string"},
33972 Format: "",
33973 },
33974 },
33975 "metadata": {
33976 SchemaProps: spec.SchemaProps{
33977 Default: map[string]interface{}{},
33978 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
33979 },
33980 },
33981 "spec": {
33982 SchemaProps: spec.SchemaProps{
33983 Default: map[string]interface{}{},
33984 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronSpec"),
33985 },
33986 },
33987 "status": {
33988 SchemaProps: spec.SchemaProps{
33989 Default: map[string]interface{}{},
33990 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronStatus"),
33991 },
33992 },
33993 },
33994 Required: []string{"spec"},
33995 },
33996 },
33997 Dependencies: []string{
33998 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronStatus"},
33999 }
34000 }
34001
34002 func schema_pkg_apis_core_v1beta1_DataImportCronCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
34003 return common.OpenAPIDefinition{
34004 Schema: spec.Schema{
34005 SchemaProps: spec.SchemaProps{
34006 Description: "DataImportCronCondition represents the state of a data import cron condition",
34007 Type: []string{"object"},
34008 Properties: map[string]spec.Schema{
34009 "type": {
34010 SchemaProps: spec.SchemaProps{
34011 Default: "",
34012 Type: []string{"string"},
34013 Format: "",
34014 },
34015 },
34016 "status": {
34017 SchemaProps: spec.SchemaProps{
34018 Default: "",
34019 Type: []string{"string"},
34020 Format: "",
34021 },
34022 },
34023 "lastTransitionTime": {
34024 SchemaProps: spec.SchemaProps{
34025 Default: map[string]interface{}{},
34026 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34027 },
34028 },
34029 "lastHeartbeatTime": {
34030 SchemaProps: spec.SchemaProps{
34031 Default: map[string]interface{}{},
34032 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34033 },
34034 },
34035 "reason": {
34036 SchemaProps: spec.SchemaProps{
34037 Type: []string{"string"},
34038 Format: "",
34039 },
34040 },
34041 "message": {
34042 SchemaProps: spec.SchemaProps{
34043 Type: []string{"string"},
34044 Format: "",
34045 },
34046 },
34047 },
34048 Required: []string{"type", "status"},
34049 },
34050 },
34051 Dependencies: []string{
34052 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
34053 }
34054 }
34055
34056 func schema_pkg_apis_core_v1beta1_DataImportCronList(ref common.ReferenceCallback) common.OpenAPIDefinition {
34057 return common.OpenAPIDefinition{
34058 Schema: spec.Schema{
34059 SchemaProps: spec.SchemaProps{
34060 Description: "DataImportCronList provides the needed parameters to do request a list of DataImportCrons from the system",
34061 Type: []string{"object"},
34062 Properties: map[string]spec.Schema{
34063 "kind": {
34064 SchemaProps: spec.SchemaProps{
34065 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
34066 Type: []string{"string"},
34067 Format: "",
34068 },
34069 },
34070 "apiVersion": {
34071 SchemaProps: spec.SchemaProps{
34072 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
34073 Type: []string{"string"},
34074 Format: "",
34075 },
34076 },
34077 "metadata": {
34078 SchemaProps: spec.SchemaProps{
34079 Default: map[string]interface{}{},
34080 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
34081 },
34082 },
34083 "items": {
34084 SchemaProps: spec.SchemaProps{
34085 Description: "Items provides a list of DataImportCrons",
34086 Type: []string{"array"},
34087 Items: &spec.SchemaOrArray{
34088 Schema: &spec.Schema{
34089 SchemaProps: spec.SchemaProps{
34090 Default: map[string]interface{}{},
34091 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCron"),
34092 },
34093 },
34094 },
34095 },
34096 },
34097 },
34098 Required: []string{"metadata", "items"},
34099 },
34100 },
34101 Dependencies: []string{
34102 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCron"},
34103 }
34104 }
34105
34106 func schema_pkg_apis_core_v1beta1_DataImportCronSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
34107 return common.OpenAPIDefinition{
34108 Schema: spec.Schema{
34109 SchemaProps: spec.SchemaProps{
34110 Description: "DataImportCronSpec defines specification for DataImportCron",
34111 Type: []string{"object"},
34112 Properties: map[string]spec.Schema{
34113 "template": {
34114 SchemaProps: spec.SchemaProps{
34115 Description: "Template specifies template for the DVs to be created",
34116 Default: map[string]interface{}{},
34117 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolume"),
34118 },
34119 },
34120 "schedule": {
34121 SchemaProps: spec.SchemaProps{
34122 Description: "Schedule specifies in cron format when and how often to look for new imports",
34123 Default: "",
34124 Type: []string{"string"},
34125 Format: "",
34126 },
34127 },
34128 "garbageCollect": {
34129 SchemaProps: spec.SchemaProps{
34130 Description: "GarbageCollect specifies whether old PVCs should be cleaned up after a new PVC is imported. Options are currently \"Outdated\" and \"Never\", defaults to \"Outdated\".",
34131 Type: []string{"string"},
34132 Format: "",
34133 },
34134 },
34135 "importsToKeep": {
34136 SchemaProps: spec.SchemaProps{
34137 Description: "Number of import PVCs to keep when garbage collecting. Default is 3.",
34138 Type: []string{"integer"},
34139 Format: "int32",
34140 },
34141 },
34142 "managedDataSource": {
34143 SchemaProps: spec.SchemaProps{
34144 Description: "ManagedDataSource specifies the name of the corresponding DataSource this cron will manage. DataSource has to be in the same namespace.",
34145 Default: "",
34146 Type: []string{"string"},
34147 Format: "",
34148 },
34149 },
34150 "retentionPolicy": {
34151 SchemaProps: spec.SchemaProps{
34152 Description: "RetentionPolicy specifies whether the created DataVolumes and DataSources are retained when their DataImportCron is deleted. Default is RatainAll.",
34153 Type: []string{"string"},
34154 Format: "",
34155 },
34156 },
34157 },
34158 Required: []string{"template", "schedule", "managedDataSource"},
34159 },
34160 },
34161 Dependencies: []string{
34162 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolume"},
34163 }
34164 }
34165
34166 func schema_pkg_apis_core_v1beta1_DataImportCronStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
34167 return common.OpenAPIDefinition{
34168 Schema: spec.Schema{
34169 SchemaProps: spec.SchemaProps{
34170 Description: "DataImportCronStatus provides the most recently observed status of the DataImportCron",
34171 Type: []string{"object"},
34172 Properties: map[string]spec.Schema{
34173 "currentImports": {
34174 SchemaProps: spec.SchemaProps{
34175 Description: "CurrentImports are the imports in progress. Currently only a single import is supported.",
34176 Type: []string{"array"},
34177 Items: &spec.SchemaOrArray{
34178 Schema: &spec.Schema{
34179 SchemaProps: spec.SchemaProps{
34180 Default: map[string]interface{}{},
34181 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportStatus"),
34182 },
34183 },
34184 },
34185 },
34186 },
34187 "lastImportedPVC": {
34188 SchemaProps: spec.SchemaProps{
34189 Description: "LastImportedPVC is the last imported PVC",
34190 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC"),
34191 },
34192 },
34193 "lastExecutionTimestamp": {
34194 SchemaProps: spec.SchemaProps{
34195 Description: "LastExecutionTimestamp is the time of the last polling",
34196 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34197 },
34198 },
34199 "lastImportTimestamp": {
34200 SchemaProps: spec.SchemaProps{
34201 Description: "LastImportTimestamp is the time of the last import",
34202 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34203 },
34204 },
34205 "conditions": {
34206 SchemaProps: spec.SchemaProps{
34207 Type: []string{"array"},
34208 Items: &spec.SchemaOrArray{
34209 Schema: &spec.Schema{
34210 SchemaProps: spec.SchemaProps{
34211 Default: map[string]interface{}{},
34212 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronCondition"),
34213 },
34214 },
34215 },
34216 },
34217 },
34218 },
34219 },
34220 },
34221 Dependencies: []string{
34222 "k8s.io/apimachinery/pkg/apis/meta/v1.Time", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataImportCronCondition", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportStatus"},
34223 }
34224 }
34225
34226 func schema_pkg_apis_core_v1beta1_DataSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
34227 return common.OpenAPIDefinition{
34228 Schema: spec.Schema{
34229 SchemaProps: spec.SchemaProps{
34230 Description: "DataSource references an import/clone source for a DataVolume",
34231 Type: []string{"object"},
34232 Properties: map[string]spec.Schema{
34233 "kind": {
34234 SchemaProps: spec.SchemaProps{
34235 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
34236 Type: []string{"string"},
34237 Format: "",
34238 },
34239 },
34240 "apiVersion": {
34241 SchemaProps: spec.SchemaProps{
34242 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
34243 Type: []string{"string"},
34244 Format: "",
34245 },
34246 },
34247 "metadata": {
34248 SchemaProps: spec.SchemaProps{
34249 Default: map[string]interface{}{},
34250 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
34251 },
34252 },
34253 "spec": {
34254 SchemaProps: spec.SchemaProps{
34255 Default: map[string]interface{}{},
34256 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSpec"),
34257 },
34258 },
34259 "status": {
34260 SchemaProps: spec.SchemaProps{
34261 Default: map[string]interface{}{},
34262 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceStatus"),
34263 },
34264 },
34265 },
34266 Required: []string{"spec"},
34267 },
34268 },
34269 Dependencies: []string{
34270 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceStatus"},
34271 }
34272 }
34273
34274 func schema_pkg_apis_core_v1beta1_DataSourceCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
34275 return common.OpenAPIDefinition{
34276 Schema: spec.Schema{
34277 SchemaProps: spec.SchemaProps{
34278 Description: "DataSourceCondition represents the state of a data source condition",
34279 Type: []string{"object"},
34280 Properties: map[string]spec.Schema{
34281 "type": {
34282 SchemaProps: spec.SchemaProps{
34283 Default: "",
34284 Type: []string{"string"},
34285 Format: "",
34286 },
34287 },
34288 "status": {
34289 SchemaProps: spec.SchemaProps{
34290 Default: "",
34291 Type: []string{"string"},
34292 Format: "",
34293 },
34294 },
34295 "lastTransitionTime": {
34296 SchemaProps: spec.SchemaProps{
34297 Default: map[string]interface{}{},
34298 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34299 },
34300 },
34301 "lastHeartbeatTime": {
34302 SchemaProps: spec.SchemaProps{
34303 Default: map[string]interface{}{},
34304 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34305 },
34306 },
34307 "reason": {
34308 SchemaProps: spec.SchemaProps{
34309 Type: []string{"string"},
34310 Format: "",
34311 },
34312 },
34313 "message": {
34314 SchemaProps: spec.SchemaProps{
34315 Type: []string{"string"},
34316 Format: "",
34317 },
34318 },
34319 },
34320 Required: []string{"type", "status"},
34321 },
34322 },
34323 Dependencies: []string{
34324 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
34325 }
34326 }
34327
34328 func schema_pkg_apis_core_v1beta1_DataSourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
34329 return common.OpenAPIDefinition{
34330 Schema: spec.Schema{
34331 SchemaProps: spec.SchemaProps{
34332 Description: "DataSourceList provides the needed parameters to do request a list of Data Sources from the system",
34333 Type: []string{"object"},
34334 Properties: map[string]spec.Schema{
34335 "kind": {
34336 SchemaProps: spec.SchemaProps{
34337 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
34338 Type: []string{"string"},
34339 Format: "",
34340 },
34341 },
34342 "apiVersion": {
34343 SchemaProps: spec.SchemaProps{
34344 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
34345 Type: []string{"string"},
34346 Format: "",
34347 },
34348 },
34349 "metadata": {
34350 SchemaProps: spec.SchemaProps{
34351 Default: map[string]interface{}{},
34352 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
34353 },
34354 },
34355 "items": {
34356 SchemaProps: spec.SchemaProps{
34357 Description: "Items provides a list of DataSources",
34358 Type: []string{"array"},
34359 Items: &spec.SchemaOrArray{
34360 Schema: &spec.Schema{
34361 SchemaProps: spec.SchemaProps{
34362 Default: map[string]interface{}{},
34363 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSource"),
34364 },
34365 },
34366 },
34367 },
34368 },
34369 },
34370 Required: []string{"metadata", "items"},
34371 },
34372 },
34373 Dependencies: []string{
34374 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSource"},
34375 }
34376 }
34377
34378 func schema_pkg_apis_core_v1beta1_DataSourceSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
34379 return common.OpenAPIDefinition{
34380 Schema: spec.Schema{
34381 SchemaProps: spec.SchemaProps{
34382 Description: "DataSourceSource represents the source for our DataSource",
34383 Type: []string{"object"},
34384 Properties: map[string]spec.Schema{
34385 "pvc": {
34386 SchemaProps: spec.SchemaProps{
34387 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC"),
34388 },
34389 },
34390 "snapshot": {
34391 SchemaProps: spec.SchemaProps{
34392 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceSnapshot"),
34393 },
34394 },
34395 },
34396 },
34397 },
34398 Dependencies: []string{
34399 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceSnapshot"},
34400 }
34401 }
34402
34403 func schema_pkg_apis_core_v1beta1_DataSourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
34404 return common.OpenAPIDefinition{
34405 Schema: spec.Schema{
34406 SchemaProps: spec.SchemaProps{
34407 Description: "DataSourceSpec defines specification for DataSource",
34408 Type: []string{"object"},
34409 Properties: map[string]spec.Schema{
34410 "source": {
34411 SchemaProps: spec.SchemaProps{
34412 Description: "Source is the source of the data referenced by the DataSource",
34413 Default: map[string]interface{}{},
34414 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSource"),
34415 },
34416 },
34417 },
34418 Required: []string{"source"},
34419 },
34420 },
34421 Dependencies: []string{
34422 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSource"},
34423 }
34424 }
34425
34426 func schema_pkg_apis_core_v1beta1_DataSourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
34427 return common.OpenAPIDefinition{
34428 Schema: spec.Schema{
34429 SchemaProps: spec.SchemaProps{
34430 Description: "DataSourceStatus provides the most recently observed status of the DataSource",
34431 Type: []string{"object"},
34432 Properties: map[string]spec.Schema{
34433 "source": {
34434 SchemaProps: spec.SchemaProps{
34435 Description: "Source is the current source of the data referenced by the DataSource",
34436 Default: map[string]interface{}{},
34437 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSource"),
34438 },
34439 },
34440 "conditions": {
34441 SchemaProps: spec.SchemaProps{
34442 Type: []string{"array"},
34443 Items: &spec.SchemaOrArray{
34444 Schema: &spec.Schema{
34445 SchemaProps: spec.SchemaProps{
34446 Default: map[string]interface{}{},
34447 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceCondition"),
34448 },
34449 },
34450 },
34451 },
34452 },
34453 },
34454 },
34455 },
34456 Dependencies: []string{
34457 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceCondition", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataSourceSource"},
34458 }
34459 }
34460
34461 func schema_pkg_apis_core_v1beta1_DataVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
34462 return common.OpenAPIDefinition{
34463 Schema: spec.Schema{
34464 SchemaProps: spec.SchemaProps{
34465 Description: "DataVolume is an abstraction on top of PersistentVolumeClaims to allow easy population of those PersistentVolumeClaims with relation to VirtualMachines",
34466 Type: []string{"object"},
34467 Properties: map[string]spec.Schema{
34468 "kind": {
34469 SchemaProps: spec.SchemaProps{
34470 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
34471 Type: []string{"string"},
34472 Format: "",
34473 },
34474 },
34475 "apiVersion": {
34476 SchemaProps: spec.SchemaProps{
34477 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
34478 Type: []string{"string"},
34479 Format: "",
34480 },
34481 },
34482 "metadata": {
34483 SchemaProps: spec.SchemaProps{
34484 Default: map[string]interface{}{},
34485 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
34486 },
34487 },
34488 "spec": {
34489 SchemaProps: spec.SchemaProps{
34490 Default: map[string]interface{}{},
34491 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSpec"),
34492 },
34493 },
34494 "status": {
34495 SchemaProps: spec.SchemaProps{
34496 Default: map[string]interface{}{},
34497 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeStatus"),
34498 },
34499 },
34500 },
34501 Required: []string{"spec"},
34502 },
34503 },
34504 Dependencies: []string{
34505 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeStatus"},
34506 }
34507 }
34508
34509 func schema_pkg_apis_core_v1beta1_DataVolumeBlankImage(ref common.ReferenceCallback) common.OpenAPIDefinition {
34510 return common.OpenAPIDefinition{
34511 Schema: spec.Schema{
34512 SchemaProps: spec.SchemaProps{
34513 Description: "DataVolumeBlankImage provides the parameters to create a new raw blank image for the PVC",
34514 Type: []string{"object"},
34515 },
34516 },
34517 }
34518 }
34519
34520 func schema_pkg_apis_core_v1beta1_DataVolumeCheckpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
34521 return common.OpenAPIDefinition{
34522 Schema: spec.Schema{
34523 SchemaProps: spec.SchemaProps{
34524 Description: "DataVolumeCheckpoint defines a stage in a warm migration.",
34525 Type: []string{"object"},
34526 Properties: map[string]spec.Schema{
34527 "previous": {
34528 SchemaProps: spec.SchemaProps{
34529 Description: "Previous is the identifier of the snapshot from the previous checkpoint.",
34530 Default: "",
34531 Type: []string{"string"},
34532 Format: "",
34533 },
34534 },
34535 "current": {
34536 SchemaProps: spec.SchemaProps{
34537 Description: "Current is the identifier of the snapshot created for this checkpoint.",
34538 Default: "",
34539 Type: []string{"string"},
34540 Format: "",
34541 },
34542 },
34543 },
34544 Required: []string{"previous", "current"},
34545 },
34546 },
34547 }
34548 }
34549
34550 func schema_pkg_apis_core_v1beta1_DataVolumeCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
34551 return common.OpenAPIDefinition{
34552 Schema: spec.Schema{
34553 SchemaProps: spec.SchemaProps{
34554 Description: "DataVolumeCondition represents the state of a data volume condition.",
34555 Type: []string{"object"},
34556 Properties: map[string]spec.Schema{
34557 "type": {
34558 SchemaProps: spec.SchemaProps{
34559 Default: "",
34560 Type: []string{"string"},
34561 Format: "",
34562 },
34563 },
34564 "status": {
34565 SchemaProps: spec.SchemaProps{
34566 Default: "",
34567 Type: []string{"string"},
34568 Format: "",
34569 },
34570 },
34571 "lastTransitionTime": {
34572 SchemaProps: spec.SchemaProps{
34573 Default: map[string]interface{}{},
34574 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34575 },
34576 },
34577 "lastHeartbeatTime": {
34578 SchemaProps: spec.SchemaProps{
34579 Default: map[string]interface{}{},
34580 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
34581 },
34582 },
34583 "reason": {
34584 SchemaProps: spec.SchemaProps{
34585 Type: []string{"string"},
34586 Format: "",
34587 },
34588 },
34589 "message": {
34590 SchemaProps: spec.SchemaProps{
34591 Type: []string{"string"},
34592 Format: "",
34593 },
34594 },
34595 },
34596 Required: []string{"type", "status"},
34597 },
34598 },
34599 Dependencies: []string{
34600 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
34601 }
34602 }
34603
34604 func schema_pkg_apis_core_v1beta1_DataVolumeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
34605 return common.OpenAPIDefinition{
34606 Schema: spec.Schema{
34607 SchemaProps: spec.SchemaProps{
34608 Description: "DataVolumeList provides the needed parameters to do request a list of Data Volumes from the system",
34609 Type: []string{"object"},
34610 Properties: map[string]spec.Schema{
34611 "kind": {
34612 SchemaProps: spec.SchemaProps{
34613 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
34614 Type: []string{"string"},
34615 Format: "",
34616 },
34617 },
34618 "apiVersion": {
34619 SchemaProps: spec.SchemaProps{
34620 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
34621 Type: []string{"string"},
34622 Format: "",
34623 },
34624 },
34625 "metadata": {
34626 SchemaProps: spec.SchemaProps{
34627 Default: map[string]interface{}{},
34628 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
34629 },
34630 },
34631 "items": {
34632 SchemaProps: spec.SchemaProps{
34633 Description: "Items provides a list of DataVolumes",
34634 Type: []string{"array"},
34635 Items: &spec.SchemaOrArray{
34636 Schema: &spec.Schema{
34637 SchemaProps: spec.SchemaProps{
34638 Default: map[string]interface{}{},
34639 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolume"),
34640 },
34641 },
34642 },
34643 },
34644 },
34645 },
34646 Required: []string{"metadata", "items"},
34647 },
34648 },
34649 Dependencies: []string{
34650 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolume"},
34651 }
34652 }
34653
34654 func schema_pkg_apis_core_v1beta1_DataVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
34655 return common.OpenAPIDefinition{
34656 Schema: spec.Schema{
34657 SchemaProps: spec.SchemaProps{
34658 Description: "DataVolumeSource represents the source for our Data Volume, this can be HTTP, Imageio, S3, GCS, Registry or an existing PVC",
34659 Type: []string{"object"},
34660 Properties: map[string]spec.Schema{
34661 "http": {
34662 SchemaProps: spec.SchemaProps{
34663 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceHTTP"),
34664 },
34665 },
34666 "s3": {
34667 SchemaProps: spec.SchemaProps{
34668 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceS3"),
34669 },
34670 },
34671 "gcs": {
34672 SchemaProps: spec.SchemaProps{
34673 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceGCS"),
34674 },
34675 },
34676 "registry": {
34677 SchemaProps: spec.SchemaProps{
34678 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRegistry"),
34679 },
34680 },
34681 "pvc": {
34682 SchemaProps: spec.SchemaProps{
34683 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC"),
34684 },
34685 },
34686 "upload": {
34687 SchemaProps: spec.SchemaProps{
34688 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceUpload"),
34689 },
34690 },
34691 "blank": {
34692 SchemaProps: spec.SchemaProps{
34693 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeBlankImage"),
34694 },
34695 },
34696 "imageio": {
34697 SchemaProps: spec.SchemaProps{
34698 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceImageIO"),
34699 },
34700 },
34701 "vddk": {
34702 SchemaProps: spec.SchemaProps{
34703 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceVDDK"),
34704 },
34705 },
34706 "snapshot": {
34707 SchemaProps: spec.SchemaProps{
34708 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceSnapshot"),
34709 },
34710 },
34711 },
34712 },
34713 },
34714 Dependencies: []string{
34715 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeBlankImage", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceGCS", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceHTTP", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceImageIO", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourcePVC", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRegistry", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceS3", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceSnapshot", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceUpload", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceVDDK"},
34716 }
34717 }
34718
34719 func schema_pkg_apis_core_v1beta1_DataVolumeSourceGCS(ref common.ReferenceCallback) common.OpenAPIDefinition {
34720 return common.OpenAPIDefinition{
34721 Schema: spec.Schema{
34722 SchemaProps: spec.SchemaProps{
34723 Description: "DataVolumeSourceGCS provides the parameters to create a Data Volume from an GCS source",
34724 Type: []string{"object"},
34725 Properties: map[string]spec.Schema{
34726 "url": {
34727 SchemaProps: spec.SchemaProps{
34728 Description: "URL is the url of the GCS source",
34729 Default: "",
34730 Type: []string{"string"},
34731 Format: "",
34732 },
34733 },
34734 "secretRef": {
34735 SchemaProps: spec.SchemaProps{
34736 Description: "SecretRef provides the secret reference needed to access the GCS source",
34737 Type: []string{"string"},
34738 Format: "",
34739 },
34740 },
34741 },
34742 Required: []string{"url"},
34743 },
34744 },
34745 }
34746 }
34747
34748 func schema_pkg_apis_core_v1beta1_DataVolumeSourceHTTP(ref common.ReferenceCallback) common.OpenAPIDefinition {
34749 return common.OpenAPIDefinition{
34750 Schema: spec.Schema{
34751 SchemaProps: spec.SchemaProps{
34752 Description: "DataVolumeSourceHTTP can be either an http or https endpoint, with an optional basic auth user name and password, and an optional configmap containing additional CAs",
34753 Type: []string{"object"},
34754 Properties: map[string]spec.Schema{
34755 "url": {
34756 SchemaProps: spec.SchemaProps{
34757 Description: "URL is the URL of the http(s) endpoint",
34758 Default: "",
34759 Type: []string{"string"},
34760 Format: "",
34761 },
34762 },
34763 "secretRef": {
34764 SchemaProps: spec.SchemaProps{
34765 Description: "SecretRef A Secret reference, the secret should contain accessKeyId (user name) base64 encoded, and secretKey (password) also base64 encoded",
34766 Type: []string{"string"},
34767 Format: "",
34768 },
34769 },
34770 "certConfigMap": {
34771 SchemaProps: spec.SchemaProps{
34772 Description: "CertConfigMap is a configmap reference, containing a Certificate Authority(CA) public key, and a base64 encoded pem certificate",
34773 Type: []string{"string"},
34774 Format: "",
34775 },
34776 },
34777 "extraHeaders": {
34778 SchemaProps: spec.SchemaProps{
34779 Description: "ExtraHeaders is a list of strings containing extra headers to include with HTTP transfer requests",
34780 Type: []string{"array"},
34781 Items: &spec.SchemaOrArray{
34782 Schema: &spec.Schema{
34783 SchemaProps: spec.SchemaProps{
34784 Default: "",
34785 Type: []string{"string"},
34786 Format: "",
34787 },
34788 },
34789 },
34790 },
34791 },
34792 "secretExtraHeaders": {
34793 SchemaProps: spec.SchemaProps{
34794 Description: "SecretExtraHeaders is a list of Secret references, each containing an extra HTTP header that may include sensitive information",
34795 Type: []string{"array"},
34796 Items: &spec.SchemaOrArray{
34797 Schema: &spec.Schema{
34798 SchemaProps: spec.SchemaProps{
34799 Default: "",
34800 Type: []string{"string"},
34801 Format: "",
34802 },
34803 },
34804 },
34805 },
34806 },
34807 },
34808 Required: []string{"url"},
34809 },
34810 },
34811 }
34812 }
34813
34814 func schema_pkg_apis_core_v1beta1_DataVolumeSourceImageIO(ref common.ReferenceCallback) common.OpenAPIDefinition {
34815 return common.OpenAPIDefinition{
34816 Schema: spec.Schema{
34817 SchemaProps: spec.SchemaProps{
34818 Description: "DataVolumeSourceImageIO provides the parameters to create a Data Volume from an imageio source",
34819 Type: []string{"object"},
34820 Properties: map[string]spec.Schema{
34821 "url": {
34822 SchemaProps: spec.SchemaProps{
34823 Description: "URL is the URL of the ovirt-engine",
34824 Default: "",
34825 Type: []string{"string"},
34826 Format: "",
34827 },
34828 },
34829 "diskId": {
34830 SchemaProps: spec.SchemaProps{
34831 Description: "DiskID provides id of a disk to be imported",
34832 Default: "",
34833 Type: []string{"string"},
34834 Format: "",
34835 },
34836 },
34837 "secretRef": {
34838 SchemaProps: spec.SchemaProps{
34839 Description: "SecretRef provides the secret reference needed to access the ovirt-engine",
34840 Type: []string{"string"},
34841 Format: "",
34842 },
34843 },
34844 "certConfigMap": {
34845 SchemaProps: spec.SchemaProps{
34846 Description: "CertConfigMap provides a reference to the CA cert",
34847 Type: []string{"string"},
34848 Format: "",
34849 },
34850 },
34851 },
34852 Required: []string{"url", "diskId"},
34853 },
34854 },
34855 }
34856 }
34857
34858 func schema_pkg_apis_core_v1beta1_DataVolumeSourcePVC(ref common.ReferenceCallback) common.OpenAPIDefinition {
34859 return common.OpenAPIDefinition{
34860 Schema: spec.Schema{
34861 SchemaProps: spec.SchemaProps{
34862 Description: "DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC",
34863 Type: []string{"object"},
34864 Properties: map[string]spec.Schema{
34865 "namespace": {
34866 SchemaProps: spec.SchemaProps{
34867 Description: "The namespace of the source PVC",
34868 Default: "",
34869 Type: []string{"string"},
34870 Format: "",
34871 },
34872 },
34873 "name": {
34874 SchemaProps: spec.SchemaProps{
34875 Description: "The name of the source PVC",
34876 Default: "",
34877 Type: []string{"string"},
34878 Format: "",
34879 },
34880 },
34881 },
34882 Required: []string{"namespace", "name"},
34883 },
34884 },
34885 }
34886 }
34887
34888 func schema_pkg_apis_core_v1beta1_DataVolumeSourceRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
34889 return common.OpenAPIDefinition{
34890 Schema: spec.Schema{
34891 SchemaProps: spec.SchemaProps{
34892 Description: "DataVolumeSourceRef defines an indirect reference to the source of data for the DataVolume",
34893 Type: []string{"object"},
34894 Properties: map[string]spec.Schema{
34895 "kind": {
34896 SchemaProps: spec.SchemaProps{
34897 Description: "The kind of the source reference, currently only \"DataSource\" is supported",
34898 Default: "",
34899 Type: []string{"string"},
34900 Format: "",
34901 },
34902 },
34903 "namespace": {
34904 SchemaProps: spec.SchemaProps{
34905 Description: "The namespace of the source reference, defaults to the DataVolume namespace",
34906 Type: []string{"string"},
34907 Format: "",
34908 },
34909 },
34910 "name": {
34911 SchemaProps: spec.SchemaProps{
34912 Description: "The name of the source reference",
34913 Default: "",
34914 Type: []string{"string"},
34915 Format: "",
34916 },
34917 },
34918 },
34919 Required: []string{"kind", "name"},
34920 },
34921 },
34922 }
34923 }
34924
34925 func schema_pkg_apis_core_v1beta1_DataVolumeSourceRegistry(ref common.ReferenceCallback) common.OpenAPIDefinition {
34926 return common.OpenAPIDefinition{
34927 Schema: spec.Schema{
34928 SchemaProps: spec.SchemaProps{
34929 Description: "DataVolumeSourceRegistry provides the parameters to create a Data Volume from an registry source",
34930 Type: []string{"object"},
34931 Properties: map[string]spec.Schema{
34932 "url": {
34933 SchemaProps: spec.SchemaProps{
34934 Description: "URL is the url of the registry source (starting with the scheme: docker, oci-archive)",
34935 Type: []string{"string"},
34936 Format: "",
34937 },
34938 },
34939 "imageStream": {
34940 SchemaProps: spec.SchemaProps{
34941 Description: "ImageStream is the name of image stream for import",
34942 Type: []string{"string"},
34943 Format: "",
34944 },
34945 },
34946 "pullMethod": {
34947 SchemaProps: spec.SchemaProps{
34948 Description: "PullMethod can be either \"pod\" (default import), or \"node\" (node docker cache based import)",
34949 Type: []string{"string"},
34950 Format: "",
34951 },
34952 },
34953 "secretRef": {
34954 SchemaProps: spec.SchemaProps{
34955 Description: "SecretRef provides the secret reference needed to access the Registry source",
34956 Type: []string{"string"},
34957 Format: "",
34958 },
34959 },
34960 "certConfigMap": {
34961 SchemaProps: spec.SchemaProps{
34962 Description: "CertConfigMap provides a reference to the Registry certs",
34963 Type: []string{"string"},
34964 Format: "",
34965 },
34966 },
34967 },
34968 },
34969 },
34970 }
34971 }
34972
34973 func schema_pkg_apis_core_v1beta1_DataVolumeSourceS3(ref common.ReferenceCallback) common.OpenAPIDefinition {
34974 return common.OpenAPIDefinition{
34975 Schema: spec.Schema{
34976 SchemaProps: spec.SchemaProps{
34977 Description: "DataVolumeSourceS3 provides the parameters to create a Data Volume from an S3 source",
34978 Type: []string{"object"},
34979 Properties: map[string]spec.Schema{
34980 "url": {
34981 SchemaProps: spec.SchemaProps{
34982 Description: "URL is the url of the S3 source",
34983 Default: "",
34984 Type: []string{"string"},
34985 Format: "",
34986 },
34987 },
34988 "secretRef": {
34989 SchemaProps: spec.SchemaProps{
34990 Description: "SecretRef provides the secret reference needed to access the S3 source",
34991 Type: []string{"string"},
34992 Format: "",
34993 },
34994 },
34995 "certConfigMap": {
34996 SchemaProps: spec.SchemaProps{
34997 Description: "CertConfigMap is a configmap reference, containing a Certificate Authority(CA) public key, and a base64 encoded pem certificate",
34998 Type: []string{"string"},
34999 Format: "",
35000 },
35001 },
35002 },
35003 Required: []string{"url"},
35004 },
35005 },
35006 }
35007 }
35008
35009 func schema_pkg_apis_core_v1beta1_DataVolumeSourceSnapshot(ref common.ReferenceCallback) common.OpenAPIDefinition {
35010 return common.OpenAPIDefinition{
35011 Schema: spec.Schema{
35012 SchemaProps: spec.SchemaProps{
35013 Description: "DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot",
35014 Type: []string{"object"},
35015 Properties: map[string]spec.Schema{
35016 "namespace": {
35017 SchemaProps: spec.SchemaProps{
35018 Description: "The namespace of the source VolumeSnapshot",
35019 Default: "",
35020 Type: []string{"string"},
35021 Format: "",
35022 },
35023 },
35024 "name": {
35025 SchemaProps: spec.SchemaProps{
35026 Description: "The name of the source VolumeSnapshot",
35027 Default: "",
35028 Type: []string{"string"},
35029 Format: "",
35030 },
35031 },
35032 },
35033 Required: []string{"namespace", "name"},
35034 },
35035 },
35036 }
35037 }
35038
35039 func schema_pkg_apis_core_v1beta1_DataVolumeSourceUpload(ref common.ReferenceCallback) common.OpenAPIDefinition {
35040 return common.OpenAPIDefinition{
35041 Schema: spec.Schema{
35042 SchemaProps: spec.SchemaProps{
35043 Description: "DataVolumeSourceUpload provides the parameters to create a Data Volume by uploading the source",
35044 Type: []string{"object"},
35045 },
35046 },
35047 }
35048 }
35049
35050 func schema_pkg_apis_core_v1beta1_DataVolumeSourceVDDK(ref common.ReferenceCallback) common.OpenAPIDefinition {
35051 return common.OpenAPIDefinition{
35052 Schema: spec.Schema{
35053 SchemaProps: spec.SchemaProps{
35054 Description: "DataVolumeSourceVDDK provides the parameters to create a Data Volume from a Vmware source",
35055 Type: []string{"object"},
35056 Properties: map[string]spec.Schema{
35057 "url": {
35058 SchemaProps: spec.SchemaProps{
35059 Description: "URL is the URL of the vCenter or ESXi host with the VM to migrate",
35060 Type: []string{"string"},
35061 Format: "",
35062 },
35063 },
35064 "uuid": {
35065 SchemaProps: spec.SchemaProps{
35066 Description: "UUID is the UUID of the virtual machine that the backing file is attached to in vCenter/ESXi",
35067 Type: []string{"string"},
35068 Format: "",
35069 },
35070 },
35071 "backingFile": {
35072 SchemaProps: spec.SchemaProps{
35073 Description: "BackingFile is the path to the virtual hard disk to migrate from vCenter/ESXi",
35074 Type: []string{"string"},
35075 Format: "",
35076 },
35077 },
35078 "thumbprint": {
35079 SchemaProps: spec.SchemaProps{
35080 Description: "Thumbprint is the certificate thumbprint of the vCenter or ESXi host",
35081 Type: []string{"string"},
35082 Format: "",
35083 },
35084 },
35085 "secretRef": {
35086 SchemaProps: spec.SchemaProps{
35087 Description: "SecretRef provides a reference to a secret containing the username and password needed to access the vCenter or ESXi host",
35088 Type: []string{"string"},
35089 Format: "",
35090 },
35091 },
35092 "initImageURL": {
35093 SchemaProps: spec.SchemaProps{
35094 Description: "InitImageURL is an optional URL to an image containing an extracted VDDK library, overrides v2v-vmware config map",
35095 Type: []string{"string"},
35096 Format: "",
35097 },
35098 },
35099 },
35100 },
35101 },
35102 }
35103 }
35104
35105 func schema_pkg_apis_core_v1beta1_DataVolumeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
35106 return common.OpenAPIDefinition{
35107 Schema: spec.Schema{
35108 SchemaProps: spec.SchemaProps{
35109 Description: "DataVolumeSpec defines the DataVolume type specification",
35110 Type: []string{"object"},
35111 Properties: map[string]spec.Schema{
35112 "source": {
35113 SchemaProps: spec.SchemaProps{
35114 Description: "Source is the src of the data for the requested DataVolume",
35115 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSource"),
35116 },
35117 },
35118 "sourceRef": {
35119 SchemaProps: spec.SchemaProps{
35120 Description: "SourceRef is an indirect reference to the source of data for the requested DataVolume",
35121 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRef"),
35122 },
35123 },
35124 "pvc": {
35125 SchemaProps: spec.SchemaProps{
35126 Description: "PVC is the PVC specification",
35127 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
35128 },
35129 },
35130 "storage": {
35131 SchemaProps: spec.SchemaProps{
35132 Description: "Storage is the requested storage specification",
35133 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageSpec"),
35134 },
35135 },
35136 "priorityClassName": {
35137 SchemaProps: spec.SchemaProps{
35138 Description: "PriorityClassName for Importer, Cloner and Uploader pod",
35139 Type: []string{"string"},
35140 Format: "",
35141 },
35142 },
35143 "contentType": {
35144 SchemaProps: spec.SchemaProps{
35145 Description: "DataVolumeContentType options: \"kubevirt\", \"archive\"",
35146 Type: []string{"string"},
35147 Format: "",
35148 },
35149 },
35150 "checkpoints": {
35151 SchemaProps: spec.SchemaProps{
35152 Description: "Checkpoints is a list of DataVolumeCheckpoints, representing stages in a multistage import.",
35153 Type: []string{"array"},
35154 Items: &spec.SchemaOrArray{
35155 Schema: &spec.Schema{
35156 SchemaProps: spec.SchemaProps{
35157 Default: map[string]interface{}{},
35158 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCheckpoint"),
35159 },
35160 },
35161 },
35162 },
35163 },
35164 "finalCheckpoint": {
35165 SchemaProps: spec.SchemaProps{
35166 Description: "FinalCheckpoint indicates whether the current DataVolumeCheckpoint is the final checkpoint.",
35167 Type: []string{"boolean"},
35168 Format: "",
35169 },
35170 },
35171 "preallocation": {
35172 SchemaProps: spec.SchemaProps{
35173 Description: "Preallocation controls whether storage for DataVolumes should be allocated in advance.",
35174 Type: []string{"boolean"},
35175 Format: "",
35176 },
35177 },
35178 },
35179 },
35180 },
35181 Dependencies: []string{
35182 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCheckpoint", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSource", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRef", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageSpec"},
35183 }
35184 }
35185
35186 func schema_pkg_apis_core_v1beta1_DataVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
35187 return common.OpenAPIDefinition{
35188 Schema: spec.Schema{
35189 SchemaProps: spec.SchemaProps{
35190 Description: "DataVolumeStatus contains the current status of the DataVolume",
35191 Type: []string{"object"},
35192 Properties: map[string]spec.Schema{
35193 "claimName": {
35194 SchemaProps: spec.SchemaProps{
35195 Description: "ClaimName is the name of the underlying PVC used by the DataVolume.",
35196 Type: []string{"string"},
35197 Format: "",
35198 },
35199 },
35200 "phase": {
35201 SchemaProps: spec.SchemaProps{
35202 Description: "Phase is the current phase of the data volume",
35203 Type: []string{"string"},
35204 Format: "",
35205 },
35206 },
35207 "progress": {
35208 SchemaProps: spec.SchemaProps{
35209 Type: []string{"string"},
35210 Format: "",
35211 },
35212 },
35213 "restartCount": {
35214 SchemaProps: spec.SchemaProps{
35215 Description: "RestartCount is the number of times the pod populating the DataVolume has restarted",
35216 Type: []string{"integer"},
35217 Format: "int32",
35218 },
35219 },
35220 "conditions": {
35221 SchemaProps: spec.SchemaProps{
35222 Type: []string{"array"},
35223 Items: &spec.SchemaOrArray{
35224 Schema: &spec.Schema{
35225 SchemaProps: spec.SchemaProps{
35226 Default: map[string]interface{}{},
35227 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCondition"),
35228 },
35229 },
35230 },
35231 },
35232 },
35233 },
35234 },
35235 },
35236 Dependencies: []string{
35237 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeCondition"},
35238 }
35239 }
35240
35241 func schema_pkg_apis_core_v1beta1_FilesystemOverhead(ref common.ReferenceCallback) common.OpenAPIDefinition {
35242 return common.OpenAPIDefinition{
35243 Schema: spec.Schema{
35244 SchemaProps: spec.SchemaProps{
35245 Description: "FilesystemOverhead defines the reserved size for PVCs with VolumeMode: Filesystem",
35246 Type: []string{"object"},
35247 Properties: map[string]spec.Schema{
35248 "global": {
35249 SchemaProps: spec.SchemaProps{
35250 Description: "Global is how much space of a Filesystem volume should be reserved for overhead. This value is used unless overridden by a more specific value (per storageClass)",
35251 Type: []string{"string"},
35252 Format: "",
35253 },
35254 },
35255 "storageClass": {
35256 SchemaProps: spec.SchemaProps{
35257 Description: "StorageClass specifies how much space of a Filesystem volume should be reserved for safety. The keys are the storageClass and the values are the overhead. This value overrides the global value",
35258 Type: []string{"object"},
35259 AdditionalProperties: &spec.SchemaOrBool{
35260 Allows: true,
35261 Schema: &spec.Schema{
35262 SchemaProps: spec.SchemaProps{
35263 Default: "",
35264 Type: []string{"string"},
35265 Format: "",
35266 },
35267 },
35268 },
35269 },
35270 },
35271 },
35272 },
35273 },
35274 }
35275 }
35276
35277 func schema_pkg_apis_core_v1beta1_ImportProxy(ref common.ReferenceCallback) common.OpenAPIDefinition {
35278 return common.OpenAPIDefinition{
35279 Schema: spec.Schema{
35280 SchemaProps: spec.SchemaProps{
35281 Description: "ImportProxy provides the information on how to configure the importer pod proxy.",
35282 Type: []string{"object"},
35283 Properties: map[string]spec.Schema{
35284 "HTTPProxy": {
35285 SchemaProps: spec.SchemaProps{
35286 Description: "HTTPProxy is the URL http://<username>:<pswd>@<ip>:<port> of the import proxy for HTTP requests. Empty means unset and will not result in the import pod env var.",
35287 Type: []string{"string"},
35288 Format: "",
35289 },
35290 },
35291 "HTTPSProxy": {
35292 SchemaProps: spec.SchemaProps{
35293 Description: "HTTPSProxy is the URL https://<username>:<pswd>@<ip>:<port> of the import proxy for HTTPS requests. Empty means unset and will not result in the import pod env var.",
35294 Type: []string{"string"},
35295 Format: "",
35296 },
35297 },
35298 "noProxy": {
35299 SchemaProps: spec.SchemaProps{
35300 Description: "NoProxy is a comma-separated list of hostnames and/or CIDRs for which the proxy should not be used. Empty means unset and will not result in the import pod env var.",
35301 Type: []string{"string"},
35302 Format: "",
35303 },
35304 },
35305 "trustedCAProxy": {
35306 SchemaProps: spec.SchemaProps{
35307 Description: "TrustedCAProxy is the name of a ConfigMap in the cdi namespace that contains a user-provided trusted certificate authority (CA) bundle. The TrustedCAProxy ConfigMap is consumed by the DataImportCron controller for creating cronjobs, and by the import controller referring a copy of the ConfigMap in the import namespace. Here is an example of the ConfigMap (in yaml):\n\napiVersion: v1 kind: ConfigMap metadata:\n name: my-ca-proxy-cm\n namespace: cdi\ndata:\n ca.pem: |\n -----BEGIN CERTIFICATE-----\n\t ... <base64 encoded cert> ...\n\t -----END CERTIFICATE-----",
35308 Type: []string{"string"},
35309 Format: "",
35310 },
35311 },
35312 },
35313 },
35314 },
35315 }
35316 }
35317
35318 func schema_pkg_apis_core_v1beta1_ImportSourceType(ref common.ReferenceCallback) common.OpenAPIDefinition {
35319 return common.OpenAPIDefinition{
35320 Schema: spec.Schema{
35321 SchemaProps: spec.SchemaProps{
35322 Description: "ImportSourceType contains each one of the source types allowed in a VolumeImportSource",
35323 Type: []string{"object"},
35324 Properties: map[string]spec.Schema{
35325 "http": {
35326 SchemaProps: spec.SchemaProps{
35327 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceHTTP"),
35328 },
35329 },
35330 "s3": {
35331 SchemaProps: spec.SchemaProps{
35332 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceS3"),
35333 },
35334 },
35335 "registry": {
35336 SchemaProps: spec.SchemaProps{
35337 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRegistry"),
35338 },
35339 },
35340 "gcs": {
35341 SchemaProps: spec.SchemaProps{
35342 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceGCS"),
35343 },
35344 },
35345 "blank": {
35346 SchemaProps: spec.SchemaProps{
35347 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeBlankImage"),
35348 },
35349 },
35350 "imageio": {
35351 SchemaProps: spec.SchemaProps{
35352 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceImageIO"),
35353 },
35354 },
35355 "vddk": {
35356 SchemaProps: spec.SchemaProps{
35357 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceVDDK"),
35358 },
35359 },
35360 },
35361 },
35362 },
35363 Dependencies: []string{
35364 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeBlankImage", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceGCS", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceHTTP", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceImageIO", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceRegistry", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceS3", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.DataVolumeSourceVDDK"},
35365 }
35366 }
35367
35368 func schema_pkg_apis_core_v1beta1_ImportStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
35369 return common.OpenAPIDefinition{
35370 Schema: spec.Schema{
35371 SchemaProps: spec.SchemaProps{
35372 Description: "ImportStatus of a currently in progress import",
35373 Type: []string{"object"},
35374 Properties: map[string]spec.Schema{
35375 "DataVolumeName": {
35376 SchemaProps: spec.SchemaProps{
35377 Description: "DataVolumeName is the currently in progress import DataVolume",
35378 Default: "",
35379 Type: []string{"string"},
35380 Format: "",
35381 },
35382 },
35383 "Digest": {
35384 SchemaProps: spec.SchemaProps{
35385 Description: "Digest of the currently imported image",
35386 Default: "",
35387 Type: []string{"string"},
35388 Format: "",
35389 },
35390 },
35391 },
35392 Required: []string{"DataVolumeName", "Digest"},
35393 },
35394 },
35395 }
35396 }
35397
35398 func schema_pkg_apis_core_v1beta1_ObjectTransfer(ref common.ReferenceCallback) common.OpenAPIDefinition {
35399 return common.OpenAPIDefinition{
35400 Schema: spec.Schema{
35401 SchemaProps: spec.SchemaProps{
35402 Description: "ObjectTransfer is the cluster scoped object transfer resource",
35403 Type: []string{"object"},
35404 Properties: map[string]spec.Schema{
35405 "kind": {
35406 SchemaProps: spec.SchemaProps{
35407 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35408 Type: []string{"string"},
35409 Format: "",
35410 },
35411 },
35412 "apiVersion": {
35413 SchemaProps: spec.SchemaProps{
35414 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
35415 Type: []string{"string"},
35416 Format: "",
35417 },
35418 },
35419 "metadata": {
35420 SchemaProps: spec.SchemaProps{
35421 Default: map[string]interface{}{},
35422 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
35423 },
35424 },
35425 "spec": {
35426 SchemaProps: spec.SchemaProps{
35427 Default: map[string]interface{}{},
35428 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferSpec"),
35429 },
35430 },
35431 "status": {
35432 SchemaProps: spec.SchemaProps{
35433 Default: map[string]interface{}{},
35434 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferStatus"),
35435 },
35436 },
35437 },
35438 Required: []string{"spec"},
35439 },
35440 },
35441 Dependencies: []string{
35442 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferStatus"},
35443 }
35444 }
35445
35446 func schema_pkg_apis_core_v1beta1_ObjectTransferCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
35447 return common.OpenAPIDefinition{
35448 Schema: spec.Schema{
35449 SchemaProps: spec.SchemaProps{
35450 Description: "ObjectTransferCondition contains condition data",
35451 Type: []string{"object"},
35452 Properties: map[string]spec.Schema{
35453 "type": {
35454 SchemaProps: spec.SchemaProps{
35455 Default: "",
35456 Type: []string{"string"},
35457 Format: "",
35458 },
35459 },
35460 "status": {
35461 SchemaProps: spec.SchemaProps{
35462 Default: "",
35463 Type: []string{"string"},
35464 Format: "",
35465 },
35466 },
35467 "lastTransitionTime": {
35468 SchemaProps: spec.SchemaProps{
35469 Default: map[string]interface{}{},
35470 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
35471 },
35472 },
35473 "lastHeartbeatTime": {
35474 SchemaProps: spec.SchemaProps{
35475 Default: map[string]interface{}{},
35476 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
35477 },
35478 },
35479 "reason": {
35480 SchemaProps: spec.SchemaProps{
35481 Type: []string{"string"},
35482 Format: "",
35483 },
35484 },
35485 "message": {
35486 SchemaProps: spec.SchemaProps{
35487 Type: []string{"string"},
35488 Format: "",
35489 },
35490 },
35491 },
35492 Required: []string{"type", "status"},
35493 },
35494 },
35495 Dependencies: []string{
35496 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
35497 }
35498 }
35499
35500 func schema_pkg_apis_core_v1beta1_ObjectTransferList(ref common.ReferenceCallback) common.OpenAPIDefinition {
35501 return common.OpenAPIDefinition{
35502 Schema: spec.Schema{
35503 SchemaProps: spec.SchemaProps{
35504 Description: "ObjectTransferList provides the needed parameters to do request a list of ObjectTransfers from the system",
35505 Type: []string{"object"},
35506 Properties: map[string]spec.Schema{
35507 "kind": {
35508 SchemaProps: spec.SchemaProps{
35509 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35510 Type: []string{"string"},
35511 Format: "",
35512 },
35513 },
35514 "apiVersion": {
35515 SchemaProps: spec.SchemaProps{
35516 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
35517 Type: []string{"string"},
35518 Format: "",
35519 },
35520 },
35521 "metadata": {
35522 SchemaProps: spec.SchemaProps{
35523 Default: map[string]interface{}{},
35524 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
35525 },
35526 },
35527 "items": {
35528 SchemaProps: spec.SchemaProps{
35529 Description: "Items provides a list of ObjectTransfers",
35530 Type: []string{"array"},
35531 Items: &spec.SchemaOrArray{
35532 Schema: &spec.Schema{
35533 SchemaProps: spec.SchemaProps{
35534 Default: map[string]interface{}{},
35535 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransfer"),
35536 },
35537 },
35538 },
35539 },
35540 },
35541 },
35542 Required: []string{"metadata", "items"},
35543 },
35544 },
35545 Dependencies: []string{
35546 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransfer"},
35547 }
35548 }
35549
35550 func schema_pkg_apis_core_v1beta1_ObjectTransferSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
35551 return common.OpenAPIDefinition{
35552 Schema: spec.Schema{
35553 SchemaProps: spec.SchemaProps{
35554 Description: "ObjectTransferSpec specifies the source/target of the transfer",
35555 Type: []string{"object"},
35556 Properties: map[string]spec.Schema{
35557 "source": {
35558 SchemaProps: spec.SchemaProps{
35559 Default: map[string]interface{}{},
35560 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferSource"),
35561 },
35562 },
35563 "target": {
35564 SchemaProps: spec.SchemaProps{
35565 Default: map[string]interface{}{},
35566 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferTarget"),
35567 },
35568 },
35569 "parentName": {
35570 SchemaProps: spec.SchemaProps{
35571 Type: []string{"string"},
35572 Format: "",
35573 },
35574 },
35575 },
35576 Required: []string{"source", "target"},
35577 },
35578 },
35579 Dependencies: []string{
35580 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferSource", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.TransferTarget"},
35581 }
35582 }
35583
35584 func schema_pkg_apis_core_v1beta1_ObjectTransferStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
35585 return common.OpenAPIDefinition{
35586 Schema: spec.Schema{
35587 SchemaProps: spec.SchemaProps{
35588 Description: "ObjectTransferStatus is the status of the ObjectTransfer",
35589 Type: []string{"object"},
35590 Properties: map[string]spec.Schema{
35591 "data": {
35592 SchemaProps: spec.SchemaProps{
35593 Description: "Data is a place for intermediary state. Or anything really.",
35594 Type: []string{"object"},
35595 AdditionalProperties: &spec.SchemaOrBool{
35596 Allows: true,
35597 Schema: &spec.Schema{
35598 SchemaProps: spec.SchemaProps{
35599 Default: "",
35600 Type: []string{"string"},
35601 Format: "",
35602 },
35603 },
35604 },
35605 },
35606 },
35607 "phase": {
35608 SchemaProps: spec.SchemaProps{
35609 Description: "Phase is the current phase of the transfer",
35610 Type: []string{"string"},
35611 Format: "",
35612 },
35613 },
35614 "conditions": {
35615 SchemaProps: spec.SchemaProps{
35616 Type: []string{"array"},
35617 Items: &spec.SchemaOrArray{
35618 Schema: &spec.Schema{
35619 SchemaProps: spec.SchemaProps{
35620 Default: map[string]interface{}{},
35621 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferCondition"),
35622 },
35623 },
35624 },
35625 },
35626 },
35627 },
35628 },
35629 },
35630 Dependencies: []string{
35631 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ObjectTransferCondition"},
35632 }
35633 }
35634
35635 func schema_pkg_apis_core_v1beta1_StorageProfile(ref common.ReferenceCallback) common.OpenAPIDefinition {
35636 return common.OpenAPIDefinition{
35637 Schema: spec.Schema{
35638 SchemaProps: spec.SchemaProps{
35639 Description: "StorageProfile provides a CDI specific recommendation for storage parameters",
35640 Type: []string{"object"},
35641 Properties: map[string]spec.Schema{
35642 "kind": {
35643 SchemaProps: spec.SchemaProps{
35644 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35645 Type: []string{"string"},
35646 Format: "",
35647 },
35648 },
35649 "apiVersion": {
35650 SchemaProps: spec.SchemaProps{
35651 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
35652 Type: []string{"string"},
35653 Format: "",
35654 },
35655 },
35656 "metadata": {
35657 SchemaProps: spec.SchemaProps{
35658 Default: map[string]interface{}{},
35659 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
35660 },
35661 },
35662 "spec": {
35663 SchemaProps: spec.SchemaProps{
35664 Default: map[string]interface{}{},
35665 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileSpec"),
35666 },
35667 },
35668 "status": {
35669 SchemaProps: spec.SchemaProps{
35670 Default: map[string]interface{}{},
35671 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileStatus"),
35672 },
35673 },
35674 },
35675 Required: []string{"spec"},
35676 },
35677 },
35678 Dependencies: []string{
35679 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfileStatus"},
35680 }
35681 }
35682
35683 func schema_pkg_apis_core_v1beta1_StorageProfileList(ref common.ReferenceCallback) common.OpenAPIDefinition {
35684 return common.OpenAPIDefinition{
35685 Schema: spec.Schema{
35686 SchemaProps: spec.SchemaProps{
35687 Description: "StorageProfileList provides the needed parameters to request a list of StorageProfile from the system",
35688 Type: []string{"object"},
35689 Properties: map[string]spec.Schema{
35690 "kind": {
35691 SchemaProps: spec.SchemaProps{
35692 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35693 Type: []string{"string"},
35694 Format: "",
35695 },
35696 },
35697 "apiVersion": {
35698 SchemaProps: spec.SchemaProps{
35699 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
35700 Type: []string{"string"},
35701 Format: "",
35702 },
35703 },
35704 "metadata": {
35705 SchemaProps: spec.SchemaProps{
35706 Default: map[string]interface{}{},
35707 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
35708 },
35709 },
35710 "items": {
35711 SchemaProps: spec.SchemaProps{
35712 Description: "Items provides a list of StorageProfile",
35713 Type: []string{"array"},
35714 Items: &spec.SchemaOrArray{
35715 Schema: &spec.Schema{
35716 SchemaProps: spec.SchemaProps{
35717 Default: map[string]interface{}{},
35718 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfile"),
35719 },
35720 },
35721 },
35722 },
35723 },
35724 },
35725 Required: []string{"metadata", "items"},
35726 },
35727 },
35728 Dependencies: []string{
35729 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.StorageProfile"},
35730 }
35731 }
35732
35733 func schema_pkg_apis_core_v1beta1_StorageProfileSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
35734 return common.OpenAPIDefinition{
35735 Schema: spec.Schema{
35736 SchemaProps: spec.SchemaProps{
35737 Description: "StorageProfileSpec defines specification for StorageProfile",
35738 Type: []string{"object"},
35739 Properties: map[string]spec.Schema{
35740 "cloneStrategy": {
35741 SchemaProps: spec.SchemaProps{
35742 Description: "CloneStrategy defines the preferred method for performing a CDI clone",
35743 Type: []string{"string"},
35744 Format: "",
35745 },
35746 },
35747 "claimPropertySets": {
35748 SchemaProps: spec.SchemaProps{
35749 Description: "ClaimPropertySets is a provided set of properties applicable to PVC",
35750 Type: []string{"array"},
35751 Items: &spec.SchemaOrArray{
35752 Schema: &spec.Schema{
35753 SchemaProps: spec.SchemaProps{
35754 Default: map[string]interface{}{},
35755 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ClaimPropertySet"),
35756 },
35757 },
35758 },
35759 },
35760 },
35761 },
35762 },
35763 },
35764 Dependencies: []string{
35765 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ClaimPropertySet"},
35766 }
35767 }
35768
35769 func schema_pkg_apis_core_v1beta1_StorageProfileStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
35770 return common.OpenAPIDefinition{
35771 Schema: spec.Schema{
35772 SchemaProps: spec.SchemaProps{
35773 Description: "StorageProfileStatus provides the most recently observed status of the StorageProfile",
35774 Type: []string{"object"},
35775 Properties: map[string]spec.Schema{
35776 "storageClass": {
35777 SchemaProps: spec.SchemaProps{
35778 Description: "The StorageClass name for which capabilities are defined",
35779 Type: []string{"string"},
35780 Format: "",
35781 },
35782 },
35783 "provisioner": {
35784 SchemaProps: spec.SchemaProps{
35785 Description: "The Storage class provisioner plugin name",
35786 Type: []string{"string"},
35787 Format: "",
35788 },
35789 },
35790 "cloneStrategy": {
35791 SchemaProps: spec.SchemaProps{
35792 Description: "CloneStrategy defines the preferred method for performing a CDI clone",
35793 Type: []string{"string"},
35794 Format: "",
35795 },
35796 },
35797 "claimPropertySets": {
35798 SchemaProps: spec.SchemaProps{
35799 Description: "ClaimPropertySets computed from the spec and detected in the system",
35800 Type: []string{"array"},
35801 Items: &spec.SchemaOrArray{
35802 Schema: &spec.Schema{
35803 SchemaProps: spec.SchemaProps{
35804 Default: map[string]interface{}{},
35805 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ClaimPropertySet"),
35806 },
35807 },
35808 },
35809 },
35810 },
35811 },
35812 },
35813 },
35814 Dependencies: []string{
35815 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ClaimPropertySet"},
35816 }
35817 }
35818
35819 func schema_pkg_apis_core_v1beta1_StorageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
35820 return common.OpenAPIDefinition{
35821 Schema: spec.Schema{
35822 SchemaProps: spec.SchemaProps{
35823 Description: "StorageSpec defines the Storage type specification",
35824 Type: []string{"object"},
35825 Properties: map[string]spec.Schema{
35826 "accessModes": {
35827 SchemaProps: spec.SchemaProps{
35828 Description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
35829 Type: []string{"array"},
35830 Items: &spec.SchemaOrArray{
35831 Schema: &spec.Schema{
35832 SchemaProps: spec.SchemaProps{
35833 Default: "",
35834 Type: []string{"string"},
35835 Format: "",
35836 },
35837 },
35838 },
35839 },
35840 },
35841 "selector": {
35842 SchemaProps: spec.SchemaProps{
35843 Description: "A label query over volumes to consider for binding.",
35844 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
35845 },
35846 },
35847 "resources": {
35848 SchemaProps: spec.SchemaProps{
35849 Description: "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
35850 Default: map[string]interface{}{},
35851 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
35852 },
35853 },
35854 "volumeName": {
35855 SchemaProps: spec.SchemaProps{
35856 Description: "VolumeName is the binding reference to the PersistentVolume backing this claim.",
35857 Type: []string{"string"},
35858 Format: "",
35859 },
35860 },
35861 "storageClassName": {
35862 SchemaProps: spec.SchemaProps{
35863 Description: "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
35864 Type: []string{"string"},
35865 Format: "",
35866 },
35867 },
35868 "volumeMode": {
35869 SchemaProps: spec.SchemaProps{
35870 Description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.",
35871 Type: []string{"string"},
35872 Format: "",
35873 Enum: []interface{}{"Block", "Filesystem"},
35874 },
35875 },
35876 "dataSource": {
35877 SchemaProps: spec.SchemaProps{
35878 Description: "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.",
35879 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
35880 },
35881 },
35882 "dataSourceRef": {
35883 SchemaProps: spec.SchemaProps{
35884 Description: "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.",
35885 Ref: ref("k8s.io/api/core/v1.TypedObjectReference"),
35886 },
35887 },
35888 },
35889 },
35890 },
35891 Dependencies: []string{
35892 "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/api/core/v1.TypedObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
35893 }
35894 }
35895
35896 func schema_pkg_apis_core_v1beta1_TransferSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
35897 return common.OpenAPIDefinition{
35898 Schema: spec.Schema{
35899 SchemaProps: spec.SchemaProps{
35900 Description: "TransferSource is the source of a ObjectTransfer",
35901 Type: []string{"object"},
35902 Properties: map[string]spec.Schema{
35903 "apiVersion": {
35904 SchemaProps: spec.SchemaProps{
35905 Type: []string{"string"},
35906 Format: "",
35907 },
35908 },
35909 "kind": {
35910 SchemaProps: spec.SchemaProps{
35911 Default: "",
35912 Type: []string{"string"},
35913 Format: "",
35914 },
35915 },
35916 "namespace": {
35917 SchemaProps: spec.SchemaProps{
35918 Default: "",
35919 Type: []string{"string"},
35920 Format: "",
35921 },
35922 },
35923 "name": {
35924 SchemaProps: spec.SchemaProps{
35925 Default: "",
35926 Type: []string{"string"},
35927 Format: "",
35928 },
35929 },
35930 "requiredAnnotations": {
35931 SchemaProps: spec.SchemaProps{
35932 Type: []string{"object"},
35933 AdditionalProperties: &spec.SchemaOrBool{
35934 Allows: true,
35935 Schema: &spec.Schema{
35936 SchemaProps: spec.SchemaProps{
35937 Default: "",
35938 Type: []string{"string"},
35939 Format: "",
35940 },
35941 },
35942 },
35943 },
35944 },
35945 },
35946 Required: []string{"kind", "namespace", "name"},
35947 },
35948 },
35949 }
35950 }
35951
35952 func schema_pkg_apis_core_v1beta1_TransferTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
35953 return common.OpenAPIDefinition{
35954 Schema: spec.Schema{
35955 SchemaProps: spec.SchemaProps{
35956 Description: "TransferTarget is the target of an ObjectTransfer",
35957 Type: []string{"object"},
35958 Properties: map[string]spec.Schema{
35959 "namespace": {
35960 SchemaProps: spec.SchemaProps{
35961 Type: []string{"string"},
35962 Format: "",
35963 },
35964 },
35965 "name": {
35966 SchemaProps: spec.SchemaProps{
35967 Type: []string{"string"},
35968 Format: "",
35969 },
35970 },
35971 },
35972 },
35973 },
35974 }
35975 }
35976
35977 func schema_pkg_apis_core_v1beta1_VolumeCloneSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
35978 return common.OpenAPIDefinition{
35979 Schema: spec.Schema{
35980 SchemaProps: spec.SchemaProps{
35981 Description: "VolumeCloneSource refers to a PVC/VolumeSnapshot of any storageclass/volumemode to be used as the source of a new PVC",
35982 Type: []string{"object"},
35983 Properties: map[string]spec.Schema{
35984 "kind": {
35985 SchemaProps: spec.SchemaProps{
35986 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
35987 Type: []string{"string"},
35988 Format: "",
35989 },
35990 },
35991 "apiVersion": {
35992 SchemaProps: spec.SchemaProps{
35993 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
35994 Type: []string{"string"},
35995 Format: "",
35996 },
35997 },
35998 "metadata": {
35999 SchemaProps: spec.SchemaProps{
36000 Default: map[string]interface{}{},
36001 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
36002 },
36003 },
36004 "spec": {
36005 SchemaProps: spec.SchemaProps{
36006 Default: map[string]interface{}{},
36007 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSourceSpec"),
36008 },
36009 },
36010 },
36011 Required: []string{"spec"},
36012 },
36013 },
36014 Dependencies: []string{
36015 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSourceSpec"},
36016 }
36017 }
36018
36019 func schema_pkg_apis_core_v1beta1_VolumeCloneSourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
36020 return common.OpenAPIDefinition{
36021 Schema: spec.Schema{
36022 SchemaProps: spec.SchemaProps{
36023 Description: "VolumeCloneSourceList provides the needed parameters to do request a list of VolumeCloneSources from the system",
36024 Type: []string{"object"},
36025 Properties: map[string]spec.Schema{
36026 "kind": {
36027 SchemaProps: spec.SchemaProps{
36028 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
36029 Type: []string{"string"},
36030 Format: "",
36031 },
36032 },
36033 "apiVersion": {
36034 SchemaProps: spec.SchemaProps{
36035 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
36036 Type: []string{"string"},
36037 Format: "",
36038 },
36039 },
36040 "metadata": {
36041 SchemaProps: spec.SchemaProps{
36042 Default: map[string]interface{}{},
36043 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
36044 },
36045 },
36046 "items": {
36047 SchemaProps: spec.SchemaProps{
36048 Description: "Items provides a list of DataSources",
36049 Type: []string{"array"},
36050 Items: &spec.SchemaOrArray{
36051 Schema: &spec.Schema{
36052 SchemaProps: spec.SchemaProps{
36053 Default: map[string]interface{}{},
36054 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSource"),
36055 },
36056 },
36057 },
36058 },
36059 },
36060 },
36061 Required: []string{"metadata", "items"},
36062 },
36063 },
36064 Dependencies: []string{
36065 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeCloneSource"},
36066 }
36067 }
36068
36069 func schema_pkg_apis_core_v1beta1_VolumeCloneSourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
36070 return common.OpenAPIDefinition{
36071 Schema: spec.Schema{
36072 SchemaProps: spec.SchemaProps{
36073 Description: "VolumeCloneSourceSpec defines the Spec field for VolumeCloneSource",
36074 Type: []string{"object"},
36075 Properties: map[string]spec.Schema{
36076 "source": {
36077 SchemaProps: spec.SchemaProps{
36078 Description: "Source is the src of the data to be cloned to the target PVC",
36079 Default: map[string]interface{}{},
36080 Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
36081 },
36082 },
36083 "preallocation": {
36084 SchemaProps: spec.SchemaProps{
36085 Description: "Preallocation controls whether storage for the target PVC should be allocated in advance.",
36086 Type: []string{"boolean"},
36087 Format: "",
36088 },
36089 },
36090 "priorityClassName": {
36091 SchemaProps: spec.SchemaProps{
36092 Description: "PriorityClassName is the priorityclass for the claim",
36093 Type: []string{"string"},
36094 Format: "",
36095 },
36096 },
36097 },
36098 Required: []string{"source"},
36099 },
36100 },
36101 Dependencies: []string{
36102 "k8s.io/api/core/v1.TypedLocalObjectReference"},
36103 }
36104 }
36105
36106 func schema_pkg_apis_core_v1beta1_VolumeImportSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
36107 return common.OpenAPIDefinition{
36108 Schema: spec.Schema{
36109 SchemaProps: spec.SchemaProps{
36110 Description: "VolumeImportSource works as a specification to populate PersistentVolumeClaims with data imported from an HTTP/S3/Registry/Blank/ImageIO/VDDK source",
36111 Type: []string{"object"},
36112 Properties: map[string]spec.Schema{
36113 "kind": {
36114 SchemaProps: spec.SchemaProps{
36115 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
36116 Type: []string{"string"},
36117 Format: "",
36118 },
36119 },
36120 "apiVersion": {
36121 SchemaProps: spec.SchemaProps{
36122 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
36123 Type: []string{"string"},
36124 Format: "",
36125 },
36126 },
36127 "metadata": {
36128 SchemaProps: spec.SchemaProps{
36129 Default: map[string]interface{}{},
36130 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
36131 },
36132 },
36133 "spec": {
36134 SchemaProps: spec.SchemaProps{
36135 Default: map[string]interface{}{},
36136 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceSpec"),
36137 },
36138 },
36139 "status": {
36140 SchemaProps: spec.SchemaProps{
36141 Default: map[string]interface{}{},
36142 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceStatus"),
36143 },
36144 },
36145 },
36146 Required: []string{"spec"},
36147 },
36148 },
36149 Dependencies: []string{
36150 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSourceStatus"},
36151 }
36152 }
36153
36154 func schema_pkg_apis_core_v1beta1_VolumeImportSourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
36155 return common.OpenAPIDefinition{
36156 Schema: spec.Schema{
36157 SchemaProps: spec.SchemaProps{
36158 Description: "VolumeImportSourceList provides the needed parameters to do request a list of Import Sources from the system",
36159 Type: []string{"object"},
36160 Properties: map[string]spec.Schema{
36161 "kind": {
36162 SchemaProps: spec.SchemaProps{
36163 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
36164 Type: []string{"string"},
36165 Format: "",
36166 },
36167 },
36168 "apiVersion": {
36169 SchemaProps: spec.SchemaProps{
36170 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
36171 Type: []string{"string"},
36172 Format: "",
36173 },
36174 },
36175 "metadata": {
36176 SchemaProps: spec.SchemaProps{
36177 Default: map[string]interface{}{},
36178 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
36179 },
36180 },
36181 "items": {
36182 SchemaProps: spec.SchemaProps{
36183 Description: "Items provides a list of DataSources",
36184 Type: []string{"array"},
36185 Items: &spec.SchemaOrArray{
36186 Schema: &spec.Schema{
36187 SchemaProps: spec.SchemaProps{
36188 Default: map[string]interface{}{},
36189 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSource"),
36190 },
36191 },
36192 },
36193 },
36194 },
36195 },
36196 Required: []string{"metadata", "items"},
36197 },
36198 },
36199 Dependencies: []string{
36200 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSource"},
36201 }
36202 }
36203
36204 func schema_pkg_apis_core_v1beta1_VolumeImportSourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
36205 return common.OpenAPIDefinition{
36206 Schema: spec.Schema{
36207 SchemaProps: spec.SchemaProps{
36208 Description: "VolumeImportSourceSpec defines the Spec field for VolumeImportSource",
36209 Type: []string{"object"},
36210 Properties: map[string]spec.Schema{
36211 "source": {
36212 SchemaProps: spec.SchemaProps{
36213 Description: "Source is the src of the data to be imported in the target PVC",
36214 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportSourceType"),
36215 },
36216 },
36217 "preallocation": {
36218 SchemaProps: spec.SchemaProps{
36219 Description: "Preallocation controls whether storage for the target PVC should be allocated in advance.",
36220 Type: []string{"boolean"},
36221 Format: "",
36222 },
36223 },
36224 "contentType": {
36225 SchemaProps: spec.SchemaProps{
36226 Description: "ContentType represents the type of the imported data (Kubevirt or archive)",
36227 Type: []string{"string"},
36228 Format: "",
36229 },
36230 },
36231 },
36232 },
36233 },
36234 Dependencies: []string{
36235 "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.ImportSourceType"},
36236 }
36237 }
36238
36239 func schema_pkg_apis_core_v1beta1_VolumeImportSourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
36240 return common.OpenAPIDefinition{
36241 Schema: spec.Schema{
36242 SchemaProps: spec.SchemaProps{
36243 Description: "VolumeImportSourceStatus provides the most recently observed status of the VolumeImportSource",
36244 Type: []string{"object"},
36245 },
36246 },
36247 }
36248 }
36249
36250 func schema_pkg_apis_core_v1beta1_VolumeUploadSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
36251 return common.OpenAPIDefinition{
36252 Schema: spec.Schema{
36253 SchemaProps: spec.SchemaProps{
36254 Description: "VolumeUploadSource is a specification to populate PersistentVolumeClaims with upload data",
36255 Type: []string{"object"},
36256 Properties: map[string]spec.Schema{
36257 "kind": {
36258 SchemaProps: spec.SchemaProps{
36259 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
36260 Type: []string{"string"},
36261 Format: "",
36262 },
36263 },
36264 "apiVersion": {
36265 SchemaProps: spec.SchemaProps{
36266 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
36267 Type: []string{"string"},
36268 Format: "",
36269 },
36270 },
36271 "metadata": {
36272 SchemaProps: spec.SchemaProps{
36273 Default: map[string]interface{}{},
36274 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
36275 },
36276 },
36277 "spec": {
36278 SchemaProps: spec.SchemaProps{
36279 Default: map[string]interface{}{},
36280 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceSpec"),
36281 },
36282 },
36283 "status": {
36284 SchemaProps: spec.SchemaProps{
36285 Default: map[string]interface{}{},
36286 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceStatus"),
36287 },
36288 },
36289 },
36290 Required: []string{"spec"},
36291 },
36292 },
36293 Dependencies: []string{
36294 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceSpec", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeUploadSourceStatus"},
36295 }
36296 }
36297
36298 func schema_pkg_apis_core_v1beta1_VolumeUploadSourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
36299 return common.OpenAPIDefinition{
36300 Schema: spec.Schema{
36301 SchemaProps: spec.SchemaProps{
36302 Description: "VolumeUploadSourceList provides the needed parameters to do request a list of Upload Sources from the system",
36303 Type: []string{"object"},
36304 Properties: map[string]spec.Schema{
36305 "kind": {
36306 SchemaProps: spec.SchemaProps{
36307 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
36308 Type: []string{"string"},
36309 Format: "",
36310 },
36311 },
36312 "apiVersion": {
36313 SchemaProps: spec.SchemaProps{
36314 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
36315 Type: []string{"string"},
36316 Format: "",
36317 },
36318 },
36319 "metadata": {
36320 SchemaProps: spec.SchemaProps{
36321 Default: map[string]interface{}{},
36322 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
36323 },
36324 },
36325 "items": {
36326 SchemaProps: spec.SchemaProps{
36327 Description: "Items provides a list of DataSources",
36328 Type: []string{"array"},
36329 Items: &spec.SchemaOrArray{
36330 Schema: &spec.Schema{
36331 SchemaProps: spec.SchemaProps{
36332 Default: map[string]interface{}{},
36333 Ref: ref("kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSource"),
36334 },
36335 },
36336 },
36337 },
36338 },
36339 },
36340 Required: []string{"metadata", "items"},
36341 },
36342 },
36343 Dependencies: []string{
36344 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1.VolumeImportSource"},
36345 }
36346 }
36347
36348 func schema_pkg_apis_core_v1beta1_VolumeUploadSourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
36349 return common.OpenAPIDefinition{
36350 Schema: spec.Schema{
36351 SchemaProps: spec.SchemaProps{
36352 Description: "VolumeUploadSourceSpec defines specification for VolumeUploadSource",
36353 Type: []string{"object"},
36354 Properties: map[string]spec.Schema{
36355 "contentType": {
36356 SchemaProps: spec.SchemaProps{
36357 Description: "ContentType represents the type of the upload data (Kubevirt or archive)",
36358 Type: []string{"string"},
36359 Format: "",
36360 },
36361 },
36362 "preallocation": {
36363 SchemaProps: spec.SchemaProps{
36364 Description: "Preallocation controls whether storage for the target PVC should be allocated in advance.",
36365 Type: []string{"boolean"},
36366 Format: "",
36367 },
36368 },
36369 },
36370 },
36371 },
36372 }
36373 }
36374
36375 func schema_pkg_apis_core_v1beta1_VolumeUploadSourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
36376 return common.OpenAPIDefinition{
36377 Schema: spec.Schema{
36378 SchemaProps: spec.SchemaProps{
36379 Description: "VolumeUploadSourceStatus provides the most recently observed status of the VolumeUploadSource",
36380 Type: []string{"object"},
36381 },
36382 },
36383 }
36384 }
36385
View as plain text