Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / github.com / coreos / prometheus-operator / pkg / apis / monitoring / v1 / openapi_generated.go
1 // +build !ignore_autogenerated
2
3 // Copyright 2018 The prometheus-operator Authors
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16
17 // Code generated by openapi-gen. DO NOT EDIT.
18
19 // This file was autogenerated by openapi-gen. Do not edit it manually!
20
21 package v1
22
23 import (
24         spec "github.com/go-openapi/spec"
25         v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26         common "k8s.io/kube-openapi/pkg/common"
27 )
28
29 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
30         return map[string]common.OpenAPIDefinition{
31                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig":       schema_pkg_apis_monitoring_v1_APIServerConfig(ref),
32                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec":          schema_pkg_apis_monitoring_v1_AlertingSpec(ref),
33                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager":          schema_pkg_apis_monitoring_v1_Alertmanager(ref),
34                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints": schema_pkg_apis_monitoring_v1_AlertmanagerEndpoints(ref),
35                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerList":      schema_pkg_apis_monitoring_v1_AlertmanagerList(ref),
36                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec":      schema_pkg_apis_monitoring_v1_AlertmanagerSpec(ref),
37                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus":    schema_pkg_apis_monitoring_v1_AlertmanagerStatus(ref),
38                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth":             schema_pkg_apis_monitoring_v1_BasicAuth(ref),
39                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint":              schema_pkg_apis_monitoring_v1_Endpoint(ref),
40                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector":     schema_pkg_apis_monitoring_v1_NamespaceSelector(ref),
41                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus":            schema_pkg_apis_monitoring_v1_Prometheus(ref),
42                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusList":        schema_pkg_apis_monitoring_v1_PrometheusList(ref),
43                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule":        schema_pkg_apis_monitoring_v1_PrometheusRule(ref),
44                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleList":    schema_pkg_apis_monitoring_v1_PrometheusRuleList(ref),
45                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec":    schema_pkg_apis_monitoring_v1_PrometheusRuleSpec(ref),
46                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec":        schema_pkg_apis_monitoring_v1_PrometheusSpec(ref),
47                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus":      schema_pkg_apis_monitoring_v1_PrometheusStatus(ref),
48                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec":             schema_pkg_apis_monitoring_v1_QuerySpec(ref),
49                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig":           schema_pkg_apis_monitoring_v1_QueueConfig(ref),
50                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig":         schema_pkg_apis_monitoring_v1_RelabelConfig(ref),
51                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec":        schema_pkg_apis_monitoring_v1_RemoteReadSpec(ref),
52                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec":       schema_pkg_apis_monitoring_v1_RemoteWriteSpec(ref),
53                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule":                  schema_pkg_apis_monitoring_v1_Rule(ref),
54                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup":             schema_pkg_apis_monitoring_v1_RuleGroup(ref),
55                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rules":                 schema_pkg_apis_monitoring_v1_Rules(ref),
56                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RulesAlert":            schema_pkg_apis_monitoring_v1_RulesAlert(ref),
57                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor":        schema_pkg_apis_monitoring_v1_ServiceMonitor(ref),
58                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorList":    schema_pkg_apis_monitoring_v1_ServiceMonitorList(ref),
59                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec":    schema_pkg_apis_monitoring_v1_ServiceMonitorSpec(ref),
60                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec":           schema_pkg_apis_monitoring_v1_StorageSpec(ref),
61                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig":             schema_pkg_apis_monitoring_v1_TLSConfig(ref),
62                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec":         schema_pkg_apis_monitoring_v1_ThanosGCSSpec(ref),
63                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec":          schema_pkg_apis_monitoring_v1_ThanosS3Spec(ref),
64                 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosSpec":            schema_pkg_apis_monitoring_v1_ThanosSpec(ref),
65                 "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource":                                schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref),
66                 "k8s.io/api/core/v1.Affinity":                                    schema_k8sio_api_core_v1_Affinity(ref),
67                 "k8s.io/api/core/v1.AttachedVolume":                              schema_k8sio_api_core_v1_AttachedVolume(ref),
68                 "k8s.io/api/core/v1.AvoidPods":                                   schema_k8sio_api_core_v1_AvoidPods(ref),
69                 "k8s.io/api/core/v1.AzureDiskVolumeSource":                       schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref),
70                 "k8s.io/api/core/v1.AzureFilePersistentVolumeSource":             schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref),
71                 "k8s.io/api/core/v1.AzureFileVolumeSource":                       schema_k8sio_api_core_v1_AzureFileVolumeSource(ref),
72                 "k8s.io/api/core/v1.Binding":                                     schema_k8sio_api_core_v1_Binding(ref),
73                 "k8s.io/api/core/v1.CSIPersistentVolumeSource":                   schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref),
74                 "k8s.io/api/core/v1.Capabilities":                                schema_k8sio_api_core_v1_Capabilities(ref),
75                 "k8s.io/api/core/v1.CephFSPersistentVolumeSource":                schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref),
76                 "k8s.io/api/core/v1.CephFSVolumeSource":                          schema_k8sio_api_core_v1_CephFSVolumeSource(ref),
77                 "k8s.io/api/core/v1.CinderPersistentVolumeSource":                schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref),
78                 "k8s.io/api/core/v1.CinderVolumeSource":                          schema_k8sio_api_core_v1_CinderVolumeSource(ref),
79                 "k8s.io/api/core/v1.ClientIPConfig":                              schema_k8sio_api_core_v1_ClientIPConfig(ref),
80                 "k8s.io/api/core/v1.ComponentCondition":                          schema_k8sio_api_core_v1_ComponentCondition(ref),
81                 "k8s.io/api/core/v1.ComponentStatus":                             schema_k8sio_api_core_v1_ComponentStatus(ref),
82                 "k8s.io/api/core/v1.ComponentStatusList":                         schema_k8sio_api_core_v1_ComponentStatusList(ref),
83                 "k8s.io/api/core/v1.ConfigMap":                                   schema_k8sio_api_core_v1_ConfigMap(ref),
84                 "k8s.io/api/core/v1.ConfigMapEnvSource":                          schema_k8sio_api_core_v1_ConfigMapEnvSource(ref),
85                 "k8s.io/api/core/v1.ConfigMapKeySelector":                        schema_k8sio_api_core_v1_ConfigMapKeySelector(ref),
86                 "k8s.io/api/core/v1.ConfigMapList":                               schema_k8sio_api_core_v1_ConfigMapList(ref),
87                 "k8s.io/api/core/v1.ConfigMapNodeConfigSource":                   schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref),
88                 "k8s.io/api/core/v1.ConfigMapProjection":                         schema_k8sio_api_core_v1_ConfigMapProjection(ref),
89                 "k8s.io/api/core/v1.ConfigMapVolumeSource":                       schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref),
90                 "k8s.io/api/core/v1.Container":                                   schema_k8sio_api_core_v1_Container(ref),
91                 "k8s.io/api/core/v1.ContainerImage":                              schema_k8sio_api_core_v1_ContainerImage(ref),
92                 "k8s.io/api/core/v1.ContainerPort":                               schema_k8sio_api_core_v1_ContainerPort(ref),
93                 "k8s.io/api/core/v1.ContainerState":                              schema_k8sio_api_core_v1_ContainerState(ref),
94                 "k8s.io/api/core/v1.ContainerStateRunning":                       schema_k8sio_api_core_v1_ContainerStateRunning(ref),
95                 "k8s.io/api/core/v1.ContainerStateTerminated":                    schema_k8sio_api_core_v1_ContainerStateTerminated(ref),
96                 "k8s.io/api/core/v1.ContainerStateWaiting":                       schema_k8sio_api_core_v1_ContainerStateWaiting(ref),
97                 "k8s.io/api/core/v1.ContainerStatus":                             schema_k8sio_api_core_v1_ContainerStatus(ref),
98                 "k8s.io/api/core/v1.DaemonEndpoint":                              schema_k8sio_api_core_v1_DaemonEndpoint(ref),
99                 "k8s.io/api/core/v1.DownwardAPIProjection":                       schema_k8sio_api_core_v1_DownwardAPIProjection(ref),
100                 "k8s.io/api/core/v1.DownwardAPIVolumeFile":                       schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref),
101                 "k8s.io/api/core/v1.DownwardAPIVolumeSource":                     schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref),
102                 "k8s.io/api/core/v1.EmptyDirVolumeSource":                        schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref),
103                 "k8s.io/api/core/v1.EndpointAddress":                             schema_k8sio_api_core_v1_EndpointAddress(ref),
104                 "k8s.io/api/core/v1.EndpointPort":                                schema_k8sio_api_core_v1_EndpointPort(ref),
105                 "k8s.io/api/core/v1.EndpointSubset":                              schema_k8sio_api_core_v1_EndpointSubset(ref),
106                 "k8s.io/api/core/v1.Endpoints":                                   schema_k8sio_api_core_v1_Endpoints(ref),
107                 "k8s.io/api/core/v1.EndpointsList":                               schema_k8sio_api_core_v1_EndpointsList(ref),
108                 "k8s.io/api/core/v1.EnvFromSource":                               schema_k8sio_api_core_v1_EnvFromSource(ref),
109                 "k8s.io/api/core/v1.EnvVar":                                      schema_k8sio_api_core_v1_EnvVar(ref),
110                 "k8s.io/api/core/v1.EnvVarSource":                                schema_k8sio_api_core_v1_EnvVarSource(ref),
111                 "k8s.io/api/core/v1.Event":                                       schema_k8sio_api_core_v1_Event(ref),
112                 "k8s.io/api/core/v1.EventList":                                   schema_k8sio_api_core_v1_EventList(ref),
113                 "k8s.io/api/core/v1.EventSeries":                                 schema_k8sio_api_core_v1_EventSeries(ref),
114                 "k8s.io/api/core/v1.EventSource":                                 schema_k8sio_api_core_v1_EventSource(ref),
115                 "k8s.io/api/core/v1.ExecAction":                                  schema_k8sio_api_core_v1_ExecAction(ref),
116                 "k8s.io/api/core/v1.FCVolumeSource":                              schema_k8sio_api_core_v1_FCVolumeSource(ref),
117                 "k8s.io/api/core/v1.FlexPersistentVolumeSource":                  schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref),
118                 "k8s.io/api/core/v1.FlexVolumeSource":                            schema_k8sio_api_core_v1_FlexVolumeSource(ref),
119                 "k8s.io/api/core/v1.FlockerVolumeSource":                         schema_k8sio_api_core_v1_FlockerVolumeSource(ref),
120                 "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource":               schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref),
121                 "k8s.io/api/core/v1.GitRepoVolumeSource":                         schema_k8sio_api_core_v1_GitRepoVolumeSource(ref),
122                 "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource":             schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref),
123                 "k8s.io/api/core/v1.GlusterfsVolumeSource":                       schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref),
124                 "k8s.io/api/core/v1.HTTPGetAction":                               schema_k8sio_api_core_v1_HTTPGetAction(ref),
125                 "k8s.io/api/core/v1.HTTPHeader":                                  schema_k8sio_api_core_v1_HTTPHeader(ref),
126                 "k8s.io/api/core/v1.Handler":                                     schema_k8sio_api_core_v1_Handler(ref),
127                 "k8s.io/api/core/v1.HostAlias":                                   schema_k8sio_api_core_v1_HostAlias(ref),
128                 "k8s.io/api/core/v1.HostPathVolumeSource":                        schema_k8sio_api_core_v1_HostPathVolumeSource(ref),
129                 "k8s.io/api/core/v1.ISCSIPersistentVolumeSource":                 schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref),
130                 "k8s.io/api/core/v1.ISCSIVolumeSource":                           schema_k8sio_api_core_v1_ISCSIVolumeSource(ref),
131                 "k8s.io/api/core/v1.KeyToPath":                                   schema_k8sio_api_core_v1_KeyToPath(ref),
132                 "k8s.io/api/core/v1.Lifecycle":                                   schema_k8sio_api_core_v1_Lifecycle(ref),
133                 "k8s.io/api/core/v1.LimitRange":                                  schema_k8sio_api_core_v1_LimitRange(ref),
134                 "k8s.io/api/core/v1.LimitRangeItem":                              schema_k8sio_api_core_v1_LimitRangeItem(ref),
135                 "k8s.io/api/core/v1.LimitRangeList":                              schema_k8sio_api_core_v1_LimitRangeList(ref),
136                 "k8s.io/api/core/v1.LimitRangeSpec":                              schema_k8sio_api_core_v1_LimitRangeSpec(ref),
137                 "k8s.io/api/core/v1.List":                                        schema_k8sio_api_core_v1_List(ref),
138                 "k8s.io/api/core/v1.LoadBalancerIngress":                         schema_k8sio_api_core_v1_LoadBalancerIngress(ref),
139                 "k8s.io/api/core/v1.LoadBalancerStatus":                          schema_k8sio_api_core_v1_LoadBalancerStatus(ref),
140                 "k8s.io/api/core/v1.LocalObjectReference":                        schema_k8sio_api_core_v1_LocalObjectReference(ref),
141                 "k8s.io/api/core/v1.LocalVolumeSource":                           schema_k8sio_api_core_v1_LocalVolumeSource(ref),
142                 "k8s.io/api/core/v1.NFSVolumeSource":                             schema_k8sio_api_core_v1_NFSVolumeSource(ref),
143                 "k8s.io/api/core/v1.Namespace":                                   schema_k8sio_api_core_v1_Namespace(ref),
144                 "k8s.io/api/core/v1.NamespaceList":                               schema_k8sio_api_core_v1_NamespaceList(ref),
145                 "k8s.io/api/core/v1.NamespaceSpec":                               schema_k8sio_api_core_v1_NamespaceSpec(ref),
146                 "k8s.io/api/core/v1.NamespaceStatus":                             schema_k8sio_api_core_v1_NamespaceStatus(ref),
147                 "k8s.io/api/core/v1.Node":                                        schema_k8sio_api_core_v1_Node(ref),
148                 "k8s.io/api/core/v1.NodeAddress":                                 schema_k8sio_api_core_v1_NodeAddress(ref),
149                 "k8s.io/api/core/v1.NodeAffinity":                                schema_k8sio_api_core_v1_NodeAffinity(ref),
150                 "k8s.io/api/core/v1.NodeCondition":                               schema_k8sio_api_core_v1_NodeCondition(ref),
151                 "k8s.io/api/core/v1.NodeConfigSource":                            schema_k8sio_api_core_v1_NodeConfigSource(ref),
152                 "k8s.io/api/core/v1.NodeConfigStatus":                            schema_k8sio_api_core_v1_NodeConfigStatus(ref),
153                 "k8s.io/api/core/v1.NodeDaemonEndpoints":                         schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref),
154                 "k8s.io/api/core/v1.NodeList":                                    schema_k8sio_api_core_v1_NodeList(ref),
155                 "k8s.io/api/core/v1.NodeProxyOptions":                            schema_k8sio_api_core_v1_NodeProxyOptions(ref),
156                 "k8s.io/api/core/v1.NodeResources":                               schema_k8sio_api_core_v1_NodeResources(ref),
157                 "k8s.io/api/core/v1.NodeSelector":                                schema_k8sio_api_core_v1_NodeSelector(ref),
158                 "k8s.io/api/core/v1.NodeSelectorRequirement":                     schema_k8sio_api_core_v1_NodeSelectorRequirement(ref),
159                 "k8s.io/api/core/v1.NodeSelectorTerm":                            schema_k8sio_api_core_v1_NodeSelectorTerm(ref),
160                 "k8s.io/api/core/v1.NodeSpec":                                    schema_k8sio_api_core_v1_NodeSpec(ref),
161                 "k8s.io/api/core/v1.NodeStatus":                                  schema_k8sio_api_core_v1_NodeStatus(ref),
162                 "k8s.io/api/core/v1.NodeSystemInfo":                              schema_k8sio_api_core_v1_NodeSystemInfo(ref),
163                 "k8s.io/api/core/v1.ObjectFieldSelector":                         schema_k8sio_api_core_v1_ObjectFieldSelector(ref),
164                 "k8s.io/api/core/v1.ObjectReference":                             schema_k8sio_api_core_v1_ObjectReference(ref),
165                 "k8s.io/api/core/v1.PersistentVolume":                            schema_k8sio_api_core_v1_PersistentVolume(ref),
166                 "k8s.io/api/core/v1.PersistentVolumeClaim":                       schema_k8sio_api_core_v1_PersistentVolumeClaim(ref),
167                 "k8s.io/api/core/v1.PersistentVolumeClaimCondition":              schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref),
168                 "k8s.io/api/core/v1.PersistentVolumeClaimList":                   schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref),
169                 "k8s.io/api/core/v1.PersistentVolumeClaimSpec":                   schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref),
170                 "k8s.io/api/core/v1.PersistentVolumeClaimStatus":                 schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref),
171                 "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource":           schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref),
172                 "k8s.io/api/core/v1.PersistentVolumeList":                        schema_k8sio_api_core_v1_PersistentVolumeList(ref),
173                 "k8s.io/api/core/v1.PersistentVolumeSource":                      schema_k8sio_api_core_v1_PersistentVolumeSource(ref),
174                 "k8s.io/api/core/v1.PersistentVolumeSpec":                        schema_k8sio_api_core_v1_PersistentVolumeSpec(ref),
175                 "k8s.io/api/core/v1.PersistentVolumeStatus":                      schema_k8sio_api_core_v1_PersistentVolumeStatus(ref),
176                 "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource":            schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref),
177                 "k8s.io/api/core/v1.Pod":                                         schema_k8sio_api_core_v1_Pod(ref),
178                 "k8s.io/api/core/v1.PodAffinity":                                 schema_k8sio_api_core_v1_PodAffinity(ref),
179                 "k8s.io/api/core/v1.PodAffinityTerm":                             schema_k8sio_api_core_v1_PodAffinityTerm(ref),
180                 "k8s.io/api/core/v1.PodAntiAffinity":                             schema_k8sio_api_core_v1_PodAntiAffinity(ref),
181                 "k8s.io/api/core/v1.PodAttachOptions":                            schema_k8sio_api_core_v1_PodAttachOptions(ref),
182                 "k8s.io/api/core/v1.PodCondition":                                schema_k8sio_api_core_v1_PodCondition(ref),
183                 "k8s.io/api/core/v1.PodDNSConfig":                                schema_k8sio_api_core_v1_PodDNSConfig(ref),
184                 "k8s.io/api/core/v1.PodDNSConfigOption":                          schema_k8sio_api_core_v1_PodDNSConfigOption(ref),
185                 "k8s.io/api/core/v1.PodExecOptions":                              schema_k8sio_api_core_v1_PodExecOptions(ref),
186                 "k8s.io/api/core/v1.PodList":                                     schema_k8sio_api_core_v1_PodList(ref),
187                 "k8s.io/api/core/v1.PodLogOptions":                               schema_k8sio_api_core_v1_PodLogOptions(ref),
188                 "k8s.io/api/core/v1.PodPortForwardOptions":                       schema_k8sio_api_core_v1_PodPortForwardOptions(ref),
189                 "k8s.io/api/core/v1.PodProxyOptions":                             schema_k8sio_api_core_v1_PodProxyOptions(ref),
190                 "k8s.io/api/core/v1.PodReadinessGate":                            schema_k8sio_api_core_v1_PodReadinessGate(ref),
191                 "k8s.io/api/core/v1.PodSecurityContext":                          schema_k8sio_api_core_v1_PodSecurityContext(ref),
192                 "k8s.io/api/core/v1.PodSignature":                                schema_k8sio_api_core_v1_PodSignature(ref),
193                 "k8s.io/api/core/v1.PodSpec":                                     schema_k8sio_api_core_v1_PodSpec(ref),
194                 "k8s.io/api/core/v1.PodStatus":                                   schema_k8sio_api_core_v1_PodStatus(ref),
195                 "k8s.io/api/core/v1.PodStatusResult":                             schema_k8sio_api_core_v1_PodStatusResult(ref),
196                 "k8s.io/api/core/v1.PodTemplate":                                 schema_k8sio_api_core_v1_PodTemplate(ref),
197                 "k8s.io/api/core/v1.PodTemplateList":                             schema_k8sio_api_core_v1_PodTemplateList(ref),
198                 "k8s.io/api/core/v1.PodTemplateSpec":                             schema_k8sio_api_core_v1_PodTemplateSpec(ref),
199                 "k8s.io/api/core/v1.PortworxVolumeSource":                        schema_k8sio_api_core_v1_PortworxVolumeSource(ref),
200                 "k8s.io/api/core/v1.PreferAvoidPodsEntry":                        schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref),
201                 "k8s.io/api/core/v1.PreferredSchedulingTerm":                     schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref),
202                 "k8s.io/api/core/v1.Probe":                                       schema_k8sio_api_core_v1_Probe(ref),
203                 "k8s.io/api/core/v1.ProjectedVolumeSource":                       schema_k8sio_api_core_v1_ProjectedVolumeSource(ref),
204                 "k8s.io/api/core/v1.QuobyteVolumeSource":                         schema_k8sio_api_core_v1_QuobyteVolumeSource(ref),
205                 "k8s.io/api/core/v1.RBDPersistentVolumeSource":                   schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref),
206                 "k8s.io/api/core/v1.RBDVolumeSource":                             schema_k8sio_api_core_v1_RBDVolumeSource(ref),
207                 "k8s.io/api/core/v1.RangeAllocation":                             schema_k8sio_api_core_v1_RangeAllocation(ref),
208                 "k8s.io/api/core/v1.ReplicationController":                       schema_k8sio_api_core_v1_ReplicationController(ref),
209                 "k8s.io/api/core/v1.ReplicationControllerCondition":              schema_k8sio_api_core_v1_ReplicationControllerCondition(ref),
210                 "k8s.io/api/core/v1.ReplicationControllerList":                   schema_k8sio_api_core_v1_ReplicationControllerList(ref),
211                 "k8s.io/api/core/v1.ReplicationControllerSpec":                   schema_k8sio_api_core_v1_ReplicationControllerSpec(ref),
212                 "k8s.io/api/core/v1.ReplicationControllerStatus":                 schema_k8sio_api_core_v1_ReplicationControllerStatus(ref),
213                 "k8s.io/api/core/v1.ResourceFieldSelector":                       schema_k8sio_api_core_v1_ResourceFieldSelector(ref),
214                 "k8s.io/api/core/v1.ResourceQuota":                               schema_k8sio_api_core_v1_ResourceQuota(ref),
215                 "k8s.io/api/core/v1.ResourceQuotaList":                           schema_k8sio_api_core_v1_ResourceQuotaList(ref),
216                 "k8s.io/api/core/v1.ResourceQuotaSpec":                           schema_k8sio_api_core_v1_ResourceQuotaSpec(ref),
217                 "k8s.io/api/core/v1.ResourceQuotaStatus":                         schema_k8sio_api_core_v1_ResourceQuotaStatus(ref),
218                 "k8s.io/api/core/v1.ResourceRequirements":                        schema_k8sio_api_core_v1_ResourceRequirements(ref),
219                 "k8s.io/api/core/v1.SELinuxOptions":                              schema_k8sio_api_core_v1_SELinuxOptions(ref),
220                 "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource":               schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref),
221                 "k8s.io/api/core/v1.ScaleIOVolumeSource":                         schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref),
222                 "k8s.io/api/core/v1.ScopeSelector":                               schema_k8sio_api_core_v1_ScopeSelector(ref),
223                 "k8s.io/api/core/v1.ScopedResourceSelectorRequirement":           schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref),
224                 "k8s.io/api/core/v1.Secret":                                      schema_k8sio_api_core_v1_Secret(ref),
225                 "k8s.io/api/core/v1.SecretEnvSource":                             schema_k8sio_api_core_v1_SecretEnvSource(ref),
226                 "k8s.io/api/core/v1.SecretKeySelector":                           schema_k8sio_api_core_v1_SecretKeySelector(ref),
227                 "k8s.io/api/core/v1.SecretList":                                  schema_k8sio_api_core_v1_SecretList(ref),
228                 "k8s.io/api/core/v1.SecretProjection":                            schema_k8sio_api_core_v1_SecretProjection(ref),
229                 "k8s.io/api/core/v1.SecretReference":                             schema_k8sio_api_core_v1_SecretReference(ref),
230                 "k8s.io/api/core/v1.SecretVolumeSource":                          schema_k8sio_api_core_v1_SecretVolumeSource(ref),
231                 "k8s.io/api/core/v1.SecurityContext":                             schema_k8sio_api_core_v1_SecurityContext(ref),
232                 "k8s.io/api/core/v1.SerializedReference":                         schema_k8sio_api_core_v1_SerializedReference(ref),
233                 "k8s.io/api/core/v1.Service":                                     schema_k8sio_api_core_v1_Service(ref),
234                 "k8s.io/api/core/v1.ServiceAccount":                              schema_k8sio_api_core_v1_ServiceAccount(ref),
235                 "k8s.io/api/core/v1.ServiceAccountList":                          schema_k8sio_api_core_v1_ServiceAccountList(ref),
236                 "k8s.io/api/core/v1.ServiceAccountTokenProjection":               schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref),
237                 "k8s.io/api/core/v1.ServiceList":                                 schema_k8sio_api_core_v1_ServiceList(ref),
238                 "k8s.io/api/core/v1.ServicePort":                                 schema_k8sio_api_core_v1_ServicePort(ref),
239                 "k8s.io/api/core/v1.ServiceProxyOptions":                         schema_k8sio_api_core_v1_ServiceProxyOptions(ref),
240                 "k8s.io/api/core/v1.ServiceSpec":                                 schema_k8sio_api_core_v1_ServiceSpec(ref),
241                 "k8s.io/api/core/v1.ServiceStatus":                               schema_k8sio_api_core_v1_ServiceStatus(ref),
242                 "k8s.io/api/core/v1.SessionAffinityConfig":                       schema_k8sio_api_core_v1_SessionAffinityConfig(ref),
243                 "k8s.io/api/core/v1.StorageOSPersistentVolumeSource":             schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref),
244                 "k8s.io/api/core/v1.StorageOSVolumeSource":                       schema_k8sio_api_core_v1_StorageOSVolumeSource(ref),
245                 "k8s.io/api/core/v1.Sysctl":                                      schema_k8sio_api_core_v1_Sysctl(ref),
246                 "k8s.io/api/core/v1.TCPSocketAction":                             schema_k8sio_api_core_v1_TCPSocketAction(ref),
247                 "k8s.io/api/core/v1.Taint":                                       schema_k8sio_api_core_v1_Taint(ref),
248                 "k8s.io/api/core/v1.Toleration":                                  schema_k8sio_api_core_v1_Toleration(ref),
249                 "k8s.io/api/core/v1.TopologySelectorLabelRequirement":            schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref),
250                 "k8s.io/api/core/v1.TopologySelectorTerm":                        schema_k8sio_api_core_v1_TopologySelectorTerm(ref),
251                 "k8s.io/api/core/v1.TypedLocalObjectReference":                   schema_k8sio_api_core_v1_TypedLocalObjectReference(ref),
252                 "k8s.io/api/core/v1.Volume":                                      schema_k8sio_api_core_v1_Volume(ref),
253                 "k8s.io/api/core/v1.VolumeDevice":                                schema_k8sio_api_core_v1_VolumeDevice(ref),
254                 "k8s.io/api/core/v1.VolumeMount":                                 schema_k8sio_api_core_v1_VolumeMount(ref),
255                 "k8s.io/api/core/v1.VolumeNodeAffinity":                          schema_k8sio_api_core_v1_VolumeNodeAffinity(ref),
256                 "k8s.io/api/core/v1.VolumeProjection":                            schema_k8sio_api_core_v1_VolumeProjection(ref),
257                 "k8s.io/api/core/v1.VolumeSource":                                schema_k8sio_api_core_v1_VolumeSource(ref),
258                 "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource":              schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref),
259                 "k8s.io/api/core/v1.WeightedPodAffinityTerm":                     schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref),
260                 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup":                  schema_pkg_apis_meta_v1_APIGroup(ref),
261                 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList":              schema_pkg_apis_meta_v1_APIGroupList(ref),
262                 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource":               schema_pkg_apis_meta_v1_APIResource(ref),
263                 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList":           schema_pkg_apis_meta_v1_APIResourceList(ref),
264                 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions":               schema_pkg_apis_meta_v1_APIVersions(ref),
265                 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions":             schema_pkg_apis_meta_v1_CreateOptions(ref),
266                 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions":             schema_pkg_apis_meta_v1_DeleteOptions(ref),
267                 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration":                  schema_pkg_apis_meta_v1_Duration(ref),
268                 "k8s.io/apimachinery/pkg/apis/meta/v1.ExportOptions":             schema_pkg_apis_meta_v1_ExportOptions(ref),
269                 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions":                schema_pkg_apis_meta_v1_GetOptions(ref),
270                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind":                 schema_pkg_apis_meta_v1_GroupKind(ref),
271                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource":             schema_pkg_apis_meta_v1_GroupResource(ref),
272                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion":              schema_pkg_apis_meta_v1_GroupVersion(ref),
273                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery":  schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref),
274                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind":          schema_pkg_apis_meta_v1_GroupVersionKind(ref),
275                 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource":      schema_pkg_apis_meta_v1_GroupVersionResource(ref),
276                 "k8s.io/apimachinery/pkg/apis/meta/v1.Initializer":               schema_pkg_apis_meta_v1_Initializer(ref),
277                 "k8s.io/apimachinery/pkg/apis/meta/v1.Initializers":              schema_pkg_apis_meta_v1_Initializers(ref),
278                 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent":             schema_pkg_apis_meta_v1_InternalEvent(ref),
279                 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector":             schema_pkg_apis_meta_v1_LabelSelector(ref),
280                 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement":  schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref),
281                 "k8s.io/apimachinery/pkg/apis/meta/v1.List":                      schema_pkg_apis_meta_v1_List(ref),
282                 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta":                  schema_pkg_apis_meta_v1_ListMeta(ref),
283                 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions":               schema_pkg_apis_meta_v1_ListOptions(ref),
284                 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime":                 schema_pkg_apis_meta_v1_MicroTime(ref),
285                 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta":                schema_pkg_apis_meta_v1_ObjectMeta(ref),
286                 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference":            schema_pkg_apis_meta_v1_OwnerReference(ref),
287                 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch":                     schema_pkg_apis_meta_v1_Patch(ref),
288                 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions":             schema_pkg_apis_meta_v1_Preconditions(ref),
289                 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths":                 schema_pkg_apis_meta_v1_RootPaths(ref),
290                 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref),
291                 "k8s.io/apimachinery/pkg/apis/meta/v1.Status":                    schema_pkg_apis_meta_v1_Status(ref),
292                 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause":               schema_pkg_apis_meta_v1_StatusCause(ref),
293                 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails":             schema_pkg_apis_meta_v1_StatusDetails(ref),
294                 "k8s.io/apimachinery/pkg/apis/meta/v1.Time":                      schema_pkg_apis_meta_v1_Time(ref),
295                 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp":                 schema_pkg_apis_meta_v1_Timestamp(ref),
296                 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta":                  schema_pkg_apis_meta_v1_TypeMeta(ref),
297                 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions":             schema_pkg_apis_meta_v1_UpdateOptions(ref),
298                 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent":                schema_pkg_apis_meta_v1_WatchEvent(ref),
299         }
300 }
301
302 func schema_pkg_apis_monitoring_v1_APIServerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
303         return common.OpenAPIDefinition{
304                 Schema: spec.Schema{
305                         SchemaProps: spec.SchemaProps{
306                                 Description: "APIServerConfig defines a host and auth methods to access apiserver. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config",
307                                 Properties: map[string]spec.Schema{
308                                         "host": {
309                                                 SchemaProps: spec.SchemaProps{
310                                                         Description: "Host of apiserver. A valid string consisting of a hostname or IP followed by an optional port number",
311                                                         Type:        []string{"string"},
312                                                         Format:      "",
313                                                 },
314                                         },
315                                         "basicAuth": {
316                                                 SchemaProps: spec.SchemaProps{
317                                                         Description: "BasicAuth allow an endpoint to authenticate over basic authentication",
318                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
319                                                 },
320                                         },
321                                         "bearerToken": {
322                                                 SchemaProps: spec.SchemaProps{
323                                                         Description: "Bearer token for accessing apiserver.",
324                                                         Type:        []string{"string"},
325                                                         Format:      "",
326                                                 },
327                                         },
328                                         "bearerTokenFile": {
329                                                 SchemaProps: spec.SchemaProps{
330                                                         Description: "File to read bearer token for accessing apiserver.",
331                                                         Type:        []string{"string"},
332                                                         Format:      "",
333                                                 },
334                                         },
335                                         "tlsConfig": {
336                                                 SchemaProps: spec.SchemaProps{
337                                                         Description: "TLS Config to use for accessing apiserver.",
338                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
339                                                 },
340                                         },
341                                 },
342                                 Required: []string{"host"},
343                         },
344                 },
345                 Dependencies: []string{
346                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
347         }
348 }
349
350 func schema_pkg_apis_monitoring_v1_AlertingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
351         return common.OpenAPIDefinition{
352                 Schema: spec.Schema{
353                         SchemaProps: spec.SchemaProps{
354                                 Description: "AlertingSpec defines parameters for alerting configuration of Prometheus servers.",
355                                 Properties: map[string]spec.Schema{
356                                         "alertmanagers": {
357                                                 SchemaProps: spec.SchemaProps{
358                                                         Description: "AlertmanagerEndpoints Prometheus should fire alerts against.",
359                                                         Type:        []string{"array"},
360                                                         Items: &spec.SchemaOrArray{
361                                                                 Schema: &spec.Schema{
362                                                                         SchemaProps: spec.SchemaProps{
363                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints"),
364                                                                         },
365                                                                 },
366                                                         },
367                                                 },
368                                         },
369                                 },
370                                 Required: []string{"alertmanagers"},
371                         },
372                 },
373                 Dependencies: []string{
374                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints"},
375         }
376 }
377
378 func schema_pkg_apis_monitoring_v1_Alertmanager(ref common.ReferenceCallback) common.OpenAPIDefinition {
379         return common.OpenAPIDefinition{
380                 Schema: spec.Schema{
381                         SchemaProps: spec.SchemaProps{
382                                 Description: "Alertmanager describes an Alertmanager cluster.",
383                                 Properties: map[string]spec.Schema{
384                                         "kind": {
385                                                 SchemaProps: spec.SchemaProps{
386                                                         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/api-conventions.md#types-kinds",
387                                                         Type:        []string{"string"},
388                                                         Format:      "",
389                                                 },
390                                         },
391                                         "apiVersion": {
392                                                 SchemaProps: spec.SchemaProps{
393                                                         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/api-conventions.md#resources",
394                                                         Type:        []string{"string"},
395                                                         Format:      "",
396                                                 },
397                                         },
398                                         "spec": {
399                                                 SchemaProps: spec.SchemaProps{
400                                                         Description: "Specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
401                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec"),
402                                                 },
403                                         },
404                                         "status": {
405                                                 SchemaProps: spec.SchemaProps{
406                                                         Description: "Most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
407                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus"),
408                                                 },
409                                         },
410                                 },
411                                 Required: []string{"spec"},
412                         },
413                 },
414                 Dependencies: []string{
415                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus"},
416         }
417 }
418
419 func schema_pkg_apis_monitoring_v1_AlertmanagerEndpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
420         return common.OpenAPIDefinition{
421                 Schema: spec.Schema{
422                         SchemaProps: spec.SchemaProps{
423                                 Description: "AlertmanagerEndpoints defines a selection of a single Endpoints object containing alertmanager IPs to fire alerts against.",
424                                 Properties: map[string]spec.Schema{
425                                         "namespace": {
426                                                 SchemaProps: spec.SchemaProps{
427                                                         Description: "Namespace of Endpoints object.",
428                                                         Type:        []string{"string"},
429                                                         Format:      "",
430                                                 },
431                                         },
432                                         "name": {
433                                                 SchemaProps: spec.SchemaProps{
434                                                         Description: "Name of Endpoints object in Namespace.",
435                                                         Type:        []string{"string"},
436                                                         Format:      "",
437                                                 },
438                                         },
439                                         "port": {
440                                                 SchemaProps: spec.SchemaProps{
441                                                         Description: "Port the Alertmanager API is exposed on.",
442                                                         Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
443                                                 },
444                                         },
445                                         "scheme": {
446                                                 SchemaProps: spec.SchemaProps{
447                                                         Description: "Scheme to use when firing alerts.",
448                                                         Type:        []string{"string"},
449                                                         Format:      "",
450                                                 },
451                                         },
452                                         "pathPrefix": {
453                                                 SchemaProps: spec.SchemaProps{
454                                                         Description: "Prefix for the HTTP path alerts are pushed to.",
455                                                         Type:        []string{"string"},
456                                                         Format:      "",
457                                                 },
458                                         },
459                                         "tlsConfig": {
460                                                 SchemaProps: spec.SchemaProps{
461                                                         Description: "TLS Config to use for alertmanager connection.",
462                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
463                                                 },
464                                         },
465                                         "bearerTokenFile": {
466                                                 SchemaProps: spec.SchemaProps{
467                                                         Description: "BearerTokenFile to read from filesystem to use when authenticating to Alertmanager.",
468                                                         Type:        []string{"string"},
469                                                         Format:      "",
470                                                 },
471                                         },
472                                 },
473                                 Required: []string{"namespace", "name", "port"},
474                         },
475                 },
476                 Dependencies: []string{
477                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
478         }
479 }
480
481 func schema_pkg_apis_monitoring_v1_AlertmanagerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
482         return common.OpenAPIDefinition{
483                 Schema: spec.Schema{
484                         SchemaProps: spec.SchemaProps{
485                                 Description: "AlertmanagerList is a list of Alertmanagers.",
486                                 Properties: map[string]spec.Schema{
487                                         "kind": {
488                                                 SchemaProps: spec.SchemaProps{
489                                                         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/api-conventions.md#types-kinds",
490                                                         Type:        []string{"string"},
491                                                         Format:      "",
492                                                 },
493                                         },
494                                         "apiVersion": {
495                                                 SchemaProps: spec.SchemaProps{
496                                                         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/api-conventions.md#resources",
497                                                         Type:        []string{"string"},
498                                                         Format:      "",
499                                                 },
500                                         },
501                                         "metadata": {
502                                                 SchemaProps: spec.SchemaProps{
503                                                         Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
504                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
505                                                 },
506                                         },
507                                         "items": {
508                                                 SchemaProps: spec.SchemaProps{
509                                                         Description: "List of Alertmanagers",
510                                                         Type:        []string{"array"},
511                                                         Items: &spec.SchemaOrArray{
512                                                                 Schema: &spec.Schema{
513                                                                         SchemaProps: spec.SchemaProps{
514                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager"),
515                                                                         },
516                                                                 },
517                                                         },
518                                                 },
519                                         },
520                                 },
521                                 Required: []string{"items"},
522                         },
523                 },
524                 Dependencies: []string{
525                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
526         }
527 }
528
529 func schema_pkg_apis_monitoring_v1_AlertmanagerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
530         return common.OpenAPIDefinition{
531                 Schema: spec.Schema{
532                         SchemaProps: spec.SchemaProps{
533                                 Description: "AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
534                                 Properties: map[string]spec.Schema{
535                                         "podMetadata": {
536                                                 SchemaProps: spec.SchemaProps{
537                                                         Description: "Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata Metadata Labels and Annotations gets propagated to the prometheus pods.",
538                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
539                                                 },
540                                         },
541                                         "image": {
542                                                 SchemaProps: spec.SchemaProps{
543                                                         Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Alertmanager is being configured.",
544                                                         Type:        []string{"string"},
545                                                         Format:      "",
546                                                 },
547                                         },
548                                         "version": {
549                                                 SchemaProps: spec.SchemaProps{
550                                                         Description: "Version the cluster should be on.",
551                                                         Type:        []string{"string"},
552                                                         Format:      "",
553                                                 },
554                                         },
555                                         "tag": {
556                                                 SchemaProps: spec.SchemaProps{
557                                                         Description: "Tag of Alertmanager container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
558                                                         Type:        []string{"string"},
559                                                         Format:      "",
560                                                 },
561                                         },
562                                         "sha": {
563                                                 SchemaProps: spec.SchemaProps{
564                                                         Description: "SHA of Alertmanager container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
565                                                         Type:        []string{"string"},
566                                                         Format:      "",
567                                                 },
568                                         },
569                                         "baseImage": {
570                                                 SchemaProps: spec.SchemaProps{
571                                                         Description: "Base image that is used to deploy pods, without tag.",
572                                                         Type:        []string{"string"},
573                                                         Format:      "",
574                                                 },
575                                         },
576                                         "imagePullSecrets": {
577                                                 SchemaProps: spec.SchemaProps{
578                                                         Description: "An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod",
579                                                         Type:        []string{"array"},
580                                                         Items: &spec.SchemaOrArray{
581                                                                 Schema: &spec.Schema{
582                                                                         SchemaProps: spec.SchemaProps{
583                                                                                 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
584                                                                         },
585                                                                 },
586                                                         },
587                                                 },
588                                         },
589                                         "secrets": {
590                                                 SchemaProps: spec.SchemaProps{
591                                                         Description: "Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. The Secrets are mounted into /etc/alertmanager/secrets/<secret-name>.",
592                                                         Type:        []string{"array"},
593                                                         Items: &spec.SchemaOrArray{
594                                                                 Schema: &spec.Schema{
595                                                                         SchemaProps: spec.SchemaProps{
596                                                                                 Type:   []string{"string"},
597                                                                                 Format: "",
598                                                                         },
599                                                                 },
600                                                         },
601                                                 },
602                                         },
603                                         "configMaps": {
604                                                 SchemaProps: spec.SchemaProps{
605                                                         Description: "ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. The ConfigMaps are mounted into /etc/alertmanager/configmaps/<configmap-name>.",
606                                                         Type:        []string{"array"},
607                                                         Items: &spec.SchemaOrArray{
608                                                                 Schema: &spec.Schema{
609                                                                         SchemaProps: spec.SchemaProps{
610                                                                                 Type:   []string{"string"},
611                                                                                 Format: "",
612                                                                         },
613                                                                 },
614                                                         },
615                                                 },
616                                         },
617                                         "logLevel": {
618                                                 SchemaProps: spec.SchemaProps{
619                                                         Description: "Log level for Alertmanager to be configured with.",
620                                                         Type:        []string{"string"},
621                                                         Format:      "",
622                                                 },
623                                         },
624                                         "replicas": {
625                                                 SchemaProps: spec.SchemaProps{
626                                                         Description: "Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the running cluster equal to the expected size.",
627                                                         Type:        []string{"integer"},
628                                                         Format:      "int32",
629                                                 },
630                                         },
631                                         "retention": {
632                                                 SchemaProps: spec.SchemaProps{
633                                                         Description: "Time duration Alertmanager shall retain data for. Default is '120h', and must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).",
634                                                         Type:        []string{"string"},
635                                                         Format:      "",
636                                                 },
637                                         },
638                                         "storage": {
639                                                 SchemaProps: spec.SchemaProps{
640                                                         Description: "Storage is the definition of how storage will be used by the Alertmanager instances.",
641                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec"),
642                                                 },
643                                         },
644                                         "externalUrl": {
645                                                 SchemaProps: spec.SchemaProps{
646                                                         Description: "The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name.",
647                                                         Type:        []string{"string"},
648                                                         Format:      "",
649                                                 },
650                                         },
651                                         "routePrefix": {
652                                                 SchemaProps: spec.SchemaProps{
653                                                         Description: "The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.",
654                                                         Type:        []string{"string"},
655                                                         Format:      "",
656                                                 },
657                                         },
658                                         "paused": {
659                                                 SchemaProps: spec.SchemaProps{
660                                                         Description: "If set to true all actions on the underlaying managed objects are not goint to be performed, except for delete actions.",
661                                                         Type:        []string{"boolean"},
662                                                         Format:      "",
663                                                 },
664                                         },
665                                         "nodeSelector": {
666                                                 SchemaProps: spec.SchemaProps{
667                                                         Description: "Define which Nodes the Pods are scheduled on.",
668                                                         Type:        []string{"object"},
669                                                         AdditionalProperties: &spec.SchemaOrBool{
670                                                                 Schema: &spec.Schema{
671                                                                         SchemaProps: spec.SchemaProps{
672                                                                                 Type:   []string{"string"},
673                                                                                 Format: "",
674                                                                         },
675                                                                 },
676                                                         },
677                                                 },
678                                         },
679                                         "resources": {
680                                                 SchemaProps: spec.SchemaProps{
681                                                         Description: "Define resources requests and limits for single Pods.",
682                                                         Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
683                                                 },
684                                         },
685                                         "affinity": {
686                                                 SchemaProps: spec.SchemaProps{
687                                                         Description: "If specified, the pod's scheduling constraints.",
688                                                         Ref:         ref("k8s.io/api/core/v1.Affinity"),
689                                                 },
690                                         },
691                                         "tolerations": {
692                                                 SchemaProps: spec.SchemaProps{
693                                                         Description: "If specified, the pod's tolerations.",
694                                                         Type:        []string{"array"},
695                                                         Items: &spec.SchemaOrArray{
696                                                                 Schema: &spec.Schema{
697                                                                         SchemaProps: spec.SchemaProps{
698                                                                                 Ref: ref("k8s.io/api/core/v1.Toleration"),
699                                                                         },
700                                                                 },
701                                                         },
702                                                 },
703                                         },
704                                         "securityContext": {
705                                                 SchemaProps: spec.SchemaProps{
706                                                         Description: "SecurityContext holds pod-level security attributes and common container settings. This defaults to non root user with uid 1000 and gid 2000.",
707                                                         Ref:         ref("k8s.io/api/core/v1.PodSecurityContext"),
708                                                 },
709                                         },
710                                         "serviceAccountName": {
711                                                 SchemaProps: spec.SchemaProps{
712                                                         Description: "ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.",
713                                                         Type:        []string{"string"},
714                                                         Format:      "",
715                                                 },
716                                         },
717                                         "listenLocal": {
718                                                 SchemaProps: spec.SchemaProps{
719                                                         Description: "ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP. Note this is only for the Alertmanager UI, not the gossip communication.",
720                                                         Type:        []string{"boolean"},
721                                                         Format:      "",
722                                                 },
723                                         },
724                                         "containers": {
725                                                 SchemaProps: spec.SchemaProps{
726                                                         Description: "Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an Alertmanager pod.",
727                                                         Type:        []string{"array"},
728                                                         Items: &spec.SchemaOrArray{
729                                                                 Schema: &spec.Schema{
730                                                                         SchemaProps: spec.SchemaProps{
731                                                                                 Ref: ref("k8s.io/api/core/v1.Container"),
732                                                                         },
733                                                                 },
734                                                         },
735                                                 },
736                                         },
737                                         "priorityClassName": {
738                                                 SchemaProps: spec.SchemaProps{
739                                                         Description: "Priority class assigned to the Pods",
740                                                         Type:        []string{"string"},
741                                                         Format:      "",
742                                                 },
743                                         },
744                                         "additionalPeers": {
745                                                 SchemaProps: spec.SchemaProps{
746                                                         Description: "AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.",
747                                                         Type:        []string{"array"},
748                                                         Items: &spec.SchemaOrArray{
749                                                                 Schema: &spec.Schema{
750                                                                         SchemaProps: spec.SchemaProps{
751                                                                                 Type:   []string{"string"},
752                                                                                 Format: "",
753                                                                         },
754                                                                 },
755                                                         },
756                                                 },
757                                         },
758                                 },
759                         },
760                 },
761                 Dependencies: []string{
762                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.Toleration", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
763         }
764 }
765
766 func schema_pkg_apis_monitoring_v1_AlertmanagerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
767         return common.OpenAPIDefinition{
768                 Schema: spec.Schema{
769                         SchemaProps: spec.SchemaProps{
770                                 Description: "AlertmanagerStatus is the most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
771                                 Properties: map[string]spec.Schema{
772                                         "paused": {
773                                                 SchemaProps: spec.SchemaProps{
774                                                         Description: "Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.",
775                                                         Type:        []string{"boolean"},
776                                                         Format:      "",
777                                                 },
778                                         },
779                                         "replicas": {
780                                                 SchemaProps: spec.SchemaProps{
781                                                         Description: "Total number of non-terminated pods targeted by this Alertmanager cluster (their labels match the selector).",
782                                                         Type:        []string{"integer"},
783                                                         Format:      "int32",
784                                                 },
785                                         },
786                                         "updatedReplicas": {
787                                                 SchemaProps: spec.SchemaProps{
788                                                         Description: "Total number of non-terminated pods targeted by this Alertmanager cluster that have the desired version spec.",
789                                                         Type:        []string{"integer"},
790                                                         Format:      "int32",
791                                                 },
792                                         },
793                                         "availableReplicas": {
794                                                 SchemaProps: spec.SchemaProps{
795                                                         Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.",
796                                                         Type:        []string{"integer"},
797                                                         Format:      "int32",
798                                                 },
799                                         },
800                                         "unavailableReplicas": {
801                                                 SchemaProps: spec.SchemaProps{
802                                                         Description: "Total number of unavailable pods targeted by this Alertmanager cluster.",
803                                                         Type:        []string{"integer"},
804                                                         Format:      "int32",
805                                                 },
806                                         },
807                                 },
808                                 Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
809                         },
810                 },
811                 Dependencies: []string{},
812         }
813 }
814
815 func schema_pkg_apis_monitoring_v1_BasicAuth(ref common.ReferenceCallback) common.OpenAPIDefinition {
816         return common.OpenAPIDefinition{
817                 Schema: spec.Schema{
818                         SchemaProps: spec.SchemaProps{
819                                 Description: "BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints",
820                                 Properties: map[string]spec.Schema{
821                                         "username": {
822                                                 SchemaProps: spec.SchemaProps{
823                                                         Description: "The secret that contains the username for authenticate",
824                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
825                                                 },
826                                         },
827                                         "password": {
828                                                 SchemaProps: spec.SchemaProps{
829                                                         Description: "The secret that contains the password for authenticate",
830                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
831                                                 },
832                                         },
833                                 },
834                         },
835                 },
836                 Dependencies: []string{
837                         "k8s.io/api/core/v1.SecretKeySelector"},
838         }
839 }
840
841 func schema_pkg_apis_monitoring_v1_Endpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
842         return common.OpenAPIDefinition{
843                 Schema: spec.Schema{
844                         SchemaProps: spec.SchemaProps{
845                                 Description: "Endpoint defines a scrapeable endpoint serving Prometheus metrics.",
846                                 Properties: map[string]spec.Schema{
847                                         "port": {
848                                                 SchemaProps: spec.SchemaProps{
849                                                         Description: "Name of the service port this endpoint refers to. Mutually exclusive with targetPort.",
850                                                         Type:        []string{"string"},
851                                                         Format:      "",
852                                                 },
853                                         },
854                                         "targetPort": {
855                                                 SchemaProps: spec.SchemaProps{
856                                                         Description: "Name or number of the target port of the endpoint. Mutually exclusive with port.",
857                                                         Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
858                                                 },
859                                         },
860                                         "path": {
861                                                 SchemaProps: spec.SchemaProps{
862                                                         Description: "HTTP path to scrape for metrics.",
863                                                         Type:        []string{"string"},
864                                                         Format:      "",
865                                                 },
866                                         },
867                                         "scheme": {
868                                                 SchemaProps: spec.SchemaProps{
869                                                         Description: "HTTP scheme to use for scraping.",
870                                                         Type:        []string{"string"},
871                                                         Format:      "",
872                                                 },
873                                         },
874                                         "params": {
875                                                 SchemaProps: spec.SchemaProps{
876                                                         Description: "Optional HTTP URL parameters",
877                                                         Type:        []string{"object"},
878                                                         AdditionalProperties: &spec.SchemaOrBool{
879                                                                 Schema: &spec.Schema{
880                                                                         SchemaProps: spec.SchemaProps{
881                                                                                 Type: []string{"array"},
882                                                                                 Items: &spec.SchemaOrArray{
883                                                                                         Schema: &spec.Schema{
884                                                                                                 SchemaProps: spec.SchemaProps{
885                                                                                                         Type:   []string{"string"},
886                                                                                                         Format: "",
887                                                                                                 },
888                                                                                         },
889                                                                                 },
890                                                                         },
891                                                                 },
892                                                         },
893                                                 },
894                                         },
895                                         "interval": {
896                                                 SchemaProps: spec.SchemaProps{
897                                                         Description: "Interval at which metrics should be scraped",
898                                                         Type:        []string{"string"},
899                                                         Format:      "",
900                                                 },
901                                         },
902                                         "scrapeTimeout": {
903                                                 SchemaProps: spec.SchemaProps{
904                                                         Description: "Timeout after which the scrape is ended",
905                                                         Type:        []string{"string"},
906                                                         Format:      "",
907                                                 },
908                                         },
909                                         "tlsConfig": {
910                                                 SchemaProps: spec.SchemaProps{
911                                                         Description: "TLS configuration to use when scraping the endpoint",
912                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
913                                                 },
914                                         },
915                                         "bearerTokenFile": {
916                                                 SchemaProps: spec.SchemaProps{
917                                                         Description: "File to read bearer token for scraping targets.",
918                                                         Type:        []string{"string"},
919                                                         Format:      "",
920                                                 },
921                                         },
922                                         "honorLabels": {
923                                                 SchemaProps: spec.SchemaProps{
924                                                         Description: "HonorLabels chooses the metric's labels on collisions with target labels.",
925                                                         Type:        []string{"boolean"},
926                                                         Format:      "",
927                                                 },
928                                         },
929                                         "basicAuth": {
930                                                 SchemaProps: spec.SchemaProps{
931                                                         Description: "BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints",
932                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
933                                                 },
934                                         },
935                                         "metricRelabelings": {
936                                                 SchemaProps: spec.SchemaProps{
937                                                         Description: "MetricRelabelConfigs to apply to samples before ingestion.",
938                                                         Type:        []string{"array"},
939                                                         Items: &spec.SchemaOrArray{
940                                                                 Schema: &spec.Schema{
941                                                                         SchemaProps: spec.SchemaProps{
942                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
943                                                                         },
944                                                                 },
945                                                         },
946                                                 },
947                                         },
948                                         "relabelings": {
949                                                 SchemaProps: spec.SchemaProps{
950                                                         Description: "RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
951                                                         Type:        []string{"array"},
952                                                         Items: &spec.SchemaOrArray{
953                                                                 Schema: &spec.Schema{
954                                                                         SchemaProps: spec.SchemaProps{
955                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
956                                                                         },
957                                                                 },
958                                                         },
959                                                 },
960                                         },
961                                         "proxyUrl": {
962                                                 SchemaProps: spec.SchemaProps{
963                                                         Description: "ProxyURL eg http://proxyserver:2195 Directs scrapes to proxy through this endpoint.",
964                                                         Type:        []string{"string"},
965                                                         Format:      "",
966                                                 },
967                                         },
968                                 },
969                         },
970                 },
971                 Dependencies: []string{
972                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
973         }
974 }
975
976 func schema_pkg_apis_monitoring_v1_NamespaceSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
977         return common.OpenAPIDefinition{
978                 Schema: spec.Schema{
979                         SchemaProps: spec.SchemaProps{
980                                 Description: "NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces.",
981                                 Properties: map[string]spec.Schema{
982                                         "any": {
983                                                 SchemaProps: spec.SchemaProps{
984                                                         Description: "Boolean describing whether all namespaces are selected in contrast to a list restricting them.",
985                                                         Type:        []string{"boolean"},
986                                                         Format:      "",
987                                                 },
988                                         },
989                                         "matchNames": {
990                                                 SchemaProps: spec.SchemaProps{
991                                                         Description: "List of namespace names.",
992                                                         Type:        []string{"array"},
993                                                         Items: &spec.SchemaOrArray{
994                                                                 Schema: &spec.Schema{
995                                                                         SchemaProps: spec.SchemaProps{
996                                                                                 Type:   []string{"string"},
997                                                                                 Format: "",
998                                                                         },
999                                                                 },
1000                                                         },
1001                                                 },
1002                                         },
1003                                 },
1004                         },
1005                 },
1006                 Dependencies: []string{},
1007         }
1008 }
1009
1010 func schema_pkg_apis_monitoring_v1_Prometheus(ref common.ReferenceCallback) common.OpenAPIDefinition {
1011         return common.OpenAPIDefinition{
1012                 Schema: spec.Schema{
1013                         SchemaProps: spec.SchemaProps{
1014                                 Description: "Prometheus defines a Prometheus deployment.",
1015                                 Properties: map[string]spec.Schema{
1016                                         "kind": {
1017                                                 SchemaProps: spec.SchemaProps{
1018                                                         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/api-conventions.md#types-kinds",
1019                                                         Type:        []string{"string"},
1020                                                         Format:      "",
1021                                                 },
1022                                         },
1023                                         "apiVersion": {
1024                                                 SchemaProps: spec.SchemaProps{
1025                                                         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/api-conventions.md#resources",
1026                                                         Type:        []string{"string"},
1027                                                         Format:      "",
1028                                                 },
1029                                         },
1030                                         "spec": {
1031                                                 SchemaProps: spec.SchemaProps{
1032                                                         Description: "Specification of the desired behavior of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
1033                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec"),
1034                                                 },
1035                                         },
1036                                         "status": {
1037                                                 SchemaProps: spec.SchemaProps{
1038                                                         Description: "Most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
1039                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus"),
1040                                                 },
1041                                         },
1042                                 },
1043                                 Required: []string{"spec"},
1044                         },
1045                 },
1046                 Dependencies: []string{
1047                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus"},
1048         }
1049 }
1050
1051 func schema_pkg_apis_monitoring_v1_PrometheusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
1052         return common.OpenAPIDefinition{
1053                 Schema: spec.Schema{
1054                         SchemaProps: spec.SchemaProps{
1055                                 Description: "PrometheusList is a list of Prometheuses.",
1056                                 Properties: map[string]spec.Schema{
1057                                         "kind": {
1058                                                 SchemaProps: spec.SchemaProps{
1059                                                         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/api-conventions.md#types-kinds",
1060                                                         Type:        []string{"string"},
1061                                                         Format:      "",
1062                                                 },
1063                                         },
1064                                         "apiVersion": {
1065                                                 SchemaProps: spec.SchemaProps{
1066                                                         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/api-conventions.md#resources",
1067                                                         Type:        []string{"string"},
1068                                                         Format:      "",
1069                                                 },
1070                                         },
1071                                         "metadata": {
1072                                                 SchemaProps: spec.SchemaProps{
1073                                                         Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
1074                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1075                                                 },
1076                                         },
1077                                         "items": {
1078                                                 SchemaProps: spec.SchemaProps{
1079                                                         Description: "List of Prometheuses",
1080                                                         Type:        []string{"array"},
1081                                                         Items: &spec.SchemaOrArray{
1082                                                                 Schema: &spec.Schema{
1083                                                                         SchemaProps: spec.SchemaProps{
1084                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus"),
1085                                                                         },
1086                                                                 },
1087                                                         },
1088                                                 },
1089                                         },
1090                                 },
1091                                 Required: []string{"items"},
1092                         },
1093                 },
1094                 Dependencies: []string{
1095                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
1096         }
1097 }
1098
1099 func schema_pkg_apis_monitoring_v1_PrometheusRule(ref common.ReferenceCallback) common.OpenAPIDefinition {
1100         return common.OpenAPIDefinition{
1101                 Schema: spec.Schema{
1102                         SchemaProps: spec.SchemaProps{
1103                                 Description: "PrometheusRule defines alerting rules for a Prometheus instance",
1104                                 Properties: map[string]spec.Schema{
1105                                         "kind": {
1106                                                 SchemaProps: spec.SchemaProps{
1107                                                         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/api-conventions.md#types-kinds",
1108                                                         Type:        []string{"string"},
1109                                                         Format:      "",
1110                                                 },
1111                                         },
1112                                         "apiVersion": {
1113                                                 SchemaProps: spec.SchemaProps{
1114                                                         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/api-conventions.md#resources",
1115                                                         Type:        []string{"string"},
1116                                                         Format:      "",
1117                                                 },
1118                                         },
1119                                         "metadata": {
1120                                                 SchemaProps: spec.SchemaProps{
1121                                                         Description: "Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
1122                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
1123                                                 },
1124                                         },
1125                                         "spec": {
1126                                                 SchemaProps: spec.SchemaProps{
1127                                                         Description: "Specification of desired alerting rule definitions for Prometheus.",
1128                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec"),
1129                                                 },
1130                                         },
1131                                 },
1132                                 Required: []string{"spec"},
1133                         },
1134                 },
1135                 Dependencies: []string{
1136                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
1137         }
1138 }
1139
1140 func schema_pkg_apis_monitoring_v1_PrometheusRuleList(ref common.ReferenceCallback) common.OpenAPIDefinition {
1141         return common.OpenAPIDefinition{
1142                 Schema: spec.Schema{
1143                         SchemaProps: spec.SchemaProps{
1144                                 Description: "PrometheusRuleList is a list of PrometheusRules.",
1145                                 Properties: map[string]spec.Schema{
1146                                         "kind": {
1147                                                 SchemaProps: spec.SchemaProps{
1148                                                         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/api-conventions.md#types-kinds",
1149                                                         Type:        []string{"string"},
1150                                                         Format:      "",
1151                                                 },
1152                                         },
1153                                         "apiVersion": {
1154                                                 SchemaProps: spec.SchemaProps{
1155                                                         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/api-conventions.md#resources",
1156                                                         Type:        []string{"string"},
1157                                                         Format:      "",
1158                                                 },
1159                                         },
1160                                         "metadata": {
1161                                                 SchemaProps: spec.SchemaProps{
1162                                                         Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
1163                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1164                                                 },
1165                                         },
1166                                         "items": {
1167                                                 SchemaProps: spec.SchemaProps{
1168                                                         Description: "List of Rules",
1169                                                         Type:        []string{"array"},
1170                                                         Items: &spec.SchemaOrArray{
1171                                                                 Schema: &spec.Schema{
1172                                                                         SchemaProps: spec.SchemaProps{
1173                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule"),
1174                                                                         },
1175                                                                 },
1176                                                         },
1177                                                 },
1178                                         },
1179                                 },
1180                                 Required: []string{"items"},
1181                         },
1182                 },
1183                 Dependencies: []string{
1184                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
1185         }
1186 }
1187
1188 func schema_pkg_apis_monitoring_v1_PrometheusRuleSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1189         return common.OpenAPIDefinition{
1190                 Schema: spec.Schema{
1191                         SchemaProps: spec.SchemaProps{
1192                                 Description: "PrometheusRuleSpec contains specification parameters for a Rule.",
1193                                 Properties: map[string]spec.Schema{
1194                                         "groups": {
1195                                                 SchemaProps: spec.SchemaProps{
1196                                                         Description: "Content of Prometheus rule file",
1197                                                         Type:        []string{"array"},
1198                                                         Items: &spec.SchemaOrArray{
1199                                                                 Schema: &spec.Schema{
1200                                                                         SchemaProps: spec.SchemaProps{
1201                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup"),
1202                                                                         },
1203                                                                 },
1204                                                         },
1205                                                 },
1206                                         },
1207                                 },
1208                         },
1209                 },
1210                 Dependencies: []string{
1211                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup"},
1212         }
1213 }
1214
1215 func schema_pkg_apis_monitoring_v1_PrometheusSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1216         return common.OpenAPIDefinition{
1217                 Schema: spec.Schema{
1218                         SchemaProps: spec.SchemaProps{
1219                                 Description: "PrometheusSpec is a specification of the desired behavior of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
1220                                 Properties: map[string]spec.Schema{
1221                                         "podMetadata": {
1222                                                 SchemaProps: spec.SchemaProps{
1223                                                         Description: "Standard object’s metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata Metadata Labels and Annotations gets propagated to the prometheus pods.",
1224                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
1225                                                 },
1226                                         },
1227                                         "serviceMonitorSelector": {
1228                                                 SchemaProps: spec.SchemaProps{
1229                                                         Description: "ServiceMonitors to be selected for target discovery.",
1230                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1231                                                 },
1232                                         },
1233                                         "serviceMonitorNamespaceSelector": {
1234                                                 SchemaProps: spec.SchemaProps{
1235                                                         Description: "Namespaces to be selected for ServiceMonitor discovery. If nil, only check own namespace.",
1236                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1237                                                 },
1238                                         },
1239                                         "version": {
1240                                                 SchemaProps: spec.SchemaProps{
1241                                                         Description: "Version of Prometheus to be deployed.",
1242                                                         Type:        []string{"string"},
1243                                                         Format:      "",
1244                                                 },
1245                                         },
1246                                         "tag": {
1247                                                 SchemaProps: spec.SchemaProps{
1248                                                         Description: "Tag of Prometheus container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
1249                                                         Type:        []string{"string"},
1250                                                         Format:      "",
1251                                                 },
1252                                         },
1253                                         "sha": {
1254                                                 SchemaProps: spec.SchemaProps{
1255                                                         Description: "SHA of Prometheus container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
1256                                                         Type:        []string{"string"},
1257                                                         Format:      "",
1258                                                 },
1259                                         },
1260                                         "paused": {
1261                                                 SchemaProps: spec.SchemaProps{
1262                                                         Description: "When a Prometheus deployment is paused, no actions except for deletion will be performed on the underlying objects.",
1263                                                         Type:        []string{"boolean"},
1264                                                         Format:      "",
1265                                                 },
1266                                         },
1267                                         "image": {
1268                                                 SchemaProps: spec.SchemaProps{
1269                                                         Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Prometheus is being configured.",
1270                                                         Type:        []string{"string"},
1271                                                         Format:      "",
1272                                                 },
1273                                         },
1274                                         "baseImage": {
1275                                                 SchemaProps: spec.SchemaProps{
1276                                                         Description: "Base image to use for a Prometheus deployment.",
1277                                                         Type:        []string{"string"},
1278                                                         Format:      "",
1279                                                 },
1280                                         },
1281                                         "imagePullSecrets": {
1282                                                 SchemaProps: spec.SchemaProps{
1283                                                         Description: "An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod",
1284                                                         Type:        []string{"array"},
1285                                                         Items: &spec.SchemaOrArray{
1286                                                                 Schema: &spec.Schema{
1287                                                                         SchemaProps: spec.SchemaProps{
1288                                                                                 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
1289                                                                         },
1290                                                                 },
1291                                                         },
1292                                                 },
1293                                         },
1294                                         "replicas": {
1295                                                 SchemaProps: spec.SchemaProps{
1296                                                         Description: "Number of instances to deploy for a Prometheus deployment.",
1297                                                         Type:        []string{"integer"},
1298                                                         Format:      "int32",
1299                                                 },
1300                                         },
1301                                         "replicaExternalLabelName": {
1302                                                 SchemaProps: spec.SchemaProps{
1303                                                         Description: "Name of Prometheus external label used to denote replica name. Defaults to the value of `prometheus_replica`.",
1304                                                         Type:        []string{"string"},
1305                                                         Format:      "",
1306                                                 },
1307                                         },
1308                                         "retention": {
1309                                                 SchemaProps: spec.SchemaProps{
1310                                                         Description: "Time duration Prometheus shall retain data for. Default is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)` (milliseconds seconds minutes hours days weeks years).",
1311                                                         Type:        []string{"string"},
1312                                                         Format:      "",
1313                                                 },
1314                                         },
1315                                         "logLevel": {
1316                                                 SchemaProps: spec.SchemaProps{
1317                                                         Description: "Log level for Prometheus to be configured with.",
1318                                                         Type:        []string{"string"},
1319                                                         Format:      "",
1320                                                 },
1321                                         },
1322                                         "logFormat": {
1323                                                 SchemaProps: spec.SchemaProps{
1324                                                         Description: "Log format for Prometheus to be configured with.",
1325                                                         Type:        []string{"string"},
1326                                                         Format:      "",
1327                                                 },
1328                                         },
1329                                         "scrapeInterval": {
1330                                                 SchemaProps: spec.SchemaProps{
1331                                                         Description: "Interval between consecutive scrapes.",
1332                                                         Type:        []string{"string"},
1333                                                         Format:      "",
1334                                                 },
1335                                         },
1336                                         "evaluationInterval": {
1337                                                 SchemaProps: spec.SchemaProps{
1338                                                         Description: "Interval between consecutive evaluations.",
1339                                                         Type:        []string{"string"},
1340                                                         Format:      "",
1341                                                 },
1342                                         },
1343                                         "rules": {
1344                                                 SchemaProps: spec.SchemaProps{
1345                                                         Description: "/--rules.*/ command-line arguments.",
1346                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rules"),
1347                                                 },
1348                                         },
1349                                         "externalLabels": {
1350                                                 SchemaProps: spec.SchemaProps{
1351                                                         Description: "The labels to add to any time series or alerts when communicating with external systems (federation, remote storage, Alertmanager).",
1352                                                         Type:        []string{"object"},
1353                                                         AdditionalProperties: &spec.SchemaOrBool{
1354                                                                 Schema: &spec.Schema{
1355                                                                         SchemaProps: spec.SchemaProps{
1356                                                                                 Type:   []string{"string"},
1357                                                                                 Format: "",
1358                                                                         },
1359                                                                 },
1360                                                         },
1361                                                 },
1362                                         },
1363                                         "enableAdminAPI": {
1364                                                 SchemaProps: spec.SchemaProps{
1365                                                         Description: "Enable access to prometheus web admin API. Defaults to the value of `false`. WARNING: Enabling the admin APIs enables mutating endpoints, to delete data, shutdown Prometheus, and more. Enabling this should be done with care and the user is advised to add additional authentication authorization via a proxy to ensure only clients authorized to perform these actions can do so. For more information see https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis",
1366                                                         Type:        []string{"boolean"},
1367                                                         Format:      "",
1368                                                 },
1369                                         },
1370                                         "externalUrl": {
1371                                                 SchemaProps: spec.SchemaProps{
1372                                                         Description: "The external URL the Prometheus instances will be available under. This is necessary to generate correct URLs. This is necessary if Prometheus is not served from root of a DNS name.",
1373                                                         Type:        []string{"string"},
1374                                                         Format:      "",
1375                                                 },
1376                                         },
1377                                         "routePrefix": {
1378                                                 SchemaProps: spec.SchemaProps{
1379                                                         Description: "The route prefix Prometheus registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.",
1380                                                         Type:        []string{"string"},
1381                                                         Format:      "",
1382                                                 },
1383                                         },
1384                                         "query": {
1385                                                 SchemaProps: spec.SchemaProps{
1386                                                         Description: "QuerySpec defines the query command line flags when starting Prometheus.",
1387                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec"),
1388                                                 },
1389                                         },
1390                                         "storage": {
1391                                                 SchemaProps: spec.SchemaProps{
1392                                                         Description: "Storage spec to specify how storage shall be used.",
1393                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec"),
1394                                                 },
1395                                         },
1396                                         "ruleSelector": {
1397                                                 SchemaProps: spec.SchemaProps{
1398                                                         Description: "A selector to select which PrometheusRules to mount for loading alerting rules from. Until (excluding) Prometheus Operator v0.24.0 Prometheus Operator will migrate any legacy rule ConfigMaps to PrometheusRule custom resources selected by RuleSelector. Make sure it does not match any config maps that you do not want to be migrated.",
1399                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1400                                                 },
1401                                         },
1402                                         "ruleNamespaceSelector": {
1403                                                 SchemaProps: spec.SchemaProps{
1404                                                         Description: "Namespaces to be selected for PrometheusRules discovery. If unspecified, only the same namespace as the Prometheus object is in is used.",
1405                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1406                                                 },
1407                                         },
1408                                         "alerting": {
1409                                                 SchemaProps: spec.SchemaProps{
1410                                                         Description: "Define details regarding alerting.",
1411                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec"),
1412                                                 },
1413                                         },
1414                                         "resources": {
1415                                                 SchemaProps: spec.SchemaProps{
1416                                                         Description: "Define resources requests and limits for single Pods.",
1417                                                         Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
1418                                                 },
1419                                         },
1420                                         "nodeSelector": {
1421                                                 SchemaProps: spec.SchemaProps{
1422                                                         Description: "Define which Nodes the Pods are scheduled on.",
1423                                                         Type:        []string{"object"},
1424                                                         AdditionalProperties: &spec.SchemaOrBool{
1425                                                                 Schema: &spec.Schema{
1426                                                                         SchemaProps: spec.SchemaProps{
1427                                                                                 Type:   []string{"string"},
1428                                                                                 Format: "",
1429                                                                         },
1430                                                                 },
1431                                                         },
1432                                                 },
1433                                         },
1434                                         "serviceAccountName": {
1435                                                 SchemaProps: spec.SchemaProps{
1436                                                         Description: "ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.",
1437                                                         Type:        []string{"string"},
1438                                                         Format:      "",
1439                                                 },
1440                                         },
1441                                         "secrets": {
1442                                                 SchemaProps: spec.SchemaProps{
1443                                                         Description: "Secrets is a list of Secrets in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.",
1444                                                         Type:        []string{"array"},
1445                                                         Items: &spec.SchemaOrArray{
1446                                                                 Schema: &spec.Schema{
1447                                                                         SchemaProps: spec.SchemaProps{
1448                                                                                 Type:   []string{"string"},
1449                                                                                 Format: "",
1450                                                                         },
1451                                                                 },
1452                                                         },
1453                                                 },
1454                                         },
1455                                         "configMaps": {
1456                                                 SchemaProps: spec.SchemaProps{
1457                                                         Description: "ConfigMaps is a list of ConfigMaps in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. The ConfigMaps are mounted into /etc/prometheus/configmaps/<configmap-name>.",
1458                                                         Type:        []string{"array"},
1459                                                         Items: &spec.SchemaOrArray{
1460                                                                 Schema: &spec.Schema{
1461                                                                         SchemaProps: spec.SchemaProps{
1462                                                                                 Type:   []string{"string"},
1463                                                                                 Format: "",
1464                                                                         },
1465                                                                 },
1466                                                         },
1467                                                 },
1468                                         },
1469                                         "affinity": {
1470                                                 SchemaProps: spec.SchemaProps{
1471                                                         Description: "If specified, the pod's scheduling constraints.",
1472                                                         Ref:         ref("k8s.io/api/core/v1.Affinity"),
1473                                                 },
1474                                         },
1475                                         "tolerations": {
1476                                                 SchemaProps: spec.SchemaProps{
1477                                                         Description: "If specified, the pod's tolerations.",
1478                                                         Type:        []string{"array"},
1479                                                         Items: &spec.SchemaOrArray{
1480                                                                 Schema: &spec.Schema{
1481                                                                         SchemaProps: spec.SchemaProps{
1482                                                                                 Ref: ref("k8s.io/api/core/v1.Toleration"),
1483                                                                         },
1484                                                                 },
1485                                                         },
1486                                                 },
1487                                         },
1488                                         "remoteWrite": {
1489                                                 SchemaProps: spec.SchemaProps{
1490                                                         Description: "If specified, the remote_write spec. This is an experimental feature, it may change in any upcoming release in a breaking way.",
1491                                                         Type:        []string{"array"},
1492                                                         Items: &spec.SchemaOrArray{
1493                                                                 Schema: &spec.Schema{
1494                                                                         SchemaProps: spec.SchemaProps{
1495                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec"),
1496                                                                         },
1497                                                                 },
1498                                                         },
1499                                                 },
1500                                         },
1501                                         "remoteRead": {
1502                                                 SchemaProps: spec.SchemaProps{
1503                                                         Description: "If specified, the remote_read spec. This is an experimental feature, it may change in any upcoming release in a breaking way.",
1504                                                         Type:        []string{"array"},
1505                                                         Items: &spec.SchemaOrArray{
1506                                                                 Schema: &spec.Schema{
1507                                                                         SchemaProps: spec.SchemaProps{
1508                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec"),
1509                                                                         },
1510                                                                 },
1511                                                         },
1512                                                 },
1513                                         },
1514                                         "securityContext": {
1515                                                 SchemaProps: spec.SchemaProps{
1516                                                         Description: "SecurityContext holds pod-level security attributes and common container settings. This defaults to non root user with uid 1000 and gid 2000 for Prometheus >v2.0 and default PodSecurityContext for other versions.",
1517                                                         Ref:         ref("k8s.io/api/core/v1.PodSecurityContext"),
1518                                                 },
1519                                         },
1520                                         "listenLocal": {
1521                                                 SchemaProps: spec.SchemaProps{
1522                                                         Description: "ListenLocal makes the Prometheus server listen on loopback, so that it does not bind against the Pod IP.",
1523                                                         Type:        []string{"boolean"},
1524                                                         Format:      "",
1525                                                 },
1526                                         },
1527                                         "containers": {
1528                                                 SchemaProps: spec.SchemaProps{
1529                                                         Description: "Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.",
1530                                                         Type:        []string{"array"},
1531                                                         Items: &spec.SchemaOrArray{
1532                                                                 Schema: &spec.Schema{
1533                                                                         SchemaProps: spec.SchemaProps{
1534                                                                                 Ref: ref("k8s.io/api/core/v1.Container"),
1535                                                                         },
1536                                                                 },
1537                                                         },
1538                                                 },
1539                                         },
1540                                         "additionalScrapeConfigs": {
1541                                                 SchemaProps: spec.SchemaProps{
1542                                                         Description: "AdditionalScrapeConfigs allows specifying a key of a Secret containing additional Prometheus scrape configurations. Scrape configurations specified are appended to the configurations generated by the Prometheus Operator. Job configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config. As scrape configs are appended, the user is responsible to make sure it is valid. Note that using this feature may expose the possibility to break upgrades of Prometheus. It is advised to review Prometheus release notes to ensure that no incompatible scrape configs are going to break Prometheus after the upgrade.",
1543                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
1544                                                 },
1545                                         },
1546                                         "additionalAlertRelabelConfigs": {
1547                                                 SchemaProps: spec.SchemaProps{
1548                                                         Description: "AdditionalAlertRelabelConfigs allows specifying a key of a Secret containing additional Prometheus alert relabel configurations. Alert relabel configurations specified are appended to the configurations generated by the Prometheus Operator. Alert relabel configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs. As alert relabel configs are appended, the user is responsible to make sure it is valid. Note that using this feature may expose the possibility to break upgrades of Prometheus. It is advised to review Prometheus release notes to ensure that no incompatible alert relabel configs are going to break Prometheus after the upgrade.",
1549                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
1550                                                 },
1551                                         },
1552                                         "additionalAlertManagerConfigs": {
1553                                                 SchemaProps: spec.SchemaProps{
1554                                                         Description: "AdditionalAlertManagerConfigs allows specifying a key of a Secret containing additional Prometheus AlertManager configurations. AlertManager configurations specified are appended to the configurations generated by the Prometheus Operator. Job configurations specified must have the form as specified in the official Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alertmanager_config. As AlertManager configs are appended, the user is responsible to make sure it is valid. Note that using this feature may expose the possibility to break upgrades of Prometheus. It is advised to review Prometheus release notes to ensure that no incompatible AlertManager configs are going to break Prometheus after the upgrade.",
1555                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
1556                                                 },
1557                                         },
1558                                         "apiserverConfig": {
1559                                                 SchemaProps: spec.SchemaProps{
1560                                                         Description: "APIServerConfig allows specifying a host and auth methods to access apiserver. If left empty, Prometheus is assumed to run inside of the cluster and will discover API servers automatically and use the pod's CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.",
1561                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig"),
1562                                                 },
1563                                         },
1564                                         "thanos": {
1565                                                 SchemaProps: spec.SchemaProps{
1566                                                         Description: "Thanos configuration allows configuring various aspects of a Prometheus server in a Thanos environment.\n\nThis section is experimental, it may change significantly without deprecation notice in any release.\n\nThis is experimental and may change significantly without backward compatibility in any release.",
1567                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosSpec"),
1568                                                 },
1569                                         },
1570                                         "priorityClassName": {
1571                                                 SchemaProps: spec.SchemaProps{
1572                                                         Description: "Priority class assigned to the Pods",
1573                                                         Type:        []string{"string"},
1574                                                         Format:      "",
1575                                                 },
1576                                         },
1577                                 },
1578                         },
1579                 },
1580                 Dependencies: []string{
1581                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.APIServerConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QuerySpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteReadSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RemoteWriteSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rules", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.StorageSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosSpec", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecretKeySelector", "k8s.io/api/core/v1.Toleration", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
1582         }
1583 }
1584
1585 func schema_pkg_apis_monitoring_v1_PrometheusStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
1586         return common.OpenAPIDefinition{
1587                 Schema: spec.Schema{
1588                         SchemaProps: spec.SchemaProps{
1589                                 Description: "PrometheusStatus is the most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status",
1590                                 Properties: map[string]spec.Schema{
1591                                         "paused": {
1592                                                 SchemaProps: spec.SchemaProps{
1593                                                         Description: "Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.",
1594                                                         Type:        []string{"boolean"},
1595                                                         Format:      "",
1596                                                 },
1597                                         },
1598                                         "replicas": {
1599                                                 SchemaProps: spec.SchemaProps{
1600                                                         Description: "Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).",
1601                                                         Type:        []string{"integer"},
1602                                                         Format:      "int32",
1603                                                 },
1604                                         },
1605                                         "updatedReplicas": {
1606                                                 SchemaProps: spec.SchemaProps{
1607                                                         Description: "Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.",
1608                                                         Type:        []string{"integer"},
1609                                                         Format:      "int32",
1610                                                 },
1611                                         },
1612                                         "availableReplicas": {
1613                                                 SchemaProps: spec.SchemaProps{
1614                                                         Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.",
1615                                                         Type:        []string{"integer"},
1616                                                         Format:      "int32",
1617                                                 },
1618                                         },
1619                                         "unavailableReplicas": {
1620                                                 SchemaProps: spec.SchemaProps{
1621                                                         Description: "Total number of unavailable pods targeted by this Prometheus deployment.",
1622                                                         Type:        []string{"integer"},
1623                                                         Format:      "int32",
1624                                                 },
1625                                         },
1626                                 },
1627                                 Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
1628                         },
1629                 },
1630                 Dependencies: []string{},
1631         }
1632 }
1633
1634 func schema_pkg_apis_monitoring_v1_QuerySpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1635         return common.OpenAPIDefinition{
1636                 Schema: spec.Schema{
1637                         SchemaProps: spec.SchemaProps{
1638                                 Description: "QuerySpec defines the query command line flags when starting Prometheus.",
1639                                 Properties: map[string]spec.Schema{
1640                                         "lookbackDelta": {
1641                                                 SchemaProps: spec.SchemaProps{
1642                                                         Description: "The delta difference allowed for retrieving metrics during expression evaluations.",
1643                                                         Type:        []string{"string"},
1644                                                         Format:      "",
1645                                                 },
1646                                         },
1647                                         "maxConcurrency": {
1648                                                 SchemaProps: spec.SchemaProps{
1649                                                         Description: "Number of concurrent queries that can be run at once.",
1650                                                         Type:        []string{"integer"},
1651                                                         Format:      "int32",
1652                                                 },
1653                                         },
1654                                         "timeout": {
1655                                                 SchemaProps: spec.SchemaProps{
1656                                                         Description: "Maximum time a query may take before being aborted.",
1657                                                         Type:        []string{"string"},
1658                                                         Format:      "",
1659                                                 },
1660                                         },
1661                                 },
1662                         },
1663                 },
1664                 Dependencies: []string{},
1665         }
1666 }
1667
1668 func schema_pkg_apis_monitoring_v1_QueueConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
1669         return common.OpenAPIDefinition{
1670                 Schema: spec.Schema{
1671                         SchemaProps: spec.SchemaProps{
1672                                 Description: "QueueConfig allows the tuning of remote_write queue_config parameters. This object is referenced in the RemoteWriteSpec object.",
1673                                 Properties: map[string]spec.Schema{
1674                                         "capacity": {
1675                                                 SchemaProps: spec.SchemaProps{
1676                                                         Description: "Capacity is the number of samples to buffer per shard before we start dropping them.",
1677                                                         Type:        []string{"integer"},
1678                                                         Format:      "int32",
1679                                                 },
1680                                         },
1681                                         "minShards": {
1682                                                 SchemaProps: spec.SchemaProps{
1683                                                         Description: "MinShards is the minimum number of shards, i.e. amount of concurrency.",
1684                                                         Type:        []string{"integer"},
1685                                                         Format:      "int32",
1686                                                 },
1687                                         },
1688                                         "maxShards": {
1689                                                 SchemaProps: spec.SchemaProps{
1690                                                         Description: "MaxShards is the maximum number of shards, i.e. amount of concurrency.",
1691                                                         Type:        []string{"integer"},
1692                                                         Format:      "int32",
1693                                                 },
1694                                         },
1695                                         "maxSamplesPerSend": {
1696                                                 SchemaProps: spec.SchemaProps{
1697                                                         Description: "MaxSamplesPerSend is the maximum number of samples per send.",
1698                                                         Type:        []string{"integer"},
1699                                                         Format:      "int32",
1700                                                 },
1701                                         },
1702                                         "batchSendDeadline": {
1703                                                 SchemaProps: spec.SchemaProps{
1704                                                         Description: "BatchSendDeadline is the maximum time a sample will wait in buffer.",
1705                                                         Type:        []string{"string"},
1706                                                         Format:      "",
1707                                                 },
1708                                         },
1709                                         "maxRetries": {
1710                                                 SchemaProps: spec.SchemaProps{
1711                                                         Description: "MaxRetries is the maximum number of times to retry a batch on recoverable errors.",
1712                                                         Type:        []string{"integer"},
1713                                                         Format:      "int32",
1714                                                 },
1715                                         },
1716                                         "minBackoff": {
1717                                                 SchemaProps: spec.SchemaProps{
1718                                                         Description: "MinBackoff is the initial retry delay. Gets doubled for every retry.",
1719                                                         Type:        []string{"string"},
1720                                                         Format:      "",
1721                                                 },
1722                                         },
1723                                         "maxBackoff": {
1724                                                 SchemaProps: spec.SchemaProps{
1725                                                         Description: "MaxBackoff is the maximum retry delay.",
1726                                                         Type:        []string{"string"},
1727                                                         Format:      "",
1728                                                 },
1729                                         },
1730                                 },
1731                         },
1732                 },
1733                 Dependencies: []string{},
1734         }
1735 }
1736
1737 func schema_pkg_apis_monitoring_v1_RelabelConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
1738         return common.OpenAPIDefinition{
1739                 Schema: spec.Schema{
1740                         SchemaProps: spec.SchemaProps{
1741                                 Description: "RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs",
1742                                 Properties: map[string]spec.Schema{
1743                                         "sourceLabels": {
1744                                                 SchemaProps: spec.SchemaProps{
1745                                                         Description: "The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.",
1746                                                         Type:        []string{"array"},
1747                                                         Items: &spec.SchemaOrArray{
1748                                                                 Schema: &spec.Schema{
1749                                                                         SchemaProps: spec.SchemaProps{
1750                                                                                 Type:   []string{"string"},
1751                                                                                 Format: "",
1752                                                                         },
1753                                                                 },
1754                                                         },
1755                                                 },
1756                                         },
1757                                         "separator": {
1758                                                 SchemaProps: spec.SchemaProps{
1759                                                         Description: "Separator placed between concatenated source label values. default is ';'.",
1760                                                         Type:        []string{"string"},
1761                                                         Format:      "",
1762                                                 },
1763                                         },
1764                                         "targetLabel": {
1765                                                 SchemaProps: spec.SchemaProps{
1766                                                         Description: "Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.",
1767                                                         Type:        []string{"string"},
1768                                                         Format:      "",
1769                                                 },
1770                                         },
1771                                         "regex": {
1772                                                 SchemaProps: spec.SchemaProps{
1773                                                         Description: "Regular expression against which the extracted value is matched. defailt is '(.*)'",
1774                                                         Type:        []string{"string"},
1775                                                         Format:      "",
1776                                                 },
1777                                         },
1778                                         "modulus": {
1779                                                 SchemaProps: spec.SchemaProps{
1780                                                         Description: "Modulus to take of the hash of the source label values.",
1781                                                         Type:        []string{"integer"},
1782                                                         Format:      "int64",
1783                                                 },
1784                                         },
1785                                         "replacement": {
1786                                                 SchemaProps: spec.SchemaProps{
1787                                                         Description: "Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'",
1788                                                         Type:        []string{"string"},
1789                                                         Format:      "",
1790                                                 },
1791                                         },
1792                                         "action": {
1793                                                 SchemaProps: spec.SchemaProps{
1794                                                         Description: "Action to perform based on regex matching. Default is 'replace'",
1795                                                         Type:        []string{"string"},
1796                                                         Format:      "",
1797                                                 },
1798                                         },
1799                                 },
1800                         },
1801                 },
1802                 Dependencies: []string{},
1803         }
1804 }
1805
1806 func schema_pkg_apis_monitoring_v1_RemoteReadSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1807         return common.OpenAPIDefinition{
1808                 Schema: spec.Schema{
1809                         SchemaProps: spec.SchemaProps{
1810                                 Description: "RemoteReadSpec defines the remote_read configuration for prometheus.",
1811                                 Properties: map[string]spec.Schema{
1812                                         "url": {
1813                                                 SchemaProps: spec.SchemaProps{
1814                                                         Description: "The URL of the endpoint to send samples to.",
1815                                                         Type:        []string{"string"},
1816                                                         Format:      "",
1817                                                 },
1818                                         },
1819                                         "requiredMatchers": {
1820                                                 SchemaProps: spec.SchemaProps{
1821                                                         Description: "An optional list of equality matchers which have to be present in a selector to query the remote read endpoint.",
1822                                                         Type:        []string{"object"},
1823                                                         AdditionalProperties: &spec.SchemaOrBool{
1824                                                                 Schema: &spec.Schema{
1825                                                                         SchemaProps: spec.SchemaProps{
1826                                                                                 Type:   []string{"string"},
1827                                                                                 Format: "",
1828                                                                         },
1829                                                                 },
1830                                                         },
1831                                                 },
1832                                         },
1833                                         "remoteTimeout": {
1834                                                 SchemaProps: spec.SchemaProps{
1835                                                         Description: "Timeout for requests to the remote read endpoint.",
1836                                                         Type:        []string{"string"},
1837                                                         Format:      "",
1838                                                 },
1839                                         },
1840                                         "readRecent": {
1841                                                 SchemaProps: spec.SchemaProps{
1842                                                         Description: "Whether reads should be made for queries for time ranges that the local storage should have complete data for.",
1843                                                         Type:        []string{"boolean"},
1844                                                         Format:      "",
1845                                                 },
1846                                         },
1847                                         "basicAuth": {
1848                                                 SchemaProps: spec.SchemaProps{
1849                                                         Description: "BasicAuth for the URL.",
1850                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
1851                                                 },
1852                                         },
1853                                         "bearerToken": {
1854                                                 SchemaProps: spec.SchemaProps{
1855                                                         Description: "bearer token for remote read.",
1856                                                         Type:        []string{"string"},
1857                                                         Format:      "",
1858                                                 },
1859                                         },
1860                                         "bearerTokenFile": {
1861                                                 SchemaProps: spec.SchemaProps{
1862                                                         Description: "File to read bearer token for remote read.",
1863                                                         Type:        []string{"string"},
1864                                                         Format:      "",
1865                                                 },
1866                                         },
1867                                         "tlsConfig": {
1868                                                 SchemaProps: spec.SchemaProps{
1869                                                         Description: "TLS Config to use for remote read.",
1870                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
1871                                                 },
1872                                         },
1873                                         "proxyUrl": {
1874                                                 SchemaProps: spec.SchemaProps{
1875                                                         Description: "Optional ProxyURL",
1876                                                         Type:        []string{"string"},
1877                                                         Format:      "",
1878                                                 },
1879                                         },
1880                                 },
1881                                 Required: []string{"url"},
1882                         },
1883                 },
1884                 Dependencies: []string{
1885                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
1886         }
1887 }
1888
1889 func schema_pkg_apis_monitoring_v1_RemoteWriteSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1890         return common.OpenAPIDefinition{
1891                 Schema: spec.Schema{
1892                         SchemaProps: spec.SchemaProps{
1893                                 Description: "RemoteWriteSpec defines the remote_write configuration for prometheus.",
1894                                 Properties: map[string]spec.Schema{
1895                                         "url": {
1896                                                 SchemaProps: spec.SchemaProps{
1897                                                         Description: "The URL of the endpoint to send samples to.",
1898                                                         Type:        []string{"string"},
1899                                                         Format:      "",
1900                                                 },
1901                                         },
1902                                         "remoteTimeout": {
1903                                                 SchemaProps: spec.SchemaProps{
1904                                                         Description: "Timeout for requests to the remote write endpoint.",
1905                                                         Type:        []string{"string"},
1906                                                         Format:      "",
1907                                                 },
1908                                         },
1909                                         "writeRelabelConfigs": {
1910                                                 SchemaProps: spec.SchemaProps{
1911                                                         Description: "The list of remote write relabel configurations.",
1912                                                         Type:        []string{"array"},
1913                                                         Items: &spec.SchemaOrArray{
1914                                                                 Schema: &spec.Schema{
1915                                                                         SchemaProps: spec.SchemaProps{
1916                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig"),
1917                                                                         },
1918                                                                 },
1919                                                         },
1920                                                 },
1921                                         },
1922                                         "basicAuth": {
1923                                                 SchemaProps: spec.SchemaProps{
1924                                                         Description: "BasicAuth for the URL.",
1925                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
1926                                                 },
1927                                         },
1928                                         "bearerToken": {
1929                                                 SchemaProps: spec.SchemaProps{
1930                                                         Description: "File to read bearer token for remote write.",
1931                                                         Type:        []string{"string"},
1932                                                         Format:      "",
1933                                                 },
1934                                         },
1935                                         "bearerTokenFile": {
1936                                                 SchemaProps: spec.SchemaProps{
1937                                                         Description: "File to read bearer token for remote write.",
1938                                                         Type:        []string{"string"},
1939                                                         Format:      "",
1940                                                 },
1941                                         },
1942                                         "tlsConfig": {
1943                                                 SchemaProps: spec.SchemaProps{
1944                                                         Description: "TLS Config to use for remote write.",
1945                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"),
1946                                                 },
1947                                         },
1948                                         "proxyUrl": {
1949                                                 SchemaProps: spec.SchemaProps{
1950                                                         Description: "Optional ProxyURL",
1951                                                         Type:        []string{"string"},
1952                                                         Format:      "",
1953                                                 },
1954                                         },
1955                                         "queueConfig": {
1956                                                 SchemaProps: spec.SchemaProps{
1957                                                         Description: "QueueConfig allows tuning of the remote write queue parameters.",
1958                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig"),
1959                                                 },
1960                                         },
1961                                 },
1962                                 Required: []string{"url"},
1963                         },
1964                 },
1965                 Dependencies: []string{
1966                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.QueueConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RelabelConfig", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
1967         }
1968 }
1969
1970 func schema_pkg_apis_monitoring_v1_Rule(ref common.ReferenceCallback) common.OpenAPIDefinition {
1971         return common.OpenAPIDefinition{
1972                 Schema: spec.Schema{
1973                         SchemaProps: spec.SchemaProps{
1974                                 Description: "Rule describes an alerting or recording rule.",
1975                                 Properties: map[string]spec.Schema{
1976                                         "record": {
1977                                                 SchemaProps: spec.SchemaProps{
1978                                                         Type:   []string{"string"},
1979                                                         Format: "",
1980                                                 },
1981                                         },
1982                                         "alert": {
1983                                                 SchemaProps: spec.SchemaProps{
1984                                                         Type:   []string{"string"},
1985                                                         Format: "",
1986                                                 },
1987                                         },
1988                                         "expr": {
1989                                                 SchemaProps: spec.SchemaProps{
1990                                                         Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
1991                                                 },
1992                                         },
1993                                         "for": {
1994                                                 SchemaProps: spec.SchemaProps{
1995                                                         Type:   []string{"string"},
1996                                                         Format: "",
1997                                                 },
1998                                         },
1999                                         "labels": {
2000                                                 SchemaProps: spec.SchemaProps{
2001                                                         Type: []string{"object"},
2002                                                         AdditionalProperties: &spec.SchemaOrBool{
2003                                                                 Schema: &spec.Schema{
2004                                                                         SchemaProps: spec.SchemaProps{
2005                                                                                 Type:   []string{"string"},
2006                                                                                 Format: "",
2007                                                                         },
2008                                                                 },
2009                                                         },
2010                                                 },
2011                                         },
2012                                         "annotations": {
2013                                                 SchemaProps: spec.SchemaProps{
2014                                                         Type: []string{"object"},
2015                                                         AdditionalProperties: &spec.SchemaOrBool{
2016                                                                 Schema: &spec.Schema{
2017                                                                         SchemaProps: spec.SchemaProps{
2018                                                                                 Type:   []string{"string"},
2019                                                                                 Format: "",
2020                                                                         },
2021                                                                 },
2022                                                         },
2023                                                 },
2024                                         },
2025                                 },
2026                                 Required: []string{"expr"},
2027                         },
2028                 },
2029                 Dependencies: []string{
2030                         "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
2031         }
2032 }
2033
2034 func schema_pkg_apis_monitoring_v1_RuleGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
2035         return common.OpenAPIDefinition{
2036                 Schema: spec.Schema{
2037                         SchemaProps: spec.SchemaProps{
2038                                 Description: "RuleGroup is a list of sequentially evaluated recording and alerting rules.",
2039                                 Properties: map[string]spec.Schema{
2040                                         "name": {
2041                                                 SchemaProps: spec.SchemaProps{
2042                                                         Type:   []string{"string"},
2043                                                         Format: "",
2044                                                 },
2045                                         },
2046                                         "interval": {
2047                                                 SchemaProps: spec.SchemaProps{
2048                                                         Type:   []string{"string"},
2049                                                         Format: "",
2050                                                 },
2051                                         },
2052                                         "rules": {
2053                                                 SchemaProps: spec.SchemaProps{
2054                                                         Type: []string{"array"},
2055                                                         Items: &spec.SchemaOrArray{
2056                                                                 Schema: &spec.Schema{
2057                                                                         SchemaProps: spec.SchemaProps{
2058                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule"),
2059                                                                         },
2060                                                                 },
2061                                                         },
2062                                                 },
2063                                         },
2064                                 },
2065                                 Required: []string{"name", "rules"},
2066                         },
2067                 },
2068                 Dependencies: []string{
2069                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule"},
2070         }
2071 }
2072
2073 func schema_pkg_apis_monitoring_v1_Rules(ref common.ReferenceCallback) common.OpenAPIDefinition {
2074         return common.OpenAPIDefinition{
2075                 Schema: spec.Schema{
2076                         SchemaProps: spec.SchemaProps{
2077                                 Description: "/--rules.*/ command-line arguments",
2078                                 Properties: map[string]spec.Schema{
2079                                         "alert": {
2080                                                 SchemaProps: spec.SchemaProps{
2081                                                         Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RulesAlert"),
2082                                                 },
2083                                         },
2084                                 },
2085                         },
2086                 },
2087                 Dependencies: []string{
2088                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RulesAlert"},
2089         }
2090 }
2091
2092 func schema_pkg_apis_monitoring_v1_RulesAlert(ref common.ReferenceCallback) common.OpenAPIDefinition {
2093         return common.OpenAPIDefinition{
2094                 Schema: spec.Schema{
2095                         SchemaProps: spec.SchemaProps{
2096                                 Description: "/--rules.alert.*/ command-line arguments",
2097                                 Properties: map[string]spec.Schema{
2098                                         "forOutageTolerance": {
2099                                                 SchemaProps: spec.SchemaProps{
2100                                                         Description: "Max time to tolerate prometheus outage for restoring 'for' state of alert.",
2101                                                         Type:        []string{"string"},
2102                                                         Format:      "",
2103                                                 },
2104                                         },
2105                                         "forGracePeriod": {
2106                                                 SchemaProps: spec.SchemaProps{
2107                                                         Description: "Minimum duration between alert and restored 'for' state. This is maintained only for alerts with configured 'for' time greater than grace period.",
2108                                                         Type:        []string{"string"},
2109                                                         Format:      "",
2110                                                 },
2111                                         },
2112                                         "resendDelay": {
2113                                                 SchemaProps: spec.SchemaProps{
2114                                                         Description: "Minimum amount of time to wait before resending an alert to Alertmanager.",
2115                                                         Type:        []string{"string"},
2116                                                         Format:      "",
2117                                                 },
2118                                         },
2119                                 },
2120                         },
2121                 },
2122                 Dependencies: []string{},
2123         }
2124 }
2125
2126 func schema_pkg_apis_monitoring_v1_ServiceMonitor(ref common.ReferenceCallback) common.OpenAPIDefinition {
2127         return common.OpenAPIDefinition{
2128                 Schema: spec.Schema{
2129                         SchemaProps: spec.SchemaProps{
2130                                 Description: "ServiceMonitor defines monitoring for a set of services.",
2131                                 Properties: map[string]spec.Schema{
2132                                         "kind": {
2133                                                 SchemaProps: spec.SchemaProps{
2134                                                         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/api-conventions.md#types-kinds",
2135                                                         Type:        []string{"string"},
2136                                                         Format:      "",
2137                                                 },
2138                                         },
2139                                         "apiVersion": {
2140                                                 SchemaProps: spec.SchemaProps{
2141                                                         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/api-conventions.md#resources",
2142                                                         Type:        []string{"string"},
2143                                                         Format:      "",
2144                                                 },
2145                                         },
2146                                         "spec": {
2147                                                 SchemaProps: spec.SchemaProps{
2148                                                         Description: "Specification of desired Service selection for target discrovery by Prometheus.",
2149                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec"),
2150                                                 },
2151                                         },
2152                                 },
2153                                 Required: []string{"spec"},
2154                         },
2155                 },
2156                 Dependencies: []string{
2157                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec"},
2158         }
2159 }
2160
2161 func schema_pkg_apis_monitoring_v1_ServiceMonitorList(ref common.ReferenceCallback) common.OpenAPIDefinition {
2162         return common.OpenAPIDefinition{
2163                 Schema: spec.Schema{
2164                         SchemaProps: spec.SchemaProps{
2165                                 Description: "ServiceMonitorList is a list of ServiceMonitors.",
2166                                 Properties: map[string]spec.Schema{
2167                                         "kind": {
2168                                                 SchemaProps: spec.SchemaProps{
2169                                                         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/api-conventions.md#types-kinds",
2170                                                         Type:        []string{"string"},
2171                                                         Format:      "",
2172                                                 },
2173                                         },
2174                                         "apiVersion": {
2175                                                 SchemaProps: spec.SchemaProps{
2176                                                         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/api-conventions.md#resources",
2177                                                         Type:        []string{"string"},
2178                                                         Format:      "",
2179                                                 },
2180                                         },
2181                                         "metadata": {
2182                                                 SchemaProps: spec.SchemaProps{
2183                                                         Description: "Standard list metadata More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata",
2184                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
2185                                                 },
2186                                         },
2187                                         "items": {
2188                                                 SchemaProps: spec.SchemaProps{
2189                                                         Description: "List of ServiceMonitors",
2190                                                         Type:        []string{"array"},
2191                                                         Items: &spec.SchemaOrArray{
2192                                                                 Schema: &spec.Schema{
2193                                                                         SchemaProps: spec.SchemaProps{
2194                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor"),
2195                                                                         },
2196                                                                 },
2197                                                         },
2198                                                 },
2199                                         },
2200                                 },
2201                                 Required: []string{"items"},
2202                         },
2203                 },
2204                 Dependencies: []string{
2205                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
2206         }
2207 }
2208
2209 func schema_pkg_apis_monitoring_v1_ServiceMonitorSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2210         return common.OpenAPIDefinition{
2211                 Schema: spec.Schema{
2212                         SchemaProps: spec.SchemaProps{
2213                                 Description: "ServiceMonitorSpec contains specification parameters for a ServiceMonitor.",
2214                                 Properties: map[string]spec.Schema{
2215                                         "jobLabel": {
2216                                                 SchemaProps: spec.SchemaProps{
2217                                                         Description: "The label to use to retrieve the job name from.",
2218                                                         Type:        []string{"string"},
2219                                                         Format:      "",
2220                                                 },
2221                                         },
2222                                         "targetLabels": {
2223                                                 SchemaProps: spec.SchemaProps{
2224                                                         Description: "TargetLabels transfers labels on the Kubernetes Service onto the target.",
2225                                                         Type:        []string{"array"},
2226                                                         Items: &spec.SchemaOrArray{
2227                                                                 Schema: &spec.Schema{
2228                                                                         SchemaProps: spec.SchemaProps{
2229                                                                                 Type:   []string{"string"},
2230                                                                                 Format: "",
2231                                                                         },
2232                                                                 },
2233                                                         },
2234                                                 },
2235                                         },
2236                                         "podTargetLabels": {
2237                                                 SchemaProps: spec.SchemaProps{
2238                                                         Description: "PodTargetLabels transfers labels on the Kubernetes Pod onto the target.",
2239                                                         Type:        []string{"array"},
2240                                                         Items: &spec.SchemaOrArray{
2241                                                                 Schema: &spec.Schema{
2242                                                                         SchemaProps: spec.SchemaProps{
2243                                                                                 Type:   []string{"string"},
2244                                                                                 Format: "",
2245                                                                         },
2246                                                                 },
2247                                                         },
2248                                                 },
2249                                         },
2250                                         "endpoints": {
2251                                                 SchemaProps: spec.SchemaProps{
2252                                                         Description: "A list of endpoints allowed as part of this ServiceMonitor.",
2253                                                         Type:        []string{"array"},
2254                                                         Items: &spec.SchemaOrArray{
2255                                                                 Schema: &spec.Schema{
2256                                                                         SchemaProps: spec.SchemaProps{
2257                                                                                 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint"),
2258                                                                         },
2259                                                                 },
2260                                                         },
2261                                                 },
2262                                         },
2263                                         "selector": {
2264                                                 SchemaProps: spec.SchemaProps{
2265                                                         Description: "Selector to select Endpoints objects.",
2266                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
2267                                                 },
2268                                         },
2269                                         "namespaceSelector": {
2270                                                 SchemaProps: spec.SchemaProps{
2271                                                         Description: "Selector to select which namespaces the Endpoints objects are discovered from.",
2272                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector"),
2273                                                 },
2274                                         },
2275                                         "sampleLimit": {
2276                                                 SchemaProps: spec.SchemaProps{
2277                                                         Description: "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.",
2278                                                         Type:        []string{"integer"},
2279                                                         Format:      "int64",
2280                                                 },
2281                                         },
2282                                 },
2283                                 Required: []string{"endpoints", "selector"},
2284                         },
2285                 },
2286                 Dependencies: []string{
2287                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Endpoint", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.NamespaceSelector", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
2288         }
2289 }
2290
2291 func schema_pkg_apis_monitoring_v1_StorageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2292         return common.OpenAPIDefinition{
2293                 Schema: spec.Schema{
2294                         SchemaProps: spec.SchemaProps{
2295                                 Description: "StorageSpec defines the configured storage for a group Prometheus servers. If neither `emptyDir` nor `volumeClaimTemplate` is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) will be used.",
2296                                 Properties: map[string]spec.Schema{
2297                                         "emptyDir": {
2298                                                 SchemaProps: spec.SchemaProps{
2299                                                         Description: "EmptyDirVolumeSource to be used by the Prometheus StatefulSets. If specified, used in place of any volumeClaimTemplate. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir",
2300                                                         Ref:         ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
2301                                                 },
2302                                         },
2303                                         "volumeClaimTemplate": {
2304                                                 SchemaProps: spec.SchemaProps{
2305                                                         Description: "A PVC spec to be used by the Prometheus StatefulSets.",
2306                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaim"),
2307                                                 },
2308                                         },
2309                                 },
2310                         },
2311                 },
2312                 Dependencies: []string{
2313                         "k8s.io/api/core/v1.EmptyDirVolumeSource", "k8s.io/api/core/v1.PersistentVolumeClaim"},
2314         }
2315 }
2316
2317 func schema_pkg_apis_monitoring_v1_TLSConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
2318         return common.OpenAPIDefinition{
2319                 Schema: spec.Schema{
2320                         SchemaProps: spec.SchemaProps{
2321                                 Description: "TLSConfig specifies TLS configuration parameters.",
2322                                 Properties: map[string]spec.Schema{
2323                                         "caFile": {
2324                                                 SchemaProps: spec.SchemaProps{
2325                                                         Description: "The CA cert to use for the targets.",
2326                                                         Type:        []string{"string"},
2327                                                         Format:      "",
2328                                                 },
2329                                         },
2330                                         "certFile": {
2331                                                 SchemaProps: spec.SchemaProps{
2332                                                         Description: "The client cert file for the targets.",
2333                                                         Type:        []string{"string"},
2334                                                         Format:      "",
2335                                                 },
2336                                         },
2337                                         "keyFile": {
2338                                                 SchemaProps: spec.SchemaProps{
2339                                                         Description: "The client key file for the targets.",
2340                                                         Type:        []string{"string"},
2341                                                         Format:      "",
2342                                                 },
2343                                         },
2344                                         "serverName": {
2345                                                 SchemaProps: spec.SchemaProps{
2346                                                         Description: "Used to verify the hostname for the targets.",
2347                                                         Type:        []string{"string"},
2348                                                         Format:      "",
2349                                                 },
2350                                         },
2351                                         "insecureSkipVerify": {
2352                                                 SchemaProps: spec.SchemaProps{
2353                                                         Description: "Disable target certificate validation.",
2354                                                         Type:        []string{"boolean"},
2355                                                         Format:      "",
2356                                                 },
2357                                         },
2358                                 },
2359                         },
2360                 },
2361                 Dependencies: []string{},
2362         }
2363 }
2364
2365 func schema_pkg_apis_monitoring_v1_ThanosGCSSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2366         return common.OpenAPIDefinition{
2367                 Schema: spec.Schema{
2368                         SchemaProps: spec.SchemaProps{
2369                                 Description: "Deprecated: ThanosGCSSpec should be configured with an ObjectStorageConfig secret starting with Thanos v0.2.0. ThanosGCSSpec will be removed.",
2370                                 Properties: map[string]spec.Schema{
2371                                         "bucket": {
2372                                                 SchemaProps: spec.SchemaProps{
2373                                                         Description: "Google Cloud Storage bucket name for stored blocks. If empty it won't store any block inside Google Cloud Storage.",
2374                                                         Type:        []string{"string"},
2375                                                         Format:      "",
2376                                                 },
2377                                         },
2378                                         "credentials": {
2379                                                 SchemaProps: spec.SchemaProps{
2380                                                         Description: "Secret to access our Bucket.",
2381                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
2382                                                 },
2383                                         },
2384                                 },
2385                         },
2386                 },
2387                 Dependencies: []string{
2388                         "k8s.io/api/core/v1.SecretKeySelector"},
2389         }
2390 }
2391
2392 func schema_pkg_apis_monitoring_v1_ThanosS3Spec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2393         return common.OpenAPIDefinition{
2394                 Schema: spec.Schema{
2395                         SchemaProps: spec.SchemaProps{
2396                                 Description: "Deprecated: ThanosS3Spec should be configured with an ObjectStorageConfig secret starting with Thanos v0.2.0. ThanosS3Spec will be removed.",
2397                                 Properties: map[string]spec.Schema{
2398                                         "bucket": {
2399                                                 SchemaProps: spec.SchemaProps{
2400                                                         Description: "S3-Compatible API bucket name for stored blocks.",
2401                                                         Type:        []string{"string"},
2402                                                         Format:      "",
2403                                                 },
2404                                         },
2405                                         "endpoint": {
2406                                                 SchemaProps: spec.SchemaProps{
2407                                                         Description: "S3-Compatible API endpoint for stored blocks.",
2408                                                         Type:        []string{"string"},
2409                                                         Format:      "",
2410                                                 },
2411                                         },
2412                                         "accessKey": {
2413                                                 SchemaProps: spec.SchemaProps{
2414                                                         Description: "AccessKey for an S3-Compatible API.",
2415                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
2416                                                 },
2417                                         },
2418                                         "secretKey": {
2419                                                 SchemaProps: spec.SchemaProps{
2420                                                         Description: "SecretKey for an S3-Compatible API.",
2421                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
2422                                                 },
2423                                         },
2424                                         "insecure": {
2425                                                 SchemaProps: spec.SchemaProps{
2426                                                         Description: "Whether to use an insecure connection with an S3-Compatible API.",
2427                                                         Type:        []string{"boolean"},
2428                                                         Format:      "",
2429                                                 },
2430                                         },
2431                                         "signatureVersion2": {
2432                                                 SchemaProps: spec.SchemaProps{
2433                                                         Description: "Whether to use S3 Signature Version 2; otherwise Signature Version 4 will be used.",
2434                                                         Type:        []string{"boolean"},
2435                                                         Format:      "",
2436                                                 },
2437                                         },
2438                                         "encryptsse": {
2439                                                 SchemaProps: spec.SchemaProps{
2440                                                         Description: "Whether to use Server Side Encryption",
2441                                                         Type:        []string{"boolean"},
2442                                                         Format:      "",
2443                                                 },
2444                                         },
2445                                 },
2446                         },
2447                 },
2448                 Dependencies: []string{
2449                         "k8s.io/api/core/v1.SecretKeySelector"},
2450         }
2451 }
2452
2453 func schema_pkg_apis_monitoring_v1_ThanosSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2454         return common.OpenAPIDefinition{
2455                 Schema: spec.Schema{
2456                         SchemaProps: spec.SchemaProps{
2457                                 Description: "ThanosSpec defines parameters for a Prometheus server within a Thanos deployment.",
2458                                 Properties: map[string]spec.Schema{
2459                                         "peers": {
2460                                                 SchemaProps: spec.SchemaProps{
2461                                                         Description: "Peers is a DNS name for Thanos to discover peers through.",
2462                                                         Type:        []string{"string"},
2463                                                         Format:      "",
2464                                                 },
2465                                         },
2466                                         "image": {
2467                                                 SchemaProps: spec.SchemaProps{
2468                                                         Description: "Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Thanos is being configured.",
2469                                                         Type:        []string{"string"},
2470                                                         Format:      "",
2471                                                 },
2472                                         },
2473                                         "version": {
2474                                                 SchemaProps: spec.SchemaProps{
2475                                                         Description: "Version describes the version of Thanos to use.",
2476                                                         Type:        []string{"string"},
2477                                                         Format:      "",
2478                                                 },
2479                                         },
2480                                         "tag": {
2481                                                 SchemaProps: spec.SchemaProps{
2482                                                         Description: "Tag of Thanos sidecar container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set.",
2483                                                         Type:        []string{"string"},
2484                                                         Format:      "",
2485                                                 },
2486                                         },
2487                                         "sha": {
2488                                                 SchemaProps: spec.SchemaProps{
2489                                                         Description: "SHA of Thanos container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set.",
2490                                                         Type:        []string{"string"},
2491                                                         Format:      "",
2492                                                 },
2493                                         },
2494                                         "baseImage": {
2495                                                 SchemaProps: spec.SchemaProps{
2496                                                         Description: "Thanos base image if other than default.",
2497                                                         Type:        []string{"string"},
2498                                                         Format:      "",
2499                                                 },
2500                                         },
2501                                         "resources": {
2502                                                 SchemaProps: spec.SchemaProps{
2503                                                         Description: "Resources defines the resource requirements for the Thanos sidecar. If not provided, no requests/limits will be set",
2504                                                         Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
2505                                                 },
2506                                         },
2507                                         "gcs": {
2508                                                 SchemaProps: spec.SchemaProps{
2509                                                         Description: "Deprecated: GCS should be configured with an ObjectStorageConfig secret starting with Thanos v0.2.0. This field will be removed.",
2510                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec"),
2511                                                 },
2512                                         },
2513                                         "s3": {
2514                                                 SchemaProps: spec.SchemaProps{
2515                                                         Description: "Deprecated: S3 should be configured with an ObjectStorageConfig secret starting with Thanos v0.2.0. This field will be removed.",
2516                                                         Ref:         ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec"),
2517                                                 },
2518                                         },
2519                                         "objectStorageConfig": {
2520                                                 SchemaProps: spec.SchemaProps{
2521                                                         Description: "ObjectStorageConfig configures object storage in Thanos.",
2522                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
2523                                                 },
2524                                         },
2525                                         "grpcAdvertiseAddress": {
2526                                                 SchemaProps: spec.SchemaProps{
2527                                                         Description: "Explicit (external) host:port address to advertise for gRPC StoreAPI in gossip cluster. If empty, 'grpc-address' will be used.",
2528                                                         Type:        []string{"string"},
2529                                                         Format:      "",
2530                                                 },
2531                                         },
2532                                         "clusterAdvertiseAddress": {
2533                                                 SchemaProps: spec.SchemaProps{
2534                                                         Description: "Explicit (external) ip:port address to advertise for gossip in gossip cluster. Used internally for membership only.",
2535                                                         Type:        []string{"string"},
2536                                                         Format:      "",
2537                                                 },
2538                                         },
2539                                 },
2540                         },
2541                 },
2542                 Dependencies: []string{
2543                         "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosGCSSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ThanosS3Spec", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecretKeySelector"},
2544         }
2545 }
2546
2547 func schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2548         return common.OpenAPIDefinition{
2549                 Schema: spec.Schema{
2550                         SchemaProps: spec.SchemaProps{
2551                                 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.",
2552                                 Properties: map[string]spec.Schema{
2553                                         "volumeID": {
2554                                                 SchemaProps: spec.SchemaProps{
2555                                                         Description: "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
2556                                                         Type:        []string{"string"},
2557                                                         Format:      "",
2558                                                 },
2559                                         },
2560                                         "fsType": {
2561                                                 SchemaProps: spec.SchemaProps{
2562                                                         Description: "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",
2563                                                         Type:        []string{"string"},
2564                                                         Format:      "",
2565                                                 },
2566                                         },
2567                                         "partition": {
2568                                                 SchemaProps: spec.SchemaProps{
2569                                                         Description: "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).",
2570                                                         Type:        []string{"integer"},
2571                                                         Format:      "int32",
2572                                                 },
2573                                         },
2574                                         "readOnly": {
2575                                                 SchemaProps: spec.SchemaProps{
2576                                                         Description: "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
2577                                                         Type:        []string{"boolean"},
2578                                                         Format:      "",
2579                                                 },
2580                                         },
2581                                 },
2582                                 Required: []string{"volumeID"},
2583                         },
2584                 },
2585                 Dependencies: []string{},
2586         }
2587 }
2588
2589 func schema_k8sio_api_core_v1_Affinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
2590         return common.OpenAPIDefinition{
2591                 Schema: spec.Schema{
2592                         SchemaProps: spec.SchemaProps{
2593                                 Description: "Affinity is a group of affinity scheduling rules.",
2594                                 Properties: map[string]spec.Schema{
2595                                         "nodeAffinity": {
2596                                                 SchemaProps: spec.SchemaProps{
2597                                                         Description: "Describes node affinity scheduling rules for the pod.",
2598                                                         Ref:         ref("k8s.io/api/core/v1.NodeAffinity"),
2599                                                 },
2600                                         },
2601                                         "podAffinity": {
2602                                                 SchemaProps: spec.SchemaProps{
2603                                                         Description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
2604                                                         Ref:         ref("k8s.io/api/core/v1.PodAffinity"),
2605                                                 },
2606                                         },
2607                                         "podAntiAffinity": {
2608                                                 SchemaProps: spec.SchemaProps{
2609                                                         Description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
2610                                                         Ref:         ref("k8s.io/api/core/v1.PodAntiAffinity"),
2611                                                 },
2612                                         },
2613                                 },
2614                         },
2615                 },
2616                 Dependencies: []string{
2617                         "k8s.io/api/core/v1.NodeAffinity", "k8s.io/api/core/v1.PodAffinity", "k8s.io/api/core/v1.PodAntiAffinity"},
2618         }
2619 }
2620
2621 func schema_k8sio_api_core_v1_AttachedVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
2622         return common.OpenAPIDefinition{
2623                 Schema: spec.Schema{
2624                         SchemaProps: spec.SchemaProps{
2625                                 Description: "AttachedVolume describes a volume attached to a node",
2626                                 Properties: map[string]spec.Schema{
2627                                         "name": {
2628                                                 SchemaProps: spec.SchemaProps{
2629                                                         Description: "Name of the attached volume",
2630                                                         Type:        []string{"string"},
2631                                                         Format:      "",
2632                                                 },
2633                                         },
2634                                         "devicePath": {
2635                                                 SchemaProps: spec.SchemaProps{
2636                                                         Description: "DevicePath represents the device path where the volume should be available",
2637                                                         Type:        []string{"string"},
2638                                                         Format:      "",
2639                                                 },
2640                                         },
2641                                 },
2642                                 Required: []string{"name", "devicePath"},
2643                         },
2644                 },
2645                 Dependencies: []string{},
2646         }
2647 }
2648
2649 func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.OpenAPIDefinition {
2650         return common.OpenAPIDefinition{
2651                 Schema: spec.Schema{
2652                         SchemaProps: spec.SchemaProps{
2653                                 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.",
2654                                 Properties: map[string]spec.Schema{
2655                                         "preferAvoidPods": {
2656                                                 SchemaProps: spec.SchemaProps{
2657                                                         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.",
2658                                                         Type:        []string{"array"},
2659                                                         Items: &spec.SchemaOrArray{
2660                                                                 Schema: &spec.Schema{
2661                                                                         SchemaProps: spec.SchemaProps{
2662                                                                                 Ref: ref("k8s.io/api/core/v1.PreferAvoidPodsEntry"),
2663                                                                         },
2664                                                                 },
2665                                                         },
2666                                                 },
2667                                         },
2668                                 },
2669                         },
2670                 },
2671                 Dependencies: []string{
2672                         "k8s.io/api/core/v1.PreferAvoidPodsEntry"},
2673         }
2674 }
2675
2676 func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2677         return common.OpenAPIDefinition{
2678                 Schema: spec.Schema{
2679                         SchemaProps: spec.SchemaProps{
2680                                 Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
2681                                 Properties: map[string]spec.Schema{
2682                                         "diskName": {
2683                                                 SchemaProps: spec.SchemaProps{
2684                                                         Description: "The Name of the data disk in the blob storage",
2685                                                         Type:        []string{"string"},
2686                                                         Format:      "",
2687                                                 },
2688                                         },
2689                                         "diskURI": {
2690                                                 SchemaProps: spec.SchemaProps{
2691                                                         Description: "The URI the data disk in the blob storage",
2692                                                         Type:        []string{"string"},
2693                                                         Format:      "",
2694                                                 },
2695                                         },
2696                                         "cachingMode": {
2697                                                 SchemaProps: spec.SchemaProps{
2698                                                         Description: "Host Caching mode: None, Read Only, Read Write.",
2699                                                         Type:        []string{"string"},
2700                                                         Format:      "",
2701                                                 },
2702                                         },
2703                                         "fsType": {
2704                                                 SchemaProps: spec.SchemaProps{
2705                                                         Description: "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.",
2706                                                         Type:        []string{"string"},
2707                                                         Format:      "",
2708                                                 },
2709                                         },
2710                                         "readOnly": {
2711                                                 SchemaProps: spec.SchemaProps{
2712                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2713                                                         Type:        []string{"boolean"},
2714                                                         Format:      "",
2715                                                 },
2716                                         },
2717                                         "kind": {
2718                                                 SchemaProps: spec.SchemaProps{
2719                                                         Description: "Expected values 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",
2720                                                         Type:        []string{"string"},
2721                                                         Format:      "",
2722                                                 },
2723                                         },
2724                                 },
2725                                 Required: []string{"diskName", "diskURI"},
2726                         },
2727                 },
2728                 Dependencies: []string{},
2729         }
2730 }
2731
2732 func schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2733         return common.OpenAPIDefinition{
2734                 Schema: spec.Schema{
2735                         SchemaProps: spec.SchemaProps{
2736                                 Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
2737                                 Properties: map[string]spec.Schema{
2738                                         "secretName": {
2739                                                 SchemaProps: spec.SchemaProps{
2740                                                         Description: "the name of secret that contains Azure Storage Account Name and Key",
2741                                                         Type:        []string{"string"},
2742                                                         Format:      "",
2743                                                 },
2744                                         },
2745                                         "shareName": {
2746                                                 SchemaProps: spec.SchemaProps{
2747                                                         Description: "Share Name",
2748                                                         Type:        []string{"string"},
2749                                                         Format:      "",
2750                                                 },
2751                                         },
2752                                         "readOnly": {
2753                                                 SchemaProps: spec.SchemaProps{
2754                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2755                                                         Type:        []string{"boolean"},
2756                                                         Format:      "",
2757                                                 },
2758                                         },
2759                                         "secretNamespace": {
2760                                                 SchemaProps: spec.SchemaProps{
2761                                                         Description: "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
2762                                                         Type:        []string{"string"},
2763                                                         Format:      "",
2764                                                 },
2765                                         },
2766                                 },
2767                                 Required: []string{"secretName", "shareName"},
2768                         },
2769                 },
2770                 Dependencies: []string{},
2771         }
2772 }
2773
2774 func schema_k8sio_api_core_v1_AzureFileVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2775         return common.OpenAPIDefinition{
2776                 Schema: spec.Schema{
2777                         SchemaProps: spec.SchemaProps{
2778                                 Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
2779                                 Properties: map[string]spec.Schema{
2780                                         "secretName": {
2781                                                 SchemaProps: spec.SchemaProps{
2782                                                         Description: "the name of secret that contains Azure Storage Account Name and Key",
2783                                                         Type:        []string{"string"},
2784                                                         Format:      "",
2785                                                 },
2786                                         },
2787                                         "shareName": {
2788                                                 SchemaProps: spec.SchemaProps{
2789                                                         Description: "Share Name",
2790                                                         Type:        []string{"string"},
2791                                                         Format:      "",
2792                                                 },
2793                                         },
2794                                         "readOnly": {
2795                                                 SchemaProps: spec.SchemaProps{
2796                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2797                                                         Type:        []string{"boolean"},
2798                                                         Format:      "",
2799                                                 },
2800                                         },
2801                                 },
2802                                 Required: []string{"secretName", "shareName"},
2803                         },
2804                 },
2805                 Dependencies: []string{},
2806         }
2807 }
2808
2809 func schema_k8sio_api_core_v1_Binding(ref common.ReferenceCallback) common.OpenAPIDefinition {
2810         return common.OpenAPIDefinition{
2811                 Schema: spec.Schema{
2812                         SchemaProps: spec.SchemaProps{
2813                                 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.",
2814                                 Properties: map[string]spec.Schema{
2815                                         "kind": {
2816                                                 SchemaProps: spec.SchemaProps{
2817                                                         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/api-conventions.md#types-kinds",
2818                                                         Type:        []string{"string"},
2819                                                         Format:      "",
2820                                                 },
2821                                         },
2822                                         "apiVersion": {
2823                                                 SchemaProps: spec.SchemaProps{
2824                                                         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/api-conventions.md#resources",
2825                                                         Type:        []string{"string"},
2826                                                         Format:      "",
2827                                                 },
2828                                         },
2829                                         "metadata": {
2830                                                 SchemaProps: spec.SchemaProps{
2831                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
2832                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
2833                                                 },
2834                                         },
2835                                         "target": {
2836                                                 SchemaProps: spec.SchemaProps{
2837                                                         Description: "The target object that you want to bind to the standard object.",
2838                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
2839                                                 },
2840                                         },
2841                                 },
2842                                 Required: []string{"target"},
2843                         },
2844                 },
2845                 Dependencies: []string{
2846                         "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
2847         }
2848 }
2849
2850 func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2851         return common.OpenAPIDefinition{
2852                 Schema: spec.Schema{
2853                         SchemaProps: spec.SchemaProps{
2854                                 Description: "Represents storage that is managed by an external CSI volume driver (Beta feature)",
2855                                 Properties: map[string]spec.Schema{
2856                                         "driver": {
2857                                                 SchemaProps: spec.SchemaProps{
2858                                                         Description: "Driver is the name of the driver to use for this volume. Required.",
2859                                                         Type:        []string{"string"},
2860                                                         Format:      "",
2861                                                 },
2862                                         },
2863                                         "volumeHandle": {
2864                                                 SchemaProps: spec.SchemaProps{
2865                                                         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.",
2866                                                         Type:        []string{"string"},
2867                                                         Format:      "",
2868                                                 },
2869                                         },
2870                                         "readOnly": {
2871                                                 SchemaProps: spec.SchemaProps{
2872                                                         Description: "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
2873                                                         Type:        []string{"boolean"},
2874                                                         Format:      "",
2875                                                 },
2876                                         },
2877                                         "fsType": {
2878                                                 SchemaProps: spec.SchemaProps{
2879                                                         Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
2880                                                         Type:        []string{"string"},
2881                                                         Format:      "",
2882                                                 },
2883                                         },
2884                                         "volumeAttributes": {
2885                                                 SchemaProps: spec.SchemaProps{
2886                                                         Description: "Attributes of the volume to publish.",
2887                                                         Type:        []string{"object"},
2888                                                         AdditionalProperties: &spec.SchemaOrBool{
2889                                                                 Schema: &spec.Schema{
2890                                                                         SchemaProps: spec.SchemaProps{
2891                                                                                 Type:   []string{"string"},
2892                                                                                 Format: "",
2893                                                                         },
2894                                                                 },
2895                                                         },
2896                                                 },
2897                                         },
2898                                         "controllerPublishSecretRef": {
2899                                                 SchemaProps: spec.SchemaProps{
2900                                                         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.",
2901                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
2902                                                 },
2903                                         },
2904                                         "nodeStageSecretRef": {
2905                                                 SchemaProps: spec.SchemaProps{
2906                                                         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.",
2907                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
2908                                                 },
2909                                         },
2910                                         "nodePublishSecretRef": {
2911                                                 SchemaProps: spec.SchemaProps{
2912                                                         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.",
2913                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
2914                                                 },
2915                                         },
2916                                 },
2917                                 Required: []string{"driver", "volumeHandle"},
2918                         },
2919                 },
2920                 Dependencies: []string{
2921                         "k8s.io/api/core/v1.SecretReference"},
2922         }
2923 }
2924
2925 func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common.OpenAPIDefinition {
2926         return common.OpenAPIDefinition{
2927                 Schema: spec.Schema{
2928                         SchemaProps: spec.SchemaProps{
2929                                 Description: "Adds and removes POSIX capabilities from running containers.",
2930                                 Properties: map[string]spec.Schema{
2931                                         "add": {
2932                                                 SchemaProps: spec.SchemaProps{
2933                                                         Description: "Added capabilities",
2934                                                         Type:        []string{"array"},
2935                                                         Items: &spec.SchemaOrArray{
2936                                                                 Schema: &spec.Schema{
2937                                                                         SchemaProps: spec.SchemaProps{
2938                                                                                 Type:   []string{"string"},
2939                                                                                 Format: "",
2940                                                                         },
2941                                                                 },
2942                                                         },
2943                                                 },
2944                                         },
2945                                         "drop": {
2946                                                 SchemaProps: spec.SchemaProps{
2947                                                         Description: "Removed capabilities",
2948                                                         Type:        []string{"array"},
2949                                                         Items: &spec.SchemaOrArray{
2950                                                                 Schema: &spec.Schema{
2951                                                                         SchemaProps: spec.SchemaProps{
2952                                                                                 Type:   []string{"string"},
2953                                                                                 Format: "",
2954                                                                         },
2955                                                                 },
2956                                                         },
2957                                                 },
2958                                         },
2959                                 },
2960                         },
2961                 },
2962                 Dependencies: []string{},
2963         }
2964 }
2965
2966 func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
2967         return common.OpenAPIDefinition{
2968                 Schema: spec.Schema{
2969                         SchemaProps: spec.SchemaProps{
2970                                 Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
2971                                 Properties: map[string]spec.Schema{
2972                                         "monitors": {
2973                                                 SchemaProps: spec.SchemaProps{
2974                                                         Description: "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
2975                                                         Type:        []string{"array"},
2976                                                         Items: &spec.SchemaOrArray{
2977                                                                 Schema: &spec.Schema{
2978                                                                         SchemaProps: spec.SchemaProps{
2979                                                                                 Type:   []string{"string"},
2980                                                                                 Format: "",
2981                                                                         },
2982                                                                 },
2983                                                         },
2984                                                 },
2985                                         },
2986                                         "path": {
2987                                                 SchemaProps: spec.SchemaProps{
2988                                                         Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
2989                                                         Type:        []string{"string"},
2990                                                         Format:      "",
2991                                                 },
2992                                         },
2993                                         "user": {
2994                                                 SchemaProps: spec.SchemaProps{
2995                                                         Description: "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
2996                                                         Type:        []string{"string"},
2997                                                         Format:      "",
2998                                                 },
2999                                         },
3000                                         "secretFile": {
3001                                                 SchemaProps: spec.SchemaProps{
3002                                                         Description: "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3003                                                         Type:        []string{"string"},
3004                                                         Format:      "",
3005                                                 },
3006                                         },
3007                                         "secretRef": {
3008                                                 SchemaProps: spec.SchemaProps{
3009                                                         Description: "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3010                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
3011                                                 },
3012                                         },
3013                                         "readOnly": {
3014                                                 SchemaProps: spec.SchemaProps{
3015                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3016                                                         Type:        []string{"boolean"},
3017                                                         Format:      "",
3018                                                 },
3019                                         },
3020                                 },
3021                                 Required: []string{"monitors"},
3022                         },
3023                 },
3024                 Dependencies: []string{
3025                         "k8s.io/api/core/v1.SecretReference"},
3026         }
3027 }
3028
3029 func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3030         return common.OpenAPIDefinition{
3031                 Schema: spec.Schema{
3032                         SchemaProps: spec.SchemaProps{
3033                                 Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
3034                                 Properties: map[string]spec.Schema{
3035                                         "monitors": {
3036                                                 SchemaProps: spec.SchemaProps{
3037                                                         Description: "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3038                                                         Type:        []string{"array"},
3039                                                         Items: &spec.SchemaOrArray{
3040                                                                 Schema: &spec.Schema{
3041                                                                         SchemaProps: spec.SchemaProps{
3042                                                                                 Type:   []string{"string"},
3043                                                                                 Format: "",
3044                                                                         },
3045                                                                 },
3046                                                         },
3047                                                 },
3048                                         },
3049                                         "path": {
3050                                                 SchemaProps: spec.SchemaProps{
3051                                                         Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
3052                                                         Type:        []string{"string"},
3053                                                         Format:      "",
3054                                                 },
3055                                         },
3056                                         "user": {
3057                                                 SchemaProps: spec.SchemaProps{
3058                                                         Description: "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3059                                                         Type:        []string{"string"},
3060                                                         Format:      "",
3061                                                 },
3062                                         },
3063                                         "secretFile": {
3064                                                 SchemaProps: spec.SchemaProps{
3065                                                         Description: "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3066                                                         Type:        []string{"string"},
3067                                                         Format:      "",
3068                                                 },
3069                                         },
3070                                         "secretRef": {
3071                                                 SchemaProps: spec.SchemaProps{
3072                                                         Description: "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3073                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
3074                                                 },
3075                                         },
3076                                         "readOnly": {
3077                                                 SchemaProps: spec.SchemaProps{
3078                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
3079                                                         Type:        []string{"boolean"},
3080                                                         Format:      "",
3081                                                 },
3082                                         },
3083                                 },
3084                                 Required: []string{"monitors"},
3085                         },
3086                 },
3087                 Dependencies: []string{
3088                         "k8s.io/api/core/v1.LocalObjectReference"},
3089         }
3090 }
3091
3092 func schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3093         return common.OpenAPIDefinition{
3094                 Schema: spec.Schema{
3095                         SchemaProps: spec.SchemaProps{
3096                                 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.",
3097                                 Properties: map[string]spec.Schema{
3098                                         "volumeID": {
3099                                                 SchemaProps: spec.SchemaProps{
3100                                                         Description: "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3101                                                         Type:        []string{"string"},
3102                                                         Format:      "",
3103                                                 },
3104                                         },
3105                                         "fsType": {
3106                                                 SchemaProps: spec.SchemaProps{
3107                                                         Description: "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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3108                                                         Type:        []string{"string"},
3109                                                         Format:      "",
3110                                                 },
3111                                         },
3112                                         "readOnly": {
3113                                                 SchemaProps: spec.SchemaProps{
3114                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3115                                                         Type:        []string{"boolean"},
3116                                                         Format:      "",
3117                                                 },
3118                                         },
3119                                         "secretRef": {
3120                                                 SchemaProps: spec.SchemaProps{
3121                                                         Description: "Optional: points to a secret object containing parameters used to connect to OpenStack.",
3122                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
3123                                                 },
3124                                         },
3125                                 },
3126                                 Required: []string{"volumeID"},
3127                         },
3128                 },
3129                 Dependencies: []string{
3130                         "k8s.io/api/core/v1.SecretReference"},
3131         }
3132 }
3133
3134 func schema_k8sio_api_core_v1_CinderVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3135         return common.OpenAPIDefinition{
3136                 Schema: spec.Schema{
3137                         SchemaProps: spec.SchemaProps{
3138                                 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.",
3139                                 Properties: map[string]spec.Schema{
3140                                         "volumeID": {
3141                                                 SchemaProps: spec.SchemaProps{
3142                                                         Description: "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3143                                                         Type:        []string{"string"},
3144                                                         Format:      "",
3145                                                 },
3146                                         },
3147                                         "fsType": {
3148                                                 SchemaProps: spec.SchemaProps{
3149                                                         Description: "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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3150                                                         Type:        []string{"string"},
3151                                                         Format:      "",
3152                                                 },
3153                                         },
3154                                         "readOnly": {
3155                                                 SchemaProps: spec.SchemaProps{
3156                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
3157                                                         Type:        []string{"boolean"},
3158                                                         Format:      "",
3159                                                 },
3160                                         },
3161                                         "secretRef": {
3162                                                 SchemaProps: spec.SchemaProps{
3163                                                         Description: "Optional: points to a secret object containing parameters used to connect to OpenStack.",
3164                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
3165                                                 },
3166                                         },
3167                                 },
3168                                 Required: []string{"volumeID"},
3169                         },
3170                 },
3171                 Dependencies: []string{
3172                         "k8s.io/api/core/v1.LocalObjectReference"},
3173         }
3174 }
3175
3176 func schema_k8sio_api_core_v1_ClientIPConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
3177         return common.OpenAPIDefinition{
3178                 Schema: spec.Schema{
3179                         SchemaProps: spec.SchemaProps{
3180                                 Description: "ClientIPConfig represents the configurations of Client IP based session affinity.",
3181                                 Properties: map[string]spec.Schema{
3182                                         "timeoutSeconds": {
3183                                                 SchemaProps: spec.SchemaProps{
3184                                                         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).",
3185                                                         Type:        []string{"integer"},
3186                                                         Format:      "int32",
3187                                                 },
3188                                         },
3189                                 },
3190                         },
3191                 },
3192                 Dependencies: []string{},
3193         }
3194 }
3195
3196 func schema_k8sio_api_core_v1_ComponentCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
3197         return common.OpenAPIDefinition{
3198                 Schema: spec.Schema{
3199                         SchemaProps: spec.SchemaProps{
3200                                 Description: "Information about the condition of a component.",
3201                                 Properties: map[string]spec.Schema{
3202                                         "type": {
3203                                                 SchemaProps: spec.SchemaProps{
3204                                                         Description: "Type of condition for a component. Valid value: \"Healthy\"",
3205                                                         Type:        []string{"string"},
3206                                                         Format:      "",
3207                                                 },
3208                                         },
3209                                         "status": {
3210                                                 SchemaProps: spec.SchemaProps{
3211                                                         Description: "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".",
3212                                                         Type:        []string{"string"},
3213                                                         Format:      "",
3214                                                 },
3215                                         },
3216                                         "message": {
3217                                                 SchemaProps: spec.SchemaProps{
3218                                                         Description: "Message about the condition for a component. For example, information about a health check.",
3219                                                         Type:        []string{"string"},
3220                                                         Format:      "",
3221                                                 },
3222                                         },
3223                                         "error": {
3224                                                 SchemaProps: spec.SchemaProps{
3225                                                         Description: "Condition error code for a component. For example, a health check error code.",
3226                                                         Type:        []string{"string"},
3227                                                         Format:      "",
3228                                                 },
3229                                         },
3230                                 },
3231                                 Required: []string{"type", "status"},
3232                         },
3233                 },
3234                 Dependencies: []string{},
3235         }
3236 }
3237
3238 func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
3239         return common.OpenAPIDefinition{
3240                 Schema: spec.Schema{
3241                         SchemaProps: spec.SchemaProps{
3242                                 Description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info.",
3243                                 Properties: map[string]spec.Schema{
3244                                         "kind": {
3245                                                 SchemaProps: spec.SchemaProps{
3246                                                         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/api-conventions.md#types-kinds",
3247                                                         Type:        []string{"string"},
3248                                                         Format:      "",
3249                                                 },
3250                                         },
3251                                         "apiVersion": {
3252                                                 SchemaProps: spec.SchemaProps{
3253                                                         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/api-conventions.md#resources",
3254                                                         Type:        []string{"string"},
3255                                                         Format:      "",
3256                                                 },
3257                                         },
3258                                         "metadata": {
3259                                                 SchemaProps: spec.SchemaProps{
3260                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
3261                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
3262                                                 },
3263                                         },
3264                                         "conditions": {
3265                                                 VendorExtensible: spec.VendorExtensible{
3266                                                         Extensions: spec.Extensions{
3267                                                                 "x-kubernetes-patch-merge-key": "type",
3268                                                                 "x-kubernetes-patch-strategy":  "merge",
3269                                                         },
3270                                                 },
3271                                                 SchemaProps: spec.SchemaProps{
3272                                                         Description: "List of component conditions observed",
3273                                                         Type:        []string{"array"},
3274                                                         Items: &spec.SchemaOrArray{
3275                                                                 Schema: &spec.Schema{
3276                                                                         SchemaProps: spec.SchemaProps{
3277                                                                                 Ref: ref("k8s.io/api/core/v1.ComponentCondition"),
3278                                                                         },
3279                                                                 },
3280                                                         },
3281                                                 },
3282                                         },
3283                                 },
3284                         },
3285                 },
3286                 Dependencies: []string{
3287                         "k8s.io/api/core/v1.ComponentCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
3288         }
3289 }
3290
3291 func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
3292         return common.OpenAPIDefinition{
3293                 Schema: spec.Schema{
3294                         SchemaProps: spec.SchemaProps{
3295                                 Description: "Status of all the conditions for the component as a list of ComponentStatus objects.",
3296                                 Properties: map[string]spec.Schema{
3297                                         "kind": {
3298                                                 SchemaProps: spec.SchemaProps{
3299                                                         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/api-conventions.md#types-kinds",
3300                                                         Type:        []string{"string"},
3301                                                         Format:      "",
3302                                                 },
3303                                         },
3304                                         "apiVersion": {
3305                                                 SchemaProps: spec.SchemaProps{
3306                                                         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/api-conventions.md#resources",
3307                                                         Type:        []string{"string"},
3308                                                         Format:      "",
3309                                                 },
3310                                         },
3311                                         "metadata": {
3312                                                 SchemaProps: spec.SchemaProps{
3313                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
3314                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
3315                                                 },
3316                                         },
3317                                         "items": {
3318                                                 SchemaProps: spec.SchemaProps{
3319                                                         Description: "List of ComponentStatus objects.",
3320                                                         Type:        []string{"array"},
3321                                                         Items: &spec.SchemaOrArray{
3322                                                                 Schema: &spec.Schema{
3323                                                                         SchemaProps: spec.SchemaProps{
3324                                                                                 Ref: ref("k8s.io/api/core/v1.ComponentStatus"),
3325                                                                         },
3326                                                                 },
3327                                                         },
3328                                                 },
3329                                         },
3330                                 },
3331                                 Required: []string{"items"},
3332                         },
3333                 },
3334                 Dependencies: []string{
3335                         "k8s.io/api/core/v1.ComponentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
3336         }
3337 }
3338
3339 func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.OpenAPIDefinition {
3340         return common.OpenAPIDefinition{
3341                 Schema: spec.Schema{
3342                         SchemaProps: spec.SchemaProps{
3343                                 Description: "ConfigMap holds configuration data for pods to consume.",
3344                                 Properties: map[string]spec.Schema{
3345                                         "kind": {
3346                                                 SchemaProps: spec.SchemaProps{
3347                                                         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/api-conventions.md#types-kinds",
3348                                                         Type:        []string{"string"},
3349                                                         Format:      "",
3350                                                 },
3351                                         },
3352                                         "apiVersion": {
3353                                                 SchemaProps: spec.SchemaProps{
3354                                                         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/api-conventions.md#resources",
3355                                                         Type:        []string{"string"},
3356                                                         Format:      "",
3357                                                 },
3358                                         },
3359                                         "metadata": {
3360                                                 SchemaProps: spec.SchemaProps{
3361                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
3362                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
3363                                                 },
3364                                         },
3365                                         "data": {
3366                                                 SchemaProps: spec.SchemaProps{
3367                                                         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.",
3368                                                         Type:        []string{"object"},
3369                                                         AdditionalProperties: &spec.SchemaOrBool{
3370                                                                 Schema: &spec.Schema{
3371                                                                         SchemaProps: spec.SchemaProps{
3372                                                                                 Type:   []string{"string"},
3373                                                                                 Format: "",
3374                                                                         },
3375                                                                 },
3376                                                         },
3377                                                 },
3378                                         },
3379                                         "binaryData": {
3380                                                 SchemaProps: spec.SchemaProps{
3381                                                         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.",
3382                                                         Type:        []string{"object"},
3383                                                         AdditionalProperties: &spec.SchemaOrBool{
3384                                                                 Schema: &spec.Schema{
3385                                                                         SchemaProps: spec.SchemaProps{
3386                                                                                 Type:   []string{"string"},
3387                                                                                 Format: "byte",
3388                                                                         },
3389                                                                 },
3390                                                         },
3391                                                 },
3392                                         },
3393                                 },
3394                         },
3395                 },
3396                 Dependencies: []string{
3397                         "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
3398         }
3399 }
3400
3401 func schema_k8sio_api_core_v1_ConfigMapEnvSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3402         return common.OpenAPIDefinition{
3403                 Schema: spec.Schema{
3404                         SchemaProps: spec.SchemaProps{
3405                                 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.",
3406                                 Properties: map[string]spec.Schema{
3407                                         "name": {
3408                                                 SchemaProps: spec.SchemaProps{
3409                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
3410                                                         Type:        []string{"string"},
3411                                                         Format:      "",
3412                                                 },
3413                                         },
3414                                         "optional": {
3415                                                 SchemaProps: spec.SchemaProps{
3416                                                         Description: "Specify whether the ConfigMap must be defined",
3417                                                         Type:        []string{"boolean"},
3418                                                         Format:      "",
3419                                                 },
3420                                         },
3421                                 },
3422                         },
3423                 },
3424                 Dependencies: []string{},
3425         }
3426 }
3427
3428 func schema_k8sio_api_core_v1_ConfigMapKeySelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
3429         return common.OpenAPIDefinition{
3430                 Schema: spec.Schema{
3431                         SchemaProps: spec.SchemaProps{
3432                                 Description: "Selects a key from a ConfigMap.",
3433                                 Properties: map[string]spec.Schema{
3434                                         "name": {
3435                                                 SchemaProps: spec.SchemaProps{
3436                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
3437                                                         Type:        []string{"string"},
3438                                                         Format:      "",
3439                                                 },
3440                                         },
3441                                         "key": {
3442                                                 SchemaProps: spec.SchemaProps{
3443                                                         Description: "The key to select.",
3444                                                         Type:        []string{"string"},
3445                                                         Format:      "",
3446                                                 },
3447                                         },
3448                                         "optional": {
3449                                                 SchemaProps: spec.SchemaProps{
3450                                                         Description: "Specify whether the ConfigMap or it's key must be defined",
3451                                                         Type:        []string{"boolean"},
3452                                                         Format:      "",
3453                                                 },
3454                                         },
3455                                 },
3456                                 Required: []string{"key"},
3457                         },
3458                 },
3459                 Dependencies: []string{},
3460         }
3461 }
3462
3463 func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common.OpenAPIDefinition {
3464         return common.OpenAPIDefinition{
3465                 Schema: spec.Schema{
3466                         SchemaProps: spec.SchemaProps{
3467                                 Description: "ConfigMapList is a resource containing a list of ConfigMap objects.",
3468                                 Properties: map[string]spec.Schema{
3469                                         "kind": {
3470                                                 SchemaProps: spec.SchemaProps{
3471                                                         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/api-conventions.md#types-kinds",
3472                                                         Type:        []string{"string"},
3473                                                         Format:      "",
3474                                                 },
3475                                         },
3476                                         "apiVersion": {
3477                                                 SchemaProps: spec.SchemaProps{
3478                                                         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/api-conventions.md#resources",
3479                                                         Type:        []string{"string"},
3480                                                         Format:      "",
3481                                                 },
3482                                         },
3483                                         "metadata": {
3484                                                 SchemaProps: spec.SchemaProps{
3485                                                         Description: "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
3486                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
3487                                                 },
3488                                         },
3489                                         "items": {
3490                                                 SchemaProps: spec.SchemaProps{
3491                                                         Description: "Items is the list of ConfigMaps.",
3492                                                         Type:        []string{"array"},
3493                                                         Items: &spec.SchemaOrArray{
3494                                                                 Schema: &spec.Schema{
3495                                                                         SchemaProps: spec.SchemaProps{
3496                                                                                 Ref: ref("k8s.io/api/core/v1.ConfigMap"),
3497                                                                         },
3498                                                                 },
3499                                                         },
3500                                                 },
3501                                         },
3502                                 },
3503                                 Required: []string{"items"},
3504                         },
3505                 },
3506                 Dependencies: []string{
3507                         "k8s.io/api/core/v1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
3508         }
3509 }
3510
3511 func schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3512         return common.OpenAPIDefinition{
3513                 Schema: spec.Schema{
3514                         SchemaProps: spec.SchemaProps{
3515                                 Description: "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.",
3516                                 Properties: map[string]spec.Schema{
3517                                         "namespace": {
3518                                                 SchemaProps: spec.SchemaProps{
3519                                                         Description: "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
3520                                                         Type:        []string{"string"},
3521                                                         Format:      "",
3522                                                 },
3523                                         },
3524                                         "name": {
3525                                                 SchemaProps: spec.SchemaProps{
3526                                                         Description: "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
3527                                                         Type:        []string{"string"},
3528                                                         Format:      "",
3529                                                 },
3530                                         },
3531                                         "uid": {
3532                                                 SchemaProps: spec.SchemaProps{
3533                                                         Description: "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
3534                                                         Type:        []string{"string"},
3535                                                         Format:      "",
3536                                                 },
3537                                         },
3538                                         "resourceVersion": {
3539                                                 SchemaProps: spec.SchemaProps{
3540                                                         Description: "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
3541                                                         Type:        []string{"string"},
3542                                                         Format:      "",
3543                                                 },
3544                                         },
3545                                         "kubeletConfigKey": {
3546                                                 SchemaProps: spec.SchemaProps{
3547                                                         Description: "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
3548                                                         Type:        []string{"string"},
3549                                                         Format:      "",
3550                                                 },
3551                                         },
3552                                 },
3553                                 Required: []string{"namespace", "name", "kubeletConfigKey"},
3554                         },
3555                 },
3556                 Dependencies: []string{},
3557         }
3558 }
3559
3560 func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
3561         return common.OpenAPIDefinition{
3562                 Schema: spec.Schema{
3563                         SchemaProps: spec.SchemaProps{
3564                                 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.",
3565                                 Properties: map[string]spec.Schema{
3566                                         "name": {
3567                                                 SchemaProps: spec.SchemaProps{
3568                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
3569                                                         Type:        []string{"string"},
3570                                                         Format:      "",
3571                                                 },
3572                                         },
3573                                         "items": {
3574                                                 SchemaProps: spec.SchemaProps{
3575                                                         Description: "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 '..'.",
3576                                                         Type:        []string{"array"},
3577                                                         Items: &spec.SchemaOrArray{
3578                                                                 Schema: &spec.Schema{
3579                                                                         SchemaProps: spec.SchemaProps{
3580                                                                                 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
3581                                                                         },
3582                                                                 },
3583                                                         },
3584                                                 },
3585                                         },
3586                                         "optional": {
3587                                                 SchemaProps: spec.SchemaProps{
3588                                                         Description: "Specify whether the ConfigMap or it's keys must be defined",
3589                                                         Type:        []string{"boolean"},
3590                                                         Format:      "",
3591                                                 },
3592                                         },
3593                                 },
3594                         },
3595                 },
3596                 Dependencies: []string{
3597                         "k8s.io/api/core/v1.KeyToPath"},
3598         }
3599 }
3600
3601 func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
3602         return common.OpenAPIDefinition{
3603                 Schema: spec.Schema{
3604                         SchemaProps: spec.SchemaProps{
3605                                 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.",
3606                                 Properties: map[string]spec.Schema{
3607                                         "name": {
3608                                                 SchemaProps: spec.SchemaProps{
3609                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
3610                                                         Type:        []string{"string"},
3611                                                         Format:      "",
3612                                                 },
3613                                         },
3614                                         "items": {
3615                                                 SchemaProps: spec.SchemaProps{
3616                                                         Description: "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 '..'.",
3617                                                         Type:        []string{"array"},
3618                                                         Items: &spec.SchemaOrArray{
3619                                                                 Schema: &spec.Schema{
3620                                                                         SchemaProps: spec.SchemaProps{
3621                                                                                 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
3622                                                                         },
3623                                                                 },
3624                                                         },
3625                                                 },
3626                                         },
3627                                         "defaultMode": {
3628                                                 SchemaProps: spec.SchemaProps{
3629                                                         Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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.",
3630                                                         Type:        []string{"integer"},
3631                                                         Format:      "int32",
3632                                                 },
3633                                         },
3634                                         "optional": {
3635                                                 SchemaProps: spec.SchemaProps{
3636                                                         Description: "Specify whether the ConfigMap or it's keys must be defined",
3637                                                         Type:        []string{"boolean"},
3638                                                         Format:      "",
3639                                                 },
3640                                         },
3641                                 },
3642                         },
3643                 },
3644                 Dependencies: []string{
3645                         "k8s.io/api/core/v1.KeyToPath"},
3646         }
3647 }
3648
3649 func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.OpenAPIDefinition {
3650         return common.OpenAPIDefinition{
3651                 Schema: spec.Schema{
3652                         SchemaProps: spec.SchemaProps{
3653                                 Description: "A single application container that you want to run within a pod.",
3654                                 Properties: map[string]spec.Schema{
3655                                         "name": {
3656                                                 SchemaProps: spec.SchemaProps{
3657                                                         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.",
3658                                                         Type:        []string{"string"},
3659                                                         Format:      "",
3660                                                 },
3661                                         },
3662                                         "image": {
3663                                                 SchemaProps: spec.SchemaProps{
3664                                                         Description: "Docker 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.",
3665                                                         Type:        []string{"string"},
3666                                                         Format:      "",
3667                                                 },
3668                                         },
3669                                         "command": {
3670                                                 SchemaProps: spec.SchemaProps{
3671                                                         Description: "Entrypoint array. Not executed within a shell. The docker 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. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(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",
3672                                                         Type:        []string{"array"},
3673                                                         Items: &spec.SchemaOrArray{
3674                                                                 Schema: &spec.Schema{
3675                                                                         SchemaProps: spec.SchemaProps{
3676                                                                                 Type:   []string{"string"},
3677                                                                                 Format: "",
3678                                                                         },
3679                                                                 },
3680                                                         },
3681                                                 },
3682                                         },
3683                                         "args": {
3684                                                 SchemaProps: spec.SchemaProps{
3685                                                         Description: "Arguments to the entrypoint. The docker 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. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(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",
3686                                                         Type:        []string{"array"},
3687                                                         Items: &spec.SchemaOrArray{
3688                                                                 Schema: &spec.Schema{
3689                                                                         SchemaProps: spec.SchemaProps{
3690                                                                                 Type:   []string{"string"},
3691                                                                                 Format: "",
3692                                                                         },
3693                                                                 },
3694                                                         },
3695                                                 },
3696                                         },
3697                                         "workingDir": {
3698                                                 SchemaProps: spec.SchemaProps{
3699                                                         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.",
3700                                                         Type:        []string{"string"},
3701                                                         Format:      "",
3702                                                 },
3703                                         },
3704                                         "ports": {
3705                                                 VendorExtensible: spec.VendorExtensible{
3706                                                         Extensions: spec.Extensions{
3707                                                                 "x-kubernetes-list-map-keys": []string{
3708                                                                         "containerPort",
3709                                                                         "protocol",
3710                                                                 },
3711                                                                 "x-kubernetes-list-type":       "map",
3712                                                                 "x-kubernetes-patch-merge-key": "containerPort",
3713                                                                 "x-kubernetes-patch-strategy":  "merge",
3714                                                         },
3715                                                 },
3716                                                 SchemaProps: spec.SchemaProps{
3717                                                         Description: "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. 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. Cannot be updated.",
3718                                                         Type:        []string{"array"},
3719                                                         Items: &spec.SchemaOrArray{
3720                                                                 Schema: &spec.Schema{
3721                                                                         SchemaProps: spec.SchemaProps{
3722                                                                                 Ref: ref("k8s.io/api/core/v1.ContainerPort"),
3723                                                                         },
3724                                                                 },
3725                                                         },
3726                                                 },
3727                                         },
3728                                         "envFrom": {
3729                                                 SchemaProps: spec.SchemaProps{
3730                                                         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.",
3731                                                         Type:        []string{"array"},
3732                                                         Items: &spec.SchemaOrArray{
3733                                                                 Schema: &spec.Schema{
3734                                                                         SchemaProps: spec.SchemaProps{
3735                                                                                 Ref: ref("k8s.io/api/core/v1.EnvFromSource"),
3736                                                                         },
3737                                                                 },
3738                                                         },
3739                                                 },
3740                                         },
3741                                         "env": {
3742                                                 VendorExtensible: spec.VendorExtensible{
3743                                                         Extensions: spec.Extensions{
3744                                                                 "x-kubernetes-patch-merge-key": "name",
3745                                                                 "x-kubernetes-patch-strategy":  "merge",
3746                                                         },
3747                                                 },
3748                                                 SchemaProps: spec.SchemaProps{
3749                                                         Description: "List of environment variables to set in the container. Cannot be updated.",
3750                                                         Type:        []string{"array"},
3751                                                         Items: &spec.SchemaOrArray{
3752                                                                 Schema: &spec.Schema{
3753                                                                         SchemaProps: spec.SchemaProps{
3754                                                                                 Ref: ref("k8s.io/api/core/v1.EnvVar"),
3755                                                                         },
3756                                                                 },
3757                                                         },
3758                                                 },
3759                                         },
3760                                         "resources": {
3761                                                 SchemaProps: spec.SchemaProps{
3762                                                         Description: "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
3763                                                         Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
3764                                                 },
3765                                         },
3766                                         "volumeMounts": {
3767                                                 VendorExtensible: spec.VendorExtensible{
3768                                                         Extensions: spec.Extensions{
3769                                                                 "x-kubernetes-patch-merge-key": "mountPath",
3770                                                                 "x-kubernetes-patch-strategy":  "merge",
3771                                                         },
3772                                                 },
3773                                                 SchemaProps: spec.SchemaProps{
3774                                                         Description: "Pod volumes to mount into the container's filesystem. Cannot be updated.",
3775                                                         Type:        []string{"array"},
3776                                                         Items: &spec.SchemaOrArray{
3777                                                                 Schema: &spec.Schema{
3778                                                                         SchemaProps: spec.SchemaProps{
3779                                                                                 Ref: ref("k8s.io/api/core/v1.VolumeMount"),
3780                                                                         },
3781                                                                 },
3782                                                         },
3783                                                 },
3784                                         },
3785                                         "volumeDevices": {
3786                                                 VendorExtensible: spec.VendorExtensible{
3787                                                         Extensions: spec.Extensions{
3788                                                                 "x-kubernetes-patch-merge-key": "devicePath",
3789                                                                 "x-kubernetes-patch-strategy":  "merge",
3790                                                         },
3791                                                 },
3792                                                 SchemaProps: spec.SchemaProps{
3793                                                         Description: "volumeDevices is the list of block devices to be used by the container. This is a beta feature.",
3794                                                         Type:        []string{"array"},
3795                                                         Items: &spec.SchemaOrArray{
3796                                                                 Schema: &spec.Schema{
3797                                                                         SchemaProps: spec.SchemaProps{
3798                                                                                 Ref: ref("k8s.io/api/core/v1.VolumeDevice"),
3799                                                                         },
3800                                                                 },
3801                                                         },
3802                                                 },
3803                                         },
3804                                         "livenessProbe": {
3805                                                 SchemaProps: spec.SchemaProps{
3806                                                         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",
3807                                                         Ref:         ref("k8s.io/api/core/v1.Probe"),
3808                                                 },
3809                                         },
3810                                         "readinessProbe": {
3811                                                 SchemaProps: spec.SchemaProps{
3812                                                         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",
3813                                                         Ref:         ref("k8s.io/api/core/v1.Probe"),
3814                                                 },
3815                                         },
3816                                         "lifecycle": {
3817                                                 SchemaProps: spec.SchemaProps{
3818                                                         Description: "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
3819                                                         Ref:         ref("k8s.io/api/core/v1.Lifecycle"),
3820                                                 },
3821                                         },
3822                                         "terminationMessagePath": {
3823                                                 SchemaProps: spec.SchemaProps{
3824                                                         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.",
3825                                                         Type:        []string{"string"},
3826                                                         Format:      "",
3827                                                 },
3828                                         },
3829                                         "terminationMessagePolicy": {
3830                                                 SchemaProps: spec.SchemaProps{
3831                                                         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.",
3832                                                         Type:        []string{"string"},
3833                                                         Format:      "",
3834                                                 },
3835                                         },
3836                                         "imagePullPolicy": {
3837                                                 SchemaProps: spec.SchemaProps{
3838                                                         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",
3839                                                         Type:        []string{"string"},
3840                                                         Format:      "",
3841                                                 },
3842                                         },
3843                                         "securityContext": {
3844                                                 SchemaProps: spec.SchemaProps{
3845                                                         Description: "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/",
3846                                                         Ref:         ref("k8s.io/api/core/v1.SecurityContext"),
3847                                                 },
3848                                         },
3849                                         "stdin": {
3850                                                 SchemaProps: spec.SchemaProps{
3851                                                         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.",
3852                                                         Type:        []string{"boolean"},
3853                                                         Format:      "",
3854                                                 },
3855                                         },
3856                                         "stdinOnce": {
3857                                                 SchemaProps: spec.SchemaProps{
3858                                                         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",
3859                                                         Type:        []string{"boolean"},
3860                                                         Format:      "",
3861                                                 },
3862                                         },
3863                                         "tty": {
3864                                                 SchemaProps: spec.SchemaProps{
3865                                                         Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
3866                                                         Type:        []string{"boolean"},
3867                                                         Format:      "",
3868                                                 },
3869                                         },
3870                                 },
3871                                 Required: []string{"name"},
3872                         },
3873                 },
3874                 Dependencies: []string{
3875                         "k8s.io/api/core/v1.ContainerPort", "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"},
3876         }
3877 }
3878
3879 func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) common.OpenAPIDefinition {
3880         return common.OpenAPIDefinition{
3881                 Schema: spec.Schema{
3882                         SchemaProps: spec.SchemaProps{
3883                                 Description: "Describe a container image",
3884                                 Properties: map[string]spec.Schema{
3885                                         "names": {
3886                                                 SchemaProps: spec.SchemaProps{
3887                                                         Description: "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
3888                                                         Type:        []string{"array"},
3889                                                         Items: &spec.SchemaOrArray{
3890                                                                 Schema: &spec.Schema{
3891                                                                         SchemaProps: spec.SchemaProps{
3892                                                                                 Type:   []string{"string"},
3893                                                                                 Format: "",
3894                                                                         },
3895                                                                 },
3896                                                         },
3897                                                 },
3898                                         },
3899                                         "sizeBytes": {
3900                                                 SchemaProps: spec.SchemaProps{
3901                                                         Description: "The size of the image in bytes.",
3902                                                         Type:        []string{"integer"},
3903                                                         Format:      "int64",
3904                                                 },
3905                                         },
3906                                 },
3907                                 Required: []string{"names"},
3908                         },
3909                 },
3910                 Dependencies: []string{},
3911         }
3912 }
3913
3914 func schema_k8sio_api_core_v1_ContainerPort(ref common.ReferenceCallback) common.OpenAPIDefinition {
3915         return common.OpenAPIDefinition{
3916                 Schema: spec.Schema{
3917                         SchemaProps: spec.SchemaProps{
3918                                 Description: "ContainerPort represents a network port in a single container.",
3919                                 Properties: map[string]spec.Schema{
3920                                         "name": {
3921                                                 SchemaProps: spec.SchemaProps{
3922                                                         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.",
3923                                                         Type:        []string{"string"},
3924                                                         Format:      "",
3925                                                 },
3926                                         },
3927                                         "hostPort": {
3928                                                 SchemaProps: spec.SchemaProps{
3929                                                         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.",
3930                                                         Type:        []string{"integer"},
3931                                                         Format:      "int32",
3932                                                 },
3933                                         },
3934                                         "containerPort": {
3935                                                 SchemaProps: spec.SchemaProps{
3936                                                         Description: "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.",
3937                                                         Type:        []string{"integer"},
3938                                                         Format:      "int32",
3939                                                 },
3940                                         },
3941                                         "protocol": {
3942                                                 SchemaProps: spec.SchemaProps{
3943                                                         Description: "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".",
3944                                                         Type:        []string{"string"},
3945                                                         Format:      "",
3946                                                 },
3947                                         },
3948                                         "hostIP": {
3949                                                 SchemaProps: spec.SchemaProps{
3950                                                         Description: "What host IP to bind the external port to.",
3951                                                         Type:        []string{"string"},
3952                                                         Format:      "",
3953                                                 },
3954                                         },
3955                                 },
3956                                 Required: []string{"containerPort"},
3957                         },
3958                 },
3959                 Dependencies: []string{},
3960         }
3961 }
3962
3963 func schema_k8sio_api_core_v1_ContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition {
3964         return common.OpenAPIDefinition{
3965                 Schema: spec.Schema{
3966                         SchemaProps: spec.SchemaProps{
3967                                 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.",
3968                                 Properties: map[string]spec.Schema{
3969                                         "waiting": {
3970                                                 SchemaProps: spec.SchemaProps{
3971                                                         Description: "Details about a waiting container",
3972                                                         Ref:         ref("k8s.io/api/core/v1.ContainerStateWaiting"),
3973                                                 },
3974                                         },
3975                                         "running": {
3976                                                 SchemaProps: spec.SchemaProps{
3977                                                         Description: "Details about a running container",
3978                                                         Ref:         ref("k8s.io/api/core/v1.ContainerStateRunning"),
3979                                                 },
3980                                         },
3981                                         "terminated": {
3982                                                 SchemaProps: spec.SchemaProps{
3983                                                         Description: "Details about a terminated container",
3984                                                         Ref:         ref("k8s.io/api/core/v1.ContainerStateTerminated"),
3985                                                 },
3986                                         },
3987                                 },
3988                         },
3989                 },
3990                 Dependencies: []string{
3991                         "k8s.io/api/core/v1.ContainerStateRunning", "k8s.io/api/core/v1.ContainerStateTerminated", "k8s.io/api/core/v1.ContainerStateWaiting"},
3992         }
3993 }
3994
3995 func schema_k8sio_api_core_v1_ContainerStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition {
3996         return common.OpenAPIDefinition{
3997                 Schema: spec.Schema{
3998                         SchemaProps: spec.SchemaProps{
3999                                 Description: "ContainerStateRunning is a running state of a container.",
4000                                 Properties: map[string]spec.Schema{
4001                                         "startedAt": {
4002                                                 SchemaProps: spec.SchemaProps{
4003                                                         Description: "Time at which the container was last (re-)started",
4004                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4005                                                 },
4006                                         },
4007                                 },
4008                         },
4009                 },
4010                 Dependencies: []string{
4011                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
4012         }
4013 }
4014
4015 func schema_k8sio_api_core_v1_ContainerStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition {
4016         return common.OpenAPIDefinition{
4017                 Schema: spec.Schema{
4018                         SchemaProps: spec.SchemaProps{
4019                                 Description: "ContainerStateTerminated is a terminated state of a container.",
4020                                 Properties: map[string]spec.Schema{
4021                                         "exitCode": {
4022                                                 SchemaProps: spec.SchemaProps{
4023                                                         Description: "Exit status from the last termination of the container",
4024                                                         Type:        []string{"integer"},
4025                                                         Format:      "int32",
4026                                                 },
4027                                         },
4028                                         "signal": {
4029                                                 SchemaProps: spec.SchemaProps{
4030                                                         Description: "Signal from the last termination of the container",
4031                                                         Type:        []string{"integer"},
4032                                                         Format:      "int32",
4033                                                 },
4034                                         },
4035                                         "reason": {
4036                                                 SchemaProps: spec.SchemaProps{
4037                                                         Description: "(brief) reason from the last termination of the container",
4038                                                         Type:        []string{"string"},
4039                                                         Format:      "",
4040                                                 },
4041                                         },
4042                                         "message": {
4043                                                 SchemaProps: spec.SchemaProps{
4044                                                         Description: "Message regarding the last termination of the container",
4045                                                         Type:        []string{"string"},
4046                                                         Format:      "",
4047                                                 },
4048                                         },
4049                                         "startedAt": {
4050                                                 SchemaProps: spec.SchemaProps{
4051                                                         Description: "Time at which previous execution of the container started",
4052                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4053                                                 },
4054                                         },
4055                                         "finishedAt": {
4056                                                 SchemaProps: spec.SchemaProps{
4057                                                         Description: "Time at which the container last terminated",
4058                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4059                                                 },
4060                                         },
4061                                         "containerID": {
4062                                                 SchemaProps: spec.SchemaProps{
4063                                                         Description: "Container's ID in the format 'docker://<container_id>'",
4064                                                         Type:        []string{"string"},
4065                                                         Format:      "",
4066                                                 },
4067                                         },
4068                                 },
4069                                 Required: []string{"exitCode"},
4070                         },
4071                 },
4072                 Dependencies: []string{
4073                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
4074         }
4075 }
4076
4077 func schema_k8sio_api_core_v1_ContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition {
4078         return common.OpenAPIDefinition{
4079                 Schema: spec.Schema{
4080                         SchemaProps: spec.SchemaProps{
4081                                 Description: "ContainerStateWaiting is a waiting state of a container.",
4082                                 Properties: map[string]spec.Schema{
4083                                         "reason": {
4084                                                 SchemaProps: spec.SchemaProps{
4085                                                         Description: "(brief) reason the container is not yet running.",
4086                                                         Type:        []string{"string"},
4087                                                         Format:      "",
4088                                                 },
4089                                         },
4090                                         "message": {
4091                                                 SchemaProps: spec.SchemaProps{
4092                                                         Description: "Message regarding why the container is not yet running.",
4093                                                         Type:        []string{"string"},
4094                                                         Format:      "",
4095                                                 },
4096                                         },
4097                                 },
4098                         },
4099                 },
4100                 Dependencies: []string{},
4101         }
4102 }
4103
4104 func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
4105         return common.OpenAPIDefinition{
4106                 Schema: spec.Schema{
4107                         SchemaProps: spec.SchemaProps{
4108                                 Description: "ContainerStatus contains details for the current status of this container.",
4109                                 Properties: map[string]spec.Schema{
4110                                         "name": {
4111                                                 SchemaProps: spec.SchemaProps{
4112                                                         Description: "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.",
4113                                                         Type:        []string{"string"},
4114                                                         Format:      "",
4115                                                 },
4116                                         },
4117                                         "state": {
4118                                                 SchemaProps: spec.SchemaProps{
4119                                                         Description: "Details about the container's current condition.",
4120                                                         Ref:         ref("k8s.io/api/core/v1.ContainerState"),
4121                                                 },
4122                                         },
4123                                         "lastState": {
4124                                                 SchemaProps: spec.SchemaProps{
4125                                                         Description: "Details about the container's last termination condition.",
4126                                                         Ref:         ref("k8s.io/api/core/v1.ContainerState"),
4127                                                 },
4128                                         },
4129                                         "ready": {
4130                                                 SchemaProps: spec.SchemaProps{
4131                                                         Description: "Specifies whether the container has passed its readiness probe.",
4132                                                         Type:        []string{"boolean"},
4133                                                         Format:      "",
4134                                                 },
4135                                         },
4136                                         "restartCount": {
4137                                                 SchemaProps: spec.SchemaProps{
4138                                                         Description: "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.",
4139                                                         Type:        []string{"integer"},
4140                                                         Format:      "int32",
4141                                                 },
4142                                         },
4143                                         "image": {
4144                                                 SchemaProps: spec.SchemaProps{
4145                                                         Description: "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images",
4146                                                         Type:        []string{"string"},
4147                                                         Format:      "",
4148                                                 },
4149                                         },
4150                                         "imageID": {
4151                                                 SchemaProps: spec.SchemaProps{
4152                                                         Description: "ImageID of the container's image.",
4153                                                         Type:        []string{"string"},
4154                                                         Format:      "",
4155                                                 },
4156                                         },
4157                                         "containerID": {
4158                                                 SchemaProps: spec.SchemaProps{
4159                                                         Description: "Container's ID in the format 'docker://<container_id>'.",
4160                                                         Type:        []string{"string"},
4161                                                         Format:      "",
4162                                                 },
4163                                         },
4164                                 },
4165                                 Required: []string{"name", "ready", "restartCount", "image", "imageID"},
4166                         },
4167                 },
4168                 Dependencies: []string{
4169                         "k8s.io/api/core/v1.ContainerState"},
4170         }
4171 }
4172
4173 func schema_k8sio_api_core_v1_DaemonEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
4174         return common.OpenAPIDefinition{
4175                 Schema: spec.Schema{
4176                         SchemaProps: spec.SchemaProps{
4177                                 Description: "DaemonEndpoint contains information about a single Daemon endpoint.",
4178                                 Properties: map[string]spec.Schema{
4179                                         "Port": {
4180                                                 SchemaProps: spec.SchemaProps{
4181                                                         Description: "Port number of the given endpoint.",
4182                                                         Type:        []string{"integer"},
4183                                                         Format:      "int32",
4184                                                 },
4185                                         },
4186                                 },
4187                                 Required: []string{"Port"},
4188                         },
4189                 },
4190                 Dependencies: []string{},
4191         }
4192 }
4193
4194 func schema_k8sio_api_core_v1_DownwardAPIProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
4195         return common.OpenAPIDefinition{
4196                 Schema: spec.Schema{
4197                         SchemaProps: spec.SchemaProps{
4198                                 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.",
4199                                 Properties: map[string]spec.Schema{
4200                                         "items": {
4201                                                 SchemaProps: spec.SchemaProps{
4202                                                         Description: "Items is a list of DownwardAPIVolume file",
4203                                                         Type:        []string{"array"},
4204                                                         Items: &spec.SchemaOrArray{
4205                                                                 Schema: &spec.Schema{
4206                                                                         SchemaProps: spec.SchemaProps{
4207                                                                                 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeFile"),
4208                                                                         },
4209                                                                 },
4210                                                         },
4211                                                 },
4212                                         },
4213                                 },
4214                         },
4215                 },
4216                 Dependencies: []string{
4217                         "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
4218         }
4219 }
4220
4221 func schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref common.ReferenceCallback) common.OpenAPIDefinition {
4222         return common.OpenAPIDefinition{
4223                 Schema: spec.Schema{
4224                         SchemaProps: spec.SchemaProps{
4225                                 Description: "DownwardAPIVolumeFile represents information to create the file containing the pod field",
4226                                 Properties: map[string]spec.Schema{
4227                                         "path": {
4228                                                 SchemaProps: spec.SchemaProps{
4229                                                         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 '..'",
4230                                                         Type:        []string{"string"},
4231                                                         Format:      "",
4232                                                 },
4233                                         },
4234                                         "fieldRef": {
4235                                                 SchemaProps: spec.SchemaProps{
4236                                                         Description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.",
4237                                                         Ref:         ref("k8s.io/api/core/v1.ObjectFieldSelector"),
4238                                                 },
4239                                         },
4240                                         "resourceFieldRef": {
4241                                                 SchemaProps: spec.SchemaProps{
4242                                                         Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.",
4243                                                         Ref:         ref("k8s.io/api/core/v1.ResourceFieldSelector"),
4244                                                 },
4245                                         },
4246                                         "mode": {
4247                                                 SchemaProps: spec.SchemaProps{
4248                                                         Description: "Optional: mode bits to use on this file, must be a value between 0 and 0777. 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.",
4249                                                         Type:        []string{"integer"},
4250                                                         Format:      "int32",
4251                                                 },
4252                                         },
4253                                 },
4254                                 Required: []string{"path"},
4255                         },
4256                 },
4257                 Dependencies: []string{
4258                         "k8s.io/api/core/v1.ObjectFieldSelector", "k8s.io/api/core/v1.ResourceFieldSelector"},
4259         }
4260 }
4261
4262 func schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4263         return common.OpenAPIDefinition{
4264                 Schema: spec.Schema{
4265                         SchemaProps: spec.SchemaProps{
4266                                 Description: "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
4267                                 Properties: map[string]spec.Schema{
4268                                         "items": {
4269                                                 SchemaProps: spec.SchemaProps{
4270                                                         Description: "Items is a list of downward API volume file",
4271                                                         Type:        []string{"array"},
4272                                                         Items: &spec.SchemaOrArray{
4273                                                                 Schema: &spec.Schema{
4274                                                                         SchemaProps: spec.SchemaProps{
4275                                                                                 Ref: ref("k8s.io/api/core/v1.DownwardAPIVolumeFile"),
4276                                                                         },
4277                                                                 },
4278                                                         },
4279                                                 },
4280                                         },
4281                                         "defaultMode": {
4282                                                 SchemaProps: spec.SchemaProps{
4283                                                         Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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.",
4284                                                         Type:        []string{"integer"},
4285                                                         Format:      "int32",
4286                                                 },
4287                                         },
4288                                 },
4289                         },
4290                 },
4291                 Dependencies: []string{
4292                         "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
4293         }
4294 }
4295
4296 func schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4297         return common.OpenAPIDefinition{
4298                 Schema: spec.Schema{
4299                         SchemaProps: spec.SchemaProps{
4300                                 Description: "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
4301                                 Properties: map[string]spec.Schema{
4302                                         "medium": {
4303                                                 SchemaProps: spec.SchemaProps{
4304                                                         Description: "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",
4305                                                         Type:        []string{"string"},
4306                                                         Format:      "",
4307                                                 },
4308                                         },
4309                                         "sizeLimit": {
4310                                                 SchemaProps: spec.SchemaProps{
4311                                                         Description: "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: http://kubernetes.io/docs/user-guide/volumes#emptydir",
4312                                                         Ref:         ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
4313                                                 },
4314                                         },
4315                                 },
4316                         },
4317                 },
4318                 Dependencies: []string{
4319                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
4320         }
4321 }
4322
4323 func schema_k8sio_api_core_v1_EndpointAddress(ref common.ReferenceCallback) common.OpenAPIDefinition {
4324         return common.OpenAPIDefinition{
4325                 Schema: spec.Schema{
4326                         SchemaProps: spec.SchemaProps{
4327                                 Description: "EndpointAddress is a tuple that describes single IP address.",
4328                                 Properties: map[string]spec.Schema{
4329                                         "ip": {
4330                                                 SchemaProps: spec.SchemaProps{
4331                                                         Description: "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.",
4332                                                         Type:        []string{"string"},
4333                                                         Format:      "",
4334                                                 },
4335                                         },
4336                                         "hostname": {
4337                                                 SchemaProps: spec.SchemaProps{
4338                                                         Description: "The Hostname of this endpoint",
4339                                                         Type:        []string{"string"},
4340                                                         Format:      "",
4341                                                 },
4342                                         },
4343                                         "nodeName": {
4344                                                 SchemaProps: spec.SchemaProps{
4345                                                         Description: "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.",
4346                                                         Type:        []string{"string"},
4347                                                         Format:      "",
4348                                                 },
4349                                         },
4350                                         "targetRef": {
4351                                                 SchemaProps: spec.SchemaProps{
4352                                                         Description: "Reference to object providing the endpoint.",
4353                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
4354                                                 },
4355                                         },
4356                                 },
4357                                 Required: []string{"ip"},
4358                         },
4359                 },
4360                 Dependencies: []string{
4361                         "k8s.io/api/core/v1.ObjectReference"},
4362         }
4363 }
4364
4365 func schema_k8sio_api_core_v1_EndpointPort(ref common.ReferenceCallback) common.OpenAPIDefinition {
4366         return common.OpenAPIDefinition{
4367                 Schema: spec.Schema{
4368                         SchemaProps: spec.SchemaProps{
4369                                 Description: "EndpointPort is a tuple that describes a single port.",
4370                                 Properties: map[string]spec.Schema{
4371                                         "name": {
4372                                                 SchemaProps: spec.SchemaProps{
4373                                                         Description: "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.",
4374                                                         Type:        []string{"string"},
4375                                                         Format:      "",
4376                                                 },
4377                                         },
4378                                         "port": {
4379                                                 SchemaProps: spec.SchemaProps{
4380                                                         Description: "The port number of the endpoint.",
4381                                                         Type:        []string{"integer"},
4382                                                         Format:      "int32",
4383                                                 },
4384                                         },
4385                                         "protocol": {
4386                                                 SchemaProps: spec.SchemaProps{
4387                                                         Description: "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.",
4388                                                         Type:        []string{"string"},
4389                                                         Format:      "",
4390                                                 },
4391                                         },
4392                                 },
4393                                 Required: []string{"port"},
4394                         },
4395                 },
4396                 Dependencies: []string{},
4397         }
4398 }
4399
4400 func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) common.OpenAPIDefinition {
4401         return common.OpenAPIDefinition{
4402                 Schema: spec.Schema{
4403                         SchemaProps: spec.SchemaProps{
4404                                 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    Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n    Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n  }\nThe resulting set of endpoints can be viewed as:\n    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n    b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
4405                                 Properties: map[string]spec.Schema{
4406                                         "addresses": {
4407                                                 SchemaProps: spec.SchemaProps{
4408                                                         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.",
4409                                                         Type:        []string{"array"},
4410                                                         Items: &spec.SchemaOrArray{
4411                                                                 Schema: &spec.Schema{
4412                                                                         SchemaProps: spec.SchemaProps{
4413                                                                                 Ref: ref("k8s.io/api/core/v1.EndpointAddress"),
4414                                                                         },
4415                                                                 },
4416                                                         },
4417                                                 },
4418                                         },
4419                                         "notReadyAddresses": {
4420                                                 SchemaProps: spec.SchemaProps{
4421                                                         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.",
4422                                                         Type:        []string{"array"},
4423                                                         Items: &spec.SchemaOrArray{
4424                                                                 Schema: &spec.Schema{
4425                                                                         SchemaProps: spec.SchemaProps{
4426                                                                                 Ref: ref("k8s.io/api/core/v1.EndpointAddress"),
4427                                                                         },
4428                                                                 },
4429                                                         },
4430                                                 },
4431                                         },
4432                                         "ports": {
4433                                                 SchemaProps: spec.SchemaProps{
4434                                                         Description: "Port numbers available on the related IP addresses.",
4435                                                         Type:        []string{"array"},
4436                                                         Items: &spec.SchemaOrArray{
4437                                                                 Schema: &spec.Schema{
4438                                                                         SchemaProps: spec.SchemaProps{
4439                                                                                 Ref: ref("k8s.io/api/core/v1.EndpointPort"),
4440                                                                         },
4441                                                                 },
4442                                                         },
4443                                                 },
4444                                         },
4445                                 },
4446                         },
4447                 },
4448                 Dependencies: []string{
4449                         "k8s.io/api/core/v1.EndpointAddress", "k8s.io/api/core/v1.EndpointPort"},
4450         }
4451 }
4452
4453 func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
4454         return common.OpenAPIDefinition{
4455                 Schema: spec.Schema{
4456                         SchemaProps: spec.SchemaProps{
4457                                 Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n  Name: \"mysvc\",\n  Subsets: [\n    {\n      Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n      Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n    },\n    {\n      Addresses: [{\"ip\": \"10.10.3.3\"}],\n      Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n    },\n ]",
4458                                 Properties: map[string]spec.Schema{
4459                                         "kind": {
4460                                                 SchemaProps: spec.SchemaProps{
4461                                                         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/api-conventions.md#types-kinds",
4462                                                         Type:        []string{"string"},
4463                                                         Format:      "",
4464                                                 },
4465                                         },
4466                                         "apiVersion": {
4467                                                 SchemaProps: spec.SchemaProps{
4468                                                         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/api-conventions.md#resources",
4469                                                         Type:        []string{"string"},
4470                                                         Format:      "",
4471                                                 },
4472                                         },
4473                                         "metadata": {
4474                                                 SchemaProps: spec.SchemaProps{
4475                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
4476                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
4477                                                 },
4478                                         },
4479                                         "subsets": {
4480                                                 SchemaProps: spec.SchemaProps{
4481                                                         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.",
4482                                                         Type:        []string{"array"},
4483                                                         Items: &spec.SchemaOrArray{
4484                                                                 Schema: &spec.Schema{
4485                                                                         SchemaProps: spec.SchemaProps{
4486                                                                                 Ref: ref("k8s.io/api/core/v1.EndpointSubset"),
4487                                                                         },
4488                                                                 },
4489                                                         },
4490                                                 },
4491                                         },
4492                                 },
4493                         },
4494                 },
4495                 Dependencies: []string{
4496                         "k8s.io/api/core/v1.EndpointSubset", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
4497         }
4498 }
4499
4500 func schema_k8sio_api_core_v1_EndpointsList(ref common.ReferenceCallback) common.OpenAPIDefinition {
4501         return common.OpenAPIDefinition{
4502                 Schema: spec.Schema{
4503                         SchemaProps: spec.SchemaProps{
4504                                 Description: "EndpointsList is a list of endpoints.",
4505                                 Properties: map[string]spec.Schema{
4506                                         "kind": {
4507                                                 SchemaProps: spec.SchemaProps{
4508                                                         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/api-conventions.md#types-kinds",
4509                                                         Type:        []string{"string"},
4510                                                         Format:      "",
4511                                                 },
4512                                         },
4513                                         "apiVersion": {
4514                                                 SchemaProps: spec.SchemaProps{
4515                                                         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/api-conventions.md#resources",
4516                                                         Type:        []string{"string"},
4517                                                         Format:      "",
4518                                                 },
4519                                         },
4520                                         "metadata": {
4521                                                 SchemaProps: spec.SchemaProps{
4522                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
4523                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
4524                                                 },
4525                                         },
4526                                         "items": {
4527                                                 SchemaProps: spec.SchemaProps{
4528                                                         Description: "List of endpoints.",
4529                                                         Type:        []string{"array"},
4530                                                         Items: &spec.SchemaOrArray{
4531                                                                 Schema: &spec.Schema{
4532                                                                         SchemaProps: spec.SchemaProps{
4533                                                                                 Ref: ref("k8s.io/api/core/v1.Endpoints"),
4534                                                                         },
4535                                                                 },
4536                                                         },
4537                                                 },
4538                                         },
4539                                 },
4540                                 Required: []string{"items"},
4541                         },
4542                 },
4543                 Dependencies: []string{
4544                         "k8s.io/api/core/v1.Endpoints", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
4545         }
4546 }
4547
4548 func schema_k8sio_api_core_v1_EnvFromSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4549         return common.OpenAPIDefinition{
4550                 Schema: spec.Schema{
4551                         SchemaProps: spec.SchemaProps{
4552                                 Description: "EnvFromSource represents the source of a set of ConfigMaps",
4553                                 Properties: map[string]spec.Schema{
4554                                         "prefix": {
4555                                                 SchemaProps: spec.SchemaProps{
4556                                                         Description: "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
4557                                                         Type:        []string{"string"},
4558                                                         Format:      "",
4559                                                 },
4560                                         },
4561                                         "configMapRef": {
4562                                                 SchemaProps: spec.SchemaProps{
4563                                                         Description: "The ConfigMap to select from",
4564                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapEnvSource"),
4565                                                 },
4566                                         },
4567                                         "secretRef": {
4568                                                 SchemaProps: spec.SchemaProps{
4569                                                         Description: "The Secret to select from",
4570                                                         Ref:         ref("k8s.io/api/core/v1.SecretEnvSource"),
4571                                                 },
4572                                         },
4573                                 },
4574                         },
4575                 },
4576                 Dependencies: []string{
4577                         "k8s.io/api/core/v1.ConfigMapEnvSource", "k8s.io/api/core/v1.SecretEnvSource"},
4578         }
4579 }
4580
4581 func schema_k8sio_api_core_v1_EnvVar(ref common.ReferenceCallback) common.OpenAPIDefinition {
4582         return common.OpenAPIDefinition{
4583                 Schema: spec.Schema{
4584                         SchemaProps: spec.SchemaProps{
4585                                 Description: "EnvVar represents an environment variable present in a Container.",
4586                                 Properties: map[string]spec.Schema{
4587                                         "name": {
4588                                                 SchemaProps: spec.SchemaProps{
4589                                                         Description: "Name of the environment variable. Must be a C_IDENTIFIER.",
4590                                                         Type:        []string{"string"},
4591                                                         Format:      "",
4592                                                 },
4593                                         },
4594                                         "value": {
4595                                                 SchemaProps: spec.SchemaProps{
4596                                                         Description: "Variable references $(VAR_NAME) are expanded using the previous 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. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
4597                                                         Type:        []string{"string"},
4598                                                         Format:      "",
4599                                                 },
4600                                         },
4601                                         "valueFrom": {
4602                                                 SchemaProps: spec.SchemaProps{
4603                                                         Description: "Source for the environment variable's value. Cannot be used if value is not empty.",
4604                                                         Ref:         ref("k8s.io/api/core/v1.EnvVarSource"),
4605                                                 },
4606                                         },
4607                                 },
4608                                 Required: []string{"name"},
4609                         },
4610                 },
4611                 Dependencies: []string{
4612                         "k8s.io/api/core/v1.EnvVarSource"},
4613         }
4614 }
4615
4616 func schema_k8sio_api_core_v1_EnvVarSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4617         return common.OpenAPIDefinition{
4618                 Schema: spec.Schema{
4619                         SchemaProps: spec.SchemaProps{
4620                                 Description: "EnvVarSource represents a source for the value of an EnvVar.",
4621                                 Properties: map[string]spec.Schema{
4622                                         "fieldRef": {
4623                                                 SchemaProps: spec.SchemaProps{
4624                                                         Description: "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.",
4625                                                         Ref:         ref("k8s.io/api/core/v1.ObjectFieldSelector"),
4626                                                 },
4627                                         },
4628                                         "resourceFieldRef": {
4629                                                 SchemaProps: spec.SchemaProps{
4630                                                         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.",
4631                                                         Ref:         ref("k8s.io/api/core/v1.ResourceFieldSelector"),
4632                                                 },
4633                                         },
4634                                         "configMapKeyRef": {
4635                                                 SchemaProps: spec.SchemaProps{
4636                                                         Description: "Selects a key of a ConfigMap.",
4637                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapKeySelector"),
4638                                                 },
4639                                         },
4640                                         "secretKeyRef": {
4641                                                 SchemaProps: spec.SchemaProps{
4642                                                         Description: "Selects a key of a secret in the pod's namespace",
4643                                                         Ref:         ref("k8s.io/api/core/v1.SecretKeySelector"),
4644                                                 },
4645                                         },
4646                                 },
4647                         },
4648                 },
4649                 Dependencies: []string{
4650                         "k8s.io/api/core/v1.ConfigMapKeySelector", "k8s.io/api/core/v1.ObjectFieldSelector", "k8s.io/api/core/v1.ResourceFieldSelector", "k8s.io/api/core/v1.SecretKeySelector"},
4651         }
4652 }
4653
4654 func schema_k8sio_api_core_v1_Event(ref common.ReferenceCallback) common.OpenAPIDefinition {
4655         return common.OpenAPIDefinition{
4656                 Schema: spec.Schema{
4657                         SchemaProps: spec.SchemaProps{
4658                                 Description: "Event is a report of an event somewhere in the cluster.",
4659                                 Properties: map[string]spec.Schema{
4660                                         "kind": {
4661                                                 SchemaProps: spec.SchemaProps{
4662                                                         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/api-conventions.md#types-kinds",
4663                                                         Type:        []string{"string"},
4664                                                         Format:      "",
4665                                                 },
4666                                         },
4667                                         "apiVersion": {
4668                                                 SchemaProps: spec.SchemaProps{
4669                                                         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/api-conventions.md#resources",
4670                                                         Type:        []string{"string"},
4671                                                         Format:      "",
4672                                                 },
4673                                         },
4674                                         "metadata": {
4675                                                 SchemaProps: spec.SchemaProps{
4676                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
4677                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
4678                                                 },
4679                                         },
4680                                         "involvedObject": {
4681                                                 SchemaProps: spec.SchemaProps{
4682                                                         Description: "The object that this event is about.",
4683                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
4684                                                 },
4685                                         },
4686                                         "reason": {
4687                                                 SchemaProps: spec.SchemaProps{
4688                                                         Description: "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.",
4689                                                         Type:        []string{"string"},
4690                                                         Format:      "",
4691                                                 },
4692                                         },
4693                                         "message": {
4694                                                 SchemaProps: spec.SchemaProps{
4695                                                         Description: "A human-readable description of the status of this operation.",
4696                                                         Type:        []string{"string"},
4697                                                         Format:      "",
4698                                                 },
4699                                         },
4700                                         "source": {
4701                                                 SchemaProps: spec.SchemaProps{
4702                                                         Description: "The component reporting this event. Should be a short machine understandable string.",
4703                                                         Ref:         ref("k8s.io/api/core/v1.EventSource"),
4704                                                 },
4705                                         },
4706                                         "firstTimestamp": {
4707                                                 SchemaProps: spec.SchemaProps{
4708                                                         Description: "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)",
4709                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4710                                                 },
4711                                         },
4712                                         "lastTimestamp": {
4713                                                 SchemaProps: spec.SchemaProps{
4714                                                         Description: "The time at which the most recent occurrence of this event was recorded.",
4715                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4716                                                 },
4717                                         },
4718                                         "count": {
4719                                                 SchemaProps: spec.SchemaProps{
4720                                                         Description: "The number of times this event has occurred.",
4721                                                         Type:        []string{"integer"},
4722                                                         Format:      "int32",
4723                                                 },
4724                                         },
4725                                         "type": {
4726                                                 SchemaProps: spec.SchemaProps{
4727                                                         Description: "Type of this event (Normal, Warning), new types could be added in the future",
4728                                                         Type:        []string{"string"},
4729                                                         Format:      "",
4730                                                 },
4731                                         },
4732                                         "eventTime": {
4733                                                 SchemaProps: spec.SchemaProps{
4734                                                         Description: "Time when this Event was first observed.",
4735                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"),
4736                                                 },
4737                                         },
4738                                         "series": {
4739                                                 SchemaProps: spec.SchemaProps{
4740                                                         Description: "Data about the Event series this event represents or nil if it's a singleton Event.",
4741                                                         Ref:         ref("k8s.io/api/core/v1.EventSeries"),
4742                                                 },
4743                                         },
4744                                         "action": {
4745                                                 SchemaProps: spec.SchemaProps{
4746                                                         Description: "What action was taken/failed regarding to the Regarding object.",
4747                                                         Type:        []string{"string"},
4748                                                         Format:      "",
4749                                                 },
4750                                         },
4751                                         "related": {
4752                                                 SchemaProps: spec.SchemaProps{
4753                                                         Description: "Optional secondary object for more complex actions.",
4754                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
4755                                                 },
4756                                         },
4757                                         "reportingComponent": {
4758                                                 SchemaProps: spec.SchemaProps{
4759                                                         Description: "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.",
4760                                                         Type:        []string{"string"},
4761                                                         Format:      "",
4762                                                 },
4763                                         },
4764                                         "reportingInstance": {
4765                                                 SchemaProps: spec.SchemaProps{
4766                                                         Description: "ID of the controller instance, e.g. `kubelet-xyzf`.",
4767                                                         Type:        []string{"string"},
4768                                                         Format:      "",
4769                                                 },
4770                                         },
4771                                 },
4772                                 Required: []string{"metadata", "involvedObject"},
4773                         },
4774                 },
4775                 Dependencies: []string{
4776                         "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"},
4777         }
4778 }
4779
4780 func schema_k8sio_api_core_v1_EventList(ref common.ReferenceCallback) common.OpenAPIDefinition {
4781         return common.OpenAPIDefinition{
4782                 Schema: spec.Schema{
4783                         SchemaProps: spec.SchemaProps{
4784                                 Description: "EventList is a list of events.",
4785                                 Properties: map[string]spec.Schema{
4786                                         "kind": {
4787                                                 SchemaProps: spec.SchemaProps{
4788                                                         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/api-conventions.md#types-kinds",
4789                                                         Type:        []string{"string"},
4790                                                         Format:      "",
4791                                                 },
4792                                         },
4793                                         "apiVersion": {
4794                                                 SchemaProps: spec.SchemaProps{
4795                                                         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/api-conventions.md#resources",
4796                                                         Type:        []string{"string"},
4797                                                         Format:      "",
4798                                                 },
4799                                         },
4800                                         "metadata": {
4801                                                 SchemaProps: spec.SchemaProps{
4802                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
4803                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
4804                                                 },
4805                                         },
4806                                         "items": {
4807                                                 SchemaProps: spec.SchemaProps{
4808                                                         Description: "List of events",
4809                                                         Type:        []string{"array"},
4810                                                         Items: &spec.SchemaOrArray{
4811                                                                 Schema: &spec.Schema{
4812                                                                         SchemaProps: spec.SchemaProps{
4813                                                                                 Ref: ref("k8s.io/api/core/v1.Event"),
4814                                                                         },
4815                                                                 },
4816                                                         },
4817                                                 },
4818                                         },
4819                                 },
4820                                 Required: []string{"items"},
4821                         },
4822                 },
4823                 Dependencies: []string{
4824                         "k8s.io/api/core/v1.Event", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
4825         }
4826 }
4827
4828 func schema_k8sio_api_core_v1_EventSeries(ref common.ReferenceCallback) common.OpenAPIDefinition {
4829         return common.OpenAPIDefinition{
4830                 Schema: spec.Schema{
4831                         SchemaProps: spec.SchemaProps{
4832                                 Description: "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.",
4833                                 Properties: map[string]spec.Schema{
4834                                         "count": {
4835                                                 SchemaProps: spec.SchemaProps{
4836                                                         Description: "Number of occurrences in this series up to the last heartbeat time",
4837                                                         Type:        []string{"integer"},
4838                                                         Format:      "int32",
4839                                                 },
4840                                         },
4841                                         "lastObservedTime": {
4842                                                 SchemaProps: spec.SchemaProps{
4843                                                         Description: "Time of the last occurrence observed",
4844                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"),
4845                                                 },
4846                                         },
4847                                         "state": {
4848                                                 SchemaProps: spec.SchemaProps{
4849                                                         Description: "State of this Series: Ongoing or Finished",
4850                                                         Type:        []string{"string"},
4851                                                         Format:      "",
4852                                                 },
4853                                         },
4854                                 },
4855                         },
4856                 },
4857                 Dependencies: []string{
4858                         "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"},
4859         }
4860 }
4861
4862 func schema_k8sio_api_core_v1_EventSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4863         return common.OpenAPIDefinition{
4864                 Schema: spec.Schema{
4865                         SchemaProps: spec.SchemaProps{
4866                                 Description: "EventSource contains information for an event.",
4867                                 Properties: map[string]spec.Schema{
4868                                         "component": {
4869                                                 SchemaProps: spec.SchemaProps{
4870                                                         Description: "Component from which the event is generated.",
4871                                                         Type:        []string{"string"},
4872                                                         Format:      "",
4873                                                 },
4874                                         },
4875                                         "host": {
4876                                                 SchemaProps: spec.SchemaProps{
4877                                                         Description: "Node name on which the event is generated.",
4878                                                         Type:        []string{"string"},
4879                                                         Format:      "",
4880                                                 },
4881                                         },
4882                                 },
4883                         },
4884                 },
4885                 Dependencies: []string{},
4886         }
4887 }
4888
4889 func schema_k8sio_api_core_v1_ExecAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
4890         return common.OpenAPIDefinition{
4891                 Schema: spec.Schema{
4892                         SchemaProps: spec.SchemaProps{
4893                                 Description: "ExecAction describes a \"run in container\" action.",
4894                                 Properties: map[string]spec.Schema{
4895                                         "command": {
4896                                                 SchemaProps: spec.SchemaProps{
4897                                                         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.",
4898                                                         Type:        []string{"array"},
4899                                                         Items: &spec.SchemaOrArray{
4900                                                                 Schema: &spec.Schema{
4901                                                                         SchemaProps: spec.SchemaProps{
4902                                                                                 Type:   []string{"string"},
4903                                                                                 Format: "",
4904                                                                         },
4905                                                                 },
4906                                                         },
4907                                                 },
4908                                         },
4909                                 },
4910                         },
4911                 },
4912                 Dependencies: []string{},
4913         }
4914 }
4915
4916 func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4917         return common.OpenAPIDefinition{
4918                 Schema: spec.Schema{
4919                         SchemaProps: spec.SchemaProps{
4920                                 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.",
4921                                 Properties: map[string]spec.Schema{
4922                                         "targetWWNs": {
4923                                                 SchemaProps: spec.SchemaProps{
4924                                                         Description: "Optional: FC target worldwide names (WWNs)",
4925                                                         Type:        []string{"array"},
4926                                                         Items: &spec.SchemaOrArray{
4927                                                                 Schema: &spec.Schema{
4928                                                                         SchemaProps: spec.SchemaProps{
4929                                                                                 Type:   []string{"string"},
4930                                                                                 Format: "",
4931                                                                         },
4932                                                                 },
4933                                                         },
4934                                                 },
4935                                         },
4936                                         "lun": {
4937                                                 SchemaProps: spec.SchemaProps{
4938                                                         Description: "Optional: FC target lun number",
4939                                                         Type:        []string{"integer"},
4940                                                         Format:      "int32",
4941                                                 },
4942                                         },
4943                                         "fsType": {
4944                                                 SchemaProps: spec.SchemaProps{
4945                                                         Description: "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.",
4946                                                         Type:        []string{"string"},
4947                                                         Format:      "",
4948                                                 },
4949                                         },
4950                                         "readOnly": {
4951                                                 SchemaProps: spec.SchemaProps{
4952                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
4953                                                         Type:        []string{"boolean"},
4954                                                         Format:      "",
4955                                                 },
4956                                         },
4957                                         "wwids": {
4958                                                 SchemaProps: spec.SchemaProps{
4959                                                         Description: "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.",
4960                                                         Type:        []string{"array"},
4961                                                         Items: &spec.SchemaOrArray{
4962                                                                 Schema: &spec.Schema{
4963                                                                         SchemaProps: spec.SchemaProps{
4964                                                                                 Type:   []string{"string"},
4965                                                                                 Format: "",
4966                                                                         },
4967                                                                 },
4968                                                         },
4969                                                 },
4970                                         },
4971                                 },
4972                         },
4973                 },
4974                 Dependencies: []string{},
4975         }
4976 }
4977
4978 func schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
4979         return common.OpenAPIDefinition{
4980                 Schema: spec.Schema{
4981                         SchemaProps: spec.SchemaProps{
4982                                 Description: "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
4983                                 Properties: map[string]spec.Schema{
4984                                         "driver": {
4985                                                 SchemaProps: spec.SchemaProps{
4986                                                         Description: "Driver is the name of the driver to use for this volume.",
4987                                                         Type:        []string{"string"},
4988                                                         Format:      "",
4989                                                 },
4990                                         },
4991                                         "fsType": {
4992                                                 SchemaProps: spec.SchemaProps{
4993                                                         Description: "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.",
4994                                                         Type:        []string{"string"},
4995                                                         Format:      "",
4996                                                 },
4997                                         },
4998                                         "secretRef": {
4999                                                 SchemaProps: spec.SchemaProps{
5000                                                         Description: "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.",
5001                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
5002                                                 },
5003                                         },
5004                                         "readOnly": {
5005                                                 SchemaProps: spec.SchemaProps{
5006                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
5007                                                         Type:        []string{"boolean"},
5008                                                         Format:      "",
5009                                                 },
5010                                         },
5011                                         "options": {
5012                                                 SchemaProps: spec.SchemaProps{
5013                                                         Description: "Optional: Extra command options if any.",
5014                                                         Type:        []string{"object"},
5015                                                         AdditionalProperties: &spec.SchemaOrBool{
5016                                                                 Schema: &spec.Schema{
5017                                                                         SchemaProps: spec.SchemaProps{
5018                                                                                 Type:   []string{"string"},
5019                                                                                 Format: "",
5020                                                                         },
5021                                                                 },
5022                                                         },
5023                                                 },
5024                                         },
5025                                 },
5026                                 Required: []string{"driver"},
5027                         },
5028                 },
5029                 Dependencies: []string{
5030                         "k8s.io/api/core/v1.SecretReference"},
5031         }
5032 }
5033
5034 func schema_k8sio_api_core_v1_FlexVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5035         return common.OpenAPIDefinition{
5036                 Schema: spec.Schema{
5037                         SchemaProps: spec.SchemaProps{
5038                                 Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
5039                                 Properties: map[string]spec.Schema{
5040                                         "driver": {
5041                                                 SchemaProps: spec.SchemaProps{
5042                                                         Description: "Driver is the name of the driver to use for this volume.",
5043                                                         Type:        []string{"string"},
5044                                                         Format:      "",
5045                                                 },
5046                                         },
5047                                         "fsType": {
5048                                                 SchemaProps: spec.SchemaProps{
5049                                                         Description: "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.",
5050                                                         Type:        []string{"string"},
5051                                                         Format:      "",
5052                                                 },
5053                                         },
5054                                         "secretRef": {
5055                                                 SchemaProps: spec.SchemaProps{
5056                                                         Description: "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.",
5057                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
5058                                                 },
5059                                         },
5060                                         "readOnly": {
5061                                                 SchemaProps: spec.SchemaProps{
5062                                                         Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
5063                                                         Type:        []string{"boolean"},
5064                                                         Format:      "",
5065                                                 },
5066                                         },
5067                                         "options": {
5068                                                 SchemaProps: spec.SchemaProps{
5069                                                         Description: "Optional: Extra command options if any.",
5070                                                         Type:        []string{"object"},
5071                                                         AdditionalProperties: &spec.SchemaOrBool{
5072                                                                 Schema: &spec.Schema{
5073                                                                         SchemaProps: spec.SchemaProps{
5074                                                                                 Type:   []string{"string"},
5075                                                                                 Format: "",
5076                                                                         },
5077                                                                 },
5078                                                         },
5079                                                 },
5080                                         },
5081                                 },
5082                                 Required: []string{"driver"},
5083                         },
5084                 },
5085                 Dependencies: []string{
5086                         "k8s.io/api/core/v1.LocalObjectReference"},
5087         }
5088 }
5089
5090 func schema_k8sio_api_core_v1_FlockerVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5091         return common.OpenAPIDefinition{
5092                 Schema: spec.Schema{
5093                         SchemaProps: spec.SchemaProps{
5094                                 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.",
5095                                 Properties: map[string]spec.Schema{
5096                                         "datasetName": {
5097                                                 SchemaProps: spec.SchemaProps{
5098                                                         Description: "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated",
5099                                                         Type:        []string{"string"},
5100                                                         Format:      "",
5101                                                 },
5102                                         },
5103                                         "datasetUUID": {
5104                                                 SchemaProps: spec.SchemaProps{
5105                                                         Description: "UUID of the dataset. This is unique identifier of a Flocker dataset",
5106                                                         Type:        []string{"string"},
5107                                                         Format:      "",
5108                                                 },
5109                                         },
5110                                 },
5111                         },
5112                 },
5113                 Dependencies: []string{},
5114         }
5115 }
5116
5117 func schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5118         return common.OpenAPIDefinition{
5119                 Schema: spec.Schema{
5120                         SchemaProps: spec.SchemaProps{
5121                                 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.",
5122                                 Properties: map[string]spec.Schema{
5123                                         "pdName": {
5124                                                 SchemaProps: spec.SchemaProps{
5125                                                         Description: "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",
5126                                                         Type:        []string{"string"},
5127                                                         Format:      "",
5128                                                 },
5129                                         },
5130                                         "fsType": {
5131                                                 SchemaProps: spec.SchemaProps{
5132                                                         Description: "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",
5133                                                         Type:        []string{"string"},
5134                                                         Format:      "",
5135                                                 },
5136                                         },
5137                                         "partition": {
5138                                                 SchemaProps: spec.SchemaProps{
5139                                                         Description: "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",
5140                                                         Type:        []string{"integer"},
5141                                                         Format:      "int32",
5142                                                 },
5143                                         },
5144                                         "readOnly": {
5145                                                 SchemaProps: spec.SchemaProps{
5146                                                         Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
5147                                                         Type:        []string{"boolean"},
5148                                                         Format:      "",
5149                                                 },
5150                                         },
5151                                 },
5152                                 Required: []string{"pdName"},
5153                         },
5154                 },
5155                 Dependencies: []string{},
5156         }
5157 }
5158
5159 func schema_k8sio_api_core_v1_GitRepoVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5160         return common.OpenAPIDefinition{
5161                 Schema: spec.Schema{
5162                         SchemaProps: spec.SchemaProps{
5163                                 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.",
5164                                 Properties: map[string]spec.Schema{
5165                                         "repository": {
5166                                                 SchemaProps: spec.SchemaProps{
5167                                                         Description: "Repository URL",
5168                                                         Type:        []string{"string"},
5169                                                         Format:      "",
5170                                                 },
5171                                         },
5172                                         "revision": {
5173                                                 SchemaProps: spec.SchemaProps{
5174                                                         Description: "Commit hash for the specified revision.",
5175                                                         Type:        []string{"string"},
5176                                                         Format:      "",
5177                                                 },
5178                                         },
5179                                         "directory": {
5180                                                 SchemaProps: spec.SchemaProps{
5181                                                         Description: "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.",
5182                                                         Type:        []string{"string"},
5183                                                         Format:      "",
5184                                                 },
5185                                         },
5186                                 },
5187                                 Required: []string{"repository"},
5188                         },
5189                 },
5190                 Dependencies: []string{},
5191         }
5192 }
5193
5194 func schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5195         return common.OpenAPIDefinition{
5196                 Schema: spec.Schema{
5197                         SchemaProps: spec.SchemaProps{
5198                                 Description: "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
5199                                 Properties: map[string]spec.Schema{
5200                                         "endpoints": {
5201                                                 SchemaProps: spec.SchemaProps{
5202                                                         Description: "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5203                                                         Type:        []string{"string"},
5204                                                         Format:      "",
5205                                                 },
5206                                         },
5207                                         "path": {
5208                                                 SchemaProps: spec.SchemaProps{
5209                                                         Description: "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5210                                                         Type:        []string{"string"},
5211                                                         Format:      "",
5212                                                 },
5213                                         },
5214                                         "readOnly": {
5215                                                 SchemaProps: spec.SchemaProps{
5216                                                         Description: "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5217                                                         Type:        []string{"boolean"},
5218                                                         Format:      "",
5219                                                 },
5220                                         },
5221                                         "endpointsNamespace": {
5222                                                 SchemaProps: spec.SchemaProps{
5223                                                         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://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5224                                                         Type:        []string{"string"},
5225                                                         Format:      "",
5226                                                 },
5227                                         },
5228                                 },
5229                                 Required: []string{"endpoints", "path"},
5230                         },
5231                 },
5232                 Dependencies: []string{},
5233         }
5234 }
5235
5236 func schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5237         return common.OpenAPIDefinition{
5238                 Schema: spec.Schema{
5239                         SchemaProps: spec.SchemaProps{
5240                                 Description: "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
5241                                 Properties: map[string]spec.Schema{
5242                                         "endpoints": {
5243                                                 SchemaProps: spec.SchemaProps{
5244                                                         Description: "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5245                                                         Type:        []string{"string"},
5246                                                         Format:      "",
5247                                                 },
5248                                         },
5249                                         "path": {
5250                                                 SchemaProps: spec.SchemaProps{
5251                                                         Description: "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5252                                                         Type:        []string{"string"},
5253                                                         Format:      "",
5254                                                 },
5255                                         },
5256                                         "readOnly": {
5257                                                 SchemaProps: spec.SchemaProps{
5258                                                         Description: "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod",
5259                                                         Type:        []string{"boolean"},
5260                                                         Format:      "",
5261                                                 },
5262                                         },
5263                                 },
5264                                 Required: []string{"endpoints", "path"},
5265                         },
5266                 },
5267                 Dependencies: []string{},
5268         }
5269 }
5270
5271 func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
5272         return common.OpenAPIDefinition{
5273                 Schema: spec.Schema{
5274                         SchemaProps: spec.SchemaProps{
5275                                 Description: "HTTPGetAction describes an action based on HTTP Get requests.",
5276                                 Properties: map[string]spec.Schema{
5277                                         "path": {
5278                                                 SchemaProps: spec.SchemaProps{
5279                                                         Description: "Path to access on the HTTP server.",
5280                                                         Type:        []string{"string"},
5281                                                         Format:      "",
5282                                                 },
5283                                         },
5284                                         "port": {
5285                                                 SchemaProps: spec.SchemaProps{
5286                                                         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.",
5287                                                         Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
5288                                                 },
5289                                         },
5290                                         "host": {
5291                                                 SchemaProps: spec.SchemaProps{
5292                                                         Description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.",
5293                                                         Type:        []string{"string"},
5294                                                         Format:      "",
5295                                                 },
5296                                         },
5297                                         "scheme": {
5298                                                 SchemaProps: spec.SchemaProps{
5299                                                         Description: "Scheme to use for connecting to the host. Defaults to HTTP.",
5300                                                         Type:        []string{"string"},
5301                                                         Format:      "",
5302                                                 },
5303                                         },
5304                                         "httpHeaders": {
5305                                                 SchemaProps: spec.SchemaProps{
5306                                                         Description: "Custom headers to set in the request. HTTP allows repeated headers.",
5307                                                         Type:        []string{"array"},
5308                                                         Items: &spec.SchemaOrArray{
5309                                                                 Schema: &spec.Schema{
5310                                                                         SchemaProps: spec.SchemaProps{
5311                                                                                 Ref: ref("k8s.io/api/core/v1.HTTPHeader"),
5312                                                                         },
5313                                                                 },
5314                                                         },
5315                                                 },
5316                                         },
5317                                 },
5318                                 Required: []string{"port"},
5319                         },
5320                 },
5321                 Dependencies: []string{
5322                         "k8s.io/api/core/v1.HTTPHeader", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
5323         }
5324 }
5325
5326 func schema_k8sio_api_core_v1_HTTPHeader(ref common.ReferenceCallback) common.OpenAPIDefinition {
5327         return common.OpenAPIDefinition{
5328                 Schema: spec.Schema{
5329                         SchemaProps: spec.SchemaProps{
5330                                 Description: "HTTPHeader describes a custom header to be used in HTTP probes",
5331                                 Properties: map[string]spec.Schema{
5332                                         "name": {
5333                                                 SchemaProps: spec.SchemaProps{
5334                                                         Description: "The header field name",
5335                                                         Type:        []string{"string"},
5336                                                         Format:      "",
5337                                                 },
5338                                         },
5339                                         "value": {
5340                                                 SchemaProps: spec.SchemaProps{
5341                                                         Description: "The header field value",
5342                                                         Type:        []string{"string"},
5343                                                         Format:      "",
5344                                                 },
5345                                         },
5346                                 },
5347                                 Required: []string{"name", "value"},
5348                         },
5349                 },
5350                 Dependencies: []string{},
5351         }
5352 }
5353
5354 func schema_k8sio_api_core_v1_Handler(ref common.ReferenceCallback) common.OpenAPIDefinition {
5355         return common.OpenAPIDefinition{
5356                 Schema: spec.Schema{
5357                         SchemaProps: spec.SchemaProps{
5358                                 Description: "Handler defines a specific action that should be taken",
5359                                 Properties: map[string]spec.Schema{
5360                                         "exec": {
5361                                                 SchemaProps: spec.SchemaProps{
5362                                                         Description: "One and only one of the following should be specified. Exec specifies the action to take.",
5363                                                         Ref:         ref("k8s.io/api/core/v1.ExecAction"),
5364                                                 },
5365                                         },
5366                                         "httpGet": {
5367                                                 SchemaProps: spec.SchemaProps{
5368                                                         Description: "HTTPGet specifies the http request to perform.",
5369                                                         Ref:         ref("k8s.io/api/core/v1.HTTPGetAction"),
5370                                                 },
5371                                         },
5372                                         "tcpSocket": {
5373                                                 SchemaProps: spec.SchemaProps{
5374                                                         Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
5375                                                         Ref:         ref("k8s.io/api/core/v1.TCPSocketAction"),
5376                                                 },
5377                                         },
5378                                 },
5379                         },
5380                 },
5381                 Dependencies: []string{
5382                         "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
5383         }
5384 }
5385
5386 func schema_k8sio_api_core_v1_HostAlias(ref common.ReferenceCallback) common.OpenAPIDefinition {
5387         return common.OpenAPIDefinition{
5388                 Schema: spec.Schema{
5389                         SchemaProps: spec.SchemaProps{
5390                                 Description: "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
5391                                 Properties: map[string]spec.Schema{
5392                                         "ip": {
5393                                                 SchemaProps: spec.SchemaProps{
5394                                                         Description: "IP address of the host file entry.",
5395                                                         Type:        []string{"string"},
5396                                                         Format:      "",
5397                                                 },
5398                                         },
5399                                         "hostnames": {
5400                                                 SchemaProps: spec.SchemaProps{
5401                                                         Description: "Hostnames for the above IP address.",
5402                                                         Type:        []string{"array"},
5403                                                         Items: &spec.SchemaOrArray{
5404                                                                 Schema: &spec.Schema{
5405                                                                         SchemaProps: spec.SchemaProps{
5406                                                                                 Type:   []string{"string"},
5407                                                                                 Format: "",
5408                                                                         },
5409                                                                 },
5410                                                         },
5411                                                 },
5412                                         },
5413                                 },
5414                         },
5415                 },
5416                 Dependencies: []string{},
5417         }
5418 }
5419
5420 func schema_k8sio_api_core_v1_HostPathVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5421         return common.OpenAPIDefinition{
5422                 Schema: spec.Schema{
5423                         SchemaProps: spec.SchemaProps{
5424                                 Description: "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
5425                                 Properties: map[string]spec.Schema{
5426                                         "path": {
5427                                                 SchemaProps: spec.SchemaProps{
5428                                                         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",
5429                                                         Type:        []string{"string"},
5430                                                         Format:      "",
5431                                                 },
5432                                         },
5433                                         "type": {
5434                                                 SchemaProps: spec.SchemaProps{
5435                                                         Description: "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
5436                                                         Type:        []string{"string"},
5437                                                         Format:      "",
5438                                                 },
5439                                         },
5440                                 },
5441                                 Required: []string{"path"},
5442                         },
5443                 },
5444                 Dependencies: []string{},
5445         }
5446 }
5447
5448 func schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5449         return common.OpenAPIDefinition{
5450                 Schema: spec.Schema{
5451                         SchemaProps: spec.SchemaProps{
5452                                 Description: "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
5453                                 Properties: map[string]spec.Schema{
5454                                         "targetPortal": {
5455                                                 SchemaProps: spec.SchemaProps{
5456                                                         Description: "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).",
5457                                                         Type:        []string{"string"},
5458                                                         Format:      "",
5459                                                 },
5460                                         },
5461                                         "iqn": {
5462                                                 SchemaProps: spec.SchemaProps{
5463                                                         Description: "Target iSCSI Qualified Name.",
5464                                                         Type:        []string{"string"},
5465                                                         Format:      "",
5466                                                 },
5467                                         },
5468                                         "lun": {
5469                                                 SchemaProps: spec.SchemaProps{
5470                                                         Description: "iSCSI Target Lun number.",
5471                                                         Type:        []string{"integer"},
5472                                                         Format:      "int32",
5473                                                 },
5474                                         },
5475                                         "iscsiInterface": {
5476                                                 SchemaProps: spec.SchemaProps{
5477                                                         Description: "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
5478                                                         Type:        []string{"string"},
5479                                                         Format:      "",
5480                                                 },
5481                                         },
5482                                         "fsType": {
5483                                                 SchemaProps: spec.SchemaProps{
5484                                                         Description: "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",
5485                                                         Type:        []string{"string"},
5486                                                         Format:      "",
5487                                                 },
5488                                         },
5489                                         "readOnly": {
5490                                                 SchemaProps: spec.SchemaProps{
5491                                                         Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
5492                                                         Type:        []string{"boolean"},
5493                                                         Format:      "",
5494                                                 },
5495                                         },
5496                                         "portals": {
5497                                                 SchemaProps: spec.SchemaProps{
5498                                                         Description: "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).",
5499                                                         Type:        []string{"array"},
5500                                                         Items: &spec.SchemaOrArray{
5501                                                                 Schema: &spec.Schema{
5502                                                                         SchemaProps: spec.SchemaProps{
5503                                                                                 Type:   []string{"string"},
5504                                                                                 Format: "",
5505                                                                         },
5506                                                                 },
5507                                                         },
5508                                                 },
5509                                         },
5510                                         "chapAuthDiscovery": {
5511                                                 SchemaProps: spec.SchemaProps{
5512                                                         Description: "whether support iSCSI Discovery CHAP authentication",
5513                                                         Type:        []string{"boolean"},
5514                                                         Format:      "",
5515                                                 },
5516                                         },
5517                                         "chapAuthSession": {
5518                                                 SchemaProps: spec.SchemaProps{
5519                                                         Description: "whether support iSCSI Session CHAP authentication",
5520                                                         Type:        []string{"boolean"},
5521                                                         Format:      "",
5522                                                 },
5523                                         },
5524                                         "secretRef": {
5525                                                 SchemaProps: spec.SchemaProps{
5526                                                         Description: "CHAP Secret for iSCSI target and initiator authentication",
5527                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
5528                                                 },
5529                                         },
5530                                         "initiatorName": {
5531                                                 SchemaProps: spec.SchemaProps{
5532                                                         Description: "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
5533                                                         Type:        []string{"string"},
5534                                                         Format:      "",
5535                                                 },
5536                                         },
5537                                 },
5538                                 Required: []string{"targetPortal", "iqn", "lun"},
5539                         },
5540                 },
5541                 Dependencies: []string{
5542                         "k8s.io/api/core/v1.SecretReference"},
5543         }
5544 }
5545
5546 func schema_k8sio_api_core_v1_ISCSIVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
5547         return common.OpenAPIDefinition{
5548                 Schema: spec.Schema{
5549                         SchemaProps: spec.SchemaProps{
5550                                 Description: "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
5551                                 Properties: map[string]spec.Schema{
5552                                         "targetPortal": {
5553                                                 SchemaProps: spec.SchemaProps{
5554                                                         Description: "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).",
5555                                                         Type:        []string{"string"},
5556                                                         Format:      "",
5557                                                 },
5558                                         },
5559                                         "iqn": {
5560                                                 SchemaProps: spec.SchemaProps{
5561                                                         Description: "Target iSCSI Qualified Name.",
5562                                                         Type:        []string{"string"},
5563                                                         Format:      "",
5564                                                 },
5565                                         },
5566                                         "lun": {
5567                                                 SchemaProps: spec.SchemaProps{
5568                                                         Description: "iSCSI Target Lun number.",
5569                                                         Type:        []string{"integer"},
5570                                                         Format:      "int32",
5571                                                 },
5572                                         },
5573                                         "iscsiInterface": {
5574                                                 SchemaProps: spec.SchemaProps{
5575                                                         Description: "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
5576                                                         Type:        []string{"string"},
5577                                                         Format:      "",
5578                                                 },
5579                                         },
5580                                         "fsType": {
5581                                                 SchemaProps: spec.SchemaProps{
5582                                                         Description: "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",
5583                                                         Type:        []string{"string"},
5584                                                         Format:      "",
5585                                                 },
5586                                         },
5587                                         "readOnly": {
5588                                                 SchemaProps: spec.SchemaProps{
5589                                                         Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
5590                                                         Type:        []string{"boolean"},
5591                                                         Format:      "",
5592                                                 },
5593                                         },
5594                                         "portals": {
5595                                                 SchemaProps: spec.SchemaProps{
5596                                                         Description: "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).",
5597                                                         Type:        []string{"array"},
5598                                                         Items: &spec.SchemaOrArray{
5599                                                                 Schema: &spec.Schema{
5600                                                                         SchemaProps: spec.SchemaProps{
5601                                                                                 Type:   []string{"string"},
5602                                                                                 Format: "",
5603                                                                         },
5604                                                                 },
5605                                                         },
5606                                                 },
5607                                         },
5608                                         "chapAuthDiscovery": {
5609                                                 SchemaProps: spec.SchemaProps{
5610                                                         Description: "whether support iSCSI Discovery CHAP authentication",
5611                                                         Type:        []string{"boolean"},
5612                                                         Format:      "",
5613                                                 },
5614                                         },
5615                                         "chapAuthSession": {
5616                                                 SchemaProps: spec.SchemaProps{
5617                                                         Description: "whether support iSCSI Session CHAP authentication",
5618                                                         Type:        []string{"boolean"},
5619                                                         Format:      "",
5620                                                 },
5621                                         },
5622                                         "secretRef": {
5623                                                 SchemaProps: spec.SchemaProps{
5624                                                         Description: "CHAP Secret for iSCSI target and initiator authentication",
5625                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
5626                                                 },
5627                                         },
5628                                         "initiatorName": {
5629                                                 SchemaProps: spec.SchemaProps{
5630                                                         Description: "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
5631                                                         Type:        []string{"string"},
5632                                                         Format:      "",
5633                                                 },
5634                                         },
5635                                 },
5636                                 Required: []string{"targetPortal", "iqn", "lun"},
5637                         },
5638                 },
5639                 Dependencies: []string{
5640                         "k8s.io/api/core/v1.LocalObjectReference"},
5641         }
5642 }
5643
5644 func schema_k8sio_api_core_v1_KeyToPath(ref common.ReferenceCallback) common.OpenAPIDefinition {
5645         return common.OpenAPIDefinition{
5646                 Schema: spec.Schema{
5647                         SchemaProps: spec.SchemaProps{
5648                                 Description: "Maps a string key to a path within a volume.",
5649                                 Properties: map[string]spec.Schema{
5650                                         "key": {
5651                                                 SchemaProps: spec.SchemaProps{
5652                                                         Description: "The key to project.",
5653                                                         Type:        []string{"string"},
5654                                                         Format:      "",
5655                                                 },
5656                                         },
5657                                         "path": {
5658                                                 SchemaProps: spec.SchemaProps{
5659                                                         Description: "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 '..'.",
5660                                                         Type:        []string{"string"},
5661                                                         Format:      "",
5662                                                 },
5663                                         },
5664                                         "mode": {
5665                                                 SchemaProps: spec.SchemaProps{
5666                                                         Description: "Optional: mode bits to use on this file, must be a value between 0 and 0777. 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.",
5667                                                         Type:        []string{"integer"},
5668                                                         Format:      "int32",
5669                                                 },
5670                                         },
5671                                 },
5672                                 Required: []string{"key", "path"},
5673                         },
5674                 },
5675                 Dependencies: []string{},
5676         }
5677 }
5678
5679 func schema_k8sio_api_core_v1_Lifecycle(ref common.ReferenceCallback) common.OpenAPIDefinition {
5680         return common.OpenAPIDefinition{
5681                 Schema: spec.Schema{
5682                         SchemaProps: spec.SchemaProps{
5683                                 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.",
5684                                 Properties: map[string]spec.Schema{
5685                                         "postStart": {
5686                                                 SchemaProps: spec.SchemaProps{
5687                                                         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",
5688                                                         Ref:         ref("k8s.io/api/core/v1.Handler"),
5689                                                 },
5690                                         },
5691                                         "preStop": {
5692                                                 SchemaProps: spec.SchemaProps{
5693                                                         Description: "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks",
5694                                                         Ref:         ref("k8s.io/api/core/v1.Handler"),
5695                                                 },
5696                                         },
5697                                 },
5698                         },
5699                 },
5700                 Dependencies: []string{
5701                         "k8s.io/api/core/v1.Handler"},
5702         }
5703 }
5704
5705 func schema_k8sio_api_core_v1_LimitRange(ref common.ReferenceCallback) common.OpenAPIDefinition {
5706         return common.OpenAPIDefinition{
5707                 Schema: spec.Schema{
5708                         SchemaProps: spec.SchemaProps{
5709                                 Description: "LimitRange sets resource usage limits for each kind of resource in a Namespace.",
5710                                 Properties: map[string]spec.Schema{
5711                                         "kind": {
5712                                                 SchemaProps: spec.SchemaProps{
5713                                                         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/api-conventions.md#types-kinds",
5714                                                         Type:        []string{"string"},
5715                                                         Format:      "",
5716                                                 },
5717                                         },
5718                                         "apiVersion": {
5719                                                 SchemaProps: spec.SchemaProps{
5720                                                         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/api-conventions.md#resources",
5721                                                         Type:        []string{"string"},
5722                                                         Format:      "",
5723                                                 },
5724                                         },
5725                                         "metadata": {
5726                                                 SchemaProps: spec.SchemaProps{
5727                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
5728                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
5729                                                 },
5730                                         },
5731                                         "spec": {
5732                                                 SchemaProps: spec.SchemaProps{
5733                                                         Description: "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
5734                                                         Ref:         ref("k8s.io/api/core/v1.LimitRangeSpec"),
5735                                                 },
5736                                         },
5737                                 },
5738                         },
5739                 },
5740                 Dependencies: []string{
5741                         "k8s.io/api/core/v1.LimitRangeSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
5742         }
5743 }
5744
5745 func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
5746         return common.OpenAPIDefinition{
5747                 Schema: spec.Schema{
5748                         SchemaProps: spec.SchemaProps{
5749                                 Description: "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.",
5750                                 Properties: map[string]spec.Schema{
5751                                         "type": {
5752                                                 SchemaProps: spec.SchemaProps{
5753                                                         Description: "Type of resource that this limit applies to.",
5754                                                         Type:        []string{"string"},
5755                                                         Format:      "",
5756                                                 },
5757                                         },
5758                                         "max": {
5759                                                 SchemaProps: spec.SchemaProps{
5760                                                         Description: "Max usage constraints on this kind by resource name.",
5761                                                         Type:        []string{"object"},
5762                                                         AdditionalProperties: &spec.SchemaOrBool{
5763                                                                 Schema: &spec.Schema{
5764                                                                         SchemaProps: spec.SchemaProps{
5765                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5766                                                                         },
5767                                                                 },
5768                                                         },
5769                                                 },
5770                                         },
5771                                         "min": {
5772                                                 SchemaProps: spec.SchemaProps{
5773                                                         Description: "Min usage constraints on this kind by resource name.",
5774                                                         Type:        []string{"object"},
5775                                                         AdditionalProperties: &spec.SchemaOrBool{
5776                                                                 Schema: &spec.Schema{
5777                                                                         SchemaProps: spec.SchemaProps{
5778                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5779                                                                         },
5780                                                                 },
5781                                                         },
5782                                                 },
5783                                         },
5784                                         "default": {
5785                                                 SchemaProps: spec.SchemaProps{
5786                                                         Description: "Default resource requirement limit value by resource name if resource limit is omitted.",
5787                                                         Type:        []string{"object"},
5788                                                         AdditionalProperties: &spec.SchemaOrBool{
5789                                                                 Schema: &spec.Schema{
5790                                                                         SchemaProps: spec.SchemaProps{
5791                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5792                                                                         },
5793                                                                 },
5794                                                         },
5795                                                 },
5796                                         },
5797                                         "defaultRequest": {
5798                                                 SchemaProps: spec.SchemaProps{
5799                                                         Description: "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.",
5800                                                         Type:        []string{"object"},
5801                                                         AdditionalProperties: &spec.SchemaOrBool{
5802                                                                 Schema: &spec.Schema{
5803                                                                         SchemaProps: spec.SchemaProps{
5804                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5805                                                                         },
5806                                                                 },
5807                                                         },
5808                                                 },
5809                                         },
5810                                         "maxLimitRequestRatio": {
5811                                                 SchemaProps: spec.SchemaProps{
5812                                                         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.",
5813                                                         Type:        []string{"object"},
5814                                                         AdditionalProperties: &spec.SchemaOrBool{
5815                                                                 Schema: &spec.Schema{
5816                                                                         SchemaProps: spec.SchemaProps{
5817                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
5818                                                                         },
5819                                                                 },
5820                                                         },
5821                                                 },
5822                                         },
5823                                 },
5824                         },
5825                 },
5826                 Dependencies: []string{
5827                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
5828         }
5829 }
5830
5831 func schema_k8sio_api_core_v1_LimitRangeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5832         return common.OpenAPIDefinition{
5833                 Schema: spec.Schema{
5834                         SchemaProps: spec.SchemaProps{
5835                                 Description: "LimitRangeList is a list of LimitRange items.",
5836                                 Properties: map[string]spec.Schema{
5837                                         "kind": {
5838                                                 SchemaProps: spec.SchemaProps{
5839                                                         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/api-conventions.md#types-kinds",
5840                                                         Type:        []string{"string"},
5841                                                         Format:      "",
5842                                                 },
5843                                         },
5844                                         "apiVersion": {
5845                                                 SchemaProps: spec.SchemaProps{
5846                                                         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/api-conventions.md#resources",
5847                                                         Type:        []string{"string"},
5848                                                         Format:      "",
5849                                                 },
5850                                         },
5851                                         "metadata": {
5852                                                 SchemaProps: spec.SchemaProps{
5853                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
5854                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5855                                                 },
5856                                         },
5857                                         "items": {
5858                                                 SchemaProps: spec.SchemaProps{
5859                                                         Description: "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
5860                                                         Type:        []string{"array"},
5861                                                         Items: &spec.SchemaOrArray{
5862                                                                 Schema: &spec.Schema{
5863                                                                         SchemaProps: spec.SchemaProps{
5864                                                                                 Ref: ref("k8s.io/api/core/v1.LimitRange"),
5865                                                                         },
5866                                                                 },
5867                                                         },
5868                                                 },
5869                                         },
5870                                 },
5871                                 Required: []string{"items"},
5872                         },
5873                 },
5874                 Dependencies: []string{
5875                         "k8s.io/api/core/v1.LimitRange", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5876         }
5877 }
5878
5879 func schema_k8sio_api_core_v1_LimitRangeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
5880         return common.OpenAPIDefinition{
5881                 Schema: spec.Schema{
5882                         SchemaProps: spec.SchemaProps{
5883                                 Description: "LimitRangeSpec defines a min/max usage limit for resources that match on kind.",
5884                                 Properties: map[string]spec.Schema{
5885                                         "limits": {
5886                                                 SchemaProps: spec.SchemaProps{
5887                                                         Description: "Limits is the list of LimitRangeItem objects that are enforced.",
5888                                                         Type:        []string{"array"},
5889                                                         Items: &spec.SchemaOrArray{
5890                                                                 Schema: &spec.Schema{
5891                                                                         SchemaProps: spec.SchemaProps{
5892                                                                                 Ref: ref("k8s.io/api/core/v1.LimitRangeItem"),
5893                                                                         },
5894                                                                 },
5895                                                         },
5896                                                 },
5897                                         },
5898                                 },
5899                                 Required: []string{"limits"},
5900                         },
5901                 },
5902                 Dependencies: []string{
5903                         "k8s.io/api/core/v1.LimitRangeItem"},
5904         }
5905 }
5906
5907 func schema_k8sio_api_core_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
5908         return common.OpenAPIDefinition{
5909                 Schema: spec.Schema{
5910                         SchemaProps: spec.SchemaProps{
5911                                 Description: "List holds a list of objects, which may not be known by the server.",
5912                                 Properties: map[string]spec.Schema{
5913                                         "kind": {
5914                                                 SchemaProps: spec.SchemaProps{
5915                                                         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/api-conventions.md#types-kinds",
5916                                                         Type:        []string{"string"},
5917                                                         Format:      "",
5918                                                 },
5919                                         },
5920                                         "apiVersion": {
5921                                                 SchemaProps: spec.SchemaProps{
5922                                                         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/api-conventions.md#resources",
5923                                                         Type:        []string{"string"},
5924                                                         Format:      "",
5925                                                 },
5926                                         },
5927                                         "metadata": {
5928                                                 SchemaProps: spec.SchemaProps{
5929                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
5930                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5931                                                 },
5932                                         },
5933                                         "items": {
5934                                                 SchemaProps: spec.SchemaProps{
5935                                                         Description: "List of objects",
5936                                                         Type:        []string{"array"},
5937                                                         Items: &spec.SchemaOrArray{
5938                                                                 Schema: &spec.Schema{
5939                                                                         SchemaProps: spec.SchemaProps{
5940                                                                                 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
5941                                                                         },
5942                                                                 },
5943                                                         },
5944                                                 },
5945                                         },
5946                                 },
5947                                 Required: []string{"items"},
5948                         },
5949                 },
5950                 Dependencies: []string{
5951                         "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
5952         }
5953 }
5954
5955 func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) common.OpenAPIDefinition {
5956         return common.OpenAPIDefinition{
5957                 Schema: spec.Schema{
5958                         SchemaProps: spec.SchemaProps{
5959                                 Description: "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
5960                                 Properties: map[string]spec.Schema{
5961                                         "ip": {
5962                                                 SchemaProps: spec.SchemaProps{
5963                                                         Description: "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
5964                                                         Type:        []string{"string"},
5965                                                         Format:      "",
5966                                                 },
5967                                         },
5968                                         "hostname": {
5969                                                 SchemaProps: spec.SchemaProps{
5970                                                         Description: "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
5971                                                         Type:        []string{"string"},
5972                                                         Format:      "",
5973                                                 },
5974                                         },
5975                                 },
5976                         },
5977                 },
5978                 Dependencies: []string{},
5979         }
5980 }
5981
5982 func schema_k8sio_api_core_v1_LoadBalancerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
5983         return common.OpenAPIDefinition{
5984                 Schema: spec.Schema{
5985                         SchemaProps: spec.SchemaProps{
5986                                 Description: "LoadBalancerStatus represents the status of a load-balancer.",
5987                                 Properties: map[string]spec.Schema{
5988                                         "ingress": {
5989                                                 SchemaProps: spec.SchemaProps{
5990                                                         Description: "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
5991                                                         Type:        []string{"array"},
5992                                                         Items: &spec.SchemaOrArray{
5993                                                                 Schema: &spec.Schema{
5994                                                                         SchemaProps: spec.SchemaProps{
5995                                                                                 Ref: ref("k8s.io/api/core/v1.LoadBalancerIngress"),
5996                                                                         },
5997                                                                 },
5998                                                         },
5999                                                 },
6000                                         },
6001                                 },
6002                         },
6003                 },
6004                 Dependencies: []string{
6005                         "k8s.io/api/core/v1.LoadBalancerIngress"},
6006         }
6007 }
6008
6009 func schema_k8sio_api_core_v1_LocalObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
6010         return common.OpenAPIDefinition{
6011                 Schema: spec.Schema{
6012                         SchemaProps: spec.SchemaProps{
6013                                 Description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
6014                                 Properties: map[string]spec.Schema{
6015                                         "name": {
6016                                                 SchemaProps: spec.SchemaProps{
6017                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
6018                                                         Type:        []string{"string"},
6019                                                         Format:      "",
6020                                                 },
6021                                         },
6022                                 },
6023                         },
6024                 },
6025                 Dependencies: []string{},
6026         }
6027 }
6028
6029 func schema_k8sio_api_core_v1_LocalVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
6030         return common.OpenAPIDefinition{
6031                 Schema: spec.Schema{
6032                         SchemaProps: spec.SchemaProps{
6033                                 Description: "Local represents directly-attached storage with node affinity (Beta feature)",
6034                                 Properties: map[string]spec.Schema{
6035                                         "path": {
6036                                                 SchemaProps: spec.SchemaProps{
6037                                                         Description: "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).",
6038                                                         Type:        []string{"string"},
6039                                                         Format:      "",
6040                                                 },
6041                                         },
6042                                         "fsType": {
6043                                                 SchemaProps: spec.SchemaProps{
6044                                                         Description: "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 fileystem if unspecified.",
6045                                                         Type:        []string{"string"},
6046                                                         Format:      "",
6047                                                 },
6048                                         },
6049                                 },
6050                                 Required: []string{"path"},
6051                         },
6052                 },
6053                 Dependencies: []string{},
6054         }
6055 }
6056
6057 func schema_k8sio_api_core_v1_NFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
6058         return common.OpenAPIDefinition{
6059                 Schema: spec.Schema{
6060                         SchemaProps: spec.SchemaProps{
6061                                 Description: "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
6062                                 Properties: map[string]spec.Schema{
6063                                         "server": {
6064                                                 SchemaProps: spec.SchemaProps{
6065                                                         Description: "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
6066                                                         Type:        []string{"string"},
6067                                                         Format:      "",
6068                                                 },
6069                                         },
6070                                         "path": {
6071                                                 SchemaProps: spec.SchemaProps{
6072                                                         Description: "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
6073                                                         Type:        []string{"string"},
6074                                                         Format:      "",
6075                                                 },
6076                                         },
6077                                         "readOnly": {
6078                                                 SchemaProps: spec.SchemaProps{
6079                                                         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",
6080                                                         Type:        []string{"boolean"},
6081                                                         Format:      "",
6082                                                 },
6083                                         },
6084                                 },
6085                                 Required: []string{"server", "path"},
6086                         },
6087                 },
6088                 Dependencies: []string{},
6089         }
6090 }
6091
6092 func schema_k8sio_api_core_v1_Namespace(ref common.ReferenceCallback) common.OpenAPIDefinition {
6093         return common.OpenAPIDefinition{
6094                 Schema: spec.Schema{
6095                         SchemaProps: spec.SchemaProps{
6096                                 Description: "Namespace provides a scope for Names. Use of multiple namespaces is optional.",
6097                                 Properties: map[string]spec.Schema{
6098                                         "kind": {
6099                                                 SchemaProps: spec.SchemaProps{
6100                                                         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/api-conventions.md#types-kinds",
6101                                                         Type:        []string{"string"},
6102                                                         Format:      "",
6103                                                 },
6104                                         },
6105                                         "apiVersion": {
6106                                                 SchemaProps: spec.SchemaProps{
6107                                                         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/api-conventions.md#resources",
6108                                                         Type:        []string{"string"},
6109                                                         Format:      "",
6110                                                 },
6111                                         },
6112                                         "metadata": {
6113                                                 SchemaProps: spec.SchemaProps{
6114                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
6115                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
6116                                                 },
6117                                         },
6118                                         "spec": {
6119                                                 SchemaProps: spec.SchemaProps{
6120                                                         Description: "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
6121                                                         Ref:         ref("k8s.io/api/core/v1.NamespaceSpec"),
6122                                                 },
6123                                         },
6124                                         "status": {
6125                                                 SchemaProps: spec.SchemaProps{
6126                                                         Description: "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
6127                                                         Ref:         ref("k8s.io/api/core/v1.NamespaceStatus"),
6128                                                 },
6129                                         },
6130                                 },
6131                         },
6132                 },
6133                 Dependencies: []string{
6134                         "k8s.io/api/core/v1.NamespaceSpec", "k8s.io/api/core/v1.NamespaceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
6135         }
6136 }
6137
6138 func schema_k8sio_api_core_v1_NamespaceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
6139         return common.OpenAPIDefinition{
6140                 Schema: spec.Schema{
6141                         SchemaProps: spec.SchemaProps{
6142                                 Description: "NamespaceList is a list of Namespaces.",
6143                                 Properties: map[string]spec.Schema{
6144                                         "kind": {
6145                                                 SchemaProps: spec.SchemaProps{
6146                                                         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/api-conventions.md#types-kinds",
6147                                                         Type:        []string{"string"},
6148                                                         Format:      "",
6149                                                 },
6150                                         },
6151                                         "apiVersion": {
6152                                                 SchemaProps: spec.SchemaProps{
6153                                                         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/api-conventions.md#resources",
6154                                                         Type:        []string{"string"},
6155                                                         Format:      "",
6156                                                 },
6157                                         },
6158                                         "metadata": {
6159                                                 SchemaProps: spec.SchemaProps{
6160                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
6161                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
6162                                                 },
6163                                         },
6164                                         "items": {
6165                                                 SchemaProps: spec.SchemaProps{
6166                                                         Description: "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
6167                                                         Type:        []string{"array"},
6168                                                         Items: &spec.SchemaOrArray{
6169                                                                 Schema: &spec.Schema{
6170                                                                         SchemaProps: spec.SchemaProps{
6171                                                                                 Ref: ref("k8s.io/api/core/v1.Namespace"),
6172                                                                         },
6173                                                                 },
6174                                                         },
6175                                                 },
6176                                         },
6177                                 },
6178                                 Required: []string{"items"},
6179                         },
6180                 },
6181                 Dependencies: []string{
6182                         "k8s.io/api/core/v1.Namespace", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
6183         }
6184 }
6185
6186 func schema_k8sio_api_core_v1_NamespaceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
6187         return common.OpenAPIDefinition{
6188                 Schema: spec.Schema{
6189                         SchemaProps: spec.SchemaProps{
6190                                 Description: "NamespaceSpec describes the attributes on a Namespace.",
6191                                 Properties: map[string]spec.Schema{
6192                                         "finalizers": {
6193                                                 SchemaProps: spec.SchemaProps{
6194                                                         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/",
6195                                                         Type:        []string{"array"},
6196                                                         Items: &spec.SchemaOrArray{
6197                                                                 Schema: &spec.Schema{
6198                                                                         SchemaProps: spec.SchemaProps{
6199                                                                                 Type:   []string{"string"},
6200                                                                                 Format: "",
6201                                                                         },
6202                                                                 },
6203                                                         },
6204                                                 },
6205                                         },
6206                                 },
6207                         },
6208                 },
6209                 Dependencies: []string{},
6210         }
6211 }
6212
6213 func schema_k8sio_api_core_v1_NamespaceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6214         return common.OpenAPIDefinition{
6215                 Schema: spec.Schema{
6216                         SchemaProps: spec.SchemaProps{
6217                                 Description: "NamespaceStatus is information about the current status of a Namespace.",
6218                                 Properties: map[string]spec.Schema{
6219                                         "phase": {
6220                                                 SchemaProps: spec.SchemaProps{
6221                                                         Description: "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/",
6222                                                         Type:        []string{"string"},
6223                                                         Format:      "",
6224                                                 },
6225                                         },
6226                                 },
6227                         },
6228                 },
6229                 Dependencies: []string{},
6230         }
6231 }
6232
6233 func schema_k8sio_api_core_v1_Node(ref common.ReferenceCallback) common.OpenAPIDefinition {
6234         return common.OpenAPIDefinition{
6235                 Schema: spec.Schema{
6236                         SchemaProps: spec.SchemaProps{
6237                                 Description: "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).",
6238                                 Properties: map[string]spec.Schema{
6239                                         "kind": {
6240                                                 SchemaProps: spec.SchemaProps{
6241                                                         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/api-conventions.md#types-kinds",
6242                                                         Type:        []string{"string"},
6243                                                         Format:      "",
6244                                                 },
6245                                         },
6246                                         "apiVersion": {
6247                                                 SchemaProps: spec.SchemaProps{
6248                                                         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/api-conventions.md#resources",
6249                                                         Type:        []string{"string"},
6250                                                         Format:      "",
6251                                                 },
6252                                         },
6253                                         "metadata": {
6254                                                 SchemaProps: spec.SchemaProps{
6255                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
6256                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
6257                                                 },
6258                                         },
6259                                         "spec": {
6260                                                 SchemaProps: spec.SchemaProps{
6261                                                         Description: "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
6262                                                         Ref:         ref("k8s.io/api/core/v1.NodeSpec"),
6263                                                 },
6264                                         },
6265                                         "status": {
6266                                                 SchemaProps: spec.SchemaProps{
6267                                                         Description: "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
6268                                                         Ref:         ref("k8s.io/api/core/v1.NodeStatus"),
6269                                                 },
6270                                         },
6271                                 },
6272                         },
6273                 },
6274                 Dependencies: []string{
6275                         "k8s.io/api/core/v1.NodeSpec", "k8s.io/api/core/v1.NodeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
6276         }
6277 }
6278
6279 func schema_k8sio_api_core_v1_NodeAddress(ref common.ReferenceCallback) common.OpenAPIDefinition {
6280         return common.OpenAPIDefinition{
6281                 Schema: spec.Schema{
6282                         SchemaProps: spec.SchemaProps{
6283                                 Description: "NodeAddress contains information for the node's address.",
6284                                 Properties: map[string]spec.Schema{
6285                                         "type": {
6286                                                 SchemaProps: spec.SchemaProps{
6287                                                         Description: "Node address type, one of Hostname, ExternalIP or InternalIP.",
6288                                                         Type:        []string{"string"},
6289                                                         Format:      "",
6290                                                 },
6291                                         },
6292                                         "address": {
6293                                                 SchemaProps: spec.SchemaProps{
6294                                                         Description: "The node address.",
6295                                                         Type:        []string{"string"},
6296                                                         Format:      "",
6297                                                 },
6298                                         },
6299                                 },
6300                                 Required: []string{"type", "address"},
6301                         },
6302                 },
6303                 Dependencies: []string{},
6304         }
6305 }
6306
6307 func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
6308         return common.OpenAPIDefinition{
6309                 Schema: spec.Schema{
6310                         SchemaProps: spec.SchemaProps{
6311                                 Description: "Node affinity is a group of node affinity scheduling rules.",
6312                                 Properties: map[string]spec.Schema{
6313                                         "requiredDuringSchedulingIgnoredDuringExecution": {
6314                                                 SchemaProps: spec.SchemaProps{
6315                                                         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.",
6316                                                         Ref:         ref("k8s.io/api/core/v1.NodeSelector"),
6317                                                 },
6318                                         },
6319                                         "preferredDuringSchedulingIgnoredDuringExecution": {
6320                                                 SchemaProps: spec.SchemaProps{
6321                                                         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.",
6322                                                         Type:        []string{"array"},
6323                                                         Items: &spec.SchemaOrArray{
6324                                                                 Schema: &spec.Schema{
6325                                                                         SchemaProps: spec.SchemaProps{
6326                                                                                 Ref: ref("k8s.io/api/core/v1.PreferredSchedulingTerm"),
6327                                                                         },
6328                                                                 },
6329                                                         },
6330                                                 },
6331                                         },
6332                                 },
6333                         },
6334                 },
6335                 Dependencies: []string{
6336                         "k8s.io/api/core/v1.NodeSelector", "k8s.io/api/core/v1.PreferredSchedulingTerm"},
6337         }
6338 }
6339
6340 func schema_k8sio_api_core_v1_NodeCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
6341         return common.OpenAPIDefinition{
6342                 Schema: spec.Schema{
6343                         SchemaProps: spec.SchemaProps{
6344                                 Description: "NodeCondition contains condition information for a node.",
6345                                 Properties: map[string]spec.Schema{
6346                                         "type": {
6347                                                 SchemaProps: spec.SchemaProps{
6348                                                         Description: "Type of node condition.",
6349                                                         Type:        []string{"string"},
6350                                                         Format:      "",
6351                                                 },
6352                                         },
6353                                         "status": {
6354                                                 SchemaProps: spec.SchemaProps{
6355                                                         Description: "Status of the condition, one of True, False, Unknown.",
6356                                                         Type:        []string{"string"},
6357                                                         Format:      "",
6358                                                 },
6359                                         },
6360                                         "lastHeartbeatTime": {
6361                                                 SchemaProps: spec.SchemaProps{
6362                                                         Description: "Last time we got an update on a given condition.",
6363                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6364                                                 },
6365                                         },
6366                                         "lastTransitionTime": {
6367                                                 SchemaProps: spec.SchemaProps{
6368                                                         Description: "Last time the condition transit from one status to another.",
6369                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6370                                                 },
6371                                         },
6372                                         "reason": {
6373                                                 SchemaProps: spec.SchemaProps{
6374                                                         Description: "(brief) reason for the condition's last transition.",
6375                                                         Type:        []string{"string"},
6376                                                         Format:      "",
6377                                                 },
6378                                         },
6379                                         "message": {
6380                                                 SchemaProps: spec.SchemaProps{
6381                                                         Description: "Human readable message indicating details about last transition.",
6382                                                         Type:        []string{"string"},
6383                                                         Format:      "",
6384                                                 },
6385                                         },
6386                                 },
6387                                 Required: []string{"type", "status"},
6388                         },
6389                 },
6390                 Dependencies: []string{
6391                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6392         }
6393 }
6394
6395 func schema_k8sio_api_core_v1_NodeConfigSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
6396         return common.OpenAPIDefinition{
6397                 Schema: spec.Schema{
6398                         SchemaProps: spec.SchemaProps{
6399                                 Description: "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.",
6400                                 Properties: map[string]spec.Schema{
6401                                         "configMap": {
6402                                                 SchemaProps: spec.SchemaProps{
6403                                                         Description: "ConfigMap is a reference to a Node's ConfigMap",
6404                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapNodeConfigSource"),
6405                                                 },
6406                                         },
6407                                 },
6408                         },
6409                 },
6410                 Dependencies: []string{
6411                         "k8s.io/api/core/v1.ConfigMapNodeConfigSource"},
6412         }
6413 }
6414
6415 func schema_k8sio_api_core_v1_NodeConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6416         return common.OpenAPIDefinition{
6417                 Schema: spec.Schema{
6418                         SchemaProps: spec.SchemaProps{
6419                                 Description: "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.",
6420                                 Properties: map[string]spec.Schema{
6421                                         "assigned": {
6422                                                 SchemaProps: spec.SchemaProps{
6423                                                         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.",
6424                                                         Ref:         ref("k8s.io/api/core/v1.NodeConfigSource"),
6425                                                 },
6426                                         },
6427                                         "active": {
6428                                                 SchemaProps: spec.SchemaProps{
6429                                                         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.",
6430                                                         Ref:         ref("k8s.io/api/core/v1.NodeConfigSource"),
6431                                                 },
6432                                         },
6433                                         "lastKnownGood": {
6434                                                 SchemaProps: spec.SchemaProps{
6435                                                         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.",
6436                                                         Ref:         ref("k8s.io/api/core/v1.NodeConfigSource"),
6437                                                 },
6438                                         },
6439                                         "error": {
6440                                                 SchemaProps: spec.SchemaProps{
6441                                                         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.",
6442                                                         Type:        []string{"string"},
6443                                                         Format:      "",
6444                                                 },
6445                                         },
6446                                 },
6447                         },
6448                 },
6449                 Dependencies: []string{
6450                         "k8s.io/api/core/v1.NodeConfigSource"},
6451         }
6452 }
6453
6454 func schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
6455         return common.OpenAPIDefinition{
6456                 Schema: spec.Schema{
6457                         SchemaProps: spec.SchemaProps{
6458                                 Description: "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
6459                                 Properties: map[string]spec.Schema{
6460                                         "kubeletEndpoint": {
6461                                                 SchemaProps: spec.SchemaProps{
6462                                                         Description: "Endpoint on which Kubelet is listening.",
6463                                                         Ref:         ref("k8s.io/api/core/v1.DaemonEndpoint"),
6464                                                 },
6465                                         },
6466                                 },
6467                         },
6468                 },
6469                 Dependencies: []string{
6470                         "k8s.io/api/core/v1.DaemonEndpoint"},
6471         }
6472 }
6473
6474 func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
6475         return common.OpenAPIDefinition{
6476                 Schema: spec.Schema{
6477                         SchemaProps: spec.SchemaProps{
6478                                 Description: "NodeList is the whole list of all Nodes which have been registered with master.",
6479                                 Properties: map[string]spec.Schema{
6480                                         "kind": {
6481                                                 SchemaProps: spec.SchemaProps{
6482                                                         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/api-conventions.md#types-kinds",
6483                                                         Type:        []string{"string"},
6484                                                         Format:      "",
6485                                                 },
6486                                         },
6487                                         "apiVersion": {
6488                                                 SchemaProps: spec.SchemaProps{
6489                                                         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/api-conventions.md#resources",
6490                                                         Type:        []string{"string"},
6491                                                         Format:      "",
6492                                                 },
6493                                         },
6494                                         "metadata": {
6495                                                 SchemaProps: spec.SchemaProps{
6496                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
6497                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
6498                                                 },
6499                                         },
6500                                         "items": {
6501                                                 SchemaProps: spec.SchemaProps{
6502                                                         Description: "List of nodes",
6503                                                         Type:        []string{"array"},
6504                                                         Items: &spec.SchemaOrArray{
6505                                                                 Schema: &spec.Schema{
6506                                                                         SchemaProps: spec.SchemaProps{
6507                                                                                 Ref: ref("k8s.io/api/core/v1.Node"),
6508                                                                         },
6509                                                                 },
6510                                                         },
6511                                                 },
6512                                         },
6513                                 },
6514                                 Required: []string{"items"},
6515                         },
6516                 },
6517                 Dependencies: []string{
6518                         "k8s.io/api/core/v1.Node", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
6519         }
6520 }
6521
6522 func schema_k8sio_api_core_v1_NodeProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
6523         return common.OpenAPIDefinition{
6524                 Schema: spec.Schema{
6525                         SchemaProps: spec.SchemaProps{
6526                                 Description: "NodeProxyOptions is the query options to a Node's proxy call.",
6527                                 Properties: map[string]spec.Schema{
6528                                         "kind": {
6529                                                 SchemaProps: spec.SchemaProps{
6530                                                         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/api-conventions.md#types-kinds",
6531                                                         Type:        []string{"string"},
6532                                                         Format:      "",
6533                                                 },
6534                                         },
6535                                         "apiVersion": {
6536                                                 SchemaProps: spec.SchemaProps{
6537                                                         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/api-conventions.md#resources",
6538                                                         Type:        []string{"string"},
6539                                                         Format:      "",
6540                                                 },
6541                                         },
6542                                         "path": {
6543                                                 SchemaProps: spec.SchemaProps{
6544                                                         Description: "Path is the URL path to use for the current proxy request to node.",
6545                                                         Type:        []string{"string"},
6546                                                         Format:      "",
6547                                                 },
6548                                         },
6549                                 },
6550                         },
6551                 },
6552                 Dependencies: []string{},
6553         }
6554 }
6555
6556 func schema_k8sio_api_core_v1_NodeResources(ref common.ReferenceCallback) common.OpenAPIDefinition {
6557         return common.OpenAPIDefinition{
6558                 Schema: spec.Schema{
6559                         SchemaProps: spec.SchemaProps{
6560                                 Description: "NodeResources is an object for conveying resource information about a node. see http://releases.k8s.io/HEAD/docs/design/resources.md for more details.",
6561                                 Properties: map[string]spec.Schema{
6562                                         "Capacity": {
6563                                                 SchemaProps: spec.SchemaProps{
6564                                                         Description: "Capacity represents the available resources of a node",
6565                                                         Type:        []string{"object"},
6566                                                         AdditionalProperties: &spec.SchemaOrBool{
6567                                                                 Schema: &spec.Schema{
6568                                                                         SchemaProps: spec.SchemaProps{
6569                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
6570                                                                         },
6571                                                                 },
6572                                                         },
6573                                                 },
6574                                         },
6575                                 },
6576                                 Required: []string{"Capacity"},
6577                         },
6578                 },
6579                 Dependencies: []string{
6580                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
6581         }
6582 }
6583
6584 func schema_k8sio_api_core_v1_NodeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
6585         return common.OpenAPIDefinition{
6586                 Schema: spec.Schema{
6587                         SchemaProps: spec.SchemaProps{
6588                                 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.",
6589                                 Properties: map[string]spec.Schema{
6590                                         "nodeSelectorTerms": {
6591                                                 SchemaProps: spec.SchemaProps{
6592                                                         Description: "Required. A list of node selector terms. The terms are ORed.",
6593                                                         Type:        []string{"array"},
6594                                                         Items: &spec.SchemaOrArray{
6595                                                                 Schema: &spec.Schema{
6596                                                                         SchemaProps: spec.SchemaProps{
6597                                                                                 Ref: ref("k8s.io/api/core/v1.NodeSelectorTerm"),
6598                                                                         },
6599                                                                 },
6600                                                         },
6601                                                 },
6602                                         },
6603                                 },
6604                                 Required: []string{"nodeSelectorTerms"},
6605                         },
6606                 },
6607                 Dependencies: []string{
6608                         "k8s.io/api/core/v1.NodeSelectorTerm"},
6609         }
6610 }
6611
6612 func schema_k8sio_api_core_v1_NodeSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
6613         return common.OpenAPIDefinition{
6614                 Schema: spec.Schema{
6615                         SchemaProps: spec.SchemaProps{
6616                                 Description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
6617                                 Properties: map[string]spec.Schema{
6618                                         "key": {
6619                                                 SchemaProps: spec.SchemaProps{
6620                                                         Description: "The label key that the selector applies to.",
6621                                                         Type:        []string{"string"},
6622                                                         Format:      "",
6623                                                 },
6624                                         },
6625                                         "operator": {
6626                                                 SchemaProps: spec.SchemaProps{
6627                                                         Description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
6628                                                         Type:        []string{"string"},
6629                                                         Format:      "",
6630                                                 },
6631                                         },
6632                                         "values": {
6633                                                 SchemaProps: spec.SchemaProps{
6634                                                         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.",
6635                                                         Type:        []string{"array"},
6636                                                         Items: &spec.SchemaOrArray{
6637                                                                 Schema: &spec.Schema{
6638                                                                         SchemaProps: spec.SchemaProps{
6639                                                                                 Type:   []string{"string"},
6640                                                                                 Format: "",
6641                                                                         },
6642                                                                 },
6643                                                         },
6644                                                 },
6645                                         },
6646                                 },
6647                                 Required: []string{"key", "operator"},
6648                         },
6649                 },
6650                 Dependencies: []string{},
6651         }
6652 }
6653
6654 func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
6655         return common.OpenAPIDefinition{
6656                 Schema: spec.Schema{
6657                         SchemaProps: spec.SchemaProps{
6658                                 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.",
6659                                 Properties: map[string]spec.Schema{
6660                                         "matchExpressions": {
6661                                                 SchemaProps: spec.SchemaProps{
6662                                                         Description: "A list of node selector requirements by node's labels.",
6663                                                         Type:        []string{"array"},
6664                                                         Items: &spec.SchemaOrArray{
6665                                                                 Schema: &spec.Schema{
6666                                                                         SchemaProps: spec.SchemaProps{
6667                                                                                 Ref: ref("k8s.io/api/core/v1.NodeSelectorRequirement"),
6668                                                                         },
6669                                                                 },
6670                                                         },
6671                                                 },
6672                                         },
6673                                         "matchFields": {
6674                                                 SchemaProps: spec.SchemaProps{
6675                                                         Description: "A list of node selector requirements by node's fields.",
6676                                                         Type:        []string{"array"},
6677                                                         Items: &spec.SchemaOrArray{
6678                                                                 Schema: &spec.Schema{
6679                                                                         SchemaProps: spec.SchemaProps{
6680                                                                                 Ref: ref("k8s.io/api/core/v1.NodeSelectorRequirement"),
6681                                                                         },
6682                                                                 },
6683                                                         },
6684                                                 },
6685                                         },
6686                                 },
6687                         },
6688                 },
6689                 Dependencies: []string{
6690                         "k8s.io/api/core/v1.NodeSelectorRequirement"},
6691         }
6692 }
6693
6694 func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
6695         return common.OpenAPIDefinition{
6696                 Schema: spec.Schema{
6697                         SchemaProps: spec.SchemaProps{
6698                                 Description: "NodeSpec describes the attributes that a node is created with.",
6699                                 Properties: map[string]spec.Schema{
6700                                         "podCIDR": {
6701                                                 SchemaProps: spec.SchemaProps{
6702                                                         Description: "PodCIDR represents the pod IP range assigned to the node.",
6703                                                         Type:        []string{"string"},
6704                                                         Format:      "",
6705                                                 },
6706                                         },
6707                                         "providerID": {
6708                                                 SchemaProps: spec.SchemaProps{
6709                                                         Description: "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>",
6710                                                         Type:        []string{"string"},
6711                                                         Format:      "",
6712                                                 },
6713                                         },
6714                                         "unschedulable": {
6715                                                 SchemaProps: spec.SchemaProps{
6716                                                         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",
6717                                                         Type:        []string{"boolean"},
6718                                                         Format:      "",
6719                                                 },
6720                                         },
6721                                         "taints": {
6722                                                 SchemaProps: spec.SchemaProps{
6723                                                         Description: "If specified, the node's taints.",
6724                                                         Type:        []string{"array"},
6725                                                         Items: &spec.SchemaOrArray{
6726                                                                 Schema: &spec.Schema{
6727                                                                         SchemaProps: spec.SchemaProps{
6728                                                                                 Ref: ref("k8s.io/api/core/v1.Taint"),
6729                                                                         },
6730                                                                 },
6731                                                         },
6732                                                 },
6733                                         },
6734                                         "configSource": {
6735                                                 SchemaProps: spec.SchemaProps{
6736                                                         Description: "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field",
6737                                                         Ref:         ref("k8s.io/api/core/v1.NodeConfigSource"),
6738                                                 },
6739                                         },
6740                                         "externalID": {
6741                                                 SchemaProps: spec.SchemaProps{
6742                                                         Description: "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966",
6743                                                         Type:        []string{"string"},
6744                                                         Format:      "",
6745                                                 },
6746                                         },
6747                                 },
6748                         },
6749                 },
6750                 Dependencies: []string{
6751                         "k8s.io/api/core/v1.NodeConfigSource", "k8s.io/api/core/v1.Taint"},
6752         }
6753 }
6754
6755 func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6756         return common.OpenAPIDefinition{
6757                 Schema: spec.Schema{
6758                         SchemaProps: spec.SchemaProps{
6759                                 Description: "NodeStatus is information about the current status of a node.",
6760                                 Properties: map[string]spec.Schema{
6761                                         "capacity": {
6762                                                 SchemaProps: spec.SchemaProps{
6763                                                         Description: "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
6764                                                         Type:        []string{"object"},
6765                                                         AdditionalProperties: &spec.SchemaOrBool{
6766                                                                 Schema: &spec.Schema{
6767                                                                         SchemaProps: spec.SchemaProps{
6768                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
6769                                                                         },
6770                                                                 },
6771                                                         },
6772                                                 },
6773                                         },
6774                                         "allocatable": {
6775                                                 SchemaProps: spec.SchemaProps{
6776                                                         Description: "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
6777                                                         Type:        []string{"object"},
6778                                                         AdditionalProperties: &spec.SchemaOrBool{
6779                                                                 Schema: &spec.Schema{
6780                                                                         SchemaProps: spec.SchemaProps{
6781                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
6782                                                                         },
6783                                                                 },
6784                                                         },
6785                                                 },
6786                                         },
6787                                         "phase": {
6788                                                 SchemaProps: spec.SchemaProps{
6789                                                         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.",
6790                                                         Type:        []string{"string"},
6791                                                         Format:      "",
6792                                                 },
6793                                         },
6794                                         "conditions": {
6795                                                 VendorExtensible: spec.VendorExtensible{
6796                                                         Extensions: spec.Extensions{
6797                                                                 "x-kubernetes-patch-merge-key": "type",
6798                                                                 "x-kubernetes-patch-strategy":  "merge",
6799                                                         },
6800                                                 },
6801                                                 SchemaProps: spec.SchemaProps{
6802                                                         Description: "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
6803                                                         Type:        []string{"array"},
6804                                                         Items: &spec.SchemaOrArray{
6805                                                                 Schema: &spec.Schema{
6806                                                                         SchemaProps: spec.SchemaProps{
6807                                                                                 Ref: ref("k8s.io/api/core/v1.NodeCondition"),
6808                                                                         },
6809                                                                 },
6810                                                         },
6811                                                 },
6812                                         },
6813                                         "addresses": {
6814                                                 VendorExtensible: spec.VendorExtensible{
6815                                                         Extensions: spec.Extensions{
6816                                                                 "x-kubernetes-patch-merge-key": "type",
6817                                                                 "x-kubernetes-patch-strategy":  "merge",
6818                                                         },
6819                                                 },
6820                                                 SchemaProps: spec.SchemaProps{
6821                                                         Description: "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses",
6822                                                         Type:        []string{"array"},
6823                                                         Items: &spec.SchemaOrArray{
6824                                                                 Schema: &spec.Schema{
6825                                                                         SchemaProps: spec.SchemaProps{
6826                                                                                 Ref: ref("k8s.io/api/core/v1.NodeAddress"),
6827                                                                         },
6828                                                                 },
6829                                                         },
6830                                                 },
6831                                         },
6832                                         "daemonEndpoints": {
6833                                                 SchemaProps: spec.SchemaProps{
6834                                                         Description: "Endpoints of daemons running on the Node.",
6835                                                         Ref:         ref("k8s.io/api/core/v1.NodeDaemonEndpoints"),
6836                                                 },
6837                                         },
6838                                         "nodeInfo": {
6839                                                 SchemaProps: spec.SchemaProps{
6840                                                         Description: "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info",
6841                                                         Ref:         ref("k8s.io/api/core/v1.NodeSystemInfo"),
6842                                                 },
6843                                         },
6844                                         "images": {
6845                                                 SchemaProps: spec.SchemaProps{
6846                                                         Description: "List of container images on this node",
6847                                                         Type:        []string{"array"},
6848                                                         Items: &spec.SchemaOrArray{
6849                                                                 Schema: &spec.Schema{
6850                                                                         SchemaProps: spec.SchemaProps{
6851                                                                                 Ref: ref("k8s.io/api/core/v1.ContainerImage"),
6852                                                                         },
6853                                                                 },
6854                                                         },
6855                                                 },
6856                                         },
6857                                         "volumesInUse": {
6858                                                 SchemaProps: spec.SchemaProps{
6859                                                         Description: "List of attachable volumes in use (mounted) by the node.",
6860                                                         Type:        []string{"array"},
6861                                                         Items: &spec.SchemaOrArray{
6862                                                                 Schema: &spec.Schema{
6863                                                                         SchemaProps: spec.SchemaProps{
6864                                                                                 Type:   []string{"string"},
6865                                                                                 Format: "",
6866                                                                         },
6867                                                                 },
6868                                                         },
6869                                                 },
6870                                         },
6871                                         "volumesAttached": {
6872                                                 SchemaProps: spec.SchemaProps{
6873                                                         Description: "List of volumes that are attached to the node.",
6874                                                         Type:        []string{"array"},
6875                                                         Items: &spec.SchemaOrArray{
6876                                                                 Schema: &spec.Schema{
6877                                                                         SchemaProps: spec.SchemaProps{
6878                                                                                 Ref: ref("k8s.io/api/core/v1.AttachedVolume"),
6879                                                                         },
6880                                                                 },
6881                                                         },
6882                                                 },
6883                                         },
6884                                         "config": {
6885                                                 SchemaProps: spec.SchemaProps{
6886                                                         Description: "Status of the config assigned to the node via the dynamic Kubelet config feature.",
6887                                                         Ref:         ref("k8s.io/api/core/v1.NodeConfigStatus"),
6888                                                 },
6889                                         },
6890                                 },
6891                         },
6892                 },
6893                 Dependencies: []string{
6894                         "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.NodeSystemInfo", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
6895         }
6896 }
6897
6898 func schema_k8sio_api_core_v1_NodeSystemInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
6899         return common.OpenAPIDefinition{
6900                 Schema: spec.Schema{
6901                         SchemaProps: spec.SchemaProps{
6902                                 Description: "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
6903                                 Properties: map[string]spec.Schema{
6904                                         "machineID": {
6905                                                 SchemaProps: spec.SchemaProps{
6906                                                         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",
6907                                                         Type:        []string{"string"},
6908                                                         Format:      "",
6909                                                 },
6910                                         },
6911                                         "systemUUID": {
6912                                                 SchemaProps: spec.SchemaProps{
6913                                                         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/getting-system-uuid.html",
6914                                                         Type:        []string{"string"},
6915                                                         Format:      "",
6916                                                 },
6917                                         },
6918                                         "bootID": {
6919                                                 SchemaProps: spec.SchemaProps{
6920                                                         Description: "Boot ID reported by the node.",
6921                                                         Type:        []string{"string"},
6922                                                         Format:      "",
6923                                                 },
6924                                         },
6925                                         "kernelVersion": {
6926                                                 SchemaProps: spec.SchemaProps{
6927                                                         Description: "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
6928                                                         Type:        []string{"string"},
6929                                                         Format:      "",
6930                                                 },
6931                                         },
6932                                         "osImage": {
6933                                                 SchemaProps: spec.SchemaProps{
6934                                                         Description: "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
6935                                                         Type:        []string{"string"},
6936                                                         Format:      "",
6937                                                 },
6938                                         },
6939                                         "containerRuntimeVersion": {
6940                                                 SchemaProps: spec.SchemaProps{
6941                                                         Description: "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
6942                                                         Type:        []string{"string"},
6943                                                         Format:      "",
6944                                                 },
6945                                         },
6946                                         "kubeletVersion": {
6947                                                 SchemaProps: spec.SchemaProps{
6948                                                         Description: "Kubelet Version reported by the node.",
6949                                                         Type:        []string{"string"},
6950                                                         Format:      "",
6951                                                 },
6952                                         },
6953                                         "kubeProxyVersion": {
6954                                                 SchemaProps: spec.SchemaProps{
6955                                                         Description: "KubeProxy Version reported by the node.",
6956                                                         Type:        []string{"string"},
6957                                                         Format:      "",
6958                                                 },
6959                                         },
6960                                         "operatingSystem": {
6961                                                 SchemaProps: spec.SchemaProps{
6962                                                         Description: "The Operating System reported by the node",
6963                                                         Type:        []string{"string"},
6964                                                         Format:      "",
6965                                                 },
6966                                         },
6967                                         "architecture": {
6968                                                 SchemaProps: spec.SchemaProps{
6969                                                         Description: "The Architecture reported by the node",
6970                                                         Type:        []string{"string"},
6971                                                         Format:      "",
6972                                                 },
6973                                         },
6974                                 },
6975                                 Required: []string{"machineID", "systemUUID", "bootID", "kernelVersion", "osImage", "containerRuntimeVersion", "kubeletVersion", "kubeProxyVersion", "operatingSystem", "architecture"},
6976                         },
6977                 },
6978                 Dependencies: []string{},
6979         }
6980 }
6981
6982 func schema_k8sio_api_core_v1_ObjectFieldSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
6983         return common.OpenAPIDefinition{
6984                 Schema: spec.Schema{
6985                         SchemaProps: spec.SchemaProps{
6986                                 Description: "ObjectFieldSelector selects an APIVersioned field of an object.",
6987                                 Properties: map[string]spec.Schema{
6988                                         "apiVersion": {
6989                                                 SchemaProps: spec.SchemaProps{
6990                                                         Description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
6991                                                         Type:        []string{"string"},
6992                                                         Format:      "",
6993                                                 },
6994                                         },
6995                                         "fieldPath": {
6996                                                 SchemaProps: spec.SchemaProps{
6997                                                         Description: "Path of the field to select in the specified API version.",
6998                                                         Type:        []string{"string"},
6999                                                         Format:      "",
7000                                                 },
7001                                         },
7002                                 },
7003                                 Required: []string{"fieldPath"},
7004                         },
7005                 },
7006                 Dependencies: []string{},
7007         }
7008 }
7009
7010 func schema_k8sio_api_core_v1_ObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
7011         return common.OpenAPIDefinition{
7012                 Schema: spec.Schema{
7013                         SchemaProps: spec.SchemaProps{
7014                                 Description: "ObjectReference contains enough information to let you inspect or modify the referred object.",
7015                                 Properties: map[string]spec.Schema{
7016                                         "kind": {
7017                                                 SchemaProps: spec.SchemaProps{
7018                                                         Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
7019                                                         Type:        []string{"string"},
7020                                                         Format:      "",
7021                                                 },
7022                                         },
7023                                         "namespace": {
7024                                                 SchemaProps: spec.SchemaProps{
7025                                                         Description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
7026                                                         Type:        []string{"string"},
7027                                                         Format:      "",
7028                                                 },
7029                                         },
7030                                         "name": {
7031                                                 SchemaProps: spec.SchemaProps{
7032                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
7033                                                         Type:        []string{"string"},
7034                                                         Format:      "",
7035                                                 },
7036                                         },
7037                                         "uid": {
7038                                                 SchemaProps: spec.SchemaProps{
7039                                                         Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
7040                                                         Type:        []string{"string"},
7041                                                         Format:      "",
7042                                                 },
7043                                         },
7044                                         "apiVersion": {
7045                                                 SchemaProps: spec.SchemaProps{
7046                                                         Description: "API version of the referent.",
7047                                                         Type:        []string{"string"},
7048                                                         Format:      "",
7049                                                 },
7050                                         },
7051                                         "resourceVersion": {
7052                                                 SchemaProps: spec.SchemaProps{
7053                                                         Description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency",
7054                                                         Type:        []string{"string"},
7055                                                         Format:      "",
7056                                                 },
7057                                         },
7058                                         "fieldPath": {
7059                                                 SchemaProps: spec.SchemaProps{
7060                                                         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.",
7061                                                         Type:        []string{"string"},
7062                                                         Format:      "",
7063                                                 },
7064                                         },
7065                                 },
7066                         },
7067                 },
7068                 Dependencies: []string{},
7069         }
7070 }
7071
7072 func schema_k8sio_api_core_v1_PersistentVolume(ref common.ReferenceCallback) common.OpenAPIDefinition {
7073         return common.OpenAPIDefinition{
7074                 Schema: spec.Schema{
7075                         SchemaProps: spec.SchemaProps{
7076                                 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",
7077                                 Properties: map[string]spec.Schema{
7078                                         "kind": {
7079                                                 SchemaProps: spec.SchemaProps{
7080                                                         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/api-conventions.md#types-kinds",
7081                                                         Type:        []string{"string"},
7082                                                         Format:      "",
7083                                                 },
7084                                         },
7085                                         "apiVersion": {
7086                                                 SchemaProps: spec.SchemaProps{
7087                                                         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/api-conventions.md#resources",
7088                                                         Type:        []string{"string"},
7089                                                         Format:      "",
7090                                                 },
7091                                         },
7092                                         "metadata": {
7093                                                 SchemaProps: spec.SchemaProps{
7094                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
7095                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7096                                                 },
7097                                         },
7098                                         "spec": {
7099                                                 SchemaProps: spec.SchemaProps{
7100                                                         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",
7101                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeSpec"),
7102                                                 },
7103                                         },
7104                                         "status": {
7105                                                 SchemaProps: spec.SchemaProps{
7106                                                         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",
7107                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeStatus"),
7108                                                 },
7109                                         },
7110                                 },
7111                         },
7112                 },
7113                 Dependencies: []string{
7114                         "k8s.io/api/core/v1.PersistentVolumeSpec", "k8s.io/api/core/v1.PersistentVolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7115         }
7116 }
7117
7118 func schema_k8sio_api_core_v1_PersistentVolumeClaim(ref common.ReferenceCallback) common.OpenAPIDefinition {
7119         return common.OpenAPIDefinition{
7120                 Schema: spec.Schema{
7121                         SchemaProps: spec.SchemaProps{
7122                                 Description: "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
7123                                 Properties: map[string]spec.Schema{
7124                                         "kind": {
7125                                                 SchemaProps: spec.SchemaProps{
7126                                                         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/api-conventions.md#types-kinds",
7127                                                         Type:        []string{"string"},
7128                                                         Format:      "",
7129                                                 },
7130                                         },
7131                                         "apiVersion": {
7132                                                 SchemaProps: spec.SchemaProps{
7133                                                         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/api-conventions.md#resources",
7134                                                         Type:        []string{"string"},
7135                                                         Format:      "",
7136                                                 },
7137                                         },
7138                                         "metadata": {
7139                                                 SchemaProps: spec.SchemaProps{
7140                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
7141                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7142                                                 },
7143                                         },
7144                                         "spec": {
7145                                                 SchemaProps: spec.SchemaProps{
7146                                                         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",
7147                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
7148                                                 },
7149                                         },
7150                                         "status": {
7151                                                 SchemaProps: spec.SchemaProps{
7152                                                         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",
7153                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaimStatus"),
7154                                                 },
7155                                         },
7156                                 },
7157                         },
7158                 },
7159                 Dependencies: []string{
7160                         "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/api/core/v1.PersistentVolumeClaimStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7161         }
7162 }
7163
7164 func schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
7165         return common.OpenAPIDefinition{
7166                 Schema: spec.Schema{
7167                         SchemaProps: spec.SchemaProps{
7168                                 Description: "PersistentVolumeClaimCondition contails details about state of pvc",
7169                                 Properties: map[string]spec.Schema{
7170                                         "type": {
7171                                                 SchemaProps: spec.SchemaProps{
7172                                                         Type:   []string{"string"},
7173                                                         Format: "",
7174                                                 },
7175                                         },
7176                                         "status": {
7177                                                 SchemaProps: spec.SchemaProps{
7178                                                         Type:   []string{"string"},
7179                                                         Format: "",
7180                                                 },
7181                                         },
7182                                         "lastProbeTime": {
7183                                                 SchemaProps: spec.SchemaProps{
7184                                                         Description: "Last time we probed the condition.",
7185                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
7186                                                 },
7187                                         },
7188                                         "lastTransitionTime": {
7189                                                 SchemaProps: spec.SchemaProps{
7190                                                         Description: "Last time the condition transitioned from one status to another.",
7191                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
7192                                                 },
7193                                         },
7194                                         "reason": {
7195                                                 SchemaProps: spec.SchemaProps{
7196                                                         Description: "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
7197                                                         Type:        []string{"string"},
7198                                                         Format:      "",
7199                                                 },
7200                                         },
7201                                         "message": {
7202                                                 SchemaProps: spec.SchemaProps{
7203                                                         Description: "Human-readable message indicating details about last transition.",
7204                                                         Type:        []string{"string"},
7205                                                         Format:      "",
7206                                                 },
7207                                         },
7208                                 },
7209                                 Required: []string{"type", "status"},
7210                         },
7211                 },
7212                 Dependencies: []string{
7213                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
7214         }
7215 }
7216
7217 func schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref common.ReferenceCallback) common.OpenAPIDefinition {
7218         return common.OpenAPIDefinition{
7219                 Schema: spec.Schema{
7220                         SchemaProps: spec.SchemaProps{
7221                                 Description: "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.",
7222                                 Properties: map[string]spec.Schema{
7223                                         "kind": {
7224                                                 SchemaProps: spec.SchemaProps{
7225                                                         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/api-conventions.md#types-kinds",
7226                                                         Type:        []string{"string"},
7227                                                         Format:      "",
7228                                                 },
7229                                         },
7230                                         "apiVersion": {
7231                                                 SchemaProps: spec.SchemaProps{
7232                                                         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/api-conventions.md#resources",
7233                                                         Type:        []string{"string"},
7234                                                         Format:      "",
7235                                                 },
7236                                         },
7237                                         "metadata": {
7238                                                 SchemaProps: spec.SchemaProps{
7239                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
7240                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
7241                                                 },
7242                                         },
7243                                         "items": {
7244                                                 SchemaProps: spec.SchemaProps{
7245                                                         Description: "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
7246                                                         Type:        []string{"array"},
7247                                                         Items: &spec.SchemaOrArray{
7248                                                                 Schema: &spec.Schema{
7249                                                                         SchemaProps: spec.SchemaProps{
7250                                                                                 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaim"),
7251                                                                         },
7252                                                                 },
7253                                                         },
7254                                                 },
7255                                         },
7256                                 },
7257                                 Required: []string{"items"},
7258                         },
7259                 },
7260                 Dependencies: []string{
7261                         "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
7262         }
7263 }
7264
7265 func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
7266         return common.OpenAPIDefinition{
7267                 Schema: spec.Schema{
7268                         SchemaProps: spec.SchemaProps{
7269                                 Description: "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
7270                                 Properties: map[string]spec.Schema{
7271                                         "accessModes": {
7272                                                 SchemaProps: spec.SchemaProps{
7273                                                         Description: "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
7274                                                         Type:        []string{"array"},
7275                                                         Items: &spec.SchemaOrArray{
7276                                                                 Schema: &spec.Schema{
7277                                                                         SchemaProps: spec.SchemaProps{
7278                                                                                 Type:   []string{"string"},
7279                                                                                 Format: "",
7280                                                                         },
7281                                                                 },
7282                                                         },
7283                                                 },
7284                                         },
7285                                         "selector": {
7286                                                 SchemaProps: spec.SchemaProps{
7287                                                         Description: "A label query over volumes to consider for binding.",
7288                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
7289                                                 },
7290                                         },
7291                                         "resources": {
7292                                                 SchemaProps: spec.SchemaProps{
7293                                                         Description: "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
7294                                                         Ref:         ref("k8s.io/api/core/v1.ResourceRequirements"),
7295                                                 },
7296                                         },
7297                                         "volumeName": {
7298                                                 SchemaProps: spec.SchemaProps{
7299                                                         Description: "VolumeName is the binding reference to the PersistentVolume backing this claim.",
7300                                                         Type:        []string{"string"},
7301                                                         Format:      "",
7302                                                 },
7303                                         },
7304                                         "storageClassName": {
7305                                                 SchemaProps: spec.SchemaProps{
7306                                                         Description: "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
7307                                                         Type:        []string{"string"},
7308                                                         Format:      "",
7309                                                 },
7310                                         },
7311                                         "volumeMode": {
7312                                                 SchemaProps: spec.SchemaProps{
7313                                                         Description: "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.",
7314                                                         Type:        []string{"string"},
7315                                                         Format:      "",
7316                                                 },
7317                                         },
7318                                         "dataSource": {
7319                                                 SchemaProps: spec.SchemaProps{
7320                                                         Description: "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.",
7321                                                         Ref:         ref("k8s.io/api/core/v1.TypedLocalObjectReference"),
7322                                                 },
7323                                         },
7324                                 },
7325                         },
7326                 },
7327                 Dependencies: []string{
7328                         "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
7329         }
7330 }
7331
7332 func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7333         return common.OpenAPIDefinition{
7334                 Schema: spec.Schema{
7335                         SchemaProps: spec.SchemaProps{
7336                                 Description: "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
7337                                 Properties: map[string]spec.Schema{
7338                                         "phase": {
7339                                                 SchemaProps: spec.SchemaProps{
7340                                                         Description: "Phase represents the current phase of PersistentVolumeClaim.",
7341                                                         Type:        []string{"string"},
7342                                                         Format:      "",
7343                                                 },
7344                                         },
7345                                         "accessModes": {
7346                                                 SchemaProps: spec.SchemaProps{
7347                                                         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",
7348                                                         Type:        []string{"array"},
7349                                                         Items: &spec.SchemaOrArray{
7350                                                                 Schema: &spec.Schema{
7351                                                                         SchemaProps: spec.SchemaProps{
7352                                                                                 Type:   []string{"string"},
7353                                                                                 Format: "",
7354                                                                         },
7355                                                                 },
7356                                                         },
7357                                                 },
7358                                         },
7359                                         "capacity": {
7360                                                 SchemaProps: spec.SchemaProps{
7361                                                         Description: "Represents the actual resources of the underlying volume.",
7362                                                         Type:        []string{"object"},
7363                                                         AdditionalProperties: &spec.SchemaOrBool{
7364                                                                 Schema: &spec.Schema{
7365                                                                         SchemaProps: spec.SchemaProps{
7366                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
7367                                                                         },
7368                                                                 },
7369                                                         },
7370                                                 },
7371                                         },
7372                                         "conditions": {
7373                                                 VendorExtensible: spec.VendorExtensible{
7374                                                         Extensions: spec.Extensions{
7375                                                                 "x-kubernetes-patch-merge-key": "type",
7376                                                                 "x-kubernetes-patch-strategy":  "merge",
7377                                                         },
7378                                                 },
7379                                                 SchemaProps: spec.SchemaProps{
7380                                                         Description: "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
7381                                                         Type:        []string{"array"},
7382                                                         Items: &spec.SchemaOrArray{
7383                                                                 Schema: &spec.Schema{
7384                                                                         SchemaProps: spec.SchemaProps{
7385                                                                                 Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimCondition"),
7386                                                                         },
7387                                                                 },
7388                                                         },
7389                                                 },
7390                                         },
7391                                 },
7392                         },
7393                 },
7394                 Dependencies: []string{
7395                         "k8s.io/api/core/v1.PersistentVolumeClaimCondition", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
7396         }
7397 }
7398
7399 func schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7400         return common.OpenAPIDefinition{
7401                 Schema: spec.Schema{
7402                         SchemaProps: spec.SchemaProps{
7403                                 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).",
7404                                 Properties: map[string]spec.Schema{
7405                                         "claimName": {
7406                                                 SchemaProps: spec.SchemaProps{
7407                                                         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",
7408                                                         Type:        []string{"string"},
7409                                                         Format:      "",
7410                                                 },
7411                                         },
7412                                         "readOnly": {
7413                                                 SchemaProps: spec.SchemaProps{
7414                                                         Description: "Will force the ReadOnly setting in VolumeMounts. Default false.",
7415                                                         Type:        []string{"boolean"},
7416                                                         Format:      "",
7417                                                 },
7418                                         },
7419                                 },
7420                                 Required: []string{"claimName"},
7421                         },
7422                 },
7423                 Dependencies: []string{},
7424         }
7425 }
7426
7427 func schema_k8sio_api_core_v1_PersistentVolumeList(ref common.ReferenceCallback) common.OpenAPIDefinition {
7428         return common.OpenAPIDefinition{
7429                 Schema: spec.Schema{
7430                         SchemaProps: spec.SchemaProps{
7431                                 Description: "PersistentVolumeList is a list of PersistentVolume items.",
7432                                 Properties: map[string]spec.Schema{
7433                                         "kind": {
7434                                                 SchemaProps: spec.SchemaProps{
7435                                                         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/api-conventions.md#types-kinds",
7436                                                         Type:        []string{"string"},
7437                                                         Format:      "",
7438                                                 },
7439                                         },
7440                                         "apiVersion": {
7441                                                 SchemaProps: spec.SchemaProps{
7442                                                         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/api-conventions.md#resources",
7443                                                         Type:        []string{"string"},
7444                                                         Format:      "",
7445                                                 },
7446                                         },
7447                                         "metadata": {
7448                                                 SchemaProps: spec.SchemaProps{
7449                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
7450                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
7451                                                 },
7452                                         },
7453                                         "items": {
7454                                                 SchemaProps: spec.SchemaProps{
7455                                                         Description: "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes",
7456                                                         Type:        []string{"array"},
7457                                                         Items: &spec.SchemaOrArray{
7458                                                                 Schema: &spec.Schema{
7459                                                                         SchemaProps: spec.SchemaProps{
7460                                                                                 Ref: ref("k8s.io/api/core/v1.PersistentVolume"),
7461                                                                         },
7462                                                                 },
7463                                                         },
7464                                                 },
7465                                         },
7466                                 },
7467                                 Required: []string{"items"},
7468                         },
7469                 },
7470                 Dependencies: []string{
7471                         "k8s.io/api/core/v1.PersistentVolume", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
7472         }
7473 }
7474
7475 func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7476         return common.OpenAPIDefinition{
7477                 Schema: spec.Schema{
7478                         SchemaProps: spec.SchemaProps{
7479                                 Description: "PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.",
7480                                 Properties: map[string]spec.Schema{
7481                                         "gcePersistentDisk": {
7482                                                 SchemaProps: spec.SchemaProps{
7483                                                         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",
7484                                                         Ref:         ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
7485                                                 },
7486                                         },
7487                                         "awsElasticBlockStore": {
7488                                                 SchemaProps: spec.SchemaProps{
7489                                                         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",
7490                                                         Ref:         ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
7491                                                 },
7492                                         },
7493                                         "hostPath": {
7494                                                 SchemaProps: spec.SchemaProps{
7495                                                         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",
7496                                                         Ref:         ref("k8s.io/api/core/v1.HostPathVolumeSource"),
7497                                                 },
7498                                         },
7499                                         "glusterfs": {
7500                                                 SchemaProps: spec.SchemaProps{
7501                                                         Description: "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
7502                                                         Ref:         ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"),
7503                                                 },
7504                                         },
7505                                         "nfs": {
7506                                                 SchemaProps: spec.SchemaProps{
7507                                                         Description: "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
7508                                                         Ref:         ref("k8s.io/api/core/v1.NFSVolumeSource"),
7509                                                 },
7510                                         },
7511                                         "rbd": {
7512                                                 SchemaProps: spec.SchemaProps{
7513                                                         Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
7514                                                         Ref:         ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"),
7515                                                 },
7516                                         },
7517                                         "iscsi": {
7518                                                 SchemaProps: spec.SchemaProps{
7519                                                         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.",
7520                                                         Ref:         ref("k8s.io/api/core/v1.ISCSIPersistentVolumeSource"),
7521                                                 },
7522                                         },
7523                                         "cinder": {
7524                                                 SchemaProps: spec.SchemaProps{
7525                                                         Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
7526                                                         Ref:         ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"),
7527                                                 },
7528                                         },
7529                                         "cephfs": {
7530                                                 SchemaProps: spec.SchemaProps{
7531                                                         Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
7532                                                         Ref:         ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"),
7533                                                 },
7534                                         },
7535                                         "fc": {
7536                                                 SchemaProps: spec.SchemaProps{
7537                                                         Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
7538                                                         Ref:         ref("k8s.io/api/core/v1.FCVolumeSource"),
7539                                                 },
7540                                         },
7541                                         "flocker": {
7542                                                 SchemaProps: spec.SchemaProps{
7543                                                         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",
7544                                                         Ref:         ref("k8s.io/api/core/v1.FlockerVolumeSource"),
7545                                                 },
7546                                         },
7547                                         "flexVolume": {
7548                                                 SchemaProps: spec.SchemaProps{
7549                                                         Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
7550                                                         Ref:         ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"),
7551                                                 },
7552                                         },
7553                                         "azureFile": {
7554                                                 SchemaProps: spec.SchemaProps{
7555                                                         Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
7556                                                         Ref:         ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"),
7557                                                 },
7558                                         },
7559                                         "vsphereVolume": {
7560                                                 SchemaProps: spec.SchemaProps{
7561                                                         Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
7562                                                         Ref:         ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
7563                                                 },
7564                                         },
7565                                         "quobyte": {
7566                                                 SchemaProps: spec.SchemaProps{
7567                                                         Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
7568                                                         Ref:         ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
7569                                                 },
7570                                         },
7571                                         "azureDisk": {
7572                                                 SchemaProps: spec.SchemaProps{
7573                                                         Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
7574                                                         Ref:         ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
7575                                                 },
7576                                         },
7577                                         "photonPersistentDisk": {
7578                                                 SchemaProps: spec.SchemaProps{
7579                                                         Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
7580                                                         Ref:         ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
7581                                                 },
7582                                         },
7583                                         "portworxVolume": {
7584                                                 SchemaProps: spec.SchemaProps{
7585                                                         Description: "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
7586                                                         Ref:         ref("k8s.io/api/core/v1.PortworxVolumeSource"),
7587                                                 },
7588                                         },
7589                                         "scaleIO": {
7590                                                 SchemaProps: spec.SchemaProps{
7591                                                         Description: "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
7592                                                         Ref:         ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"),
7593                                                 },
7594                                         },
7595                                         "local": {
7596                                                 SchemaProps: spec.SchemaProps{
7597                                                         Description: "Local represents directly-attached storage with node affinity",
7598                                                         Ref:         ref("k8s.io/api/core/v1.LocalVolumeSource"),
7599                                                 },
7600                                         },
7601                                         "storageos": {
7602                                                 SchemaProps: spec.SchemaProps{
7603                                                         Description: "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md",
7604                                                         Ref:         ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"),
7605                                                 },
7606                                         },
7607                                         "csi": {
7608                                                 SchemaProps: spec.SchemaProps{
7609                                                         Description: "CSI represents storage that handled by an external CSI driver (Beta feature).",
7610                                                         Ref:         ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"),
7611                                                 },
7612                                         },
7613                                 },
7614                         },
7615                 },
7616                 Dependencies: []string{
7617                         "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"},
7618         }
7619 }
7620
7621 func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
7622         return common.OpenAPIDefinition{
7623                 Schema: spec.Schema{
7624                         SchemaProps: spec.SchemaProps{
7625                                 Description: "PersistentVolumeSpec is the specification of a persistent volume.",
7626                                 Properties: map[string]spec.Schema{
7627                                         "capacity": {
7628                                                 SchemaProps: spec.SchemaProps{
7629                                                         Description: "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
7630                                                         Type:        []string{"object"},
7631                                                         AdditionalProperties: &spec.SchemaOrBool{
7632                                                                 Schema: &spec.Schema{
7633                                                                         SchemaProps: spec.SchemaProps{
7634                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
7635                                                                         },
7636                                                                 },
7637                                                         },
7638                                                 },
7639                                         },
7640                                         "gcePersistentDisk": {
7641                                                 SchemaProps: spec.SchemaProps{
7642                                                         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",
7643                                                         Ref:         ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
7644                                                 },
7645                                         },
7646                                         "awsElasticBlockStore": {
7647                                                 SchemaProps: spec.SchemaProps{
7648                                                         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",
7649                                                         Ref:         ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
7650                                                 },
7651                                         },
7652                                         "hostPath": {
7653                                                 SchemaProps: spec.SchemaProps{
7654                                                         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",
7655                                                         Ref:         ref("k8s.io/api/core/v1.HostPathVolumeSource"),
7656                                                 },
7657                                         },
7658                                         "glusterfs": {
7659                                                 SchemaProps: spec.SchemaProps{
7660                                                         Description: "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
7661                                                         Ref:         ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"),
7662                                                 },
7663                                         },
7664                                         "nfs": {
7665                                                 SchemaProps: spec.SchemaProps{
7666                                                         Description: "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
7667                                                         Ref:         ref("k8s.io/api/core/v1.NFSVolumeSource"),
7668                                                 },
7669                                         },
7670                                         "rbd": {
7671                                                 SchemaProps: spec.SchemaProps{
7672                                                         Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
7673                                                         Ref:         ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"),
7674                                                 },
7675                                         },
7676                                         "iscsi": {
7677                                                 SchemaProps: spec.SchemaProps{
7678                                                         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.",
7679                                                         Ref:         ref("k8s.io/api/core/v1.ISCSIPersistentVolumeSource"),
7680                                                 },
7681                                         },
7682                                         "cinder": {
7683                                                 SchemaProps: spec.SchemaProps{
7684                                                         Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
7685                                                         Ref:         ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"),
7686                                                 },
7687                                         },
7688                                         "cephfs": {
7689                                                 SchemaProps: spec.SchemaProps{
7690                                                         Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
7691                                                         Ref:         ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"),
7692                                                 },
7693                                         },
7694                                         "fc": {
7695                                                 SchemaProps: spec.SchemaProps{
7696                                                         Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
7697                                                         Ref:         ref("k8s.io/api/core/v1.FCVolumeSource"),
7698                                                 },
7699                                         },
7700                                         "flocker": {
7701                                                 SchemaProps: spec.SchemaProps{
7702                                                         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",
7703                                                         Ref:         ref("k8s.io/api/core/v1.FlockerVolumeSource"),
7704                                                 },
7705                                         },
7706                                         "flexVolume": {
7707                                                 SchemaProps: spec.SchemaProps{
7708                                                         Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
7709                                                         Ref:         ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"),
7710                                                 },
7711                                         },
7712                                         "azureFile": {
7713                                                 SchemaProps: spec.SchemaProps{
7714                                                         Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
7715                                                         Ref:         ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"),
7716                                                 },
7717                                         },
7718                                         "vsphereVolume": {
7719                                                 SchemaProps: spec.SchemaProps{
7720                                                         Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
7721                                                         Ref:         ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
7722                                                 },
7723                                         },
7724                                         "quobyte": {
7725                                                 SchemaProps: spec.SchemaProps{
7726                                                         Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
7727                                                         Ref:         ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
7728                                                 },
7729                                         },
7730                                         "azureDisk": {
7731                                                 SchemaProps: spec.SchemaProps{
7732                                                         Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
7733                                                         Ref:         ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
7734                                                 },
7735                                         },
7736                                         "photonPersistentDisk": {
7737                                                 SchemaProps: spec.SchemaProps{
7738                                                         Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
7739                                                         Ref:         ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
7740                                                 },
7741                                         },
7742                                         "portworxVolume": {
7743                                                 SchemaProps: spec.SchemaProps{
7744                                                         Description: "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
7745                                                         Ref:         ref("k8s.io/api/core/v1.PortworxVolumeSource"),
7746                                                 },
7747                                         },
7748                                         "scaleIO": {
7749                                                 SchemaProps: spec.SchemaProps{
7750                                                         Description: "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
7751                                                         Ref:         ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"),
7752                                                 },
7753                                         },
7754                                         "local": {
7755                                                 SchemaProps: spec.SchemaProps{
7756                                                         Description: "Local represents directly-attached storage with node affinity",
7757                                                         Ref:         ref("k8s.io/api/core/v1.LocalVolumeSource"),
7758                                                 },
7759                                         },
7760                                         "storageos": {
7761                                                 SchemaProps: spec.SchemaProps{
7762                                                         Description: "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md",
7763                                                         Ref:         ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"),
7764                                                 },
7765                                         },
7766                                         "csi": {
7767                                                 SchemaProps: spec.SchemaProps{
7768                                                         Description: "CSI represents storage that handled by an external CSI driver (Beta feature).",
7769                                                         Ref:         ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"),
7770                                                 },
7771                                         },
7772                                         "accessModes": {
7773                                                 SchemaProps: spec.SchemaProps{
7774                                                         Description: "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
7775                                                         Type:        []string{"array"},
7776                                                         Items: &spec.SchemaOrArray{
7777                                                                 Schema: &spec.Schema{
7778                                                                         SchemaProps: spec.SchemaProps{
7779                                                                                 Type:   []string{"string"},
7780                                                                                 Format: "",
7781                                                                         },
7782                                                                 },
7783                                                         },
7784                                                 },
7785                                         },
7786                                         "claimRef": {
7787                                                 SchemaProps: spec.SchemaProps{
7788                                                         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",
7789                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
7790                                                 },
7791                                         },
7792                                         "persistentVolumeReclaimPolicy": {
7793                                                 SchemaProps: spec.SchemaProps{
7794                                                         Description: "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",
7795                                                         Type:        []string{"string"},
7796                                                         Format:      "",
7797                                                 },
7798                                         },
7799                                         "storageClassName": {
7800                                                 SchemaProps: spec.SchemaProps{
7801                                                         Description: "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
7802                                                         Type:        []string{"string"},
7803                                                         Format:      "",
7804                                                 },
7805                                         },
7806                                         "mountOptions": {
7807                                                 SchemaProps: spec.SchemaProps{
7808                                                         Description: "A 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",
7809                                                         Type:        []string{"array"},
7810                                                         Items: &spec.SchemaOrArray{
7811                                                                 Schema: &spec.Schema{
7812                                                                         SchemaProps: spec.SchemaProps{
7813                                                                                 Type:   []string{"string"},
7814                                                                                 Format: "",
7815                                                                         },
7816                                                                 },
7817                                                         },
7818                                                 },
7819                                         },
7820                                         "volumeMode": {
7821                                                 SchemaProps: spec.SchemaProps{
7822                                                         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. This is a beta feature.",
7823                                                         Type:        []string{"string"},
7824                                                         Format:      "",
7825                                                 },
7826                                         },
7827                                         "nodeAffinity": {
7828                                                 SchemaProps: spec.SchemaProps{
7829                                                         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.",
7830                                                         Ref:         ref("k8s.io/api/core/v1.VolumeNodeAffinity"),
7831                                                 },
7832                                         },
7833                                 },
7834                         },
7835                 },
7836                 Dependencies: []string{
7837                         "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"},
7838         }
7839 }
7840
7841 func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7842         return common.OpenAPIDefinition{
7843                 Schema: spec.Schema{
7844                         SchemaProps: spec.SchemaProps{
7845                                 Description: "PersistentVolumeStatus is the current status of a persistent volume.",
7846                                 Properties: map[string]spec.Schema{
7847                                         "phase": {
7848                                                 SchemaProps: spec.SchemaProps{
7849                                                         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",
7850                                                         Type:        []string{"string"},
7851                                                         Format:      "",
7852                                                 },
7853                                         },
7854                                         "message": {
7855                                                 SchemaProps: spec.SchemaProps{
7856                                                         Description: "A human-readable message indicating details about why the volume is in this state.",
7857                                                         Type:        []string{"string"},
7858                                                         Format:      "",
7859                                                 },
7860                                         },
7861                                         "reason": {
7862                                                 SchemaProps: spec.SchemaProps{
7863                                                         Description: "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
7864                                                         Type:        []string{"string"},
7865                                                         Format:      "",
7866                                                 },
7867                                         },
7868                                 },
7869                         },
7870                 },
7871                 Dependencies: []string{},
7872         }
7873 }
7874
7875 func schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7876         return common.OpenAPIDefinition{
7877                 Schema: spec.Schema{
7878                         SchemaProps: spec.SchemaProps{
7879                                 Description: "Represents a Photon Controller persistent disk resource.",
7880                                 Properties: map[string]spec.Schema{
7881                                         "pdID": {
7882                                                 SchemaProps: spec.SchemaProps{
7883                                                         Description: "ID that identifies Photon Controller persistent disk",
7884                                                         Type:        []string{"string"},
7885                                                         Format:      "",
7886                                                 },
7887                                         },
7888                                         "fsType": {
7889                                                 SchemaProps: spec.SchemaProps{
7890                                                         Description: "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.",
7891                                                         Type:        []string{"string"},
7892                                                         Format:      "",
7893                                                 },
7894                                         },
7895                                 },
7896                                 Required: []string{"pdID"},
7897                         },
7898                 },
7899                 Dependencies: []string{},
7900         }
7901 }
7902
7903 func schema_k8sio_api_core_v1_Pod(ref common.ReferenceCallback) common.OpenAPIDefinition {
7904         return common.OpenAPIDefinition{
7905                 Schema: spec.Schema{
7906                         SchemaProps: spec.SchemaProps{
7907                                 Description: "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.",
7908                                 Properties: map[string]spec.Schema{
7909                                         "kind": {
7910                                                 SchemaProps: spec.SchemaProps{
7911                                                         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/api-conventions.md#types-kinds",
7912                                                         Type:        []string{"string"},
7913                                                         Format:      "",
7914                                                 },
7915                                         },
7916                                         "apiVersion": {
7917                                                 SchemaProps: spec.SchemaProps{
7918                                                         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/api-conventions.md#resources",
7919                                                         Type:        []string{"string"},
7920                                                         Format:      "",
7921                                                 },
7922                                         },
7923                                         "metadata": {
7924                                                 SchemaProps: spec.SchemaProps{
7925                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
7926                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
7927                                                 },
7928                                         },
7929                                         "spec": {
7930                                                 SchemaProps: spec.SchemaProps{
7931                                                         Description: "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
7932                                                         Ref:         ref("k8s.io/api/core/v1.PodSpec"),
7933                                                 },
7934                                         },
7935                                         "status": {
7936                                                 SchemaProps: spec.SchemaProps{
7937                                                         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/api-conventions.md#spec-and-status",
7938                                                         Ref:         ref("k8s.io/api/core/v1.PodStatus"),
7939                                                 },
7940                                         },
7941                                 },
7942                         },
7943                 },
7944                 Dependencies: []string{
7945                         "k8s.io/api/core/v1.PodSpec", "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
7946         }
7947 }
7948
7949 func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
7950         return common.OpenAPIDefinition{
7951                 Schema: spec.Schema{
7952                         SchemaProps: spec.SchemaProps{
7953                                 Description: "Pod affinity is a group of inter pod affinity scheduling rules.",
7954                                 Properties: map[string]spec.Schema{
7955                                         "requiredDuringSchedulingIgnoredDuringExecution": {
7956                                                 SchemaProps: spec.SchemaProps{
7957                                                         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.",
7958                                                         Type:        []string{"array"},
7959                                                         Items: &spec.SchemaOrArray{
7960                                                                 Schema: &spec.Schema{
7961                                                                         SchemaProps: spec.SchemaProps{
7962                                                                                 Ref: ref("k8s.io/api/core/v1.PodAffinityTerm"),
7963                                                                         },
7964                                                                 },
7965                                                         },
7966                                                 },
7967                                         },
7968                                         "preferredDuringSchedulingIgnoredDuringExecution": {
7969                                                 SchemaProps: spec.SchemaProps{
7970                                                         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.",
7971                                                         Type:        []string{"array"},
7972                                                         Items: &spec.SchemaOrArray{
7973                                                                 Schema: &spec.Schema{
7974                                                                         SchemaProps: spec.SchemaProps{
7975                                                                                 Ref: ref("k8s.io/api/core/v1.WeightedPodAffinityTerm"),
7976                                                                         },
7977                                                                 },
7978                                                         },
7979                                                 },
7980                                         },
7981                                 },
7982                         },
7983                 },
7984                 Dependencies: []string{
7985                         "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
7986         }
7987 }
7988
7989 func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
7990         return common.OpenAPIDefinition{
7991                 Schema: spec.Schema{
7992                         SchemaProps: spec.SchemaProps{
7993                                 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",
7994                                 Properties: map[string]spec.Schema{
7995                                         "labelSelector": {
7996                                                 SchemaProps: spec.SchemaProps{
7997                                                         Description: "A label query over a set of resources, in this case pods.",
7998                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
7999                                                 },
8000                                         },
8001                                         "namespaces": {
8002                                                 SchemaProps: spec.SchemaProps{
8003                                                         Description: "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"",
8004                                                         Type:        []string{"array"},
8005                                                         Items: &spec.SchemaOrArray{
8006                                                                 Schema: &spec.Schema{
8007                                                                         SchemaProps: spec.SchemaProps{
8008                                                                                 Type:   []string{"string"},
8009                                                                                 Format: "",
8010                                                                         },
8011                                                                 },
8012                                                         },
8013                                                 },
8014                                         },
8015                                         "topologyKey": {
8016                                                 SchemaProps: spec.SchemaProps{
8017                                                         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.",
8018                                                         Type:        []string{"string"},
8019                                                         Format:      "",
8020                                                 },
8021                                         },
8022                                 },
8023                                 Required: []string{"topologyKey"},
8024                         },
8025                 },
8026                 Dependencies: []string{
8027                         "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
8028         }
8029 }
8030
8031 func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
8032         return common.OpenAPIDefinition{
8033                 Schema: spec.Schema{
8034                         SchemaProps: spec.SchemaProps{
8035                                 Description: "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
8036                                 Properties: map[string]spec.Schema{
8037                                         "requiredDuringSchedulingIgnoredDuringExecution": {
8038                                                 SchemaProps: spec.SchemaProps{
8039                                                         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.",
8040                                                         Type:        []string{"array"},
8041                                                         Items: &spec.SchemaOrArray{
8042                                                                 Schema: &spec.Schema{
8043                                                                         SchemaProps: spec.SchemaProps{
8044                                                                                 Ref: ref("k8s.io/api/core/v1.PodAffinityTerm"),
8045                                                                         },
8046                                                                 },
8047                                                         },
8048                                                 },
8049                                         },
8050                                         "preferredDuringSchedulingIgnoredDuringExecution": {
8051                                                 SchemaProps: spec.SchemaProps{
8052                                                         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.",
8053                                                         Type:        []string{"array"},
8054                                                         Items: &spec.SchemaOrArray{
8055                                                                 Schema: &spec.Schema{
8056                                                                         SchemaProps: spec.SchemaProps{
8057                                                                                 Ref: ref("k8s.io/api/core/v1.WeightedPodAffinityTerm"),
8058                                                                         },
8059                                                                 },
8060                                                         },
8061                                                 },
8062                                         },
8063                                 },
8064                         },
8065                 },
8066                 Dependencies: []string{
8067                         "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
8068         }
8069 }
8070
8071 func schema_k8sio_api_core_v1_PodAttachOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8072         return common.OpenAPIDefinition{
8073                 Schema: spec.Schema{
8074                         SchemaProps: spec.SchemaProps{
8075                                 Description: "PodAttachOptions is the query options to a Pod's remote attach call.",
8076                                 Properties: map[string]spec.Schema{
8077                                         "kind": {
8078                                                 SchemaProps: spec.SchemaProps{
8079                                                         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/api-conventions.md#types-kinds",
8080                                                         Type:        []string{"string"},
8081                                                         Format:      "",
8082                                                 },
8083                                         },
8084                                         "apiVersion": {
8085                                                 SchemaProps: spec.SchemaProps{
8086                                                         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/api-conventions.md#resources",
8087                                                         Type:        []string{"string"},
8088                                                         Format:      "",
8089                                                 },
8090                                         },
8091                                         "stdin": {
8092                                                 SchemaProps: spec.SchemaProps{
8093                                                         Description: "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
8094                                                         Type:        []string{"boolean"},
8095                                                         Format:      "",
8096                                                 },
8097                                         },
8098                                         "stdout": {
8099                                                 SchemaProps: spec.SchemaProps{
8100                                                         Description: "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
8101                                                         Type:        []string{"boolean"},
8102                                                         Format:      "",
8103                                                 },
8104                                         },
8105                                         "stderr": {
8106                                                 SchemaProps: spec.SchemaProps{
8107                                                         Description: "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
8108                                                         Type:        []string{"boolean"},
8109                                                         Format:      "",
8110                                                 },
8111                                         },
8112                                         "tty": {
8113                                                 SchemaProps: spec.SchemaProps{
8114                                                         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.",
8115                                                         Type:        []string{"boolean"},
8116                                                         Format:      "",
8117                                                 },
8118                                         },
8119                                         "container": {
8120                                                 SchemaProps: spec.SchemaProps{
8121                                                         Description: "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
8122                                                         Type:        []string{"string"},
8123                                                         Format:      "",
8124                                                 },
8125                                         },
8126                                 },
8127                         },
8128                 },
8129                 Dependencies: []string{},
8130         }
8131 }
8132
8133 func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
8134         return common.OpenAPIDefinition{
8135                 Schema: spec.Schema{
8136                         SchemaProps: spec.SchemaProps{
8137                                 Description: "PodCondition contains details for the current condition of this pod.",
8138                                 Properties: map[string]spec.Schema{
8139                                         "type": {
8140                                                 SchemaProps: spec.SchemaProps{
8141                                                         Description: "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
8142                                                         Type:        []string{"string"},
8143                                                         Format:      "",
8144                                                 },
8145                                         },
8146                                         "status": {
8147                                                 SchemaProps: spec.SchemaProps{
8148                                                         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",
8149                                                         Type:        []string{"string"},
8150                                                         Format:      "",
8151                                                 },
8152                                         },
8153                                         "lastProbeTime": {
8154                                                 SchemaProps: spec.SchemaProps{
8155                                                         Description: "Last time we probed the condition.",
8156                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8157                                                 },
8158                                         },
8159                                         "lastTransitionTime": {
8160                                                 SchemaProps: spec.SchemaProps{
8161                                                         Description: "Last time the condition transitioned from one status to another.",
8162                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8163                                                 },
8164                                         },
8165                                         "reason": {
8166                                                 SchemaProps: spec.SchemaProps{
8167                                                         Description: "Unique, one-word, CamelCase reason for the condition's last transition.",
8168                                                         Type:        []string{"string"},
8169                                                         Format:      "",
8170                                                 },
8171                                         },
8172                                         "message": {
8173                                                 SchemaProps: spec.SchemaProps{
8174                                                         Description: "Human-readable message indicating details about last transition.",
8175                                                         Type:        []string{"string"},
8176                                                         Format:      "",
8177                                                 },
8178                                         },
8179                                 },
8180                                 Required: []string{"type", "status"},
8181                         },
8182                 },
8183                 Dependencies: []string{
8184                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
8185         }
8186 }
8187
8188 func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
8189         return common.OpenAPIDefinition{
8190                 Schema: spec.Schema{
8191                         SchemaProps: spec.SchemaProps{
8192                                 Description: "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.",
8193                                 Properties: map[string]spec.Schema{
8194                                         "nameservers": {
8195                                                 SchemaProps: spec.SchemaProps{
8196                                                         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.",
8197                                                         Type:        []string{"array"},
8198                                                         Items: &spec.SchemaOrArray{
8199                                                                 Schema: &spec.Schema{
8200                                                                         SchemaProps: spec.SchemaProps{
8201                                                                                 Type:   []string{"string"},
8202                                                                                 Format: "",
8203                                                                         },
8204                                                                 },
8205                                                         },
8206                                                 },
8207                                         },
8208                                         "searches": {
8209                                                 SchemaProps: spec.SchemaProps{
8210                                                         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.",
8211                                                         Type:        []string{"array"},
8212                                                         Items: &spec.SchemaOrArray{
8213                                                                 Schema: &spec.Schema{
8214                                                                         SchemaProps: spec.SchemaProps{
8215                                                                                 Type:   []string{"string"},
8216                                                                                 Format: "",
8217                                                                         },
8218                                                                 },
8219                                                         },
8220                                                 },
8221                                         },
8222                                         "options": {
8223                                                 SchemaProps: spec.SchemaProps{
8224                                                         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.",
8225                                                         Type:        []string{"array"},
8226                                                         Items: &spec.SchemaOrArray{
8227                                                                 Schema: &spec.Schema{
8228                                                                         SchemaProps: spec.SchemaProps{
8229                                                                                 Ref: ref("k8s.io/api/core/v1.PodDNSConfigOption"),
8230                                                                         },
8231                                                                 },
8232                                                         },
8233                                                 },
8234                                         },
8235                                 },
8236                         },
8237                 },
8238                 Dependencies: []string{
8239                         "k8s.io/api/core/v1.PodDNSConfigOption"},
8240         }
8241 }
8242
8243 func schema_k8sio_api_core_v1_PodDNSConfigOption(ref common.ReferenceCallback) common.OpenAPIDefinition {
8244         return common.OpenAPIDefinition{
8245                 Schema: spec.Schema{
8246                         SchemaProps: spec.SchemaProps{
8247                                 Description: "PodDNSConfigOption defines DNS resolver options of a pod.",
8248                                 Properties: map[string]spec.Schema{
8249                                         "name": {
8250                                                 SchemaProps: spec.SchemaProps{
8251                                                         Description: "Required.",
8252                                                         Type:        []string{"string"},
8253                                                         Format:      "",
8254                                                 },
8255                                         },
8256                                         "value": {
8257                                                 SchemaProps: spec.SchemaProps{
8258                                                         Type:   []string{"string"},
8259                                                         Format: "",
8260                                                 },
8261                                         },
8262                                 },
8263                         },
8264                 },
8265                 Dependencies: []string{},
8266         }
8267 }
8268
8269 func schema_k8sio_api_core_v1_PodExecOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8270         return common.OpenAPIDefinition{
8271                 Schema: spec.Schema{
8272                         SchemaProps: spec.SchemaProps{
8273                                 Description: "PodExecOptions is the query options to a Pod's remote exec call.",
8274                                 Properties: map[string]spec.Schema{
8275                                         "kind": {
8276                                                 SchemaProps: spec.SchemaProps{
8277                                                         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/api-conventions.md#types-kinds",
8278                                                         Type:        []string{"string"},
8279                                                         Format:      "",
8280                                                 },
8281                                         },
8282                                         "apiVersion": {
8283                                                 SchemaProps: spec.SchemaProps{
8284                                                         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/api-conventions.md#resources",
8285                                                         Type:        []string{"string"},
8286                                                         Format:      "",
8287                                                 },
8288                                         },
8289                                         "stdin": {
8290                                                 SchemaProps: spec.SchemaProps{
8291                                                         Description: "Redirect the standard input stream of the pod for this call. Defaults to false.",
8292                                                         Type:        []string{"boolean"},
8293                                                         Format:      "",
8294                                                 },
8295                                         },
8296                                         "stdout": {
8297                                                 SchemaProps: spec.SchemaProps{
8298                                                         Description: "Redirect the standard output stream of the pod for this call. Defaults to true.",
8299                                                         Type:        []string{"boolean"},
8300                                                         Format:      "",
8301                                                 },
8302                                         },
8303                                         "stderr": {
8304                                                 SchemaProps: spec.SchemaProps{
8305                                                         Description: "Redirect the standard error stream of the pod for this call. Defaults to true.",
8306                                                         Type:        []string{"boolean"},
8307                                                         Format:      "",
8308                                                 },
8309                                         },
8310                                         "tty": {
8311                                                 SchemaProps: spec.SchemaProps{
8312                                                         Description: "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
8313                                                         Type:        []string{"boolean"},
8314                                                         Format:      "",
8315                                                 },
8316                                         },
8317                                         "container": {
8318                                                 SchemaProps: spec.SchemaProps{
8319                                                         Description: "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
8320                                                         Type:        []string{"string"},
8321                                                         Format:      "",
8322                                                 },
8323                                         },
8324                                         "command": {
8325                                                 SchemaProps: spec.SchemaProps{
8326                                                         Description: "Command is the remote command to execute. argv array. Not executed within a shell.",
8327                                                         Type:        []string{"array"},
8328                                                         Items: &spec.SchemaOrArray{
8329                                                                 Schema: &spec.Schema{
8330                                                                         SchemaProps: spec.SchemaProps{
8331                                                                                 Type:   []string{"string"},
8332                                                                                 Format: "",
8333                                                                         },
8334                                                                 },
8335                                                         },
8336                                                 },
8337                                         },
8338                                 },
8339                                 Required: []string{"command"},
8340                         },
8341                 },
8342                 Dependencies: []string{},
8343         }
8344 }
8345
8346 func schema_k8sio_api_core_v1_PodList(ref common.ReferenceCallback) common.OpenAPIDefinition {
8347         return common.OpenAPIDefinition{
8348                 Schema: spec.Schema{
8349                         SchemaProps: spec.SchemaProps{
8350                                 Description: "PodList is a list of Pods.",
8351                                 Properties: map[string]spec.Schema{
8352                                         "kind": {
8353                                                 SchemaProps: spec.SchemaProps{
8354                                                         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/api-conventions.md#types-kinds",
8355                                                         Type:        []string{"string"},
8356                                                         Format:      "",
8357                                                 },
8358                                         },
8359                                         "apiVersion": {
8360                                                 SchemaProps: spec.SchemaProps{
8361                                                         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/api-conventions.md#resources",
8362                                                         Type:        []string{"string"},
8363                                                         Format:      "",
8364                                                 },
8365                                         },
8366                                         "metadata": {
8367                                                 SchemaProps: spec.SchemaProps{
8368                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
8369                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
8370                                                 },
8371                                         },
8372                                         "items": {
8373                                                 SchemaProps: spec.SchemaProps{
8374                                                         Description: "List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md",
8375                                                         Type:        []string{"array"},
8376                                                         Items: &spec.SchemaOrArray{
8377                                                                 Schema: &spec.Schema{
8378                                                                         SchemaProps: spec.SchemaProps{
8379                                                                                 Ref: ref("k8s.io/api/core/v1.Pod"),
8380                                                                         },
8381                                                                 },
8382                                                         },
8383                                                 },
8384                                         },
8385                                 },
8386                                 Required: []string{"items"},
8387                         },
8388                 },
8389                 Dependencies: []string{
8390                         "k8s.io/api/core/v1.Pod", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
8391         }
8392 }
8393
8394 func schema_k8sio_api_core_v1_PodLogOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8395         return common.OpenAPIDefinition{
8396                 Schema: spec.Schema{
8397                         SchemaProps: spec.SchemaProps{
8398                                 Description: "PodLogOptions is the query options for a Pod's logs REST call.",
8399                                 Properties: map[string]spec.Schema{
8400                                         "kind": {
8401                                                 SchemaProps: spec.SchemaProps{
8402                                                         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/api-conventions.md#types-kinds",
8403                                                         Type:        []string{"string"},
8404                                                         Format:      "",
8405                                                 },
8406                                         },
8407                                         "apiVersion": {
8408                                                 SchemaProps: spec.SchemaProps{
8409                                                         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/api-conventions.md#resources",
8410                                                         Type:        []string{"string"},
8411                                                         Format:      "",
8412                                                 },
8413                                         },
8414                                         "container": {
8415                                                 SchemaProps: spec.SchemaProps{
8416                                                         Description: "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
8417                                                         Type:        []string{"string"},
8418                                                         Format:      "",
8419                                                 },
8420                                         },
8421                                         "follow": {
8422                                                 SchemaProps: spec.SchemaProps{
8423                                                         Description: "Follow the log stream of the pod. Defaults to false.",
8424                                                         Type:        []string{"boolean"},
8425                                                         Format:      "",
8426                                                 },
8427                                         },
8428                                         "previous": {
8429                                                 SchemaProps: spec.SchemaProps{
8430                                                         Description: "Return previous terminated container logs. Defaults to false.",
8431                                                         Type:        []string{"boolean"},
8432                                                         Format:      "",
8433                                                 },
8434                                         },
8435                                         "sinceSeconds": {
8436                                                 SchemaProps: spec.SchemaProps{
8437                                                         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.",
8438                                                         Type:        []string{"integer"},
8439                                                         Format:      "int64",
8440                                                 },
8441                                         },
8442                                         "sinceTime": {
8443                                                 SchemaProps: spec.SchemaProps{
8444                                                         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.",
8445                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
8446                                                 },
8447                                         },
8448                                         "timestamps": {
8449                                                 SchemaProps: spec.SchemaProps{
8450                                                         Description: "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
8451                                                         Type:        []string{"boolean"},
8452                                                         Format:      "",
8453                                                 },
8454                                         },
8455                                         "tailLines": {
8456                                                 SchemaProps: spec.SchemaProps{
8457                                                         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",
8458                                                         Type:        []string{"integer"},
8459                                                         Format:      "int64",
8460                                                 },
8461                                         },
8462                                         "limitBytes": {
8463                                                 SchemaProps: spec.SchemaProps{
8464                                                         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.",
8465                                                         Type:        []string{"integer"},
8466                                                         Format:      "int64",
8467                                                 },
8468                                         },
8469                                 },
8470                         },
8471                 },
8472                 Dependencies: []string{
8473                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
8474         }
8475 }
8476
8477 func schema_k8sio_api_core_v1_PodPortForwardOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8478         return common.OpenAPIDefinition{
8479                 Schema: spec.Schema{
8480                         SchemaProps: spec.SchemaProps{
8481                                 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.",
8482                                 Properties: map[string]spec.Schema{
8483                                         "kind": {
8484                                                 SchemaProps: spec.SchemaProps{
8485                                                         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/api-conventions.md#types-kinds",
8486                                                         Type:        []string{"string"},
8487                                                         Format:      "",
8488                                                 },
8489                                         },
8490                                         "apiVersion": {
8491                                                 SchemaProps: spec.SchemaProps{
8492                                                         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/api-conventions.md#resources",
8493                                                         Type:        []string{"string"},
8494                                                         Format:      "",
8495                                                 },
8496                                         },
8497                                         "ports": {
8498                                                 SchemaProps: spec.SchemaProps{
8499                                                         Description: "List of ports to forward Required when using WebSockets",
8500                                                         Type:        []string{"array"},
8501                                                         Items: &spec.SchemaOrArray{
8502                                                                 Schema: &spec.Schema{
8503                                                                         SchemaProps: spec.SchemaProps{
8504                                                                                 Type:   []string{"integer"},
8505                                                                                 Format: "int32",
8506                                                                         },
8507                                                                 },
8508                                                         },
8509                                                 },
8510                                         },
8511                                 },
8512                         },
8513                 },
8514                 Dependencies: []string{},
8515         }
8516 }
8517
8518 func schema_k8sio_api_core_v1_PodProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
8519         return common.OpenAPIDefinition{
8520                 Schema: spec.Schema{
8521                         SchemaProps: spec.SchemaProps{
8522                                 Description: "PodProxyOptions is the query options to a Pod's proxy call.",
8523                                 Properties: map[string]spec.Schema{
8524                                         "kind": {
8525                                                 SchemaProps: spec.SchemaProps{
8526                                                         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/api-conventions.md#types-kinds",
8527                                                         Type:        []string{"string"},
8528                                                         Format:      "",
8529                                                 },
8530                                         },
8531                                         "apiVersion": {
8532                                                 SchemaProps: spec.SchemaProps{
8533                                                         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/api-conventions.md#resources",
8534                                                         Type:        []string{"string"},
8535                                                         Format:      "",
8536                                                 },
8537                                         },
8538                                         "path": {
8539                                                 SchemaProps: spec.SchemaProps{
8540                                                         Description: "Path is the URL path to use for the current proxy request to pod.",
8541                                                         Type:        []string{"string"},
8542                                                         Format:      "",
8543                                                 },
8544                                         },
8545                                 },
8546                         },
8547                 },
8548                 Dependencies: []string{},
8549         }
8550 }
8551
8552 func schema_k8sio_api_core_v1_PodReadinessGate(ref common.ReferenceCallback) common.OpenAPIDefinition {
8553         return common.OpenAPIDefinition{
8554                 Schema: spec.Schema{
8555                         SchemaProps: spec.SchemaProps{
8556                                 Description: "PodReadinessGate contains the reference to a pod condition",
8557                                 Properties: map[string]spec.Schema{
8558                                         "conditionType": {
8559                                                 SchemaProps: spec.SchemaProps{
8560                                                         Description: "ConditionType refers to a condition in the pod's condition list with matching type.",
8561                                                         Type:        []string{"string"},
8562                                                         Format:      "",
8563                                                 },
8564                                         },
8565                                 },
8566                                 Required: []string{"conditionType"},
8567                         },
8568                 },
8569                 Dependencies: []string{},
8570         }
8571 }
8572
8573 func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition {
8574         return common.OpenAPIDefinition{
8575                 Schema: spec.Schema{
8576                         SchemaProps: spec.SchemaProps{
8577                                 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.",
8578                                 Properties: map[string]spec.Schema{
8579                                         "seLinuxOptions": {
8580                                                 SchemaProps: spec.SchemaProps{
8581                                                         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.",
8582                                                         Ref:         ref("k8s.io/api/core/v1.SELinuxOptions"),
8583                                                 },
8584                                         },
8585                                         "runAsUser": {
8586                                                 SchemaProps: spec.SchemaProps{
8587                                                         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.",
8588                                                         Type:        []string{"integer"},
8589                                                         Format:      "int64",
8590                                                 },
8591                                         },
8592                                         "runAsGroup": {
8593                                                 SchemaProps: spec.SchemaProps{
8594                                                         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.",
8595                                                         Type:        []string{"integer"},
8596                                                         Format:      "int64",
8597                                                 },
8598                                         },
8599                                         "runAsNonRoot": {
8600                                                 SchemaProps: spec.SchemaProps{
8601                                                         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.",
8602                                                         Type:        []string{"boolean"},
8603                                                         Format:      "",
8604                                                 },
8605                                         },
8606                                         "supplementalGroups": {
8607                                                 SchemaProps: spec.SchemaProps{
8608                                                         Description: "A list of groups applied to the first process run in each container, in addition to the container's primary GID.  If unspecified, no groups will be added to any container.",
8609                                                         Type:        []string{"array"},
8610                                                         Items: &spec.SchemaOrArray{
8611                                                                 Schema: &spec.Schema{
8612                                                                         SchemaProps: spec.SchemaProps{
8613                                                                                 Type:   []string{"integer"},
8614                                                                                 Format: "int64",
8615                                                                         },
8616                                                                 },
8617                                                         },
8618                                                 },
8619                                         },
8620                                         "fsGroup": {
8621                                                 SchemaProps: spec.SchemaProps{
8622                                                         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.",
8623                                                         Type:        []string{"integer"},
8624                                                         Format:      "int64",
8625                                                 },
8626                                         },
8627                                         "sysctls": {
8628                                                 SchemaProps: spec.SchemaProps{
8629                                                         Description: "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.",
8630                                                         Type:        []string{"array"},
8631                                                         Items: &spec.SchemaOrArray{
8632                                                                 Schema: &spec.Schema{
8633                                                                         SchemaProps: spec.SchemaProps{
8634                                                                                 Ref: ref("k8s.io/api/core/v1.Sysctl"),
8635                                                                         },
8636                                                                 },
8637                                                         },
8638                                                 },
8639                                         },
8640                                 },
8641                         },
8642                 },
8643                 Dependencies: []string{
8644                         "k8s.io/api/core/v1.SELinuxOptions", "k8s.io/api/core/v1.Sysctl"},
8645         }
8646 }
8647
8648 func schema_k8sio_api_core_v1_PodSignature(ref common.ReferenceCallback) common.OpenAPIDefinition {
8649         return common.OpenAPIDefinition{
8650                 Schema: spec.Schema{
8651                         SchemaProps: spec.SchemaProps{
8652                                 Description: "Describes the class of pods that should avoid this node. Exactly one field should be set.",
8653                                 Properties: map[string]spec.Schema{
8654                                         "podController": {
8655                                                 SchemaProps: spec.SchemaProps{
8656                                                         Description: "Reference to controller whose pods should avoid this node.",
8657                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
8658                                                 },
8659                                         },
8660                                 },
8661                         },
8662                 },
8663                 Dependencies: []string{
8664                         "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"},
8665         }
8666 }
8667
8668 func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
8669         return common.OpenAPIDefinition{
8670                 Schema: spec.Schema{
8671                         SchemaProps: spec.SchemaProps{
8672                                 Description: "PodSpec is a description of a pod.",
8673                                 Properties: map[string]spec.Schema{
8674                                         "volumes": {
8675                                                 VendorExtensible: spec.VendorExtensible{
8676                                                         Extensions: spec.Extensions{
8677                                                                 "x-kubernetes-patch-merge-key": "name",
8678                                                                 "x-kubernetes-patch-strategy":  "merge,retainKeys",
8679                                                         },
8680                                                 },
8681                                                 SchemaProps: spec.SchemaProps{
8682                                                         Description: "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes",
8683                                                         Type:        []string{"array"},
8684                                                         Items: &spec.SchemaOrArray{
8685                                                                 Schema: &spec.Schema{
8686                                                                         SchemaProps: spec.SchemaProps{
8687                                                                                 Ref: ref("k8s.io/api/core/v1.Volume"),
8688                                                                         },
8689                                                                 },
8690                                                         },
8691                                                 },
8692                                         },
8693                                         "initContainers": {
8694                                                 VendorExtensible: spec.VendorExtensible{
8695                                                         Extensions: spec.Extensions{
8696                                                                 "x-kubernetes-patch-merge-key": "name",
8697                                                                 "x-kubernetes-patch-strategy":  "merge",
8698                                                         },
8699                                                 },
8700                                                 SchemaProps: spec.SchemaProps{
8701                                                         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, or Liveness 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/",
8702                                                         Type:        []string{"array"},
8703                                                         Items: &spec.SchemaOrArray{
8704                                                                 Schema: &spec.Schema{
8705                                                                         SchemaProps: spec.SchemaProps{
8706                                                                                 Ref: ref("k8s.io/api/core/v1.Container"),
8707                                                                         },
8708                                                                 },
8709                                                         },
8710                                                 },
8711                                         },
8712                                         "containers": {
8713                                                 VendorExtensible: spec.VendorExtensible{
8714                                                         Extensions: spec.Extensions{
8715                                                                 "x-kubernetes-patch-merge-key": "name",
8716                                                                 "x-kubernetes-patch-strategy":  "merge",
8717                                                         },
8718                                                 },
8719                                                 SchemaProps: spec.SchemaProps{
8720                                                         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.",
8721                                                         Type:        []string{"array"},
8722                                                         Items: &spec.SchemaOrArray{
8723                                                                 Schema: &spec.Schema{
8724                                                                         SchemaProps: spec.SchemaProps{
8725                                                                                 Ref: ref("k8s.io/api/core/v1.Container"),
8726                                                                         },
8727                                                                 },
8728                                                         },
8729                                                 },
8730                                         },
8731                                         "restartPolicy": {
8732                                                 SchemaProps: spec.SchemaProps{
8733                                                         Description: "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
8734                                                         Type:        []string{"string"},
8735                                                         Format:      "",
8736                                                 },
8737                                         },
8738                                         "terminationGracePeriodSeconds": {
8739                                                 SchemaProps: spec.SchemaProps{
8740                                                         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 delete immediately. 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.",
8741                                                         Type:        []string{"integer"},
8742                                                         Format:      "int64",
8743                                                 },
8744                                         },
8745                                         "activeDeadlineSeconds": {
8746                                                 SchemaProps: spec.SchemaProps{
8747                                                         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.",
8748                                                         Type:        []string{"integer"},
8749                                                         Format:      "int64",
8750                                                 },
8751                                         },
8752                                         "dnsPolicy": {
8753                                                 SchemaProps: spec.SchemaProps{
8754                                                         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'.",
8755                                                         Type:        []string{"string"},
8756                                                         Format:      "",
8757                                                 },
8758                                         },
8759                                         "nodeSelector": {
8760                                                 SchemaProps: spec.SchemaProps{
8761                                                         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/",
8762                                                         Type:        []string{"object"},
8763                                                         AdditionalProperties: &spec.SchemaOrBool{
8764                                                                 Schema: &spec.Schema{
8765                                                                         SchemaProps: spec.SchemaProps{
8766                                                                                 Type:   []string{"string"},
8767                                                                                 Format: "",
8768                                                                         },
8769                                                                 },
8770                                                         },
8771                                                 },
8772                                         },
8773                                         "serviceAccountName": {
8774                                                 SchemaProps: spec.SchemaProps{
8775                                                         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/",
8776                                                         Type:        []string{"string"},
8777                                                         Format:      "",
8778                                                 },
8779                                         },
8780                                         "serviceAccount": {
8781                                                 SchemaProps: spec.SchemaProps{
8782                                                         Description: "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
8783                                                         Type:        []string{"string"},
8784                                                         Format:      "",
8785                                                 },
8786                                         },
8787                                         "automountServiceAccountToken": {
8788                                                 SchemaProps: spec.SchemaProps{
8789                                                         Description: "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.",
8790                                                         Type:        []string{"boolean"},
8791                                                         Format:      "",
8792                                                 },
8793                                         },
8794                                         "nodeName": {
8795                                                 SchemaProps: spec.SchemaProps{
8796                                                         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.",
8797                                                         Type:        []string{"string"},
8798                                                         Format:      "",
8799                                                 },
8800                                         },
8801                                         "hostNetwork": {
8802                                                 SchemaProps: spec.SchemaProps{
8803                                                         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.",
8804                                                         Type:        []string{"boolean"},
8805                                                         Format:      "",
8806                                                 },
8807                                         },
8808                                         "hostPID": {
8809                                                 SchemaProps: spec.SchemaProps{
8810                                                         Description: "Use the host's pid namespace. Optional: Default to false.",
8811                                                         Type:        []string{"boolean"},
8812                                                         Format:      "",
8813                                                 },
8814                                         },
8815                                         "hostIPC": {
8816                                                 SchemaProps: spec.SchemaProps{
8817                                                         Description: "Use the host's ipc namespace. Optional: Default to false.",
8818                                                         Type:        []string{"boolean"},
8819                                                         Format:      "",
8820                                                 },
8821                                         },
8822                                         "shareProcessNamespace": {
8823                                                 SchemaProps: spec.SchemaProps{
8824                                                         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. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.",
8825                                                         Type:        []string{"boolean"},
8826                                                         Format:      "",
8827                                                 },
8828                                         },
8829                                         "securityContext": {
8830                                                 SchemaProps: spec.SchemaProps{
8831                                                         Description: "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty.  See type description for default values of each field.",
8832                                                         Ref:         ref("k8s.io/api/core/v1.PodSecurityContext"),
8833                                                 },
8834                                         },
8835                                         "imagePullSecrets": {
8836                                                 VendorExtensible: spec.VendorExtensible{
8837                                                         Extensions: spec.Extensions{
8838                                                                 "x-kubernetes-patch-merge-key": "name",
8839                                                                 "x-kubernetes-patch-strategy":  "merge",
8840                                                         },
8841                                                 },
8842                                                 SchemaProps: spec.SchemaProps{
8843                                                         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. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
8844                                                         Type:        []string{"array"},
8845                                                         Items: &spec.SchemaOrArray{
8846                                                                 Schema: &spec.Schema{
8847                                                                         SchemaProps: spec.SchemaProps{
8848                                                                                 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
8849                                                                         },
8850                                                                 },
8851                                                         },
8852                                                 },
8853                                         },
8854                                         "hostname": {
8855                                                 SchemaProps: spec.SchemaProps{
8856                                                         Description: "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
8857                                                         Type:        []string{"string"},
8858                                                         Format:      "",
8859                                                 },
8860                                         },
8861                                         "subdomain": {
8862                                                 SchemaProps: spec.SchemaProps{
8863                                                         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.",
8864                                                         Type:        []string{"string"},
8865                                                         Format:      "",
8866                                                 },
8867                                         },
8868                                         "affinity": {
8869                                                 SchemaProps: spec.SchemaProps{
8870                                                         Description: "If specified, the pod's scheduling constraints",
8871                                                         Ref:         ref("k8s.io/api/core/v1.Affinity"),
8872                                                 },
8873                                         },
8874                                         "schedulerName": {
8875                                                 SchemaProps: spec.SchemaProps{
8876                                                         Description: "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
8877                                                         Type:        []string{"string"},
8878                                                         Format:      "",
8879                                                 },
8880                                         },
8881                                         "tolerations": {
8882                                                 SchemaProps: spec.SchemaProps{
8883                                                         Description: "If specified, the pod's tolerations.",
8884                                                         Type:        []string{"array"},
8885                                                         Items: &spec.SchemaOrArray{
8886                                                                 Schema: &spec.Schema{
8887                                                                         SchemaProps: spec.SchemaProps{
8888                                                                                 Ref: ref("k8s.io/api/core/v1.Toleration"),
8889                                                                         },
8890                                                                 },
8891                                                         },
8892                                                 },
8893                                         },
8894                                         "hostAliases": {
8895                                                 VendorExtensible: spec.VendorExtensible{
8896                                                         Extensions: spec.Extensions{
8897                                                                 "x-kubernetes-patch-merge-key": "ip",
8898                                                                 "x-kubernetes-patch-strategy":  "merge",
8899                                                         },
8900                                                 },
8901                                                 SchemaProps: spec.SchemaProps{
8902                                                         Description: "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
8903                                                         Type:        []string{"array"},
8904                                                         Items: &spec.SchemaOrArray{
8905                                                                 Schema: &spec.Schema{
8906                                                                         SchemaProps: spec.SchemaProps{
8907                                                                                 Ref: ref("k8s.io/api/core/v1.HostAlias"),
8908                                                                         },
8909                                                                 },
8910                                                         },
8911                                                 },
8912                                         },
8913                                         "priorityClassName": {
8914                                                 SchemaProps: spec.SchemaProps{
8915                                                         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.",
8916                                                         Type:        []string{"string"},
8917                                                         Format:      "",
8918                                                 },
8919                                         },
8920                                         "priority": {
8921                                                 SchemaProps: spec.SchemaProps{
8922                                                         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.",
8923                                                         Type:        []string{"integer"},
8924                                                         Format:      "int32",
8925                                                 },
8926                                         },
8927                                         "dnsConfig": {
8928                                                 SchemaProps: spec.SchemaProps{
8929                                                         Description: "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
8930                                                         Ref:         ref("k8s.io/api/core/v1.PodDNSConfig"),
8931                                                 },
8932                                         },
8933                                         "readinessGates": {
8934                                                 SchemaProps: spec.SchemaProps{
8935                                                         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://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md",
8936                                                         Type:        []string{"array"},
8937                                                         Items: &spec.SchemaOrArray{
8938                                                                 Schema: &spec.Schema{
8939                                                                         SchemaProps: spec.SchemaProps{
8940                                                                                 Ref: ref("k8s.io/api/core/v1.PodReadinessGate"),
8941                                                                         },
8942                                                                 },
8943                                                         },
8944                                                 },
8945                                         },
8946                                         "runtimeClassName": {
8947                                                 SchemaProps: spec.SchemaProps{
8948                                                         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://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.",
8949                                                         Type:        []string{"string"},
8950                                                         Format:      "",
8951                                                 },
8952                                         },
8953                                         "enableServiceLinks": {
8954                                                 SchemaProps: spec.SchemaProps{
8955                                                         Description: "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.",
8956                                                         Type:        []string{"boolean"},
8957                                                         Format:      "",
8958                                                 },
8959                                         },
8960                                 },
8961                                 Required: []string{"containers"},
8962                         },
8963                 },
8964                 Dependencies: []string{
8965                         "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.Volume"},
8966         }
8967 }
8968
8969 func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
8970         return common.OpenAPIDefinition{
8971                 Schema: spec.Schema{
8972                         SchemaProps: spec.SchemaProps{
8973                                 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.",
8974                                 Properties: map[string]spec.Schema{
8975                                         "phase": {
8976                                                 SchemaProps: spec.SchemaProps{
8977                                                         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",
8978                                                         Type:        []string{"string"},
8979                                                         Format:      "",
8980                                                 },
8981                                         },
8982                                         "conditions": {
8983                                                 VendorExtensible: spec.VendorExtensible{
8984                                                         Extensions: spec.Extensions{
8985                                                                 "x-kubernetes-patch-merge-key": "type",
8986                                                                 "x-kubernetes-patch-strategy":  "merge",
8987                                                         },
8988                                                 },
8989                                                 SchemaProps: spec.SchemaProps{
8990                                                         Description: "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
8991                                                         Type:        []string{"array"},
8992                                                         Items: &spec.SchemaOrArray{
8993                                                                 Schema: &spec.Schema{
8994                                                                         SchemaProps: spec.SchemaProps{
8995                                                                                 Ref: ref("k8s.io/api/core/v1.PodCondition"),
8996                                                                         },
8997                                                                 },
8998                                                         },
8999                                                 },
9000                                         },
9001                                         "message": {
9002                                                 SchemaProps: spec.SchemaProps{
9003                                                         Description: "A human readable message indicating details about why the pod is in this condition.",
9004                                                         Type:        []string{"string"},
9005                                                         Format:      "",
9006                                                 },
9007                                         },
9008                                         "reason": {
9009                                                 SchemaProps: spec.SchemaProps{
9010                                                         Description: "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'",
9011                                                         Type:        []string{"string"},
9012                                                         Format:      "",
9013                                                 },
9014                                         },
9015                                         "nominatedNodeName": {
9016                                                 SchemaProps: spec.SchemaProps{
9017                                                         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.",
9018                                                         Type:        []string{"string"},
9019                                                         Format:      "",
9020                                                 },
9021                                         },
9022                                         "hostIP": {
9023                                                 SchemaProps: spec.SchemaProps{
9024                                                         Description: "IP address of the host to which the pod is assigned. Empty if not yet scheduled.",
9025                                                         Type:        []string{"string"},
9026                                                         Format:      "",
9027                                                 },
9028                                         },
9029                                         "podIP": {
9030                                                 SchemaProps: spec.SchemaProps{
9031                                                         Description: "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.",
9032                                                         Type:        []string{"string"},
9033                                                         Format:      "",
9034                                                 },
9035                                         },
9036                                         "startTime": {
9037                                                 SchemaProps: spec.SchemaProps{
9038                                                         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.",
9039                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
9040                                                 },
9041                                         },
9042                                         "initContainerStatuses": {
9043                                                 SchemaProps: spec.SchemaProps{
9044                                                         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",
9045                                                         Type:        []string{"array"},
9046                                                         Items: &spec.SchemaOrArray{
9047                                                                 Schema: &spec.Schema{
9048                                                                         SchemaProps: spec.SchemaProps{
9049                                                                                 Ref: ref("k8s.io/api/core/v1.ContainerStatus"),
9050                                                                         },
9051                                                                 },
9052                                                         },
9053                                                 },
9054                                         },
9055                                         "containerStatuses": {
9056                                                 SchemaProps: spec.SchemaProps{
9057                                                         Description: "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
9058                                                         Type:        []string{"array"},
9059                                                         Items: &spec.SchemaOrArray{
9060                                                                 Schema: &spec.Schema{
9061                                                                         SchemaProps: spec.SchemaProps{
9062                                                                                 Ref: ref("k8s.io/api/core/v1.ContainerStatus"),
9063                                                                         },
9064                                                                 },
9065                                                         },
9066                                                 },
9067                                         },
9068                                         "qosClass": {
9069                                                 SchemaProps: spec.SchemaProps{
9070                                                         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://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md",
9071                                                         Type:        []string{"string"},
9072                                                         Format:      "",
9073                                                 },
9074                                         },
9075                                 },
9076                         },
9077                 },
9078                 Dependencies: []string{
9079                         "k8s.io/api/core/v1.ContainerStatus", "k8s.io/api/core/v1.PodCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
9080         }
9081 }
9082
9083 func schema_k8sio_api_core_v1_PodStatusResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
9084         return common.OpenAPIDefinition{
9085                 Schema: spec.Schema{
9086                         SchemaProps: spec.SchemaProps{
9087                                 Description: "PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded",
9088                                 Properties: map[string]spec.Schema{
9089                                         "kind": {
9090                                                 SchemaProps: spec.SchemaProps{
9091                                                         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/api-conventions.md#types-kinds",
9092                                                         Type:        []string{"string"},
9093                                                         Format:      "",
9094                                                 },
9095                                         },
9096                                         "apiVersion": {
9097                                                 SchemaProps: spec.SchemaProps{
9098                                                         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/api-conventions.md#resources",
9099                                                         Type:        []string{"string"},
9100                                                         Format:      "",
9101                                                 },
9102                                         },
9103                                         "metadata": {
9104                                                 SchemaProps: spec.SchemaProps{
9105                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
9106                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9107                                                 },
9108                                         },
9109                                         "status": {
9110                                                 SchemaProps: spec.SchemaProps{
9111                                                         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/api-conventions.md#spec-and-status",
9112                                                         Ref:         ref("k8s.io/api/core/v1.PodStatus"),
9113                                                 },
9114                                         },
9115                                 },
9116                         },
9117                 },
9118                 Dependencies: []string{
9119                         "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9120         }
9121 }
9122
9123 func schema_k8sio_api_core_v1_PodTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
9124         return common.OpenAPIDefinition{
9125                 Schema: spec.Schema{
9126                         SchemaProps: spec.SchemaProps{
9127                                 Description: "PodTemplate describes a template for creating copies of a predefined pod.",
9128                                 Properties: map[string]spec.Schema{
9129                                         "kind": {
9130                                                 SchemaProps: spec.SchemaProps{
9131                                                         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/api-conventions.md#types-kinds",
9132                                                         Type:        []string{"string"},
9133                                                         Format:      "",
9134                                                 },
9135                                         },
9136                                         "apiVersion": {
9137                                                 SchemaProps: spec.SchemaProps{
9138                                                         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/api-conventions.md#resources",
9139                                                         Type:        []string{"string"},
9140                                                         Format:      "",
9141                                                 },
9142                                         },
9143                                         "metadata": {
9144                                                 SchemaProps: spec.SchemaProps{
9145                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
9146                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9147                                                 },
9148                                         },
9149                                         "template": {
9150                                                 SchemaProps: spec.SchemaProps{
9151                                                         Description: "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
9152                                                         Ref:         ref("k8s.io/api/core/v1.PodTemplateSpec"),
9153                                                 },
9154                                         },
9155                                 },
9156                         },
9157                 },
9158                 Dependencies: []string{
9159                         "k8s.io/api/core/v1.PodTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9160         }
9161 }
9162
9163 func schema_k8sio_api_core_v1_PodTemplateList(ref common.ReferenceCallback) common.OpenAPIDefinition {
9164         return common.OpenAPIDefinition{
9165                 Schema: spec.Schema{
9166                         SchemaProps: spec.SchemaProps{
9167                                 Description: "PodTemplateList is a list of PodTemplates.",
9168                                 Properties: map[string]spec.Schema{
9169                                         "kind": {
9170                                                 SchemaProps: spec.SchemaProps{
9171                                                         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/api-conventions.md#types-kinds",
9172                                                         Type:        []string{"string"},
9173                                                         Format:      "",
9174                                                 },
9175                                         },
9176                                         "apiVersion": {
9177                                                 SchemaProps: spec.SchemaProps{
9178                                                         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/api-conventions.md#resources",
9179                                                         Type:        []string{"string"},
9180                                                         Format:      "",
9181                                                 },
9182                                         },
9183                                         "metadata": {
9184                                                 SchemaProps: spec.SchemaProps{
9185                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
9186                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
9187                                                 },
9188                                         },
9189                                         "items": {
9190                                                 SchemaProps: spec.SchemaProps{
9191                                                         Description: "List of pod templates",
9192                                                         Type:        []string{"array"},
9193                                                         Items: &spec.SchemaOrArray{
9194                                                                 Schema: &spec.Schema{
9195                                                                         SchemaProps: spec.SchemaProps{
9196                                                                                 Ref: ref("k8s.io/api/core/v1.PodTemplate"),
9197                                                                         },
9198                                                                 },
9199                                                         },
9200                                                 },
9201                                         },
9202                                 },
9203                                 Required: []string{"items"},
9204                         },
9205                 },
9206                 Dependencies: []string{
9207                         "k8s.io/api/core/v1.PodTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
9208         }
9209 }
9210
9211 func schema_k8sio_api_core_v1_PodTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
9212         return common.OpenAPIDefinition{
9213                 Schema: spec.Schema{
9214                         SchemaProps: spec.SchemaProps{
9215                                 Description: "PodTemplateSpec describes the data a pod should have when created from a template",
9216                                 Properties: map[string]spec.Schema{
9217                                         "metadata": {
9218                                                 SchemaProps: spec.SchemaProps{
9219                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
9220                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9221                                                 },
9222                                         },
9223                                         "spec": {
9224                                                 SchemaProps: spec.SchemaProps{
9225                                                         Description: "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
9226                                                         Ref:         ref("k8s.io/api/core/v1.PodSpec"),
9227                                                 },
9228                                         },
9229                                 },
9230                         },
9231                 },
9232                 Dependencies: []string{
9233                         "k8s.io/api/core/v1.PodSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9234         }
9235 }
9236
9237 func schema_k8sio_api_core_v1_PortworxVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9238         return common.OpenAPIDefinition{
9239                 Schema: spec.Schema{
9240                         SchemaProps: spec.SchemaProps{
9241                                 Description: "PortworxVolumeSource represents a Portworx volume resource.",
9242                                 Properties: map[string]spec.Schema{
9243                                         "volumeID": {
9244                                                 SchemaProps: spec.SchemaProps{
9245                                                         Description: "VolumeID uniquely identifies a Portworx volume",
9246                                                         Type:        []string{"string"},
9247                                                         Format:      "",
9248                                                 },
9249                                         },
9250                                         "fsType": {
9251                                                 SchemaProps: spec.SchemaProps{
9252                                                         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.",
9253                                                         Type:        []string{"string"},
9254                                                         Format:      "",
9255                                                 },
9256                                         },
9257                                         "readOnly": {
9258                                                 SchemaProps: spec.SchemaProps{
9259                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
9260                                                         Type:        []string{"boolean"},
9261                                                         Format:      "",
9262                                                 },
9263                                         },
9264                                 },
9265                                 Required: []string{"volumeID"},
9266                         },
9267                 },
9268                 Dependencies: []string{},
9269         }
9270 }
9271
9272 func schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
9273         return common.OpenAPIDefinition{
9274                 Schema: spec.Schema{
9275                         SchemaProps: spec.SchemaProps{
9276                                 Description: "Describes a class of pods that should avoid this node.",
9277                                 Properties: map[string]spec.Schema{
9278                                         "podSignature": {
9279                                                 SchemaProps: spec.SchemaProps{
9280                                                         Description: "The class of pods.",
9281                                                         Ref:         ref("k8s.io/api/core/v1.PodSignature"),
9282                                                 },
9283                                         },
9284                                         "evictionTime": {
9285                                                 SchemaProps: spec.SchemaProps{
9286                                                         Description: "Time at which this entry was added to the list.",
9287                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
9288                                                 },
9289                                         },
9290                                         "reason": {
9291                                                 SchemaProps: spec.SchemaProps{
9292                                                         Description: "(brief) reason why this entry was added to the list.",
9293                                                         Type:        []string{"string"},
9294                                                         Format:      "",
9295                                                 },
9296                                         },
9297                                         "message": {
9298                                                 SchemaProps: spec.SchemaProps{
9299                                                         Description: "Human readable message indicating why this entry was added to the list.",
9300                                                         Type:        []string{"string"},
9301                                                         Format:      "",
9302                                                 },
9303                                         },
9304                                 },
9305                                 Required: []string{"podSignature"},
9306                         },
9307                 },
9308                 Dependencies: []string{
9309                         "k8s.io/api/core/v1.PodSignature", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
9310         }
9311 }
9312
9313 func schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
9314         return common.OpenAPIDefinition{
9315                 Schema: spec.Schema{
9316                         SchemaProps: spec.SchemaProps{
9317                                 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).",
9318                                 Properties: map[string]spec.Schema{
9319                                         "weight": {
9320                                                 SchemaProps: spec.SchemaProps{
9321                                                         Description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
9322                                                         Type:        []string{"integer"},
9323                                                         Format:      "int32",
9324                                                 },
9325                                         },
9326                                         "preference": {
9327                                                 SchemaProps: spec.SchemaProps{
9328                                                         Description: "A node selector term, associated with the corresponding weight.",
9329                                                         Ref:         ref("k8s.io/api/core/v1.NodeSelectorTerm"),
9330                                                 },
9331                                         },
9332                                 },
9333                                 Required: []string{"weight", "preference"},
9334                         },
9335                 },
9336                 Dependencies: []string{
9337                         "k8s.io/api/core/v1.NodeSelectorTerm"},
9338         }
9339 }
9340
9341 func schema_k8sio_api_core_v1_Probe(ref common.ReferenceCallback) common.OpenAPIDefinition {
9342         return common.OpenAPIDefinition{
9343                 Schema: spec.Schema{
9344                         SchemaProps: spec.SchemaProps{
9345                                 Description: "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.",
9346                                 Properties: map[string]spec.Schema{
9347                                         "exec": {
9348                                                 SchemaProps: spec.SchemaProps{
9349                                                         Description: "One and only one of the following should be specified. Exec specifies the action to take.",
9350                                                         Ref:         ref("k8s.io/api/core/v1.ExecAction"),
9351                                                 },
9352                                         },
9353                                         "httpGet": {
9354                                                 SchemaProps: spec.SchemaProps{
9355                                                         Description: "HTTPGet specifies the http request to perform.",
9356                                                         Ref:         ref("k8s.io/api/core/v1.HTTPGetAction"),
9357                                                 },
9358                                         },
9359                                         "tcpSocket": {
9360                                                 SchemaProps: spec.SchemaProps{
9361                                                         Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported",
9362                                                         Ref:         ref("k8s.io/api/core/v1.TCPSocketAction"),
9363                                                 },
9364                                         },
9365                                         "initialDelaySeconds": {
9366                                                 SchemaProps: spec.SchemaProps{
9367                                                         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",
9368                                                         Type:        []string{"integer"},
9369                                                         Format:      "int32",
9370                                                 },
9371                                         },
9372                                         "timeoutSeconds": {
9373                                                 SchemaProps: spec.SchemaProps{
9374                                                         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",
9375                                                         Type:        []string{"integer"},
9376                                                         Format:      "int32",
9377                                                 },
9378                                         },
9379                                         "periodSeconds": {
9380                                                 SchemaProps: spec.SchemaProps{
9381                                                         Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.",
9382                                                         Type:        []string{"integer"},
9383                                                         Format:      "int32",
9384                                                 },
9385                                         },
9386                                         "successThreshold": {
9387                                                 SchemaProps: spec.SchemaProps{
9388                                                         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.",
9389                                                         Type:        []string{"integer"},
9390                                                         Format:      "int32",
9391                                                 },
9392                                         },
9393                                         "failureThreshold": {
9394                                                 SchemaProps: spec.SchemaProps{
9395                                                         Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
9396                                                         Type:        []string{"integer"},
9397                                                         Format:      "int32",
9398                                                 },
9399                                         },
9400                                 },
9401                         },
9402                 },
9403                 Dependencies: []string{
9404                         "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
9405         }
9406 }
9407
9408 func schema_k8sio_api_core_v1_ProjectedVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9409         return common.OpenAPIDefinition{
9410                 Schema: spec.Schema{
9411                         SchemaProps: spec.SchemaProps{
9412                                 Description: "Represents a projected volume source",
9413                                 Properties: map[string]spec.Schema{
9414                                         "sources": {
9415                                                 SchemaProps: spec.SchemaProps{
9416                                                         Description: "list of volume projections",
9417                                                         Type:        []string{"array"},
9418                                                         Items: &spec.SchemaOrArray{
9419                                                                 Schema: &spec.Schema{
9420                                                                         SchemaProps: spec.SchemaProps{
9421                                                                                 Ref: ref("k8s.io/api/core/v1.VolumeProjection"),
9422                                                                         },
9423                                                                 },
9424                                                         },
9425                                                 },
9426                                         },
9427                                         "defaultMode": {
9428                                                 SchemaProps: spec.SchemaProps{
9429                                                         Description: "Mode bits to use on created files by default. Must be a value between 0 and 0777. 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.",
9430                                                         Type:        []string{"integer"},
9431                                                         Format:      "int32",
9432                                                 },
9433                                         },
9434                                 },
9435                                 Required: []string{"sources"},
9436                         },
9437                 },
9438                 Dependencies: []string{
9439                         "k8s.io/api/core/v1.VolumeProjection"},
9440         }
9441 }
9442
9443 func schema_k8sio_api_core_v1_QuobyteVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9444         return common.OpenAPIDefinition{
9445                 Schema: spec.Schema{
9446                         SchemaProps: spec.SchemaProps{
9447                                 Description: "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
9448                                 Properties: map[string]spec.Schema{
9449                                         "registry": {
9450                                                 SchemaProps: spec.SchemaProps{
9451                                                         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",
9452                                                         Type:        []string{"string"},
9453                                                         Format:      "",
9454                                                 },
9455                                         },
9456                                         "volume": {
9457                                                 SchemaProps: spec.SchemaProps{
9458                                                         Description: "Volume is a string that references an already created Quobyte volume by name.",
9459                                                         Type:        []string{"string"},
9460                                                         Format:      "",
9461                                                 },
9462                                         },
9463                                         "readOnly": {
9464                                                 SchemaProps: spec.SchemaProps{
9465                                                         Description: "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
9466                                                         Type:        []string{"boolean"},
9467                                                         Format:      "",
9468                                                 },
9469                                         },
9470                                         "user": {
9471                                                 SchemaProps: spec.SchemaProps{
9472                                                         Description: "User to map volume access to Defaults to serivceaccount user",
9473                                                         Type:        []string{"string"},
9474                                                         Format:      "",
9475                                                 },
9476                                         },
9477                                         "group": {
9478                                                 SchemaProps: spec.SchemaProps{
9479                                                         Description: "Group to map volume access to Default is no group",
9480                                                         Type:        []string{"string"},
9481                                                         Format:      "",
9482                                                 },
9483                                         },
9484                                 },
9485                                 Required: []string{"registry", "volume"},
9486                         },
9487                 },
9488                 Dependencies: []string{},
9489         }
9490 }
9491
9492 func schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9493         return common.OpenAPIDefinition{
9494                 Schema: spec.Schema{
9495                         SchemaProps: spec.SchemaProps{
9496                                 Description: "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
9497                                 Properties: map[string]spec.Schema{
9498                                         "monitors": {
9499                                                 SchemaProps: spec.SchemaProps{
9500                                                         Description: "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9501                                                         Type:        []string{"array"},
9502                                                         Items: &spec.SchemaOrArray{
9503                                                                 Schema: &spec.Schema{
9504                                                                         SchemaProps: spec.SchemaProps{
9505                                                                                 Type:   []string{"string"},
9506                                                                                 Format: "",
9507                                                                         },
9508                                                                 },
9509                                                         },
9510                                                 },
9511                                         },
9512                                         "image": {
9513                                                 SchemaProps: spec.SchemaProps{
9514                                                         Description: "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9515                                                         Type:        []string{"string"},
9516                                                         Format:      "",
9517                                                 },
9518                                         },
9519                                         "fsType": {
9520                                                 SchemaProps: spec.SchemaProps{
9521                                                         Description: "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",
9522                                                         Type:        []string{"string"},
9523                                                         Format:      "",
9524                                                 },
9525                                         },
9526                                         "pool": {
9527                                                 SchemaProps: spec.SchemaProps{
9528                                                         Description: "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9529                                                         Type:        []string{"string"},
9530                                                         Format:      "",
9531                                                 },
9532                                         },
9533                                         "user": {
9534                                                 SchemaProps: spec.SchemaProps{
9535                                                         Description: "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9536                                                         Type:        []string{"string"},
9537                                                         Format:      "",
9538                                                 },
9539                                         },
9540                                         "keyring": {
9541                                                 SchemaProps: spec.SchemaProps{
9542                                                         Description: "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9543                                                         Type:        []string{"string"},
9544                                                         Format:      "",
9545                                                 },
9546                                         },
9547                                         "secretRef": {
9548                                                 SchemaProps: spec.SchemaProps{
9549                                                         Description: "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9550                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
9551                                                 },
9552                                         },
9553                                         "readOnly": {
9554                                                 SchemaProps: spec.SchemaProps{
9555                                                         Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9556                                                         Type:        []string{"boolean"},
9557                                                         Format:      "",
9558                                                 },
9559                                         },
9560                                 },
9561                                 Required: []string{"monitors", "image"},
9562                         },
9563                 },
9564                 Dependencies: []string{
9565                         "k8s.io/api/core/v1.SecretReference"},
9566         }
9567 }
9568
9569 func schema_k8sio_api_core_v1_RBDVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
9570         return common.OpenAPIDefinition{
9571                 Schema: spec.Schema{
9572                         SchemaProps: spec.SchemaProps{
9573                                 Description: "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
9574                                 Properties: map[string]spec.Schema{
9575                                         "monitors": {
9576                                                 SchemaProps: spec.SchemaProps{
9577                                                         Description: "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9578                                                         Type:        []string{"array"},
9579                                                         Items: &spec.SchemaOrArray{
9580                                                                 Schema: &spec.Schema{
9581                                                                         SchemaProps: spec.SchemaProps{
9582                                                                                 Type:   []string{"string"},
9583                                                                                 Format: "",
9584                                                                         },
9585                                                                 },
9586                                                         },
9587                                                 },
9588                                         },
9589                                         "image": {
9590                                                 SchemaProps: spec.SchemaProps{
9591                                                         Description: "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9592                                                         Type:        []string{"string"},
9593                                                         Format:      "",
9594                                                 },
9595                                         },
9596                                         "fsType": {
9597                                                 SchemaProps: spec.SchemaProps{
9598                                                         Description: "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",
9599                                                         Type:        []string{"string"},
9600                                                         Format:      "",
9601                                                 },
9602                                         },
9603                                         "pool": {
9604                                                 SchemaProps: spec.SchemaProps{
9605                                                         Description: "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9606                                                         Type:        []string{"string"},
9607                                                         Format:      "",
9608                                                 },
9609                                         },
9610                                         "user": {
9611                                                 SchemaProps: spec.SchemaProps{
9612                                                         Description: "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9613                                                         Type:        []string{"string"},
9614                                                         Format:      "",
9615                                                 },
9616                                         },
9617                                         "keyring": {
9618                                                 SchemaProps: spec.SchemaProps{
9619                                                         Description: "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9620                                                         Type:        []string{"string"},
9621                                                         Format:      "",
9622                                                 },
9623                                         },
9624                                         "secretRef": {
9625                                                 SchemaProps: spec.SchemaProps{
9626                                                         Description: "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9627                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
9628                                                 },
9629                                         },
9630                                         "readOnly": {
9631                                                 SchemaProps: spec.SchemaProps{
9632                                                         Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it",
9633                                                         Type:        []string{"boolean"},
9634                                                         Format:      "",
9635                                                 },
9636                                         },
9637                                 },
9638                                 Required: []string{"monitors", "image"},
9639                         },
9640                 },
9641                 Dependencies: []string{
9642                         "k8s.io/api/core/v1.LocalObjectReference"},
9643         }
9644 }
9645
9646 func schema_k8sio_api_core_v1_RangeAllocation(ref common.ReferenceCallback) common.OpenAPIDefinition {
9647         return common.OpenAPIDefinition{
9648                 Schema: spec.Schema{
9649                         SchemaProps: spec.SchemaProps{
9650                                 Description: "RangeAllocation is not a public type.",
9651                                 Properties: map[string]spec.Schema{
9652                                         "kind": {
9653                                                 SchemaProps: spec.SchemaProps{
9654                                                         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/api-conventions.md#types-kinds",
9655                                                         Type:        []string{"string"},
9656                                                         Format:      "",
9657                                                 },
9658                                         },
9659                                         "apiVersion": {
9660                                                 SchemaProps: spec.SchemaProps{
9661                                                         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/api-conventions.md#resources",
9662                                                         Type:        []string{"string"},
9663                                                         Format:      "",
9664                                                 },
9665                                         },
9666                                         "metadata": {
9667                                                 SchemaProps: spec.SchemaProps{
9668                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
9669                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9670                                                 },
9671                                         },
9672                                         "range": {
9673                                                 SchemaProps: spec.SchemaProps{
9674                                                         Description: "Range is string that identifies the range represented by 'data'.",
9675                                                         Type:        []string{"string"},
9676                                                         Format:      "",
9677                                                 },
9678                                         },
9679                                         "data": {
9680                                                 SchemaProps: spec.SchemaProps{
9681                                                         Description: "Data is a bit array containing all allocated addresses in the previous segment.",
9682                                                         Type:        []string{"string"},
9683                                                         Format:      "byte",
9684                                                 },
9685                                         },
9686                                 },
9687                                 Required: []string{"range", "data"},
9688                         },
9689                 },
9690                 Dependencies: []string{
9691                         "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9692         }
9693 }
9694
9695 func schema_k8sio_api_core_v1_ReplicationController(ref common.ReferenceCallback) common.OpenAPIDefinition {
9696         return common.OpenAPIDefinition{
9697                 Schema: spec.Schema{
9698                         SchemaProps: spec.SchemaProps{
9699                                 Description: "ReplicationController represents the configuration of a replication controller.",
9700                                 Properties: map[string]spec.Schema{
9701                                         "kind": {
9702                                                 SchemaProps: spec.SchemaProps{
9703                                                         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/api-conventions.md#types-kinds",
9704                                                         Type:        []string{"string"},
9705                                                         Format:      "",
9706                                                 },
9707                                         },
9708                                         "apiVersion": {
9709                                                 SchemaProps: spec.SchemaProps{
9710                                                         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/api-conventions.md#resources",
9711                                                         Type:        []string{"string"},
9712                                                         Format:      "",
9713                                                 },
9714                                         },
9715                                         "metadata": {
9716                                                 SchemaProps: spec.SchemaProps{
9717                                                         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/api-conventions.md#metadata",
9718                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
9719                                                 },
9720                                         },
9721                                         "spec": {
9722                                                 SchemaProps: spec.SchemaProps{
9723                                                         Description: "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
9724                                                         Ref:         ref("k8s.io/api/core/v1.ReplicationControllerSpec"),
9725                                                 },
9726                                         },
9727                                         "status": {
9728                                                 SchemaProps: spec.SchemaProps{
9729                                                         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/api-conventions.md#spec-and-status",
9730                                                         Ref:         ref("k8s.io/api/core/v1.ReplicationControllerStatus"),
9731                                                 },
9732                                         },
9733                                 },
9734                         },
9735                 },
9736                 Dependencies: []string{
9737                         "k8s.io/api/core/v1.ReplicationControllerSpec", "k8s.io/api/core/v1.ReplicationControllerStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
9738         }
9739 }
9740
9741 func schema_k8sio_api_core_v1_ReplicationControllerCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
9742         return common.OpenAPIDefinition{
9743                 Schema: spec.Schema{
9744                         SchemaProps: spec.SchemaProps{
9745                                 Description: "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
9746                                 Properties: map[string]spec.Schema{
9747                                         "type": {
9748                                                 SchemaProps: spec.SchemaProps{
9749                                                         Description: "Type of replication controller condition.",
9750                                                         Type:        []string{"string"},
9751                                                         Format:      "",
9752                                                 },
9753                                         },
9754                                         "status": {
9755                                                 SchemaProps: spec.SchemaProps{
9756                                                         Description: "Status of the condition, one of True, False, Unknown.",
9757                                                         Type:        []string{"string"},
9758                                                         Format:      "",
9759                                                 },
9760                                         },
9761                                         "lastTransitionTime": {
9762                                                 SchemaProps: spec.SchemaProps{
9763                                                         Description: "The last time the condition transitioned from one status to another.",
9764                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
9765                                                 },
9766                                         },
9767                                         "reason": {
9768                                                 SchemaProps: spec.SchemaProps{
9769                                                         Description: "The reason for the condition's last transition.",
9770                                                         Type:        []string{"string"},
9771                                                         Format:      "",
9772                                                 },
9773                                         },
9774                                         "message": {
9775                                                 SchemaProps: spec.SchemaProps{
9776                                                         Description: "A human readable message indicating details about the transition.",
9777                                                         Type:        []string{"string"},
9778                                                         Format:      "",
9779                                                 },
9780                                         },
9781                                 },
9782                                 Required: []string{"type", "status"},
9783                         },
9784                 },
9785                 Dependencies: []string{
9786                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
9787         }
9788 }
9789
9790 func schema_k8sio_api_core_v1_ReplicationControllerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
9791         return common.OpenAPIDefinition{
9792                 Schema: spec.Schema{
9793                         SchemaProps: spec.SchemaProps{
9794                                 Description: "ReplicationControllerList is a collection of replication controllers.",
9795                                 Properties: map[string]spec.Schema{
9796                                         "kind": {
9797                                                 SchemaProps: spec.SchemaProps{
9798                                                         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/api-conventions.md#types-kinds",
9799                                                         Type:        []string{"string"},
9800                                                         Format:      "",
9801                                                 },
9802                                         },
9803                                         "apiVersion": {
9804                                                 SchemaProps: spec.SchemaProps{
9805                                                         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/api-conventions.md#resources",
9806                                                         Type:        []string{"string"},
9807                                                         Format:      "",
9808                                                 },
9809                                         },
9810                                         "metadata": {
9811                                                 SchemaProps: spec.SchemaProps{
9812                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
9813                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
9814                                                 },
9815                                         },
9816                                         "items": {
9817                                                 SchemaProps: spec.SchemaProps{
9818                                                         Description: "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller",
9819                                                         Type:        []string{"array"},
9820                                                         Items: &spec.SchemaOrArray{
9821                                                                 Schema: &spec.Schema{
9822                                                                         SchemaProps: spec.SchemaProps{
9823                                                                                 Ref: ref("k8s.io/api/core/v1.ReplicationController"),
9824                                                                         },
9825                                                                 },
9826                                                         },
9827                                                 },
9828                                         },
9829                                 },
9830                                 Required: []string{"items"},
9831                         },
9832                 },
9833                 Dependencies: []string{
9834                         "k8s.io/api/core/v1.ReplicationController", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
9835         }
9836 }
9837
9838 func schema_k8sio_api_core_v1_ReplicationControllerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
9839         return common.OpenAPIDefinition{
9840                 Schema: spec.Schema{
9841                         SchemaProps: spec.SchemaProps{
9842                                 Description: "ReplicationControllerSpec is the specification of a replication controller.",
9843                                 Properties: map[string]spec.Schema{
9844                                         "replicas": {
9845                                                 SchemaProps: spec.SchemaProps{
9846                                                         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",
9847                                                         Type:        []string{"integer"},
9848                                                         Format:      "int32",
9849                                                 },
9850                                         },
9851                                         "minReadySeconds": {
9852                                                 SchemaProps: spec.SchemaProps{
9853                                                         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)",
9854                                                         Type:        []string{"integer"},
9855                                                         Format:      "int32",
9856                                                 },
9857                                         },
9858                                         "selector": {
9859                                                 SchemaProps: spec.SchemaProps{
9860                                                         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",
9861                                                         Type:        []string{"object"},
9862                                                         AdditionalProperties: &spec.SchemaOrBool{
9863                                                                 Schema: &spec.Schema{
9864                                                                         SchemaProps: spec.SchemaProps{
9865                                                                                 Type:   []string{"string"},
9866                                                                                 Format: "",
9867                                                                         },
9868                                                                 },
9869                                                         },
9870                                                 },
9871                                         },
9872                                         "template": {
9873                                                 SchemaProps: spec.SchemaProps{
9874                                                         Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template",
9875                                                         Ref:         ref("k8s.io/api/core/v1.PodTemplateSpec"),
9876                                                 },
9877                                         },
9878                                 },
9879                         },
9880                 },
9881                 Dependencies: []string{
9882                         "k8s.io/api/core/v1.PodTemplateSpec"},
9883         }
9884 }
9885
9886 func schema_k8sio_api_core_v1_ReplicationControllerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
9887         return common.OpenAPIDefinition{
9888                 Schema: spec.Schema{
9889                         SchemaProps: spec.SchemaProps{
9890                                 Description: "ReplicationControllerStatus represents the current status of a replication controller.",
9891                                 Properties: map[string]spec.Schema{
9892                                         "replicas": {
9893                                                 SchemaProps: spec.SchemaProps{
9894                                                         Description: "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller",
9895                                                         Type:        []string{"integer"},
9896                                                         Format:      "int32",
9897                                                 },
9898                                         },
9899                                         "fullyLabeledReplicas": {
9900                                                 SchemaProps: spec.SchemaProps{
9901                                                         Description: "The number of pods that have labels matching the labels of the pod template of the replication controller.",
9902                                                         Type:        []string{"integer"},
9903                                                         Format:      "int32",
9904                                                 },
9905                                         },
9906                                         "readyReplicas": {
9907                                                 SchemaProps: spec.SchemaProps{
9908                                                         Description: "The number of ready replicas for this replication controller.",
9909                                                         Type:        []string{"integer"},
9910                                                         Format:      "int32",
9911                                                 },
9912                                         },
9913                                         "availableReplicas": {
9914                                                 SchemaProps: spec.SchemaProps{
9915                                                         Description: "The number of available replicas (ready for at least minReadySeconds) for this replication controller.",
9916                                                         Type:        []string{"integer"},
9917                                                         Format:      "int32",
9918                                                 },
9919                                         },
9920                                         "observedGeneration": {
9921                                                 SchemaProps: spec.SchemaProps{
9922                                                         Description: "ObservedGeneration reflects the generation of the most recently observed replication controller.",
9923                                                         Type:        []string{"integer"},
9924                                                         Format:      "int64",
9925                                                 },
9926                                         },
9927                                         "conditions": {
9928                                                 VendorExtensible: spec.VendorExtensible{
9929                                                         Extensions: spec.Extensions{
9930                                                                 "x-kubernetes-patch-merge-key": "type",
9931                                                                 "x-kubernetes-patch-strategy":  "merge",
9932                                                         },
9933                                                 },
9934                                                 SchemaProps: spec.SchemaProps{
9935                                                         Description: "Represents the latest available observations of a replication controller's current state.",
9936                                                         Type:        []string{"array"},
9937                                                         Items: &spec.SchemaOrArray{
9938                                                                 Schema: &spec.Schema{
9939                                                                         SchemaProps: spec.SchemaProps{
9940                                                                                 Ref: ref("k8s.io/api/core/v1.ReplicationControllerCondition"),
9941                                                                         },
9942                                                                 },
9943                                                         },
9944                                                 },
9945                                         },
9946                                 },
9947                                 Required: []string{"replicas"},
9948                         },
9949                 },
9950                 Dependencies: []string{
9951                         "k8s.io/api/core/v1.ReplicationControllerCondition"},
9952         }
9953 }
9954
9955 func schema_k8sio_api_core_v1_ResourceFieldSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
9956         return common.OpenAPIDefinition{
9957                 Schema: spec.Schema{
9958                         SchemaProps: spec.SchemaProps{
9959                                 Description: "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
9960                                 Properties: map[string]spec.Schema{
9961                                         "containerName": {
9962                                                 SchemaProps: spec.SchemaProps{
9963                                                         Description: "Container name: required for volumes, optional for env vars",
9964                                                         Type:        []string{"string"},
9965                                                         Format:      "",
9966                                                 },
9967                                         },
9968                                         "resource": {
9969                                                 SchemaProps: spec.SchemaProps{
9970                                                         Description: "Required: resource to select",
9971                                                         Type:        []string{"string"},
9972                                                         Format:      "",
9973                                                 },
9974                                         },
9975                                         "divisor": {
9976                                                 SchemaProps: spec.SchemaProps{
9977                                                         Description: "Specifies the output format of the exposed resources, defaults to \"1\"",
9978                                                         Ref:         ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
9979                                                 },
9980                                         },
9981                                 },
9982                                 Required: []string{"resource"},
9983                         },
9984                 },
9985                 Dependencies: []string{
9986                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
9987         }
9988 }
9989
9990 func schema_k8sio_api_core_v1_ResourceQuota(ref common.ReferenceCallback) common.OpenAPIDefinition {
9991         return common.OpenAPIDefinition{
9992                 Schema: spec.Schema{
9993                         SchemaProps: spec.SchemaProps{
9994                                 Description: "ResourceQuota sets aggregate quota restrictions enforced per namespace",
9995                                 Properties: map[string]spec.Schema{
9996                                         "kind": {
9997                                                 SchemaProps: spec.SchemaProps{
9998                                                         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/api-conventions.md#types-kinds",
9999                                                         Type:        []string{"string"},
10000                                                         Format:      "",
10001                                                 },
10002                                         },
10003                                         "apiVersion": {
10004                                                 SchemaProps: spec.SchemaProps{
10005                                                         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/api-conventions.md#resources",
10006                                                         Type:        []string{"string"},
10007                                                         Format:      "",
10008                                                 },
10009                                         },
10010                                         "metadata": {
10011                                                 SchemaProps: spec.SchemaProps{
10012                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
10013                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10014                                                 },
10015                                         },
10016                                         "spec": {
10017                                                 SchemaProps: spec.SchemaProps{
10018                                                         Description: "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
10019                                                         Ref:         ref("k8s.io/api/core/v1.ResourceQuotaSpec"),
10020                                                 },
10021                                         },
10022                                         "status": {
10023                                                 SchemaProps: spec.SchemaProps{
10024                                                         Description: "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
10025                                                         Ref:         ref("k8s.io/api/core/v1.ResourceQuotaStatus"),
10026                                                 },
10027                                         },
10028                                 },
10029                         },
10030                 },
10031                 Dependencies: []string{
10032                         "k8s.io/api/core/v1.ResourceQuotaSpec", "k8s.io/api/core/v1.ResourceQuotaStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10033         }
10034 }
10035
10036 func schema_k8sio_api_core_v1_ResourceQuotaList(ref common.ReferenceCallback) common.OpenAPIDefinition {
10037         return common.OpenAPIDefinition{
10038                 Schema: spec.Schema{
10039                         SchemaProps: spec.SchemaProps{
10040                                 Description: "ResourceQuotaList is a list of ResourceQuota items.",
10041                                 Properties: map[string]spec.Schema{
10042                                         "kind": {
10043                                                 SchemaProps: spec.SchemaProps{
10044                                                         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/api-conventions.md#types-kinds",
10045                                                         Type:        []string{"string"},
10046                                                         Format:      "",
10047                                                 },
10048                                         },
10049                                         "apiVersion": {
10050                                                 SchemaProps: spec.SchemaProps{
10051                                                         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/api-conventions.md#resources",
10052                                                         Type:        []string{"string"},
10053                                                         Format:      "",
10054                                                 },
10055                                         },
10056                                         "metadata": {
10057                                                 SchemaProps: spec.SchemaProps{
10058                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
10059                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
10060                                                 },
10061                                         },
10062                                         "items": {
10063                                                 SchemaProps: spec.SchemaProps{
10064                                                         Description: "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
10065                                                         Type:        []string{"array"},
10066                                                         Items: &spec.SchemaOrArray{
10067                                                                 Schema: &spec.Schema{
10068                                                                         SchemaProps: spec.SchemaProps{
10069                                                                                 Ref: ref("k8s.io/api/core/v1.ResourceQuota"),
10070                                                                         },
10071                                                                 },
10072                                                         },
10073                                                 },
10074                                         },
10075                                 },
10076                                 Required: []string{"items"},
10077                         },
10078                 },
10079                 Dependencies: []string{
10080                         "k8s.io/api/core/v1.ResourceQuota", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
10081         }
10082 }
10083
10084 func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
10085         return common.OpenAPIDefinition{
10086                 Schema: spec.Schema{
10087                         SchemaProps: spec.SchemaProps{
10088                                 Description: "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.",
10089                                 Properties: map[string]spec.Schema{
10090                                         "hard": {
10091                                                 SchemaProps: spec.SchemaProps{
10092                                                         Description: "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
10093                                                         Type:        []string{"object"},
10094                                                         AdditionalProperties: &spec.SchemaOrBool{
10095                                                                 Schema: &spec.Schema{
10096                                                                         SchemaProps: spec.SchemaProps{
10097                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10098                                                                         },
10099                                                                 },
10100                                                         },
10101                                                 },
10102                                         },
10103                                         "scopes": {
10104                                                 SchemaProps: spec.SchemaProps{
10105                                                         Description: "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.",
10106                                                         Type:        []string{"array"},
10107                                                         Items: &spec.SchemaOrArray{
10108                                                                 Schema: &spec.Schema{
10109                                                                         SchemaProps: spec.SchemaProps{
10110                                                                                 Type:   []string{"string"},
10111                                                                                 Format: "",
10112                                                                         },
10113                                                                 },
10114                                                         },
10115                                                 },
10116                                         },
10117                                         "scopeSelector": {
10118                                                 SchemaProps: spec.SchemaProps{
10119                                                         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.",
10120                                                         Ref:         ref("k8s.io/api/core/v1.ScopeSelector"),
10121                                                 },
10122                                         },
10123                                 },
10124                         },
10125                 },
10126                 Dependencies: []string{
10127                         "k8s.io/api/core/v1.ScopeSelector", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
10128         }
10129 }
10130
10131 func schema_k8sio_api_core_v1_ResourceQuotaStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
10132         return common.OpenAPIDefinition{
10133                 Schema: spec.Schema{
10134                         SchemaProps: spec.SchemaProps{
10135                                 Description: "ResourceQuotaStatus defines the enforced hard limits and observed use.",
10136                                 Properties: map[string]spec.Schema{
10137                                         "hard": {
10138                                                 SchemaProps: spec.SchemaProps{
10139                                                         Description: "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
10140                                                         Type:        []string{"object"},
10141                                                         AdditionalProperties: &spec.SchemaOrBool{
10142                                                                 Schema: &spec.Schema{
10143                                                                         SchemaProps: spec.SchemaProps{
10144                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10145                                                                         },
10146                                                                 },
10147                                                         },
10148                                                 },
10149                                         },
10150                                         "used": {
10151                                                 SchemaProps: spec.SchemaProps{
10152                                                         Description: "Used is the current observed total usage of the resource in the namespace.",
10153                                                         Type:        []string{"object"},
10154                                                         AdditionalProperties: &spec.SchemaOrBool{
10155                                                                 Schema: &spec.Schema{
10156                                                                         SchemaProps: spec.SchemaProps{
10157                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10158                                                                         },
10159                                                                 },
10160                                                         },
10161                                                 },
10162                                         },
10163                                 },
10164                         },
10165                 },
10166                 Dependencies: []string{
10167                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
10168         }
10169 }
10170
10171 func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition {
10172         return common.OpenAPIDefinition{
10173                 Schema: spec.Schema{
10174                         SchemaProps: spec.SchemaProps{
10175                                 Description: "ResourceRequirements describes the compute resource requirements.",
10176                                 Properties: map[string]spec.Schema{
10177                                         "limits": {
10178                                                 SchemaProps: spec.SchemaProps{
10179                                                         Description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
10180                                                         Type:        []string{"object"},
10181                                                         AdditionalProperties: &spec.SchemaOrBool{
10182                                                                 Schema: &spec.Schema{
10183                                                                         SchemaProps: spec.SchemaProps{
10184                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10185                                                                         },
10186                                                                 },
10187                                                         },
10188                                                 },
10189                                         },
10190                                         "requests": {
10191                                                 SchemaProps: spec.SchemaProps{
10192                                                         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. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
10193                                                         Type:        []string{"object"},
10194                                                         AdditionalProperties: &spec.SchemaOrBool{
10195                                                                 Schema: &spec.Schema{
10196                                                                         SchemaProps: spec.SchemaProps{
10197                                                                                 Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
10198                                                                         },
10199                                                                 },
10200                                                         },
10201                                                 },
10202                                         },
10203                                 },
10204                         },
10205                 },
10206                 Dependencies: []string{
10207                         "k8s.io/apimachinery/pkg/api/resource.Quantity"},
10208         }
10209 }
10210
10211 func schema_k8sio_api_core_v1_SELinuxOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
10212         return common.OpenAPIDefinition{
10213                 Schema: spec.Schema{
10214                         SchemaProps: spec.SchemaProps{
10215                                 Description: "SELinuxOptions are the labels to be applied to the container",
10216                                 Properties: map[string]spec.Schema{
10217                                         "user": {
10218                                                 SchemaProps: spec.SchemaProps{
10219                                                         Description: "User is a SELinux user label that applies to the container.",
10220                                                         Type:        []string{"string"},
10221                                                         Format:      "",
10222                                                 },
10223                                         },
10224                                         "role": {
10225                                                 SchemaProps: spec.SchemaProps{
10226                                                         Description: "Role is a SELinux role label that applies to the container.",
10227                                                         Type:        []string{"string"},
10228                                                         Format:      "",
10229                                                 },
10230                                         },
10231                                         "type": {
10232                                                 SchemaProps: spec.SchemaProps{
10233                                                         Description: "Type is a SELinux type label that applies to the container.",
10234                                                         Type:        []string{"string"},
10235                                                         Format:      "",
10236                                                 },
10237                                         },
10238                                         "level": {
10239                                                 SchemaProps: spec.SchemaProps{
10240                                                         Description: "Level is SELinux level label that applies to the container.",
10241                                                         Type:        []string{"string"},
10242                                                         Format:      "",
10243                                                 },
10244                                         },
10245                                 },
10246                         },
10247                 },
10248                 Dependencies: []string{},
10249         }
10250 }
10251
10252 func schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10253         return common.OpenAPIDefinition{
10254                 Schema: spec.Schema{
10255                         SchemaProps: spec.SchemaProps{
10256                                 Description: "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
10257                                 Properties: map[string]spec.Schema{
10258                                         "gateway": {
10259                                                 SchemaProps: spec.SchemaProps{
10260                                                         Description: "The host address of the ScaleIO API Gateway.",
10261                                                         Type:        []string{"string"},
10262                                                         Format:      "",
10263                                                 },
10264                                         },
10265                                         "system": {
10266                                                 SchemaProps: spec.SchemaProps{
10267                                                         Description: "The name of the storage system as configured in ScaleIO.",
10268                                                         Type:        []string{"string"},
10269                                                         Format:      "",
10270                                                 },
10271                                         },
10272                                         "secretRef": {
10273                                                 SchemaProps: spec.SchemaProps{
10274                                                         Description: "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.",
10275                                                         Ref:         ref("k8s.io/api/core/v1.SecretReference"),
10276                                                 },
10277                                         },
10278                                         "sslEnabled": {
10279                                                 SchemaProps: spec.SchemaProps{
10280                                                         Description: "Flag to enable/disable SSL communication with Gateway, default false",
10281                                                         Type:        []string{"boolean"},
10282                                                         Format:      "",
10283                                                 },
10284                                         },
10285                                         "protectionDomain": {
10286                                                 SchemaProps: spec.SchemaProps{
10287                                                         Description: "The name of the ScaleIO Protection Domain for the configured storage.",
10288                                                         Type:        []string{"string"},
10289                                                         Format:      "",
10290                                                 },
10291                                         },
10292                                         "storagePool": {
10293                                                 SchemaProps: spec.SchemaProps{
10294                                                         Description: "The ScaleIO Storage Pool associated with the protection domain.",
10295                                                         Type:        []string{"string"},
10296                                                         Format:      "",
10297                                                 },
10298                                         },
10299                                         "storageMode": {
10300                                                 SchemaProps: spec.SchemaProps{
10301                                                         Description: "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
10302                                                         Type:        []string{"string"},
10303                                                         Format:      "",
10304                                                 },
10305                                         },
10306                                         "volumeName": {
10307                                                 SchemaProps: spec.SchemaProps{
10308                                                         Description: "The name of a volume already created in the ScaleIO system that is associated with this volume source.",
10309                                                         Type:        []string{"string"},
10310                                                         Format:      "",
10311                                                 },
10312                                         },
10313                                         "fsType": {
10314                                                 SchemaProps: spec.SchemaProps{
10315                                                         Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
10316                                                         Type:        []string{"string"},
10317                                                         Format:      "",
10318                                                 },
10319                                         },
10320                                         "readOnly": {
10321                                                 SchemaProps: spec.SchemaProps{
10322                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
10323                                                         Type:        []string{"boolean"},
10324                                                         Format:      "",
10325                                                 },
10326                                         },
10327                                 },
10328                                 Required: []string{"gateway", "system", "secretRef"},
10329                         },
10330                 },
10331                 Dependencies: []string{
10332                         "k8s.io/api/core/v1.SecretReference"},
10333         }
10334 }
10335
10336 func schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10337         return common.OpenAPIDefinition{
10338                 Schema: spec.Schema{
10339                         SchemaProps: spec.SchemaProps{
10340                                 Description: "ScaleIOVolumeSource represents a persistent ScaleIO volume",
10341                                 Properties: map[string]spec.Schema{
10342                                         "gateway": {
10343                                                 SchemaProps: spec.SchemaProps{
10344                                                         Description: "The host address of the ScaleIO API Gateway.",
10345                                                         Type:        []string{"string"},
10346                                                         Format:      "",
10347                                                 },
10348                                         },
10349                                         "system": {
10350                                                 SchemaProps: spec.SchemaProps{
10351                                                         Description: "The name of the storage system as configured in ScaleIO.",
10352                                                         Type:        []string{"string"},
10353                                                         Format:      "",
10354                                                 },
10355                                         },
10356                                         "secretRef": {
10357                                                 SchemaProps: spec.SchemaProps{
10358                                                         Description: "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.",
10359                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
10360                                                 },
10361                                         },
10362                                         "sslEnabled": {
10363                                                 SchemaProps: spec.SchemaProps{
10364                                                         Description: "Flag to enable/disable SSL communication with Gateway, default false",
10365                                                         Type:        []string{"boolean"},
10366                                                         Format:      "",
10367                                                 },
10368                                         },
10369                                         "protectionDomain": {
10370                                                 SchemaProps: spec.SchemaProps{
10371                                                         Description: "The name of the ScaleIO Protection Domain for the configured storage.",
10372                                                         Type:        []string{"string"},
10373                                                         Format:      "",
10374                                                 },
10375                                         },
10376                                         "storagePool": {
10377                                                 SchemaProps: spec.SchemaProps{
10378                                                         Description: "The ScaleIO Storage Pool associated with the protection domain.",
10379                                                         Type:        []string{"string"},
10380                                                         Format:      "",
10381                                                 },
10382                                         },
10383                                         "storageMode": {
10384                                                 SchemaProps: spec.SchemaProps{
10385                                                         Description: "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
10386                                                         Type:        []string{"string"},
10387                                                         Format:      "",
10388                                                 },
10389                                         },
10390                                         "volumeName": {
10391                                                 SchemaProps: spec.SchemaProps{
10392                                                         Description: "The name of a volume already created in the ScaleIO system that is associated with this volume source.",
10393                                                         Type:        []string{"string"},
10394                                                         Format:      "",
10395                                                 },
10396                                         },
10397                                         "fsType": {
10398                                                 SchemaProps: spec.SchemaProps{
10399                                                         Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
10400                                                         Type:        []string{"string"},
10401                                                         Format:      "",
10402                                                 },
10403                                         },
10404                                         "readOnly": {
10405                                                 SchemaProps: spec.SchemaProps{
10406                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
10407                                                         Type:        []string{"boolean"},
10408                                                         Format:      "",
10409                                                 },
10410                                         },
10411                                 },
10412                                 Required: []string{"gateway", "system", "secretRef"},
10413                         },
10414                 },
10415                 Dependencies: []string{
10416                         "k8s.io/api/core/v1.LocalObjectReference"},
10417         }
10418 }
10419
10420 func schema_k8sio_api_core_v1_ScopeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
10421         return common.OpenAPIDefinition{
10422                 Schema: spec.Schema{
10423                         SchemaProps: spec.SchemaProps{
10424                                 Description: "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.",
10425                                 Properties: map[string]spec.Schema{
10426                                         "matchExpressions": {
10427                                                 SchemaProps: spec.SchemaProps{
10428                                                         Description: "A list of scope selector requirements by scope of the resources.",
10429                                                         Type:        []string{"array"},
10430                                                         Items: &spec.SchemaOrArray{
10431                                                                 Schema: &spec.Schema{
10432                                                                         SchemaProps: spec.SchemaProps{
10433                                                                                 Ref: ref("k8s.io/api/core/v1.ScopedResourceSelectorRequirement"),
10434                                                                         },
10435                                                                 },
10436                                                         },
10437                                                 },
10438                                         },
10439                                 },
10440                         },
10441                 },
10442                 Dependencies: []string{
10443                         "k8s.io/api/core/v1.ScopedResourceSelectorRequirement"},
10444         }
10445 }
10446
10447 func schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
10448         return common.OpenAPIDefinition{
10449                 Schema: spec.Schema{
10450                         SchemaProps: spec.SchemaProps{
10451                                 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.",
10452                                 Properties: map[string]spec.Schema{
10453                                         "scopeName": {
10454                                                 SchemaProps: spec.SchemaProps{
10455                                                         Description: "The name of the scope that the selector applies to.",
10456                                                         Type:        []string{"string"},
10457                                                         Format:      "",
10458                                                 },
10459                                         },
10460                                         "operator": {
10461                                                 SchemaProps: spec.SchemaProps{
10462                                                         Description: "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.",
10463                                                         Type:        []string{"string"},
10464                                                         Format:      "",
10465                                                 },
10466                                         },
10467                                         "values": {
10468                                                 SchemaProps: spec.SchemaProps{
10469                                                         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.",
10470                                                         Type:        []string{"array"},
10471                                                         Items: &spec.SchemaOrArray{
10472                                                                 Schema: &spec.Schema{
10473                                                                         SchemaProps: spec.SchemaProps{
10474                                                                                 Type:   []string{"string"},
10475                                                                                 Format: "",
10476                                                                         },
10477                                                                 },
10478                                                         },
10479                                                 },
10480                                         },
10481                                 },
10482                                 Required: []string{"scopeName", "operator"},
10483                         },
10484                 },
10485                 Dependencies: []string{},
10486         }
10487 }
10488
10489 func schema_k8sio_api_core_v1_Secret(ref common.ReferenceCallback) common.OpenAPIDefinition {
10490         return common.OpenAPIDefinition{
10491                 Schema: spec.Schema{
10492                         SchemaProps: spec.SchemaProps{
10493                                 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.",
10494                                 Properties: map[string]spec.Schema{
10495                                         "kind": {
10496                                                 SchemaProps: spec.SchemaProps{
10497                                                         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/api-conventions.md#types-kinds",
10498                                                         Type:        []string{"string"},
10499                                                         Format:      "",
10500                                                 },
10501                                         },
10502                                         "apiVersion": {
10503                                                 SchemaProps: spec.SchemaProps{
10504                                                         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/api-conventions.md#resources",
10505                                                         Type:        []string{"string"},
10506                                                         Format:      "",
10507                                                 },
10508                                         },
10509                                         "metadata": {
10510                                                 SchemaProps: spec.SchemaProps{
10511                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
10512                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10513                                                 },
10514                                         },
10515                                         "data": {
10516                                                 SchemaProps: spec.SchemaProps{
10517                                                         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",
10518                                                         Type:        []string{"object"},
10519                                                         AdditionalProperties: &spec.SchemaOrBool{
10520                                                                 Schema: &spec.Schema{
10521                                                                         SchemaProps: spec.SchemaProps{
10522                                                                                 Type:   []string{"string"},
10523                                                                                 Format: "byte",
10524                                                                         },
10525                                                                 },
10526                                                         },
10527                                                 },
10528                                         },
10529                                         "stringData": {
10530                                                 SchemaProps: spec.SchemaProps{
10531                                                         Description: "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.",
10532                                                         Type:        []string{"object"},
10533                                                         AdditionalProperties: &spec.SchemaOrBool{
10534                                                                 Schema: &spec.Schema{
10535                                                                         SchemaProps: spec.SchemaProps{
10536                                                                                 Type:   []string{"string"},
10537                                                                                 Format: "",
10538                                                                         },
10539                                                                 },
10540                                                         },
10541                                                 },
10542                                         },
10543                                         "type": {
10544                                                 SchemaProps: spec.SchemaProps{
10545                                                         Description: "Used to facilitate programmatic handling of secret data.",
10546                                                         Type:        []string{"string"},
10547                                                         Format:      "",
10548                                                 },
10549                                         },
10550                                 },
10551                         },
10552                 },
10553                 Dependencies: []string{
10554                         "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10555         }
10556 }
10557
10558 func schema_k8sio_api_core_v1_SecretEnvSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10559         return common.OpenAPIDefinition{
10560                 Schema: spec.Schema{
10561                         SchemaProps: spec.SchemaProps{
10562                                 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.",
10563                                 Properties: map[string]spec.Schema{
10564                                         "name": {
10565                                                 SchemaProps: spec.SchemaProps{
10566                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
10567                                                         Type:        []string{"string"},
10568                                                         Format:      "",
10569                                                 },
10570                                         },
10571                                         "optional": {
10572                                                 SchemaProps: spec.SchemaProps{
10573                                                         Description: "Specify whether the Secret must be defined",
10574                                                         Type:        []string{"boolean"},
10575                                                         Format:      "",
10576                                                 },
10577                                         },
10578                                 },
10579                         },
10580                 },
10581                 Dependencies: []string{},
10582         }
10583 }
10584
10585 func schema_k8sio_api_core_v1_SecretKeySelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
10586         return common.OpenAPIDefinition{
10587                 Schema: spec.Schema{
10588                         SchemaProps: spec.SchemaProps{
10589                                 Description: "SecretKeySelector selects a key of a Secret.",
10590                                 Properties: map[string]spec.Schema{
10591                                         "name": {
10592                                                 SchemaProps: spec.SchemaProps{
10593                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
10594                                                         Type:        []string{"string"},
10595                                                         Format:      "",
10596                                                 },
10597                                         },
10598                                         "key": {
10599                                                 SchemaProps: spec.SchemaProps{
10600                                                         Description: "The key of the secret to select from.  Must be a valid secret key.",
10601                                                         Type:        []string{"string"},
10602                                                         Format:      "",
10603                                                 },
10604                                         },
10605                                         "optional": {
10606                                                 SchemaProps: spec.SchemaProps{
10607                                                         Description: "Specify whether the Secret or it's key must be defined",
10608                                                         Type:        []string{"boolean"},
10609                                                         Format:      "",
10610                                                 },
10611                                         },
10612                                 },
10613                                 Required: []string{"key"},
10614                         },
10615                 },
10616                 Dependencies: []string{},
10617         }
10618 }
10619
10620 func schema_k8sio_api_core_v1_SecretList(ref common.ReferenceCallback) common.OpenAPIDefinition {
10621         return common.OpenAPIDefinition{
10622                 Schema: spec.Schema{
10623                         SchemaProps: spec.SchemaProps{
10624                                 Description: "SecretList is a list of Secret.",
10625                                 Properties: map[string]spec.Schema{
10626                                         "kind": {
10627                                                 SchemaProps: spec.SchemaProps{
10628                                                         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/api-conventions.md#types-kinds",
10629                                                         Type:        []string{"string"},
10630                                                         Format:      "",
10631                                                 },
10632                                         },
10633                                         "apiVersion": {
10634                                                 SchemaProps: spec.SchemaProps{
10635                                                         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/api-conventions.md#resources",
10636                                                         Type:        []string{"string"},
10637                                                         Format:      "",
10638                                                 },
10639                                         },
10640                                         "metadata": {
10641                                                 SchemaProps: spec.SchemaProps{
10642                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
10643                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
10644                                                 },
10645                                         },
10646                                         "items": {
10647                                                 SchemaProps: spec.SchemaProps{
10648                                                         Description: "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret",
10649                                                         Type:        []string{"array"},
10650                                                         Items: &spec.SchemaOrArray{
10651                                                                 Schema: &spec.Schema{
10652                                                                         SchemaProps: spec.SchemaProps{
10653                                                                                 Ref: ref("k8s.io/api/core/v1.Secret"),
10654                                                                         },
10655                                                                 },
10656                                                         },
10657                                                 },
10658                                         },
10659                                 },
10660                                 Required: []string{"items"},
10661                         },
10662                 },
10663                 Dependencies: []string{
10664                         "k8s.io/api/core/v1.Secret", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
10665         }
10666 }
10667
10668 func schema_k8sio_api_core_v1_SecretProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
10669         return common.OpenAPIDefinition{
10670                 Schema: spec.Schema{
10671                         SchemaProps: spec.SchemaProps{
10672                                 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.",
10673                                 Properties: map[string]spec.Schema{
10674                                         "name": {
10675                                                 SchemaProps: spec.SchemaProps{
10676                                                         Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
10677                                                         Type:        []string{"string"},
10678                                                         Format:      "",
10679                                                 },
10680                                         },
10681                                         "items": {
10682                                                 SchemaProps: spec.SchemaProps{
10683                                                         Description: "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 '..'.",
10684                                                         Type:        []string{"array"},
10685                                                         Items: &spec.SchemaOrArray{
10686                                                                 Schema: &spec.Schema{
10687                                                                         SchemaProps: spec.SchemaProps{
10688                                                                                 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
10689                                                                         },
10690                                                                 },
10691                                                         },
10692                                                 },
10693                                         },
10694                                         "optional": {
10695                                                 SchemaProps: spec.SchemaProps{
10696                                                         Description: "Specify whether the Secret or its key must be defined",
10697                                                         Type:        []string{"boolean"},
10698                                                         Format:      "",
10699                                                 },
10700                                         },
10701                                 },
10702                         },
10703                 },
10704                 Dependencies: []string{
10705                         "k8s.io/api/core/v1.KeyToPath"},
10706         }
10707 }
10708
10709 func schema_k8sio_api_core_v1_SecretReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
10710         return common.OpenAPIDefinition{
10711                 Schema: spec.Schema{
10712                         SchemaProps: spec.SchemaProps{
10713                                 Description: "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
10714                                 Properties: map[string]spec.Schema{
10715                                         "name": {
10716                                                 SchemaProps: spec.SchemaProps{
10717                                                         Description: "Name is unique within a namespace to reference a secret resource.",
10718                                                         Type:        []string{"string"},
10719                                                         Format:      "",
10720                                                 },
10721                                         },
10722                                         "namespace": {
10723                                                 SchemaProps: spec.SchemaProps{
10724                                                         Description: "Namespace defines the space within which the secret name must be unique.",
10725                                                         Type:        []string{"string"},
10726                                                         Format:      "",
10727                                                 },
10728                                         },
10729                                 },
10730                         },
10731                 },
10732                 Dependencies: []string{},
10733         }
10734 }
10735
10736 func schema_k8sio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
10737         return common.OpenAPIDefinition{
10738                 Schema: spec.Schema{
10739                         SchemaProps: spec.SchemaProps{
10740                                 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.",
10741                                 Properties: map[string]spec.Schema{
10742                                         "secretName": {
10743                                                 SchemaProps: spec.SchemaProps{
10744                                                         Description: "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
10745                                                         Type:        []string{"string"},
10746                                                         Format:      "",
10747                                                 },
10748                                         },
10749                                         "items": {
10750                                                 SchemaProps: spec.SchemaProps{
10751                                                         Description: "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 '..'.",
10752                                                         Type:        []string{"array"},
10753                                                         Items: &spec.SchemaOrArray{
10754                                                                 Schema: &spec.Schema{
10755                                                                         SchemaProps: spec.SchemaProps{
10756                                                                                 Ref: ref("k8s.io/api/core/v1.KeyToPath"),
10757                                                                         },
10758                                                                 },
10759                                                         },
10760                                                 },
10761                                         },
10762                                         "defaultMode": {
10763                                                 SchemaProps: spec.SchemaProps{
10764                                                         Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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.",
10765                                                         Type:        []string{"integer"},
10766                                                         Format:      "int32",
10767                                                 },
10768                                         },
10769                                         "optional": {
10770                                                 SchemaProps: spec.SchemaProps{
10771                                                         Description: "Specify whether the Secret or it's keys must be defined",
10772                                                         Type:        []string{"boolean"},
10773                                                         Format:      "",
10774                                                 },
10775                                         },
10776                                 },
10777                         },
10778                 },
10779                 Dependencies: []string{
10780                         "k8s.io/api/core/v1.KeyToPath"},
10781         }
10782 }
10783
10784 func schema_k8sio_api_core_v1_SecurityContext(ref common.ReferenceCallback) common.OpenAPIDefinition {
10785         return common.OpenAPIDefinition{
10786                 Schema: spec.Schema{
10787                         SchemaProps: spec.SchemaProps{
10788                                 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.",
10789                                 Properties: map[string]spec.Schema{
10790                                         "capabilities": {
10791                                                 SchemaProps: spec.SchemaProps{
10792                                                         Description: "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.",
10793                                                         Ref:         ref("k8s.io/api/core/v1.Capabilities"),
10794                                                 },
10795                                         },
10796                                         "privileged": {
10797                                                 SchemaProps: spec.SchemaProps{
10798                                                         Description: "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.",
10799                                                         Type:        []string{"boolean"},
10800                                                         Format:      "",
10801                                                 },
10802                                         },
10803                                         "seLinuxOptions": {
10804                                                 SchemaProps: spec.SchemaProps{
10805                                                         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.",
10806                                                         Ref:         ref("k8s.io/api/core/v1.SELinuxOptions"),
10807                                                 },
10808                                         },
10809                                         "runAsUser": {
10810                                                 SchemaProps: spec.SchemaProps{
10811                                                         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.",
10812                                                         Type:        []string{"integer"},
10813                                                         Format:      "int64",
10814                                                 },
10815                                         },
10816                                         "runAsGroup": {
10817                                                 SchemaProps: spec.SchemaProps{
10818                                                         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.",
10819                                                         Type:        []string{"integer"},
10820                                                         Format:      "int64",
10821                                                 },
10822                                         },
10823                                         "runAsNonRoot": {
10824                                                 SchemaProps: spec.SchemaProps{
10825                                                         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.",
10826                                                         Type:        []string{"boolean"},
10827                                                         Format:      "",
10828                                                 },
10829                                         },
10830                                         "readOnlyRootFilesystem": {
10831                                                 SchemaProps: spec.SchemaProps{
10832                                                         Description: "Whether this container has a read-only root filesystem. Default is false.",
10833                                                         Type:        []string{"boolean"},
10834                                                         Format:      "",
10835                                                 },
10836                                         },
10837                                         "allowPrivilegeEscalation": {
10838                                                 SchemaProps: spec.SchemaProps{
10839                                                         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",
10840                                                         Type:        []string{"boolean"},
10841                                                         Format:      "",
10842                                                 },
10843                                         },
10844                                         "procMount": {
10845                                                 SchemaProps: spec.SchemaProps{
10846                                                         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.",
10847                                                         Type:        []string{"string"},
10848                                                         Format:      "",
10849                                                 },
10850                                         },
10851                                 },
10852                         },
10853                 },
10854                 Dependencies: []string{
10855                         "k8s.io/api/core/v1.Capabilities", "k8s.io/api/core/v1.SELinuxOptions"},
10856         }
10857 }
10858
10859 func schema_k8sio_api_core_v1_SerializedReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
10860         return common.OpenAPIDefinition{
10861                 Schema: spec.Schema{
10862                         SchemaProps: spec.SchemaProps{
10863                                 Description: "SerializedReference is a reference to serialized object.",
10864                                 Properties: map[string]spec.Schema{
10865                                         "kind": {
10866                                                 SchemaProps: spec.SchemaProps{
10867                                                         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/api-conventions.md#types-kinds",
10868                                                         Type:        []string{"string"},
10869                                                         Format:      "",
10870                                                 },
10871                                         },
10872                                         "apiVersion": {
10873                                                 SchemaProps: spec.SchemaProps{
10874                                                         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/api-conventions.md#resources",
10875                                                         Type:        []string{"string"},
10876                                                         Format:      "",
10877                                                 },
10878                                         },
10879                                         "reference": {
10880                                                 SchemaProps: spec.SchemaProps{
10881                                                         Description: "The reference to an object in the system.",
10882                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
10883                                                 },
10884                                         },
10885                                 },
10886                         },
10887                 },
10888                 Dependencies: []string{
10889                         "k8s.io/api/core/v1.ObjectReference"},
10890         }
10891 }
10892
10893 func schema_k8sio_api_core_v1_Service(ref common.ReferenceCallback) common.OpenAPIDefinition {
10894         return common.OpenAPIDefinition{
10895                 Schema: spec.Schema{
10896                         SchemaProps: spec.SchemaProps{
10897                                 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.",
10898                                 Properties: map[string]spec.Schema{
10899                                         "kind": {
10900                                                 SchemaProps: spec.SchemaProps{
10901                                                         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/api-conventions.md#types-kinds",
10902                                                         Type:        []string{"string"},
10903                                                         Format:      "",
10904                                                 },
10905                                         },
10906                                         "apiVersion": {
10907                                                 SchemaProps: spec.SchemaProps{
10908                                                         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/api-conventions.md#resources",
10909                                                         Type:        []string{"string"},
10910                                                         Format:      "",
10911                                                 },
10912                                         },
10913                                         "metadata": {
10914                                                 SchemaProps: spec.SchemaProps{
10915                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
10916                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10917                                                 },
10918                                         },
10919                                         "spec": {
10920                                                 SchemaProps: spec.SchemaProps{
10921                                                         Description: "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
10922                                                         Ref:         ref("k8s.io/api/core/v1.ServiceSpec"),
10923                                                 },
10924                                         },
10925                                         "status": {
10926                                                 SchemaProps: spec.SchemaProps{
10927                                                         Description: "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
10928                                                         Ref:         ref("k8s.io/api/core/v1.ServiceStatus"),
10929                                                 },
10930                                         },
10931                                 },
10932                         },
10933                 },
10934                 Dependencies: []string{
10935                         "k8s.io/api/core/v1.ServiceSpec", "k8s.io/api/core/v1.ServiceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
10936         }
10937 }
10938
10939 func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) common.OpenAPIDefinition {
10940         return common.OpenAPIDefinition{
10941                 Schema: spec.Schema{
10942                         SchemaProps: spec.SchemaProps{
10943                                 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",
10944                                 Properties: map[string]spec.Schema{
10945                                         "kind": {
10946                                                 SchemaProps: spec.SchemaProps{
10947                                                         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/api-conventions.md#types-kinds",
10948                                                         Type:        []string{"string"},
10949                                                         Format:      "",
10950                                                 },
10951                                         },
10952                                         "apiVersion": {
10953                                                 SchemaProps: spec.SchemaProps{
10954                                                         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/api-conventions.md#resources",
10955                                                         Type:        []string{"string"},
10956                                                         Format:      "",
10957                                                 },
10958                                         },
10959                                         "metadata": {
10960                                                 SchemaProps: spec.SchemaProps{
10961                                                         Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
10962                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
10963                                                 },
10964                                         },
10965                                         "secrets": {
10966                                                 VendorExtensible: spec.VendorExtensible{
10967                                                         Extensions: spec.Extensions{
10968                                                                 "x-kubernetes-patch-merge-key": "name",
10969                                                                 "x-kubernetes-patch-strategy":  "merge",
10970                                                         },
10971                                                 },
10972                                                 SchemaProps: spec.SchemaProps{
10973                                                         Description: "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret",
10974                                                         Type:        []string{"array"},
10975                                                         Items: &spec.SchemaOrArray{
10976                                                                 Schema: &spec.Schema{
10977                                                                         SchemaProps: spec.SchemaProps{
10978                                                                                 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
10979                                                                         },
10980                                                                 },
10981                                                         },
10982                                                 },
10983                                         },
10984                                         "imagePullSecrets": {
10985                                                 SchemaProps: spec.SchemaProps{
10986                                                         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",
10987                                                         Type:        []string{"array"},
10988                                                         Items: &spec.SchemaOrArray{
10989                                                                 Schema: &spec.Schema{
10990                                                                         SchemaProps: spec.SchemaProps{
10991                                                                                 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
10992                                                                         },
10993                                                                 },
10994                                                         },
10995                                                 },
10996                                         },
10997                                         "automountServiceAccountToken": {
10998                                                 SchemaProps: spec.SchemaProps{
10999                                                         Description: "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.",
11000                                                         Type:        []string{"boolean"},
11001                                                         Format:      "",
11002                                                 },
11003                                         },
11004                                 },
11005                         },
11006                 },
11007                 Dependencies: []string{
11008                         "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
11009         }
11010 }
11011
11012 func schema_k8sio_api_core_v1_ServiceAccountList(ref common.ReferenceCallback) common.OpenAPIDefinition {
11013         return common.OpenAPIDefinition{
11014                 Schema: spec.Schema{
11015                         SchemaProps: spec.SchemaProps{
11016                                 Description: "ServiceAccountList is a list of ServiceAccount objects",
11017                                 Properties: map[string]spec.Schema{
11018                                         "kind": {
11019                                                 SchemaProps: spec.SchemaProps{
11020                                                         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/api-conventions.md#types-kinds",
11021                                                         Type:        []string{"string"},
11022                                                         Format:      "",
11023                                                 },
11024                                         },
11025                                         "apiVersion": {
11026                                                 SchemaProps: spec.SchemaProps{
11027                                                         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/api-conventions.md#resources",
11028                                                         Type:        []string{"string"},
11029                                                         Format:      "",
11030                                                 },
11031                                         },
11032                                         "metadata": {
11033                                                 SchemaProps: spec.SchemaProps{
11034                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
11035                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
11036                                                 },
11037                                         },
11038                                         "items": {
11039                                                 SchemaProps: spec.SchemaProps{
11040                                                         Description: "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
11041                                                         Type:        []string{"array"},
11042                                                         Items: &spec.SchemaOrArray{
11043                                                                 Schema: &spec.Schema{
11044                                                                         SchemaProps: spec.SchemaProps{
11045                                                                                 Ref: ref("k8s.io/api/core/v1.ServiceAccount"),
11046                                                                         },
11047                                                                 },
11048                                                         },
11049                                                 },
11050                                         },
11051                                 },
11052                                 Required: []string{"items"},
11053                         },
11054                 },
11055                 Dependencies: []string{
11056                         "k8s.io/api/core/v1.ServiceAccount", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
11057         }
11058 }
11059
11060 func schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
11061         return common.OpenAPIDefinition{
11062                 Schema: spec.Schema{
11063                         SchemaProps: spec.SchemaProps{
11064                                 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).",
11065                                 Properties: map[string]spec.Schema{
11066                                         "audience": {
11067                                                 SchemaProps: spec.SchemaProps{
11068                                                         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.",
11069                                                         Type:        []string{"string"},
11070                                                         Format:      "",
11071                                                 },
11072                                         },
11073                                         "expirationSeconds": {
11074                                                 SchemaProps: spec.SchemaProps{
11075                                                         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.",
11076                                                         Type:        []string{"integer"},
11077                                                         Format:      "int64",
11078                                                 },
11079                                         },
11080                                         "path": {
11081                                                 SchemaProps: spec.SchemaProps{
11082                                                         Description: "Path is the path relative to the mount point of the file to project the token into.",
11083                                                         Type:        []string{"string"},
11084                                                         Format:      "",
11085                                                 },
11086                                         },
11087                                 },
11088                                 Required: []string{"path"},
11089                         },
11090                 },
11091                 Dependencies: []string{},
11092         }
11093 }
11094
11095 func schema_k8sio_api_core_v1_ServiceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
11096         return common.OpenAPIDefinition{
11097                 Schema: spec.Schema{
11098                         SchemaProps: spec.SchemaProps{
11099                                 Description: "ServiceList holds a list of services.",
11100                                 Properties: map[string]spec.Schema{
11101                                         "kind": {
11102                                                 SchemaProps: spec.SchemaProps{
11103                                                         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/api-conventions.md#types-kinds",
11104                                                         Type:        []string{"string"},
11105                                                         Format:      "",
11106                                                 },
11107                                         },
11108                                         "apiVersion": {
11109                                                 SchemaProps: spec.SchemaProps{
11110                                                         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/api-conventions.md#resources",
11111                                                         Type:        []string{"string"},
11112                                                         Format:      "",
11113                                                 },
11114                                         },
11115                                         "metadata": {
11116                                                 SchemaProps: spec.SchemaProps{
11117                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
11118                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
11119                                                 },
11120                                         },
11121                                         "items": {
11122                                                 SchemaProps: spec.SchemaProps{
11123                                                         Description: "List of services",
11124                                                         Type:        []string{"array"},
11125                                                         Items: &spec.SchemaOrArray{
11126                                                                 Schema: &spec.Schema{
11127                                                                         SchemaProps: spec.SchemaProps{
11128                                                                                 Ref: ref("k8s.io/api/core/v1.Service"),
11129                                                                         },
11130                                                                 },
11131                                                         },
11132                                                 },
11133                                         },
11134                                 },
11135                                 Required: []string{"items"},
11136                         },
11137                 },
11138                 Dependencies: []string{
11139                         "k8s.io/api/core/v1.Service", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
11140         }
11141 }
11142
11143 func schema_k8sio_api_core_v1_ServicePort(ref common.ReferenceCallback) common.OpenAPIDefinition {
11144         return common.OpenAPIDefinition{
11145                 Schema: spec.Schema{
11146                         SchemaProps: spec.SchemaProps{
11147                                 Description: "ServicePort contains information on service's port.",
11148                                 Properties: map[string]spec.Schema{
11149                                         "name": {
11150                                                 SchemaProps: spec.SchemaProps{
11151                                                         Description: "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.",
11152                                                         Type:        []string{"string"},
11153                                                         Format:      "",
11154                                                 },
11155                                         },
11156                                         "protocol": {
11157                                                 SchemaProps: spec.SchemaProps{
11158                                                         Description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.",
11159                                                         Type:        []string{"string"},
11160                                                         Format:      "",
11161                                                 },
11162                                         },
11163                                         "port": {
11164                                                 SchemaProps: spec.SchemaProps{
11165                                                         Description: "The port that will be exposed by this service.",
11166                                                         Type:        []string{"integer"},
11167                                                         Format:      "int32",
11168                                                 },
11169                                         },
11170                                         "targetPort": {
11171                                                 SchemaProps: spec.SchemaProps{
11172                                                         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",
11173                                                         Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
11174                                                 },
11175                                         },
11176                                         "nodePort": {
11177                                                 SchemaProps: spec.SchemaProps{
11178                                                         Description: "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport",
11179                                                         Type:        []string{"integer"},
11180                                                         Format:      "int32",
11181                                                 },
11182                                         },
11183                                 },
11184                                 Required: []string{"port"},
11185                         },
11186                 },
11187                 Dependencies: []string{
11188                         "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
11189         }
11190 }
11191
11192 func schema_k8sio_api_core_v1_ServiceProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
11193         return common.OpenAPIDefinition{
11194                 Schema: spec.Schema{
11195                         SchemaProps: spec.SchemaProps{
11196                                 Description: "ServiceProxyOptions is the query options to a Service's proxy call.",
11197                                 Properties: map[string]spec.Schema{
11198                                         "kind": {
11199                                                 SchemaProps: spec.SchemaProps{
11200                                                         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/api-conventions.md#types-kinds",
11201                                                         Type:        []string{"string"},
11202                                                         Format:      "",
11203                                                 },
11204                                         },
11205                                         "apiVersion": {
11206                                                 SchemaProps: spec.SchemaProps{
11207                                                         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/api-conventions.md#resources",
11208                                                         Type:        []string{"string"},
11209                                                         Format:      "",
11210                                                 },
11211                                         },
11212                                         "path": {
11213                                                 SchemaProps: spec.SchemaProps{
11214                                                         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.",
11215                                                         Type:        []string{"string"},
11216                                                         Format:      "",
11217                                                 },
11218                                         },
11219                                 },
11220                         },
11221                 },
11222                 Dependencies: []string{},
11223         }
11224 }
11225
11226 func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
11227         return common.OpenAPIDefinition{
11228                 Schema: spec.Schema{
11229                         SchemaProps: spec.SchemaProps{
11230                                 Description: "ServiceSpec describes the attributes that a user creates on a service.",
11231                                 Properties: map[string]spec.Schema{
11232                                         "ports": {
11233                                                 VendorExtensible: spec.VendorExtensible{
11234                                                         Extensions: spec.Extensions{
11235                                                                 "x-kubernetes-patch-merge-key": "port",
11236                                                                 "x-kubernetes-patch-strategy":  "merge",
11237                                                         },
11238                                                 },
11239                                                 SchemaProps: spec.SchemaProps{
11240                                                         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",
11241                                                         Type:        []string{"array"},
11242                                                         Items: &spec.SchemaOrArray{
11243                                                                 Schema: &spec.Schema{
11244                                                                         SchemaProps: spec.SchemaProps{
11245                                                                                 Ref: ref("k8s.io/api/core/v1.ServicePort"),
11246                                                                         },
11247                                                                 },
11248                                                         },
11249                                                 },
11250                                         },
11251                                         "selector": {
11252                                                 SchemaProps: spec.SchemaProps{
11253                                                         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/",
11254                                                         Type:        []string{"object"},
11255                                                         AdditionalProperties: &spec.SchemaOrBool{
11256                                                                 Schema: &spec.Schema{
11257                                                                         SchemaProps: spec.SchemaProps{
11258                                                                                 Type:   []string{"string"},
11259                                                                                 Format: "",
11260                                                                         },
11261                                                                 },
11262                                                         },
11263                                                 },
11264                                         },
11265                                         "clusterIP": {
11266                                                 SchemaProps: spec.SchemaProps{
11267                                                         Description: "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
11268                                                         Type:        []string{"string"},
11269                                                         Format:      "",
11270                                                 },
11271                                         },
11272                                         "type": {
11273                                                 SchemaProps: spec.SchemaProps{
11274                                                         Description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"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. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types",
11275                                                         Type:        []string{"string"},
11276                                                         Format:      "",
11277                                                 },
11278                                         },
11279                                         "externalIPs": {
11280                                                 SchemaProps: spec.SchemaProps{
11281                                                         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.",
11282                                                         Type:        []string{"array"},
11283                                                         Items: &spec.SchemaOrArray{
11284                                                                 Schema: &spec.Schema{
11285                                                                         SchemaProps: spec.SchemaProps{
11286                                                                                 Type:   []string{"string"},
11287                                                                                 Format: "",
11288                                                                         },
11289                                                                 },
11290                                                         },
11291                                                 },
11292                                         },
11293                                         "sessionAffinity": {
11294                                                 SchemaProps: spec.SchemaProps{
11295                                                         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",
11296                                                         Type:        []string{"string"},
11297                                                         Format:      "",
11298                                                 },
11299                                         },
11300                                         "loadBalancerIP": {
11301                                                 SchemaProps: spec.SchemaProps{
11302                                                         Description: "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. 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.",
11303                                                         Type:        []string{"string"},
11304                                                         Format:      "",
11305                                                 },
11306                                         },
11307                                         "loadBalancerSourceRanges": {
11308                                                 SchemaProps: spec.SchemaProps{
11309                                                         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/configure-cloud-provider-firewall/",
11310                                                         Type:        []string{"array"},
11311                                                         Items: &spec.SchemaOrArray{
11312                                                                 Schema: &spec.Schema{
11313                                                                         SchemaProps: spec.SchemaProps{
11314                                                                                 Type:   []string{"string"},
11315                                                                                 Format: "",
11316                                                                         },
11317                                                                 },
11318                                                         },
11319                                                 },
11320                                         },
11321                                         "externalName": {
11322                                                 SchemaProps: spec.SchemaProps{
11323                                                         Description: "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.",
11324                                                         Type:        []string{"string"},
11325                                                         Format:      "",
11326                                                 },
11327                                         },
11328                                         "externalTrafficPolicy": {
11329                                                 SchemaProps: spec.SchemaProps{
11330                                                         Description: "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.",
11331                                                         Type:        []string{"string"},
11332                                                         Format:      "",
11333                                                 },
11334                                         },
11335                                         "healthCheckNodePort": {
11336                                                 SchemaProps: spec.SchemaProps{
11337                                                         Description: "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.",
11338                                                         Type:        []string{"integer"},
11339                                                         Format:      "int32",
11340                                                 },
11341                                         },
11342                                         "publishNotReadyAddresses": {
11343                                                 SchemaProps: spec.SchemaProps{
11344                                                         Description: "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.",
11345                                                         Type:        []string{"boolean"},
11346                                                         Format:      "",
11347                                                 },
11348                                         },
11349                                         "sessionAffinityConfig": {
11350                                                 SchemaProps: spec.SchemaProps{
11351                                                         Description: "sessionAffinityConfig contains the configurations of session affinity.",
11352                                                         Ref:         ref("k8s.io/api/core/v1.SessionAffinityConfig"),
11353                                                 },
11354                                         },
11355                                 },
11356                         },
11357                 },
11358                 Dependencies: []string{
11359                         "k8s.io/api/core/v1.ServicePort", "k8s.io/api/core/v1.SessionAffinityConfig"},
11360         }
11361 }
11362
11363 func schema_k8sio_api_core_v1_ServiceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
11364         return common.OpenAPIDefinition{
11365                 Schema: spec.Schema{
11366                         SchemaProps: spec.SchemaProps{
11367                                 Description: "ServiceStatus represents the current status of a service.",
11368                                 Properties: map[string]spec.Schema{
11369                                         "loadBalancer": {
11370                                                 SchemaProps: spec.SchemaProps{
11371                                                         Description: "LoadBalancer contains the current status of the load-balancer, if one is present.",
11372                                                         Ref:         ref("k8s.io/api/core/v1.LoadBalancerStatus"),
11373                                                 },
11374                                         },
11375                                 },
11376                         },
11377                 },
11378                 Dependencies: []string{
11379                         "k8s.io/api/core/v1.LoadBalancerStatus"},
11380         }
11381 }
11382
11383 func schema_k8sio_api_core_v1_SessionAffinityConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
11384         return common.OpenAPIDefinition{
11385                 Schema: spec.Schema{
11386                         SchemaProps: spec.SchemaProps{
11387                                 Description: "SessionAffinityConfig represents the configurations of session affinity.",
11388                                 Properties: map[string]spec.Schema{
11389                                         "clientIP": {
11390                                                 SchemaProps: spec.SchemaProps{
11391                                                         Description: "clientIP contains the configurations of Client IP based session affinity.",
11392                                                         Ref:         ref("k8s.io/api/core/v1.ClientIPConfig"),
11393                                                 },
11394                                         },
11395                                 },
11396                         },
11397                 },
11398                 Dependencies: []string{
11399                         "k8s.io/api/core/v1.ClientIPConfig"},
11400         }
11401 }
11402
11403 func schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11404         return common.OpenAPIDefinition{
11405                 Schema: spec.Schema{
11406                         SchemaProps: spec.SchemaProps{
11407                                 Description: "Represents a StorageOS persistent volume resource.",
11408                                 Properties: map[string]spec.Schema{
11409                                         "volumeName": {
11410                                                 SchemaProps: spec.SchemaProps{
11411                                                         Description: "VolumeName is the human-readable name of the StorageOS volume.  Volume names are only unique within a namespace.",
11412                                                         Type:        []string{"string"},
11413                                                         Format:      "",
11414                                                 },
11415                                         },
11416                                         "volumeNamespace": {
11417                                                 SchemaProps: spec.SchemaProps{
11418                                                         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.",
11419                                                         Type:        []string{"string"},
11420                                                         Format:      "",
11421                                                 },
11422                                         },
11423                                         "fsType": {
11424                                                 SchemaProps: spec.SchemaProps{
11425                                                         Description: "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.",
11426                                                         Type:        []string{"string"},
11427                                                         Format:      "",
11428                                                 },
11429                                         },
11430                                         "readOnly": {
11431                                                 SchemaProps: spec.SchemaProps{
11432                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11433                                                         Type:        []string{"boolean"},
11434                                                         Format:      "",
11435                                                 },
11436                                         },
11437                                         "secretRef": {
11438                                                 SchemaProps: spec.SchemaProps{
11439                                                         Description: "SecretRef specifies the secret to use for obtaining the StorageOS API credentials.  If not specified, default values will be attempted.",
11440                                                         Ref:         ref("k8s.io/api/core/v1.ObjectReference"),
11441                                                 },
11442                                         },
11443                                 },
11444                         },
11445                 },
11446                 Dependencies: []string{
11447                         "k8s.io/api/core/v1.ObjectReference"},
11448         }
11449 }
11450
11451 func schema_k8sio_api_core_v1_StorageOSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
11452         return common.OpenAPIDefinition{
11453                 Schema: spec.Schema{
11454                         SchemaProps: spec.SchemaProps{
11455                                 Description: "Represents a StorageOS persistent volume resource.",
11456                                 Properties: map[string]spec.Schema{
11457                                         "volumeName": {
11458                                                 SchemaProps: spec.SchemaProps{
11459                                                         Description: "VolumeName is the human-readable name of the StorageOS volume.  Volume names are only unique within a namespace.",
11460                                                         Type:        []string{"string"},
11461                                                         Format:      "",
11462                                                 },
11463                                         },
11464                                         "volumeNamespace": {
11465                                                 SchemaProps: spec.SchemaProps{
11466                                                         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.",
11467                                                         Type:        []string{"string"},
11468                                                         Format:      "",
11469                                                 },
11470                                         },
11471                                         "fsType": {
11472                                                 SchemaProps: spec.SchemaProps{
11473                                                         Description: "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.",
11474                                                         Type:        []string{"string"},
11475                                                         Format:      "",
11476                                                 },
11477                                         },
11478                                         "readOnly": {
11479                                                 SchemaProps: spec.SchemaProps{
11480                                                         Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11481                                                         Type:        []string{"boolean"},
11482                                                         Format:      "",
11483                                                 },
11484                                         },
11485                                         "secretRef": {
11486                                                 SchemaProps: spec.SchemaProps{
11487                                                         Description: "SecretRef specifies the secret to use for obtaining the StorageOS API credentials.  If not specified, default values will be attempted.",
11488                                                         Ref:         ref("k8s.io/api/core/v1.LocalObjectReference"),
11489                                                 },
11490                                         },
11491                                 },
11492                         },
11493                 },
11494                 Dependencies: []string{
11495                         "k8s.io/api/core/v1.LocalObjectReference"},
11496         }
11497 }
11498
11499 func schema_k8sio_api_core_v1_Sysctl(ref common.ReferenceCallback) common.OpenAPIDefinition {
11500         return common.OpenAPIDefinition{
11501                 Schema: spec.Schema{
11502                         SchemaProps: spec.SchemaProps{
11503                                 Description: "Sysctl defines a kernel parameter to be set",
11504                                 Properties: map[string]spec.Schema{
11505                                         "name": {
11506                                                 SchemaProps: spec.SchemaProps{
11507                                                         Description: "Name of a property to set",
11508                                                         Type:        []string{"string"},
11509                                                         Format:      "",
11510                                                 },
11511                                         },
11512                                         "value": {
11513                                                 SchemaProps: spec.SchemaProps{
11514                                                         Description: "Value of a property to set",
11515                                                         Type:        []string{"string"},
11516                                                         Format:      "",
11517                                                 },
11518                                         },
11519                                 },
11520                                 Required: []string{"name", "value"},
11521                         },
11522                 },
11523                 Dependencies: []string{},
11524         }
11525 }
11526
11527 func schema_k8sio_api_core_v1_TCPSocketAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
11528         return common.OpenAPIDefinition{
11529                 Schema: spec.Schema{
11530                         SchemaProps: spec.SchemaProps{
11531                                 Description: "TCPSocketAction describes an action based on opening a socket",
11532                                 Properties: map[string]spec.Schema{
11533                                         "port": {
11534                                                 SchemaProps: spec.SchemaProps{
11535                                                         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.",
11536                                                         Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
11537                                                 },
11538                                         },
11539                                         "host": {
11540                                                 SchemaProps: spec.SchemaProps{
11541                                                         Description: "Optional: Host name to connect to, defaults to the pod IP.",
11542                                                         Type:        []string{"string"},
11543                                                         Format:      "",
11544                                                 },
11545                                         },
11546                                 },
11547                                 Required: []string{"port"},
11548                         },
11549                 },
11550                 Dependencies: []string{
11551                         "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
11552         }
11553 }
11554
11555 func schema_k8sio_api_core_v1_Taint(ref common.ReferenceCallback) common.OpenAPIDefinition {
11556         return common.OpenAPIDefinition{
11557                 Schema: spec.Schema{
11558                         SchemaProps: spec.SchemaProps{
11559                                 Description: "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
11560                                 Properties: map[string]spec.Schema{
11561                                         "key": {
11562                                                 SchemaProps: spec.SchemaProps{
11563                                                         Description: "Required. The taint key to be applied to a node.",
11564                                                         Type:        []string{"string"},
11565                                                         Format:      "",
11566                                                 },
11567                                         },
11568                                         "value": {
11569                                                 SchemaProps: spec.SchemaProps{
11570                                                         Description: "Required. The taint value corresponding to the taint key.",
11571                                                         Type:        []string{"string"},
11572                                                         Format:      "",
11573                                                 },
11574                                         },
11575                                         "effect": {
11576                                                 SchemaProps: spec.SchemaProps{
11577                                                         Description: "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
11578                                                         Type:        []string{"string"},
11579                                                         Format:      "",
11580                                                 },
11581                                         },
11582                                         "timeAdded": {
11583                                                 SchemaProps: spec.SchemaProps{
11584                                                         Description: "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
11585                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
11586                                                 },
11587                                         },
11588                                 },
11589                                 Required: []string{"key", "effect"},
11590                         },
11591                 },
11592                 Dependencies: []string{
11593                         "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
11594         }
11595 }
11596
11597 func schema_k8sio_api_core_v1_Toleration(ref common.ReferenceCallback) common.OpenAPIDefinition {
11598         return common.OpenAPIDefinition{
11599                 Schema: spec.Schema{
11600                         SchemaProps: spec.SchemaProps{
11601                                 Description: "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.",
11602                                 Properties: map[string]spec.Schema{
11603                                         "key": {
11604                                                 SchemaProps: spec.SchemaProps{
11605                                                         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.",
11606                                                         Type:        []string{"string"},
11607                                                         Format:      "",
11608                                                 },
11609                                         },
11610                                         "operator": {
11611                                                 SchemaProps: spec.SchemaProps{
11612                                                         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.",
11613                                                         Type:        []string{"string"},
11614                                                         Format:      "",
11615                                                 },
11616                                         },
11617                                         "value": {
11618                                                 SchemaProps: spec.SchemaProps{
11619                                                         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.",
11620                                                         Type:        []string{"string"},
11621                                                         Format:      "",
11622                                                 },
11623                                         },
11624                                         "effect": {
11625                                                 SchemaProps: spec.SchemaProps{
11626                                                         Description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
11627                                                         Type:        []string{"string"},
11628                                                         Format:      "",
11629                                                 },
11630                                         },
11631                                         "tolerationSeconds": {
11632                                                 SchemaProps: spec.SchemaProps{
11633                                                         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.",
11634                                                         Type:        []string{"integer"},
11635                                                         Format:      "int64",
11636                                                 },
11637                                         },
11638                                 },
11639                         },
11640                 },
11641                 Dependencies: []string{},
11642         }
11643 }
11644
11645 func schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
11646         return common.OpenAPIDefinition{
11647                 Schema: spec.Schema{
11648                         SchemaProps: spec.SchemaProps{
11649                                 Description: "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.",
11650                                 Properties: map[string]spec.Schema{
11651                                         "key": {
11652                                                 SchemaProps: spec.SchemaProps{
11653                                                         Description: "The label key that the selector applies to.",
11654                                                         Type:        []string{"string"},
11655                                                         Format:      "",
11656                                                 },
11657                                         },
11658                                         "values": {
11659                                                 SchemaProps: spec.SchemaProps{
11660                                                         Description: "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.",
11661                                                         Type:        []string{"array"},
11662                                                         Items: &spec.SchemaOrArray{
11663                                                                 Schema: &spec.Schema{
11664                                                                         SchemaProps: spec.SchemaProps{
11665                                                                                 Type:   []string{"string"},
11666                                                                                 Format: "",
11667                                                                         },
11668                                                                 },
11669                                                         },
11670                                                 },
11671                                         },
11672                                 },
11673                                 Required: []string{"key", "values"},
11674                         },
11675                 },
11676                 Dependencies: []string{},
11677         }
11678 }
11679
11680 func schema_k8sio_api_core_v1_TopologySelectorTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
11681         return common.OpenAPIDefinition{
11682                 Schema: spec.Schema{
11683                         SchemaProps: spec.SchemaProps{
11684                                 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.",
11685                                 Properties: map[string]spec.Schema{
11686                                         "matchLabelExpressions": {
11687                                                 SchemaProps: spec.SchemaProps{
11688                                                         Description: "A list of topology selector requirements by labels.",
11689                                                         Type:        []string{"array"},
11690                                                         Items: &spec.SchemaOrArray{
11691                                                                 Schema: &spec.Schema{
11692                                                                         SchemaProps: spec.SchemaProps{
11693                                                                                 Ref: ref("k8s.io/api/core/v1.TopologySelectorLabelRequirement"),
11694                                                                         },
11695                                                                 },
11696                                                         },
11697                                                 },
11698                                         },
11699                                 },
11700                         },
11701                 },
11702                 Dependencies: []string{
11703                         "k8s.io/api/core/v1.TopologySelectorLabelRequirement"},
11704         }
11705 }
11706
11707 func schema_k8sio_api_core_v1_TypedLocalObjectReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
11708         return common.OpenAPIDefinition{
11709                 Schema: spec.Schema{
11710                         SchemaProps: spec.SchemaProps{
11711                                 Description: "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
11712                                 Properties: map[string]spec.Schema{
11713                                         "apiGroup": {
11714                                                 SchemaProps: spec.SchemaProps{
11715                                                         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.",
11716                                                         Type:        []string{"string"},
11717                                                         Format:      "",
11718                                                 },
11719                                         },
11720                                         "kind": {
11721                                                 SchemaProps: spec.SchemaProps{
11722                                                         Description: "Kind is the type of resource being referenced",
11723                                                         Type:        []string{"string"},
11724                                                         Format:      "",
11725                                                 },
11726                                         },
11727                                         "name": {
11728                                                 SchemaProps: spec.SchemaProps{
11729                                                         Description: "Name is the name of resource being referenced",
11730                                                         Type:        []string{"string"},
11731                                                         Format:      "",
11732                                                 },
11733                                         },
11734                                 },
11735                                 Required: []string{"kind", "name"},
11736                         },
11737                 },
11738                 Dependencies: []string{},
11739         }
11740 }
11741
11742 func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAPIDefinition {
11743         return common.OpenAPIDefinition{
11744                 Schema: spec.Schema{
11745                         SchemaProps: spec.SchemaProps{
11746                                 Description: "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
11747                                 Properties: map[string]spec.Schema{
11748                                         "name": {
11749                                                 SchemaProps: spec.SchemaProps{
11750                                                         Description: "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
11751                                                         Type:        []string{"string"},
11752                                                         Format:      "",
11753                                                 },
11754                                         },
11755                                         "hostPath": {
11756                                                 SchemaProps: spec.SchemaProps{
11757                                                         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",
11758                                                         Ref:         ref("k8s.io/api/core/v1.HostPathVolumeSource"),
11759                                                 },
11760                                         },
11761                                         "emptyDir": {
11762                                                 SchemaProps: spec.SchemaProps{
11763                                                         Description: "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
11764                                                         Ref:         ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
11765                                                 },
11766                                         },
11767                                         "gcePersistentDisk": {
11768                                                 SchemaProps: spec.SchemaProps{
11769                                                         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",
11770                                                         Ref:         ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
11771                                                 },
11772                                         },
11773                                         "awsElasticBlockStore": {
11774                                                 SchemaProps: spec.SchemaProps{
11775                                                         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",
11776                                                         Ref:         ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
11777                                                 },
11778                                         },
11779                                         "gitRepo": {
11780                                                 SchemaProps: spec.SchemaProps{
11781                                                         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.",
11782                                                         Ref:         ref("k8s.io/api/core/v1.GitRepoVolumeSource"),
11783                                                 },
11784                                         },
11785                                         "secret": {
11786                                                 SchemaProps: spec.SchemaProps{
11787                                                         Description: "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
11788                                                         Ref:         ref("k8s.io/api/core/v1.SecretVolumeSource"),
11789                                                 },
11790                                         },
11791                                         "nfs": {
11792                                                 SchemaProps: spec.SchemaProps{
11793                                                         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",
11794                                                         Ref:         ref("k8s.io/api/core/v1.NFSVolumeSource"),
11795                                                 },
11796                                         },
11797                                         "iscsi": {
11798                                                 SchemaProps: spec.SchemaProps{
11799                                                         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://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md",
11800                                                         Ref:         ref("k8s.io/api/core/v1.ISCSIVolumeSource"),
11801                                                 },
11802                                         },
11803                                         "glusterfs": {
11804                                                 SchemaProps: spec.SchemaProps{
11805                                                         Description: "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
11806                                                         Ref:         ref("k8s.io/api/core/v1.GlusterfsVolumeSource"),
11807                                                 },
11808                                         },
11809                                         "persistentVolumeClaim": {
11810                                                 SchemaProps: spec.SchemaProps{
11811                                                         Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
11812                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
11813                                                 },
11814                                         },
11815                                         "rbd": {
11816                                                 SchemaProps: spec.SchemaProps{
11817                                                         Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
11818                                                         Ref:         ref("k8s.io/api/core/v1.RBDVolumeSource"),
11819                                                 },
11820                                         },
11821                                         "flexVolume": {
11822                                                 SchemaProps: spec.SchemaProps{
11823                                                         Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
11824                                                         Ref:         ref("k8s.io/api/core/v1.FlexVolumeSource"),
11825                                                 },
11826                                         },
11827                                         "cinder": {
11828                                                 SchemaProps: spec.SchemaProps{
11829                                                         Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
11830                                                         Ref:         ref("k8s.io/api/core/v1.CinderVolumeSource"),
11831                                                 },
11832                                         },
11833                                         "cephfs": {
11834                                                 SchemaProps: spec.SchemaProps{
11835                                                         Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
11836                                                         Ref:         ref("k8s.io/api/core/v1.CephFSVolumeSource"),
11837                                                 },
11838                                         },
11839                                         "flocker": {
11840                                                 SchemaProps: spec.SchemaProps{
11841                                                         Description: "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
11842                                                         Ref:         ref("k8s.io/api/core/v1.FlockerVolumeSource"),
11843                                                 },
11844                                         },
11845                                         "downwardAPI": {
11846                                                 SchemaProps: spec.SchemaProps{
11847                                                         Description: "DownwardAPI represents downward API about the pod that should populate this volume",
11848                                                         Ref:         ref("k8s.io/api/core/v1.DownwardAPIVolumeSource"),
11849                                                 },
11850                                         },
11851                                         "fc": {
11852                                                 SchemaProps: spec.SchemaProps{
11853                                                         Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
11854                                                         Ref:         ref("k8s.io/api/core/v1.FCVolumeSource"),
11855                                                 },
11856                                         },
11857                                         "azureFile": {
11858                                                 SchemaProps: spec.SchemaProps{
11859                                                         Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
11860                                                         Ref:         ref("k8s.io/api/core/v1.AzureFileVolumeSource"),
11861                                                 },
11862                                         },
11863                                         "configMap": {
11864                                                 SchemaProps: spec.SchemaProps{
11865                                                         Description: "ConfigMap represents a configMap that should populate this volume",
11866                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
11867                                                 },
11868                                         },
11869                                         "vsphereVolume": {
11870                                                 SchemaProps: spec.SchemaProps{
11871                                                         Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
11872                                                         Ref:         ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
11873                                                 },
11874                                         },
11875                                         "quobyte": {
11876                                                 SchemaProps: spec.SchemaProps{
11877                                                         Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
11878                                                         Ref:         ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
11879                                                 },
11880                                         },
11881                                         "azureDisk": {
11882                                                 SchemaProps: spec.SchemaProps{
11883                                                         Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
11884                                                         Ref:         ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
11885                                                 },
11886                                         },
11887                                         "photonPersistentDisk": {
11888                                                 SchemaProps: spec.SchemaProps{
11889                                                         Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
11890                                                         Ref:         ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
11891                                                 },
11892                                         },
11893                                         "projected": {
11894                                                 SchemaProps: spec.SchemaProps{
11895                                                         Description: "Items for all in one resources secrets, configmaps, and downward API",
11896                                                         Ref:         ref("k8s.io/api/core/v1.ProjectedVolumeSource"),
11897                                                 },
11898                                         },
11899                                         "portworxVolume": {
11900                                                 SchemaProps: spec.SchemaProps{
11901                                                         Description: "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
11902                                                         Ref:         ref("k8s.io/api/core/v1.PortworxVolumeSource"),
11903                                                 },
11904                                         },
11905                                         "scaleIO": {
11906                                                 SchemaProps: spec.SchemaProps{
11907                                                         Description: "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
11908                                                         Ref:         ref("k8s.io/api/core/v1.ScaleIOVolumeSource"),
11909                                                 },
11910                                         },
11911                                         "storageos": {
11912                                                 SchemaProps: spec.SchemaProps{
11913                                                         Description: "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.",
11914                                                         Ref:         ref("k8s.io/api/core/v1.StorageOSVolumeSource"),
11915                                                 },
11916                                         },
11917                                 },
11918                                 Required: []string{"name"},
11919                         },
11920                 },
11921                 Dependencies: []string{
11922                         "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFileVolumeSource", "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.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"},
11923         }
11924 }
11925
11926 func schema_k8sio_api_core_v1_VolumeDevice(ref common.ReferenceCallback) common.OpenAPIDefinition {
11927         return common.OpenAPIDefinition{
11928                 Schema: spec.Schema{
11929                         SchemaProps: spec.SchemaProps{
11930                                 Description: "volumeDevice describes a mapping of a raw block device within a container.",
11931                                 Properties: map[string]spec.Schema{
11932                                         "name": {
11933                                                 SchemaProps: spec.SchemaProps{
11934                                                         Description: "name must match the name of a persistentVolumeClaim in the pod",
11935                                                         Type:        []string{"string"},
11936                                                         Format:      "",
11937                                                 },
11938                                         },
11939                                         "devicePath": {
11940                                                 SchemaProps: spec.SchemaProps{
11941                                                         Description: "devicePath is the path inside of the container that the device will be mapped to.",
11942                                                         Type:        []string{"string"},
11943                                                         Format:      "",
11944                                                 },
11945                                         },
11946                                 },
11947                                 Required: []string{"name", "devicePath"},
11948                         },
11949                 },
11950                 Dependencies: []string{},
11951         }
11952 }
11953
11954 func schema_k8sio_api_core_v1_VolumeMount(ref common.ReferenceCallback) common.OpenAPIDefinition {
11955         return common.OpenAPIDefinition{
11956                 Schema: spec.Schema{
11957                         SchemaProps: spec.SchemaProps{
11958                                 Description: "VolumeMount describes a mounting of a Volume within a container.",
11959                                 Properties: map[string]spec.Schema{
11960                                         "name": {
11961                                                 SchemaProps: spec.SchemaProps{
11962                                                         Description: "This must match the Name of a Volume.",
11963                                                         Type:        []string{"string"},
11964                                                         Format:      "",
11965                                                 },
11966                                         },
11967                                         "readOnly": {
11968                                                 SchemaProps: spec.SchemaProps{
11969                                                         Description: "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
11970                                                         Type:        []string{"boolean"},
11971                                                         Format:      "",
11972                                                 },
11973                                         },
11974                                         "mountPath": {
11975                                                 SchemaProps: spec.SchemaProps{
11976                                                         Description: "Path within the container at which the volume should be mounted.  Must not contain ':'.",
11977                                                         Type:        []string{"string"},
11978                                                         Format:      "",
11979                                                 },
11980                                         },
11981                                         "subPath": {
11982                                                 SchemaProps: spec.SchemaProps{
11983                                                         Description: "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
11984                                                         Type:        []string{"string"},
11985                                                         Format:      "",
11986                                                 },
11987                                         },
11988                                         "mountPropagation": {
11989                                                 SchemaProps: spec.SchemaProps{
11990                                                         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.",
11991                                                         Type:        []string{"string"},
11992                                                         Format:      "",
11993                                                 },
11994                                         },
11995                                 },
11996                                 Required: []string{"name", "mountPath"},
11997                         },
11998                 },
11999                 Dependencies: []string{},
12000         }
12001 }
12002
12003 func schema_k8sio_api_core_v1_VolumeNodeAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
12004         return common.OpenAPIDefinition{
12005                 Schema: spec.Schema{
12006                         SchemaProps: spec.SchemaProps{
12007                                 Description: "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
12008                                 Properties: map[string]spec.Schema{
12009                                         "required": {
12010                                                 SchemaProps: spec.SchemaProps{
12011                                                         Description: "Required specifies hard node constraints that must be met.",
12012                                                         Ref:         ref("k8s.io/api/core/v1.NodeSelector"),
12013                                                 },
12014                                         },
12015                                 },
12016                         },
12017                 },
12018                 Dependencies: []string{
12019                         "k8s.io/api/core/v1.NodeSelector"},
12020         }
12021 }
12022
12023 func schema_k8sio_api_core_v1_VolumeProjection(ref common.ReferenceCallback) common.OpenAPIDefinition {
12024         return common.OpenAPIDefinition{
12025                 Schema: spec.Schema{
12026                         SchemaProps: spec.SchemaProps{
12027                                 Description: "Projection that may be projected along with other supported volume types",
12028                                 Properties: map[string]spec.Schema{
12029                                         "secret": {
12030                                                 SchemaProps: spec.SchemaProps{
12031                                                         Description: "information about the secret data to project",
12032                                                         Ref:         ref("k8s.io/api/core/v1.SecretProjection"),
12033                                                 },
12034                                         },
12035                                         "downwardAPI": {
12036                                                 SchemaProps: spec.SchemaProps{
12037                                                         Description: "information about the downwardAPI data to project",
12038                                                         Ref:         ref("k8s.io/api/core/v1.DownwardAPIProjection"),
12039                                                 },
12040                                         },
12041                                         "configMap": {
12042                                                 SchemaProps: spec.SchemaProps{
12043                                                         Description: "information about the configMap data to project",
12044                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapProjection"),
12045                                                 },
12046                                         },
12047                                         "serviceAccountToken": {
12048                                                 SchemaProps: spec.SchemaProps{
12049                                                         Description: "information about the serviceAccountToken data to project",
12050                                                         Ref:         ref("k8s.io/api/core/v1.ServiceAccountTokenProjection"),
12051                                                 },
12052                                         },
12053                                 },
12054                         },
12055                 },
12056                 Dependencies: []string{
12057                         "k8s.io/api/core/v1.ConfigMapProjection", "k8s.io/api/core/v1.DownwardAPIProjection", "k8s.io/api/core/v1.SecretProjection", "k8s.io/api/core/v1.ServiceAccountTokenProjection"},
12058         }
12059 }
12060
12061 func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12062         return common.OpenAPIDefinition{
12063                 Schema: spec.Schema{
12064                         SchemaProps: spec.SchemaProps{
12065                                 Description: "Represents the source of a volume to mount. Only one of its members may be specified.",
12066                                 Properties: map[string]spec.Schema{
12067                                         "hostPath": {
12068                                                 SchemaProps: spec.SchemaProps{
12069                                                         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",
12070                                                         Ref:         ref("k8s.io/api/core/v1.HostPathVolumeSource"),
12071                                                 },
12072                                         },
12073                                         "emptyDir": {
12074                                                 SchemaProps: spec.SchemaProps{
12075                                                         Description: "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
12076                                                         Ref:         ref("k8s.io/api/core/v1.EmptyDirVolumeSource"),
12077                                                 },
12078                                         },
12079                                         "gcePersistentDisk": {
12080                                                 SchemaProps: spec.SchemaProps{
12081                                                         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",
12082                                                         Ref:         ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"),
12083                                                 },
12084                                         },
12085                                         "awsElasticBlockStore": {
12086                                                 SchemaProps: spec.SchemaProps{
12087                                                         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",
12088                                                         Ref:         ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"),
12089                                                 },
12090                                         },
12091                                         "gitRepo": {
12092                                                 SchemaProps: spec.SchemaProps{
12093                                                         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.",
12094                                                         Ref:         ref("k8s.io/api/core/v1.GitRepoVolumeSource"),
12095                                                 },
12096                                         },
12097                                         "secret": {
12098                                                 SchemaProps: spec.SchemaProps{
12099                                                         Description: "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
12100                                                         Ref:         ref("k8s.io/api/core/v1.SecretVolumeSource"),
12101                                                 },
12102                                         },
12103                                         "nfs": {
12104                                                 SchemaProps: spec.SchemaProps{
12105                                                         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",
12106                                                         Ref:         ref("k8s.io/api/core/v1.NFSVolumeSource"),
12107                                                 },
12108                                         },
12109                                         "iscsi": {
12110                                                 SchemaProps: spec.SchemaProps{
12111                                                         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://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md",
12112                                                         Ref:         ref("k8s.io/api/core/v1.ISCSIVolumeSource"),
12113                                                 },
12114                                         },
12115                                         "glusterfs": {
12116                                                 SchemaProps: spec.SchemaProps{
12117                                                         Description: "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md",
12118                                                         Ref:         ref("k8s.io/api/core/v1.GlusterfsVolumeSource"),
12119                                                 },
12120                                         },
12121                                         "persistentVolumeClaim": {
12122                                                 SchemaProps: spec.SchemaProps{
12123                                                         Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
12124                                                         Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource"),
12125                                                 },
12126                                         },
12127                                         "rbd": {
12128                                                 SchemaProps: spec.SchemaProps{
12129                                                         Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md",
12130                                                         Ref:         ref("k8s.io/api/core/v1.RBDVolumeSource"),
12131                                                 },
12132                                         },
12133                                         "flexVolume": {
12134                                                 SchemaProps: spec.SchemaProps{
12135                                                         Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
12136                                                         Ref:         ref("k8s.io/api/core/v1.FlexVolumeSource"),
12137                                                 },
12138                                         },
12139                                         "cinder": {
12140                                                 SchemaProps: spec.SchemaProps{
12141                                                         Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md",
12142                                                         Ref:         ref("k8s.io/api/core/v1.CinderVolumeSource"),
12143                                                 },
12144                                         },
12145                                         "cephfs": {
12146                                                 SchemaProps: spec.SchemaProps{
12147                                                         Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime",
12148                                                         Ref:         ref("k8s.io/api/core/v1.CephFSVolumeSource"),
12149                                                 },
12150                                         },
12151                                         "flocker": {
12152                                                 SchemaProps: spec.SchemaProps{
12153                                                         Description: "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running",
12154                                                         Ref:         ref("k8s.io/api/core/v1.FlockerVolumeSource"),
12155                                                 },
12156                                         },
12157                                         "downwardAPI": {
12158                                                 SchemaProps: spec.SchemaProps{
12159                                                         Description: "DownwardAPI represents downward API about the pod that should populate this volume",
12160                                                         Ref:         ref("k8s.io/api/core/v1.DownwardAPIVolumeSource"),
12161                                                 },
12162                                         },
12163                                         "fc": {
12164                                                 SchemaProps: spec.SchemaProps{
12165                                                         Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
12166                                                         Ref:         ref("k8s.io/api/core/v1.FCVolumeSource"),
12167                                                 },
12168                                         },
12169                                         "azureFile": {
12170                                                 SchemaProps: spec.SchemaProps{
12171                                                         Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
12172                                                         Ref:         ref("k8s.io/api/core/v1.AzureFileVolumeSource"),
12173                                                 },
12174                                         },
12175                                         "configMap": {
12176                                                 SchemaProps: spec.SchemaProps{
12177                                                         Description: "ConfigMap represents a configMap that should populate this volume",
12178                                                         Ref:         ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
12179                                                 },
12180                                         },
12181                                         "vsphereVolume": {
12182                                                 SchemaProps: spec.SchemaProps{
12183                                                         Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine",
12184                                                         Ref:         ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"),
12185                                                 },
12186                                         },
12187                                         "quobyte": {
12188                                                 SchemaProps: spec.SchemaProps{
12189                                                         Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime",
12190                                                         Ref:         ref("k8s.io/api/core/v1.QuobyteVolumeSource"),
12191                                                 },
12192                                         },
12193                                         "azureDisk": {
12194                                                 SchemaProps: spec.SchemaProps{
12195                                                         Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
12196                                                         Ref:         ref("k8s.io/api/core/v1.AzureDiskVolumeSource"),
12197                                                 },
12198                                         },
12199                                         "photonPersistentDisk": {
12200                                                 SchemaProps: spec.SchemaProps{
12201                                                         Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine",
12202                                                         Ref:         ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"),
12203                                                 },
12204                                         },
12205                                         "projected": {
12206                                                 SchemaProps: spec.SchemaProps{
12207                                                         Description: "Items for all in one resources secrets, configmaps, and downward API",
12208                                                         Ref:         ref("k8s.io/api/core/v1.ProjectedVolumeSource"),
12209                                                 },
12210                                         },
12211                                         "portworxVolume": {
12212                                                 SchemaProps: spec.SchemaProps{
12213                                                         Description: "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine",
12214                                                         Ref:         ref("k8s.io/api/core/v1.PortworxVolumeSource"),
12215                                                 },
12216                                         },
12217                                         "scaleIO": {
12218                                                 SchemaProps: spec.SchemaProps{
12219                                                         Description: "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.",
12220                                                         Ref:         ref("k8s.io/api/core/v1.ScaleIOVolumeSource"),
12221                                                 },
12222                                         },
12223                                         "storageos": {
12224                                                 SchemaProps: spec.SchemaProps{
12225                                                         Description: "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.",
12226                                                         Ref:         ref("k8s.io/api/core/v1.StorageOSVolumeSource"),
12227                                                 },
12228                                         },
12229                                 },
12230                         },
12231                 },
12232                 Dependencies: []string{
12233                         "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource", "k8s.io/api/core/v1.AzureDiskVolumeSource", "k8s.io/api/core/v1.AzureFileVolumeSource", "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.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"},
12234         }
12235 }
12236
12237 func schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12238         return common.OpenAPIDefinition{
12239                 Schema: spec.Schema{
12240                         SchemaProps: spec.SchemaProps{
12241                                 Description: "Represents a vSphere volume resource.",
12242                                 Properties: map[string]spec.Schema{
12243                                         "volumePath": {
12244                                                 SchemaProps: spec.SchemaProps{
12245                                                         Description: "Path that identifies vSphere volume vmdk",
12246                                                         Type:        []string{"string"},
12247                                                         Format:      "",
12248                                                 },
12249                                         },
12250                                         "fsType": {
12251                                                 SchemaProps: spec.SchemaProps{
12252                                                         Description: "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.",
12253                                                         Type:        []string{"string"},
12254                                                         Format:      "",
12255                                                 },
12256                                         },
12257                                         "storagePolicyName": {
12258                                                 SchemaProps: spec.SchemaProps{
12259                                                         Description: "Storage Policy Based Management (SPBM) profile name.",
12260                                                         Type:        []string{"string"},
12261                                                         Format:      "",
12262                                                 },
12263                                         },
12264                                         "storagePolicyID": {
12265                                                 SchemaProps: spec.SchemaProps{
12266                                                         Description: "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
12267                                                         Type:        []string{"string"},
12268                                                         Format:      "",
12269                                                 },
12270                                         },
12271                                 },
12272                                 Required: []string{"volumePath"},
12273                         },
12274                 },
12275                 Dependencies: []string{},
12276         }
12277 }
12278
12279 func schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref common.ReferenceCallback) common.OpenAPIDefinition {
12280         return common.OpenAPIDefinition{
12281                 Schema: spec.Schema{
12282                         SchemaProps: spec.SchemaProps{
12283                                 Description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
12284                                 Properties: map[string]spec.Schema{
12285                                         "weight": {
12286                                                 SchemaProps: spec.SchemaProps{
12287                                                         Description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
12288                                                         Type:        []string{"integer"},
12289                                                         Format:      "int32",
12290                                                 },
12291                                         },
12292                                         "podAffinityTerm": {
12293                                                 SchemaProps: spec.SchemaProps{
12294                                                         Description: "Required. A pod affinity term, associated with the corresponding weight.",
12295                                                         Ref:         ref("k8s.io/api/core/v1.PodAffinityTerm"),
12296                                                 },
12297                                         },
12298                                 },
12299                                 Required: []string{"weight", "podAffinityTerm"},
12300                         },
12301                 },
12302                 Dependencies: []string{
12303                         "k8s.io/api/core/v1.PodAffinityTerm"},
12304         }
12305 }
12306
12307 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
12308         return common.OpenAPIDefinition{
12309                 Schema: spec.Schema{
12310                         SchemaProps: spec.SchemaProps{
12311                                 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.",
12312                                 Properties: map[string]spec.Schema{
12313                                         "kind": {
12314                                                 SchemaProps: spec.SchemaProps{
12315                                                         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/api-conventions.md#types-kinds",
12316                                                         Type:        []string{"string"},
12317                                                         Format:      "",
12318                                                 },
12319                                         },
12320                                         "apiVersion": {
12321                                                 SchemaProps: spec.SchemaProps{
12322                                                         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/api-conventions.md#resources",
12323                                                         Type:        []string{"string"},
12324                                                         Format:      "",
12325                                                 },
12326                                         },
12327                                         "name": {
12328                                                 SchemaProps: spec.SchemaProps{
12329                                                         Description: "name is the name of the group.",
12330                                                         Type:        []string{"string"},
12331                                                         Format:      "",
12332                                                 },
12333                                         },
12334                                         "versions": {
12335                                                 SchemaProps: spec.SchemaProps{
12336                                                         Description: "versions are the versions supported in this group.",
12337                                                         Type:        []string{"array"},
12338                                                         Items: &spec.SchemaOrArray{
12339                                                                 Schema: &spec.Schema{
12340                                                                         SchemaProps: spec.SchemaProps{
12341                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
12342                                                                         },
12343                                                                 },
12344                                                         },
12345                                                 },
12346                                         },
12347                                         "preferredVersion": {
12348                                                 SchemaProps: spec.SchemaProps{
12349                                                         Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.",
12350                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
12351                                                 },
12352                                         },
12353                                         "serverAddressByClientCIDRs": {
12354                                                 SchemaProps: spec.SchemaProps{
12355                                                         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.",
12356                                                         Type:        []string{"array"},
12357                                                         Items: &spec.SchemaOrArray{
12358                                                                 Schema: &spec.Schema{
12359                                                                         SchemaProps: spec.SchemaProps{
12360                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
12361                                                                         },
12362                                                                 },
12363                                                         },
12364                                                 },
12365                                         },
12366                                 },
12367                                 Required: []string{"name", "versions"},
12368                         },
12369                 },
12370                 Dependencies: []string{
12371                         "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
12372         }
12373 }
12374
12375 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
12376         return common.OpenAPIDefinition{
12377                 Schema: spec.Schema{
12378                         SchemaProps: spec.SchemaProps{
12379                                 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
12380                                 Properties: map[string]spec.Schema{
12381                                         "kind": {
12382                                                 SchemaProps: spec.SchemaProps{
12383                                                         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/api-conventions.md#types-kinds",
12384                                                         Type:        []string{"string"},
12385                                                         Format:      "",
12386                                                 },
12387                                         },
12388                                         "apiVersion": {
12389                                                 SchemaProps: spec.SchemaProps{
12390                                                         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/api-conventions.md#resources",
12391                                                         Type:        []string{"string"},
12392                                                         Format:      "",
12393                                                 },
12394                                         },
12395                                         "groups": {
12396                                                 SchemaProps: spec.SchemaProps{
12397                                                         Description: "groups is a list of APIGroup.",
12398                                                         Type:        []string{"array"},
12399                                                         Items: &spec.SchemaOrArray{
12400                                                                 Schema: &spec.Schema{
12401                                                                         SchemaProps: spec.SchemaProps{
12402                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"),
12403                                                                         },
12404                                                                 },
12405                                                         },
12406                                                 },
12407                                         },
12408                                 },
12409                                 Required: []string{"groups"},
12410                         },
12411                 },
12412                 Dependencies: []string{
12413                         "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"},
12414         }
12415 }
12416
12417 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12418         return common.OpenAPIDefinition{
12419                 Schema: spec.Schema{
12420                         SchemaProps: spec.SchemaProps{
12421                                 Description: "APIResource specifies the name of a resource and whether it is namespaced.",
12422                                 Properties: map[string]spec.Schema{
12423                                         "name": {
12424                                                 SchemaProps: spec.SchemaProps{
12425                                                         Description: "name is the plural name of the resource.",
12426                                                         Type:        []string{"string"},
12427                                                         Format:      "",
12428                                                 },
12429                                         },
12430                                         "singularName": {
12431                                                 SchemaProps: spec.SchemaProps{
12432                                                         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.",
12433                                                         Type:        []string{"string"},
12434                                                         Format:      "",
12435                                                 },
12436                                         },
12437                                         "namespaced": {
12438                                                 SchemaProps: spec.SchemaProps{
12439                                                         Description: "namespaced indicates if a resource is namespaced or not.",
12440                                                         Type:        []string{"boolean"},
12441                                                         Format:      "",
12442                                                 },
12443                                         },
12444                                         "group": {
12445                                                 SchemaProps: spec.SchemaProps{
12446                                                         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\".",
12447                                                         Type:        []string{"string"},
12448                                                         Format:      "",
12449                                                 },
12450                                         },
12451                                         "version": {
12452                                                 SchemaProps: spec.SchemaProps{
12453                                                         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)\".",
12454                                                         Type:        []string{"string"},
12455                                                         Format:      "",
12456                                                 },
12457                                         },
12458                                         "kind": {
12459                                                 SchemaProps: spec.SchemaProps{
12460                                                         Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
12461                                                         Type:        []string{"string"},
12462                                                         Format:      "",
12463                                                 },
12464                                         },
12465                                         "verbs": {
12466                                                 SchemaProps: spec.SchemaProps{
12467                                                         Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
12468                                                         Type:        []string{"array"},
12469                                                         Items: &spec.SchemaOrArray{
12470                                                                 Schema: &spec.Schema{
12471                                                                         SchemaProps: spec.SchemaProps{
12472                                                                                 Type:   []string{"string"},
12473                                                                                 Format: "",
12474                                                                         },
12475                                                                 },
12476                                                         },
12477                                                 },
12478                                         },
12479                                         "shortNames": {
12480                                                 SchemaProps: spec.SchemaProps{
12481                                                         Description: "shortNames is a list of suggested short names of the resource.",
12482                                                         Type:        []string{"array"},
12483                                                         Items: &spec.SchemaOrArray{
12484                                                                 Schema: &spec.Schema{
12485                                                                         SchemaProps: spec.SchemaProps{
12486                                                                                 Type:   []string{"string"},
12487                                                                                 Format: "",
12488                                                                         },
12489                                                                 },
12490                                                         },
12491                                                 },
12492                                         },
12493                                         "categories": {
12494                                                 SchemaProps: spec.SchemaProps{
12495                                                         Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
12496                                                         Type:        []string{"array"},
12497                                                         Items: &spec.SchemaOrArray{
12498                                                                 Schema: &spec.Schema{
12499                                                                         SchemaProps: spec.SchemaProps{
12500                                                                                 Type:   []string{"string"},
12501                                                                                 Format: "",
12502                                                                         },
12503                                                                 },
12504                                                         },
12505                                                 },
12506                                         },
12507                                 },
12508                                 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"},
12509                         },
12510                 },
12511                 Dependencies: []string{},
12512         }
12513 }
12514
12515 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
12516         return common.OpenAPIDefinition{
12517                 Schema: spec.Schema{
12518                         SchemaProps: spec.SchemaProps{
12519                                 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.",
12520                                 Properties: map[string]spec.Schema{
12521                                         "kind": {
12522                                                 SchemaProps: spec.SchemaProps{
12523                                                         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/api-conventions.md#types-kinds",
12524                                                         Type:        []string{"string"},
12525                                                         Format:      "",
12526                                                 },
12527                                         },
12528                                         "apiVersion": {
12529                                                 SchemaProps: spec.SchemaProps{
12530                                                         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/api-conventions.md#resources",
12531                                                         Type:        []string{"string"},
12532                                                         Format:      "",
12533                                                 },
12534                                         },
12535                                         "groupVersion": {
12536                                                 SchemaProps: spec.SchemaProps{
12537                                                         Description: "groupVersion is the group and version this APIResourceList is for.",
12538                                                         Type:        []string{"string"},
12539                                                         Format:      "",
12540                                                 },
12541                                         },
12542                                         "resources": {
12543                                                 SchemaProps: spec.SchemaProps{
12544                                                         Description: "resources contains the name of the resources and if they are namespaced.",
12545                                                         Type:        []string{"array"},
12546                                                         Items: &spec.SchemaOrArray{
12547                                                                 Schema: &spec.Schema{
12548                                                                         SchemaProps: spec.SchemaProps{
12549                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"),
12550                                                                         },
12551                                                                 },
12552                                                         },
12553                                                 },
12554                                         },
12555                                 },
12556                                 Required: []string{"groupVersion", "resources"},
12557                         },
12558                 },
12559                 Dependencies: []string{
12560                         "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"},
12561         }
12562 }
12563
12564 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12565         return common.OpenAPIDefinition{
12566                 Schema: spec.Schema{
12567                         SchemaProps: spec.SchemaProps{
12568                                 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.",
12569                                 Properties: map[string]spec.Schema{
12570                                         "kind": {
12571                                                 SchemaProps: spec.SchemaProps{
12572                                                         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/api-conventions.md#types-kinds",
12573                                                         Type:        []string{"string"},
12574                                                         Format:      "",
12575                                                 },
12576                                         },
12577                                         "apiVersion": {
12578                                                 SchemaProps: spec.SchemaProps{
12579                                                         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/api-conventions.md#resources",
12580                                                         Type:        []string{"string"},
12581                                                         Format:      "",
12582                                                 },
12583                                         },
12584                                         "versions": {
12585                                                 SchemaProps: spec.SchemaProps{
12586                                                         Description: "versions are the api versions that are available.",
12587                                                         Type:        []string{"array"},
12588                                                         Items: &spec.SchemaOrArray{
12589                                                                 Schema: &spec.Schema{
12590                                                                         SchemaProps: spec.SchemaProps{
12591                                                                                 Type:   []string{"string"},
12592                                                                                 Format: "",
12593                                                                         },
12594                                                                 },
12595                                                         },
12596                                                 },
12597                                         },
12598                                         "serverAddressByClientCIDRs": {
12599                                                 SchemaProps: spec.SchemaProps{
12600                                                         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.",
12601                                                         Type:        []string{"array"},
12602                                                         Items: &spec.SchemaOrArray{
12603                                                                 Schema: &spec.Schema{
12604                                                                         SchemaProps: spec.SchemaProps{
12605                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
12606                                                                         },
12607                                                                 },
12608                                                         },
12609                                                 },
12610                                         },
12611                                 },
12612                                 Required: []string{"versions", "serverAddressByClientCIDRs"},
12613                         },
12614                 },
12615                 Dependencies: []string{
12616                         "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
12617         }
12618 }
12619
12620 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12621         return common.OpenAPIDefinition{
12622                 Schema: spec.Schema{
12623                         SchemaProps: spec.SchemaProps{
12624                                 Description: "CreateOptions may be provided when creating an API object.",
12625                                 Properties: map[string]spec.Schema{
12626                                         "kind": {
12627                                                 SchemaProps: spec.SchemaProps{
12628                                                         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/api-conventions.md#types-kinds",
12629                                                         Type:        []string{"string"},
12630                                                         Format:      "",
12631                                                 },
12632                                         },
12633                                         "apiVersion": {
12634                                                 SchemaProps: spec.SchemaProps{
12635                                                         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/api-conventions.md#resources",
12636                                                         Type:        []string{"string"},
12637                                                         Format:      "",
12638                                                 },
12639                                         },
12640                                         "dryRun": {
12641                                                 SchemaProps: spec.SchemaProps{
12642                                                         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",
12643                                                         Type:        []string{"array"},
12644                                                         Items: &spec.SchemaOrArray{
12645                                                                 Schema: &spec.Schema{
12646                                                                         SchemaProps: spec.SchemaProps{
12647                                                                                 Type:   []string{"string"},
12648                                                                                 Format: "",
12649                                                                         },
12650                                                                 },
12651                                                         },
12652                                                 },
12653                                         },
12654                                         "includeUninitialized": {
12655                                                 SchemaProps: spec.SchemaProps{
12656                                                         Description: "If IncludeUninitialized is specified, the object may be returned without completing initialization.",
12657                                                         Type:        []string{"boolean"},
12658                                                         Format:      "",
12659                                                 },
12660                                         },
12661                                 },
12662                         },
12663                 },
12664                 Dependencies: []string{},
12665         }
12666 }
12667
12668 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12669         return common.OpenAPIDefinition{
12670                 Schema: spec.Schema{
12671                         SchemaProps: spec.SchemaProps{
12672                                 Description: "DeleteOptions may be provided when deleting an API object.",
12673                                 Properties: map[string]spec.Schema{
12674                                         "kind": {
12675                                                 SchemaProps: spec.SchemaProps{
12676                                                         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/api-conventions.md#types-kinds",
12677                                                         Type:        []string{"string"},
12678                                                         Format:      "",
12679                                                 },
12680                                         },
12681                                         "apiVersion": {
12682                                                 SchemaProps: spec.SchemaProps{
12683                                                         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/api-conventions.md#resources",
12684                                                         Type:        []string{"string"},
12685                                                         Format:      "",
12686                                                 },
12687                                         },
12688                                         "gracePeriodSeconds": {
12689                                                 SchemaProps: spec.SchemaProps{
12690                                                         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.",
12691                                                         Type:        []string{"integer"},
12692                                                         Format:      "int64",
12693                                                 },
12694                                         },
12695                                         "preconditions": {
12696                                                 SchemaProps: spec.SchemaProps{
12697                                                         Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
12698                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"),
12699                                                 },
12700                                         },
12701                                         "orphanDependents": {
12702                                                 SchemaProps: spec.SchemaProps{
12703                                                         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.",
12704                                                         Type:        []string{"boolean"},
12705                                                         Format:      "",
12706                                                 },
12707                                         },
12708                                         "propagationPolicy": {
12709                                                 SchemaProps: spec.SchemaProps{
12710                                                         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.",
12711                                                         Type:        []string{"string"},
12712                                                         Format:      "",
12713                                                 },
12714                                         },
12715                                         "dryRun": {
12716                                                 SchemaProps: spec.SchemaProps{
12717                                                         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",
12718                                                         Type:        []string{"array"},
12719                                                         Items: &spec.SchemaOrArray{
12720                                                                 Schema: &spec.Schema{
12721                                                                         SchemaProps: spec.SchemaProps{
12722                                                                                 Type:   []string{"string"},
12723                                                                                 Format: "",
12724                                                                         },
12725                                                                 },
12726                                                         },
12727                                                 },
12728                                         },
12729                                 },
12730                         },
12731                 },
12732                 Dependencies: []string{
12733                         "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"},
12734         }
12735 }
12736
12737 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition {
12738         return common.OpenAPIDefinition{
12739                 Schema: spec.Schema{
12740                         SchemaProps: spec.SchemaProps{
12741                                 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.",
12742                                 Properties: map[string]spec.Schema{
12743                                         "Duration": {
12744                                                 SchemaProps: spec.SchemaProps{
12745                                                         Type:   []string{"integer"},
12746                                                         Format: "int64",
12747                                                 },
12748                                         },
12749                                 },
12750                                 Required: []string{"Duration"},
12751                         },
12752                 },
12753                 Dependencies: []string{},
12754         }
12755 }
12756
12757 func schema_pkg_apis_meta_v1_ExportOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12758         return common.OpenAPIDefinition{
12759                 Schema: spec.Schema{
12760                         SchemaProps: spec.SchemaProps{
12761                                 Description: "ExportOptions is the query options to the standard REST get call.",
12762                                 Properties: map[string]spec.Schema{
12763                                         "kind": {
12764                                                 SchemaProps: spec.SchemaProps{
12765                                                         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/api-conventions.md#types-kinds",
12766                                                         Type:        []string{"string"},
12767                                                         Format:      "",
12768                                                 },
12769                                         },
12770                                         "apiVersion": {
12771                                                 SchemaProps: spec.SchemaProps{
12772                                                         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/api-conventions.md#resources",
12773                                                         Type:        []string{"string"},
12774                                                         Format:      "",
12775                                                 },
12776                                         },
12777                                         "export": {
12778                                                 SchemaProps: spec.SchemaProps{
12779                                                         Description: "Should this value be exported.  Export strips fields that a user can not specify.",
12780                                                         Type:        []string{"boolean"},
12781                                                         Format:      "",
12782                                                 },
12783                                         },
12784                                         "exact": {
12785                                                 SchemaProps: spec.SchemaProps{
12786                                                         Description: "Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.",
12787                                                         Type:        []string{"boolean"},
12788                                                         Format:      "",
12789                                                 },
12790                                         },
12791                                 },
12792                                 Required: []string{"export", "exact"},
12793                         },
12794                 },
12795                 Dependencies: []string{},
12796         }
12797 }
12798
12799 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
12800         return common.OpenAPIDefinition{
12801                 Schema: spec.Schema{
12802                         SchemaProps: spec.SchemaProps{
12803                                 Description: "GetOptions is the standard query options to the standard REST get call.",
12804                                 Properties: map[string]spec.Schema{
12805                                         "kind": {
12806                                                 SchemaProps: spec.SchemaProps{
12807                                                         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/api-conventions.md#types-kinds",
12808                                                         Type:        []string{"string"},
12809                                                         Format:      "",
12810                                                 },
12811                                         },
12812                                         "apiVersion": {
12813                                                 SchemaProps: spec.SchemaProps{
12814                                                         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/api-conventions.md#resources",
12815                                                         Type:        []string{"string"},
12816                                                         Format:      "",
12817                                                 },
12818                                         },
12819                                         "resourceVersion": {
12820                                                 SchemaProps: spec.SchemaProps{
12821                                                         Description: "When specified: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
12822                                                         Type:        []string{"string"},
12823                                                         Format:      "",
12824                                                 },
12825                                         },
12826                                         "includeUninitialized": {
12827                                                 SchemaProps: spec.SchemaProps{
12828                                                         Description: "If true, partially initialized resources are included in the response.",
12829                                                         Type:        []string{"boolean"},
12830                                                         Format:      "",
12831                                                 },
12832                                         },
12833                                 },
12834                         },
12835                 },
12836                 Dependencies: []string{},
12837         }
12838 }
12839
12840 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
12841         return common.OpenAPIDefinition{
12842                 Schema: spec.Schema{
12843                         SchemaProps: spec.SchemaProps{
12844                                 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",
12845                                 Properties: map[string]spec.Schema{
12846                                         "group": {
12847                                                 SchemaProps: spec.SchemaProps{
12848                                                         Type:   []string{"string"},
12849                                                         Format: "",
12850                                                 },
12851                                         },
12852                                         "kind": {
12853                                                 SchemaProps: spec.SchemaProps{
12854                                                         Type:   []string{"string"},
12855                                                         Format: "",
12856                                                 },
12857                                         },
12858                                 },
12859                                 Required: []string{"group", "kind"},
12860                         },
12861                 },
12862                 Dependencies: []string{},
12863         }
12864 }
12865
12866 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12867         return common.OpenAPIDefinition{
12868                 Schema: spec.Schema{
12869                         SchemaProps: spec.SchemaProps{
12870                                 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",
12871                                 Properties: map[string]spec.Schema{
12872                                         "group": {
12873                                                 SchemaProps: spec.SchemaProps{
12874                                                         Type:   []string{"string"},
12875                                                         Format: "",
12876                                                 },
12877                                         },
12878                                         "resource": {
12879                                                 SchemaProps: spec.SchemaProps{
12880                                                         Type:   []string{"string"},
12881                                                         Format: "",
12882                                                 },
12883                                         },
12884                                 },
12885                                 Required: []string{"group", "resource"},
12886                         },
12887                 },
12888                 Dependencies: []string{},
12889         }
12890 }
12891
12892 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition {
12893         return common.OpenAPIDefinition{
12894                 Schema: spec.Schema{
12895                         SchemaProps: spec.SchemaProps{
12896                                 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.",
12897                                 Properties: map[string]spec.Schema{
12898                                         "group": {
12899                                                 SchemaProps: spec.SchemaProps{
12900                                                         Type:   []string{"string"},
12901                                                         Format: "",
12902                                                 },
12903                                         },
12904                                         "version": {
12905                                                 SchemaProps: spec.SchemaProps{
12906                                                         Type:   []string{"string"},
12907                                                         Format: "",
12908                                                 },
12909                                         },
12910                                 },
12911                                 Required: []string{"group", "version"},
12912                         },
12913                 },
12914                 Dependencies: []string{},
12915         }
12916 }
12917
12918 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition {
12919         return common.OpenAPIDefinition{
12920                 Schema: spec.Schema{
12921                         SchemaProps: spec.SchemaProps{
12922                                 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
12923                                 Properties: map[string]spec.Schema{
12924                                         "groupVersion": {
12925                                                 SchemaProps: spec.SchemaProps{
12926                                                         Description: "groupVersion specifies the API group and version in the form \"group/version\"",
12927                                                         Type:        []string{"string"},
12928                                                         Format:      "",
12929                                                 },
12930                                         },
12931                                         "version": {
12932                                                 SchemaProps: spec.SchemaProps{
12933                                                         Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
12934                                                         Type:        []string{"string"},
12935                                                         Format:      "",
12936                                                 },
12937                                         },
12938                                 },
12939                                 Required: []string{"groupVersion", "version"},
12940                         },
12941                 },
12942                 Dependencies: []string{},
12943         }
12944 }
12945
12946 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
12947         return common.OpenAPIDefinition{
12948                 Schema: spec.Schema{
12949                         SchemaProps: spec.SchemaProps{
12950                                 Description: "GroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling",
12951                                 Properties: map[string]spec.Schema{
12952                                         "group": {
12953                                                 SchemaProps: spec.SchemaProps{
12954                                                         Type:   []string{"string"},
12955                                                         Format: "",
12956                                                 },
12957                                         },
12958                                         "version": {
12959                                                 SchemaProps: spec.SchemaProps{
12960                                                         Type:   []string{"string"},
12961                                                         Format: "",
12962                                                 },
12963                                         },
12964                                         "kind": {
12965                                                 SchemaProps: spec.SchemaProps{
12966                                                         Type:   []string{"string"},
12967                                                         Format: "",
12968                                                 },
12969                                         },
12970                                 },
12971                                 Required: []string{"group", "version", "kind"},
12972                         },
12973                 },
12974                 Dependencies: []string{},
12975         }
12976 }
12977
12978 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
12979         return common.OpenAPIDefinition{
12980                 Schema: spec.Schema{
12981                         SchemaProps: spec.SchemaProps{
12982                                 Description: "GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling",
12983                                 Properties: map[string]spec.Schema{
12984                                         "group": {
12985                                                 SchemaProps: spec.SchemaProps{
12986                                                         Type:   []string{"string"},
12987                                                         Format: "",
12988                                                 },
12989                                         },
12990                                         "version": {
12991                                                 SchemaProps: spec.SchemaProps{
12992                                                         Type:   []string{"string"},
12993                                                         Format: "",
12994                                                 },
12995                                         },
12996                                         "resource": {
12997                                                 SchemaProps: spec.SchemaProps{
12998                                                         Type:   []string{"string"},
12999                                                         Format: "",
13000                                                 },
13001                                         },
13002                                 },
13003                                 Required: []string{"group", "version", "resource"},
13004                         },
13005                 },
13006                 Dependencies: []string{},
13007         }
13008 }
13009
13010 func schema_pkg_apis_meta_v1_Initializer(ref common.ReferenceCallback) common.OpenAPIDefinition {
13011         return common.OpenAPIDefinition{
13012                 Schema: spec.Schema{
13013                         SchemaProps: spec.SchemaProps{
13014                                 Description: "Initializer is information about an initializer that has not yet completed.",
13015                                 Properties: map[string]spec.Schema{
13016                                         "name": {
13017                                                 SchemaProps: spec.SchemaProps{
13018                                                         Description: "name of the process that is responsible for initializing this object.",
13019                                                         Type:        []string{"string"},
13020                                                         Format:      "",
13021                                                 },
13022                                         },
13023                                 },
13024                                 Required: []string{"name"},
13025                         },
13026                 },
13027                 Dependencies: []string{},
13028         }
13029 }
13030
13031 func schema_pkg_apis_meta_v1_Initializers(ref common.ReferenceCallback) common.OpenAPIDefinition {
13032         return common.OpenAPIDefinition{
13033                 Schema: spec.Schema{
13034                         SchemaProps: spec.SchemaProps{
13035                                 Description: "Initializers tracks the progress of initialization.",
13036                                 Properties: map[string]spec.Schema{
13037                                         "pending": {
13038                                                 VendorExtensible: spec.VendorExtensible{
13039                                                         Extensions: spec.Extensions{
13040                                                                 "x-kubernetes-patch-merge-key": "name",
13041                                                                 "x-kubernetes-patch-strategy":  "merge",
13042                                                         },
13043                                                 },
13044                                                 SchemaProps: spec.SchemaProps{
13045                                                         Description: "Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients.",
13046                                                         Type:        []string{"array"},
13047                                                         Items: &spec.SchemaOrArray{
13048                                                                 Schema: &spec.Schema{
13049                                                                         SchemaProps: spec.SchemaProps{
13050                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Initializer"),
13051                                                                         },
13052                                                                 },
13053                                                         },
13054                                                 },
13055                                         },
13056                                         "result": {
13057                                                 SchemaProps: spec.SchemaProps{
13058                                                         Description: "If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion.",
13059                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Status"),
13060                                                 },
13061                                         },
13062                                 },
13063                                 Required: []string{"pending"},
13064                         },
13065                 },
13066                 Dependencies: []string{
13067                         "k8s.io/apimachinery/pkg/apis/meta/v1.Initializer", "k8s.io/apimachinery/pkg/apis/meta/v1.Status"},
13068         }
13069 }
13070
13071 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
13072         return common.OpenAPIDefinition{
13073                 Schema: spec.Schema{
13074                         SchemaProps: spec.SchemaProps{
13075                                 Description: "InternalEvent makes watch.Event versioned",
13076                                 Properties: map[string]spec.Schema{
13077                                         "Type": {
13078                                                 SchemaProps: spec.SchemaProps{
13079                                                         Type:   []string{"string"},
13080                                                         Format: "",
13081                                                 },
13082                                         },
13083                                         "Object": {
13084                                                 SchemaProps: spec.SchemaProps{
13085                                                         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: *api.Status is recommended; other types may make sense\n   depending on context.",
13086                                                         Ref:         ref("k8s.io/apimachinery/pkg/runtime.Object"),
13087                                                 },
13088                                         },
13089                                 },
13090                                 Required: []string{"Type", "Object"},
13091                         },
13092                 },
13093                 Dependencies: []string{
13094                         "k8s.io/apimachinery/pkg/runtime.Object"},
13095         }
13096 }
13097
13098 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
13099         return common.OpenAPIDefinition{
13100                 Schema: spec.Schema{
13101                         SchemaProps: spec.SchemaProps{
13102                                 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.",
13103                                 Properties: map[string]spec.Schema{
13104                                         "matchLabels": {
13105                                                 SchemaProps: spec.SchemaProps{
13106                                                         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.",
13107                                                         Type:        []string{"object"},
13108                                                         AdditionalProperties: &spec.SchemaOrBool{
13109                                                                 Schema: &spec.Schema{
13110                                                                         SchemaProps: spec.SchemaProps{
13111                                                                                 Type:   []string{"string"},
13112                                                                                 Format: "",
13113                                                                         },
13114                                                                 },
13115                                                         },
13116                                                 },
13117                                         },
13118                                         "matchExpressions": {
13119                                                 SchemaProps: spec.SchemaProps{
13120                                                         Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
13121                                                         Type:        []string{"array"},
13122                                                         Items: &spec.SchemaOrArray{
13123                                                                 Schema: &spec.Schema{
13124                                                                         SchemaProps: spec.SchemaProps{
13125                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"),
13126                                                                         },
13127                                                                 },
13128                                                         },
13129                                                 },
13130                                         },
13131                                 },
13132                         },
13133                 },
13134                 Dependencies: []string{
13135                         "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"},
13136         }
13137 }
13138
13139 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
13140         return common.OpenAPIDefinition{
13141                 Schema: spec.Schema{
13142                         SchemaProps: spec.SchemaProps{
13143                                 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
13144                                 Properties: map[string]spec.Schema{
13145                                         "key": {
13146                                                 VendorExtensible: spec.VendorExtensible{
13147                                                         Extensions: spec.Extensions{
13148                                                                 "x-kubernetes-patch-merge-key": "key",
13149                                                                 "x-kubernetes-patch-strategy":  "merge",
13150                                                         },
13151                                                 },
13152                                                 SchemaProps: spec.SchemaProps{
13153                                                         Description: "key is the label key that the selector applies to.",
13154                                                         Type:        []string{"string"},
13155                                                         Format:      "",
13156                                                 },
13157                                         },
13158                                         "operator": {
13159                                                 SchemaProps: spec.SchemaProps{
13160                                                         Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
13161                                                         Type:        []string{"string"},
13162                                                         Format:      "",
13163                                                 },
13164                                         },
13165                                         "values": {
13166                                                 SchemaProps: spec.SchemaProps{
13167                                                         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.",
13168                                                         Type:        []string{"array"},
13169                                                         Items: &spec.SchemaOrArray{
13170                                                                 Schema: &spec.Schema{
13171                                                                         SchemaProps: spec.SchemaProps{
13172                                                                                 Type:   []string{"string"},
13173                                                                                 Format: "",
13174                                                                         },
13175                                                                 },
13176                                                         },
13177                                                 },
13178                                         },
13179                                 },
13180                                 Required: []string{"key", "operator"},
13181                         },
13182                 },
13183                 Dependencies: []string{},
13184         }
13185 }
13186
13187 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
13188         return common.OpenAPIDefinition{
13189                 Schema: spec.Schema{
13190                         SchemaProps: spec.SchemaProps{
13191                                 Description: "List holds a list of objects, which may not be known by the server.",
13192                                 Properties: map[string]spec.Schema{
13193                                         "kind": {
13194                                                 SchemaProps: spec.SchemaProps{
13195                                                         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/api-conventions.md#types-kinds",
13196                                                         Type:        []string{"string"},
13197                                                         Format:      "",
13198                                                 },
13199                                         },
13200                                         "apiVersion": {
13201                                                 SchemaProps: spec.SchemaProps{
13202                                                         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/api-conventions.md#resources",
13203                                                         Type:        []string{"string"},
13204                                                         Format:      "",
13205                                                 },
13206                                         },
13207                                         "metadata": {
13208                                                 SchemaProps: spec.SchemaProps{
13209                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
13210                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
13211                                                 },
13212                                         },
13213                                         "items": {
13214                                                 SchemaProps: spec.SchemaProps{
13215                                                         Description: "List of objects",
13216                                                         Type:        []string{"array"},
13217                                                         Items: &spec.SchemaOrArray{
13218                                                                 Schema: &spec.Schema{
13219                                                                         SchemaProps: spec.SchemaProps{
13220                                                                                 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
13221                                                                         },
13222                                                                 },
13223                                                         },
13224                                                 },
13225                                         },
13226                                 },
13227                                 Required: []string{"items"},
13228                         },
13229                 },
13230                 Dependencies: []string{
13231                         "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
13232         }
13233 }
13234
13235 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
13236         return common.OpenAPIDefinition{
13237                 Schema: spec.Schema{
13238                         SchemaProps: spec.SchemaProps{
13239                                 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
13240                                 Properties: map[string]spec.Schema{
13241                                         "selfLink": {
13242                                                 SchemaProps: spec.SchemaProps{
13243                                                         Description: "selfLink is a URL representing this object. Populated by the system. Read-only.",
13244                                                         Type:        []string{"string"},
13245                                                         Format:      "",
13246                                                 },
13247                                         },
13248                                         "resourceVersion": {
13249                                                 SchemaProps: spec.SchemaProps{
13250                                                         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/api-conventions.md#concurrency-control-and-consistency",
13251                                                         Type:        []string{"string"},
13252                                                         Format:      "",
13253                                                 },
13254                                         },
13255                                         "continue": {
13256                                                 SchemaProps: spec.SchemaProps{
13257                                                         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.",
13258                                                         Type:        []string{"string"},
13259                                                         Format:      "",
13260                                                 },
13261                                         },
13262                                 },
13263                         },
13264                 },
13265                 Dependencies: []string{},
13266         }
13267 }
13268
13269 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
13270         return common.OpenAPIDefinition{
13271                 Schema: spec.Schema{
13272                         SchemaProps: spec.SchemaProps{
13273                                 Description: "ListOptions is the query options to a standard REST list call.",
13274                                 Properties: map[string]spec.Schema{
13275                                         "kind": {
13276                                                 SchemaProps: spec.SchemaProps{
13277                                                         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/api-conventions.md#types-kinds",
13278                                                         Type:        []string{"string"},
13279                                                         Format:      "",
13280                                                 },
13281                                         },
13282                                         "apiVersion": {
13283                                                 SchemaProps: spec.SchemaProps{
13284                                                         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/api-conventions.md#resources",
13285                                                         Type:        []string{"string"},
13286                                                         Format:      "",
13287                                                 },
13288                                         },
13289                                         "labelSelector": {
13290                                                 SchemaProps: spec.SchemaProps{
13291                                                         Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
13292                                                         Type:        []string{"string"},
13293                                                         Format:      "",
13294                                                 },
13295                                         },
13296                                         "fieldSelector": {
13297                                                 SchemaProps: spec.SchemaProps{
13298                                                         Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
13299                                                         Type:        []string{"string"},
13300                                                         Format:      "",
13301                                                 },
13302                                         },
13303                                         "includeUninitialized": {
13304                                                 SchemaProps: spec.SchemaProps{
13305                                                         Description: "If true, partially initialized resources are included in the response.",
13306                                                         Type:        []string{"boolean"},
13307                                                         Format:      "",
13308                                                 },
13309                                         },
13310                                         "watch": {
13311                                                 SchemaProps: spec.SchemaProps{
13312                                                         Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
13313                                                         Type:        []string{"boolean"},
13314                                                         Format:      "",
13315                                                 },
13316                                         },
13317                                         "resourceVersion": {
13318                                                 SchemaProps: spec.SchemaProps{
13319                                                         Description: "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
13320                                                         Type:        []string{"string"},
13321                                                         Format:      "",
13322                                                 },
13323                                         },
13324                                         "timeoutSeconds": {
13325                                                 SchemaProps: spec.SchemaProps{
13326                                                         Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
13327                                                         Type:        []string{"integer"},
13328                                                         Format:      "int64",
13329                                                 },
13330                                         },
13331                                         "limit": {
13332                                                 SchemaProps: spec.SchemaProps{
13333                                                         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.",
13334                                                         Type:        []string{"integer"},
13335                                                         Format:      "int64",
13336                                                 },
13337                                         },
13338                                         "continue": {
13339                                                 SchemaProps: spec.SchemaProps{
13340                                                         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.",
13341                                                         Type:        []string{"string"},
13342                                                         Format:      "",
13343                                                 },
13344                                         },
13345                                 },
13346                         },
13347                 },
13348                 Dependencies: []string{},
13349         }
13350 }
13351
13352 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition {
13353         return common.OpenAPIDefinition{
13354                 Schema: spec.Schema{
13355                         SchemaProps: spec.SchemaProps{
13356                                 Description: "MicroTime is version of Time with microsecond level precision.",
13357                                 Type:        v1.MicroTime{}.OpenAPISchemaType(),
13358                                 Format:      v1.MicroTime{}.OpenAPISchemaFormat(),
13359                         },
13360                 },
13361         }
13362 }
13363
13364 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
13365         return common.OpenAPIDefinition{
13366                 Schema: spec.Schema{
13367                         SchemaProps: spec.SchemaProps{
13368                                 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
13369                                 Properties: map[string]spec.Schema{
13370                                         "name": {
13371                                                 SchemaProps: spec.SchemaProps{
13372                                                         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: http://kubernetes.io/docs/user-guide/identifiers#names",
13373                                                         Type:        []string{"string"},
13374                                                         Format:      "",
13375                                                 },
13376                                         },
13377                                         "generateName": {
13378                                                 SchemaProps: spec.SchemaProps{
13379                                                         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 NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency",
13380                                                         Type:        []string{"string"},
13381                                                         Format:      "",
13382                                                 },
13383                                         },
13384                                         "namespace": {
13385                                                 SchemaProps: spec.SchemaProps{
13386                                                         Description: "Namespace defines the space within 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: http://kubernetes.io/docs/user-guide/namespaces",
13387                                                         Type:        []string{"string"},
13388                                                         Format:      "",
13389                                                 },
13390                                         },
13391                                         "selfLink": {
13392                                                 SchemaProps: spec.SchemaProps{
13393                                                         Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.",
13394                                                         Type:        []string{"string"},
13395                                                         Format:      "",
13396                                                 },
13397                                         },
13398                                         "uid": {
13399                                                 SchemaProps: spec.SchemaProps{
13400                                                         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: http://kubernetes.io/docs/user-guide/identifiers#uids",
13401                                                         Type:        []string{"string"},
13402                                                         Format:      "",
13403                                                 },
13404                                         },
13405                                         "resourceVersion": {
13406                                                 SchemaProps: spec.SchemaProps{
13407                                                         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/api-conventions.md#concurrency-control-and-consistency",
13408                                                         Type:        []string{"string"},
13409                                                         Format:      "",
13410                                                 },
13411                                         },
13412                                         "generation": {
13413                                                 SchemaProps: spec.SchemaProps{
13414                                                         Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
13415                                                         Type:        []string{"integer"},
13416                                                         Format:      "int64",
13417                                                 },
13418                                         },
13419                                         "creationTimestamp": {
13420                                                 SchemaProps: spec.SchemaProps{
13421                                                         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/api-conventions.md#metadata",
13422                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
13423                                                 },
13424                                         },
13425                                         "deletionTimestamp": {
13426                                                 SchemaProps: spec.SchemaProps{
13427                                                         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/api-conventions.md#metadata",
13428                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
13429                                                 },
13430                                         },
13431                                         "deletionGracePeriodSeconds": {
13432                                                 SchemaProps: spec.SchemaProps{
13433                                                         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.",
13434                                                         Type:        []string{"integer"},
13435                                                         Format:      "int64",
13436                                                 },
13437                                         },
13438                                         "labels": {
13439                                                 SchemaProps: spec.SchemaProps{
13440                                                         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: http://kubernetes.io/docs/user-guide/labels",
13441                                                         Type:        []string{"object"},
13442                                                         AdditionalProperties: &spec.SchemaOrBool{
13443                                                                 Schema: &spec.Schema{
13444                                                                         SchemaProps: spec.SchemaProps{
13445                                                                                 Type:   []string{"string"},
13446                                                                                 Format: "",
13447                                                                         },
13448                                                                 },
13449                                                         },
13450                                                 },
13451                                         },
13452                                         "annotations": {
13453                                                 SchemaProps: spec.SchemaProps{
13454                                                         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: http://kubernetes.io/docs/user-guide/annotations",
13455                                                         Type:        []string{"object"},
13456                                                         AdditionalProperties: &spec.SchemaOrBool{
13457                                                                 Schema: &spec.Schema{
13458                                                                         SchemaProps: spec.SchemaProps{
13459                                                                                 Type:   []string{"string"},
13460                                                                                 Format: "",
13461                                                                         },
13462                                                                 },
13463                                                         },
13464                                                 },
13465                                         },
13466                                         "ownerReferences": {
13467                                                 VendorExtensible: spec.VendorExtensible{
13468                                                         Extensions: spec.Extensions{
13469                                                                 "x-kubernetes-patch-merge-key": "uid",
13470                                                                 "x-kubernetes-patch-strategy":  "merge",
13471                                                         },
13472                                                 },
13473                                                 SchemaProps: spec.SchemaProps{
13474                                                         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.",
13475                                                         Type:        []string{"array"},
13476                                                         Items: &spec.SchemaOrArray{
13477                                                                 Schema: &spec.Schema{
13478                                                                         SchemaProps: spec.SchemaProps{
13479                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
13480                                                                         },
13481                                                                 },
13482                                                         },
13483                                                 },
13484                                         },
13485                                         "initializers": {
13486                                                 SchemaProps: spec.SchemaProps{
13487                                                         Description: "An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects.\n\nWhen an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.",
13488                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Initializers"),
13489                                                 },
13490                                         },
13491                                         "finalizers": {
13492                                                 VendorExtensible: spec.VendorExtensible{
13493                                                         Extensions: spec.Extensions{
13494                                                                 "x-kubernetes-patch-strategy": "merge",
13495                                                         },
13496                                                 },
13497                                                 SchemaProps: spec.SchemaProps{
13498                                                         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.",
13499                                                         Type:        []string{"array"},
13500                                                         Items: &spec.SchemaOrArray{
13501                                                                 Schema: &spec.Schema{
13502                                                                         SchemaProps: spec.SchemaProps{
13503                                                                                 Type:   []string{"string"},
13504                                                                                 Format: "",
13505                                                                         },
13506                                                                 },
13507                                                         },
13508                                                 },
13509                                         },
13510                                         "clusterName": {
13511                                                 SchemaProps: spec.SchemaProps{
13512                                                         Description: "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
13513                                                         Type:        []string{"string"},
13514                                                         Format:      "",
13515                                                 },
13516                                         },
13517                                 },
13518                         },
13519                 },
13520                 Dependencies: []string{
13521                         "k8s.io/apimachinery/pkg/apis/meta/v1.Initializers", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
13522         }
13523 }
13524
13525 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
13526         return common.OpenAPIDefinition{
13527                 Schema: spec.Schema{
13528                         SchemaProps: spec.SchemaProps{
13529                                 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.",
13530                                 Properties: map[string]spec.Schema{
13531                                         "apiVersion": {
13532                                                 SchemaProps: spec.SchemaProps{
13533                                                         Description: "API version of the referent.",
13534                                                         Type:        []string{"string"},
13535                                                         Format:      "",
13536                                                 },
13537                                         },
13538                                         "kind": {
13539                                                 SchemaProps: spec.SchemaProps{
13540                                                         Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
13541                                                         Type:        []string{"string"},
13542                                                         Format:      "",
13543                                                 },
13544                                         },
13545                                         "name": {
13546                                                 SchemaProps: spec.SchemaProps{
13547                                                         Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
13548                                                         Type:        []string{"string"},
13549                                                         Format:      "",
13550                                                 },
13551                                         },
13552                                         "uid": {
13553                                                 SchemaProps: spec.SchemaProps{
13554                                                         Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
13555                                                         Type:        []string{"string"},
13556                                                         Format:      "",
13557                                                 },
13558                                         },
13559                                         "controller": {
13560                                                 SchemaProps: spec.SchemaProps{
13561                                                         Description: "If true, this reference points to the managing controller.",
13562                                                         Type:        []string{"boolean"},
13563                                                         Format:      "",
13564                                                 },
13565                                         },
13566                                         "blockOwnerDeletion": {
13567                                                 SchemaProps: spec.SchemaProps{
13568                                                         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. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
13569                                                         Type:        []string{"boolean"},
13570                                                         Format:      "",
13571                                                 },
13572                                         },
13573                                 },
13574                                 Required: []string{"apiVersion", "kind", "name", "uid"},
13575                         },
13576                 },
13577                 Dependencies: []string{},
13578         }
13579 }
13580
13581 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition {
13582         return common.OpenAPIDefinition{
13583                 Schema: spec.Schema{
13584                         SchemaProps: spec.SchemaProps{
13585                                 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
13586                                 Properties:  map[string]spec.Schema{},
13587                         },
13588                 },
13589                 Dependencies: []string{},
13590         }
13591 }
13592
13593 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition {
13594         return common.OpenAPIDefinition{
13595                 Schema: spec.Schema{
13596                         SchemaProps: spec.SchemaProps{
13597                                 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
13598                                 Properties: map[string]spec.Schema{
13599                                         "uid": {
13600                                                 SchemaProps: spec.SchemaProps{
13601                                                         Description: "Specifies the target UID.",
13602                                                         Type:        []string{"string"},
13603                                                         Format:      "",
13604                                                 },
13605                                         },
13606                                 },
13607                         },
13608                 },
13609                 Dependencies: []string{},
13610         }
13611 }
13612
13613 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition {
13614         return common.OpenAPIDefinition{
13615                 Schema: spec.Schema{
13616                         SchemaProps: spec.SchemaProps{
13617                                 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".",
13618                                 Properties: map[string]spec.Schema{
13619                                         "paths": {
13620                                                 SchemaProps: spec.SchemaProps{
13621                                                         Description: "paths are the paths available at root.",
13622                                                         Type:        []string{"array"},
13623                                                         Items: &spec.SchemaOrArray{
13624                                                                 Schema: &spec.Schema{
13625                                                                         SchemaProps: spec.SchemaProps{
13626                                                                                 Type:   []string{"string"},
13627                                                                                 Format: "",
13628                                                                         },
13629                                                                 },
13630                                                         },
13631                                                 },
13632                                         },
13633                                 },
13634                                 Required: []string{"paths"},
13635                         },
13636                 },
13637                 Dependencies: []string{},
13638         }
13639 }
13640
13641 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition {
13642         return common.OpenAPIDefinition{
13643                 Schema: spec.Schema{
13644                         SchemaProps: spec.SchemaProps{
13645                                 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
13646                                 Properties: map[string]spec.Schema{
13647                                         "clientCIDR": {
13648                                                 SchemaProps: spec.SchemaProps{
13649                                                         Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.",
13650                                                         Type:        []string{"string"},
13651                                                         Format:      "",
13652                                                 },
13653                                         },
13654                                         "serverAddress": {
13655                                                 SchemaProps: spec.SchemaProps{
13656                                                         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.",
13657                                                         Type:        []string{"string"},
13658                                                         Format:      "",
13659                                                 },
13660                                         },
13661                                 },
13662                                 Required: []string{"clientCIDR", "serverAddress"},
13663                         },
13664                 },
13665                 Dependencies: []string{},
13666         }
13667 }
13668
13669 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition {
13670         return common.OpenAPIDefinition{
13671                 Schema: spec.Schema{
13672                         SchemaProps: spec.SchemaProps{
13673                                 Description: "Status is a return value for calls that don't return other objects.",
13674                                 Properties: map[string]spec.Schema{
13675                                         "kind": {
13676                                                 SchemaProps: spec.SchemaProps{
13677                                                         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/api-conventions.md#types-kinds",
13678                                                         Type:        []string{"string"},
13679                                                         Format:      "",
13680                                                 },
13681                                         },
13682                                         "apiVersion": {
13683                                                 SchemaProps: spec.SchemaProps{
13684                                                         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/api-conventions.md#resources",
13685                                                         Type:        []string{"string"},
13686                                                         Format:      "",
13687                                                 },
13688                                         },
13689                                         "metadata": {
13690                                                 SchemaProps: spec.SchemaProps{
13691                                                         Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
13692                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
13693                                                 },
13694                                         },
13695                                         "status": {
13696                                                 SchemaProps: spec.SchemaProps{
13697                                                         Description: "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
13698                                                         Type:        []string{"string"},
13699                                                         Format:      "",
13700                                                 },
13701                                         },
13702                                         "message": {
13703                                                 SchemaProps: spec.SchemaProps{
13704                                                         Description: "A human-readable description of the status of this operation.",
13705                                                         Type:        []string{"string"},
13706                                                         Format:      "",
13707                                                 },
13708                                         },
13709                                         "reason": {
13710                                                 SchemaProps: spec.SchemaProps{
13711                                                         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.",
13712                                                         Type:        []string{"string"},
13713                                                         Format:      "",
13714                                                 },
13715                                         },
13716                                         "details": {
13717                                                 SchemaProps: spec.SchemaProps{
13718                                                         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.",
13719                                                         Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"),
13720                                                 },
13721                                         },
13722                                         "code": {
13723                                                 SchemaProps: spec.SchemaProps{
13724                                                         Description: "Suggested HTTP return code for this status, 0 if not set.",
13725                                                         Type:        []string{"integer"},
13726                                                         Format:      "int32",
13727                                                 },
13728                                         },
13729                                 },
13730                         },
13731                 },
13732                 Dependencies: []string{
13733                         "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"},
13734         }
13735 }
13736
13737 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition {
13738         return common.OpenAPIDefinition{
13739                 Schema: spec.Schema{
13740                         SchemaProps: spec.SchemaProps{
13741                                 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
13742                                 Properties: map[string]spec.Schema{
13743                                         "reason": {
13744                                                 SchemaProps: spec.SchemaProps{
13745                                                         Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
13746                                                         Type:        []string{"string"},
13747                                                         Format:      "",
13748                                                 },
13749                                         },
13750                                         "message": {
13751                                                 SchemaProps: spec.SchemaProps{
13752                                                         Description: "A human-readable description of the cause of the error.  This field may be presented as-is to a reader.",
13753                                                         Type:        []string{"string"},
13754                                                         Format:      "",
13755                                                 },
13756                                         },
13757                                         "field": {
13758                                                 SchemaProps: spec.SchemaProps{
13759                                                         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\"",
13760                                                         Type:        []string{"string"},
13761                                                         Format:      "",
13762                                                 },
13763                                         },
13764                                 },
13765                         },
13766                 },
13767                 Dependencies: []string{},
13768         }
13769 }
13770
13771 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
13772         return common.OpenAPIDefinition{
13773                 Schema: spec.Schema{
13774                         SchemaProps: spec.SchemaProps{
13775                                 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.",
13776                                 Properties: map[string]spec.Schema{
13777                                         "name": {
13778                                                 SchemaProps: spec.SchemaProps{
13779                                                         Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
13780                                                         Type:        []string{"string"},
13781                                                         Format:      "",
13782                                                 },
13783                                         },
13784                                         "group": {
13785                                                 SchemaProps: spec.SchemaProps{
13786                                                         Description: "The group attribute of the resource associated with the status StatusReason.",
13787                                                         Type:        []string{"string"},
13788                                                         Format:      "",
13789                                                 },
13790                                         },
13791                                         "kind": {
13792                                                 SchemaProps: spec.SchemaProps{
13793                                                         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/api-conventions.md#types-kinds",
13794                                                         Type:        []string{"string"},
13795                                                         Format:      "",
13796                                                 },
13797                                         },
13798                                         "uid": {
13799                                                 SchemaProps: spec.SchemaProps{
13800                                                         Description: "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
13801                                                         Type:        []string{"string"},
13802                                                         Format:      "",
13803                                                 },
13804                                         },
13805                                         "causes": {
13806                                                 SchemaProps: spec.SchemaProps{
13807                                                         Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
13808                                                         Type:        []string{"array"},
13809                                                         Items: &spec.SchemaOrArray{
13810                                                                 Schema: &spec.Schema{
13811                                                                         SchemaProps: spec.SchemaProps{
13812                                                                                 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"),
13813                                                                         },
13814                                                                 },
13815                                                         },
13816                                                 },
13817                                         },
13818                                         "retryAfterSeconds": {
13819                                                 SchemaProps: spec.SchemaProps{
13820                                                         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.",
13821                                                         Type:        []string{"integer"},
13822                                                         Format:      "int32",
13823                                                 },
13824                                         },
13825                                 },
13826                         },
13827                 },
13828                 Dependencies: []string{
13829                         "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"},
13830         }
13831 }
13832
13833 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition {
13834         return common.OpenAPIDefinition{
13835                 Schema: spec.Schema{
13836                         SchemaProps: spec.SchemaProps{
13837                                 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.",
13838                                 Type:        v1.Time{}.OpenAPISchemaType(),
13839                                 Format:      v1.Time{}.OpenAPISchemaFormat(),
13840                         },
13841                 },
13842         }
13843 }
13844
13845 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
13846         return common.OpenAPIDefinition{
13847                 Schema: spec.Schema{
13848                         SchemaProps: spec.SchemaProps{
13849                                 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.",
13850                                 Properties: map[string]spec.Schema{
13851                                         "seconds": {
13852                                                 SchemaProps: spec.SchemaProps{
13853                                                         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.",
13854                                                         Type:        []string{"integer"},
13855                                                         Format:      "int64",
13856                                                 },
13857                                         },
13858                                         "nanos": {
13859                                                 SchemaProps: spec.SchemaProps{
13860                                                         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.",
13861                                                         Type:        []string{"integer"},
13862                                                         Format:      "int32",
13863                                                 },
13864                                         },
13865                                 },
13866                                 Required: []string{"seconds", "nanos"},
13867                         },
13868                 },
13869                 Dependencies: []string{},
13870         }
13871 }
13872
13873 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
13874         return common.OpenAPIDefinition{
13875                 Schema: spec.Schema{
13876                         SchemaProps: spec.SchemaProps{
13877                                 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.",
13878                                 Properties: map[string]spec.Schema{
13879                                         "kind": {
13880                                                 SchemaProps: spec.SchemaProps{
13881                                                         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/api-conventions.md#types-kinds",
13882                                                         Type:        []string{"string"},
13883                                                         Format:      "",
13884                                                 },
13885                                         },
13886                                         "apiVersion": {
13887                                                 SchemaProps: spec.SchemaProps{
13888                                                         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/api-conventions.md#resources",
13889                                                         Type:        []string{"string"},
13890                                                         Format:      "",
13891                                                 },
13892                                         },
13893                                 },
13894                         },
13895                 },
13896                 Dependencies: []string{},
13897         }
13898 }
13899
13900 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
13901         return common.OpenAPIDefinition{
13902                 Schema: spec.Schema{
13903                         SchemaProps: spec.SchemaProps{
13904                                 Description: "UpdateOptions may be provided when updating an API object.",
13905                                 Properties: map[string]spec.Schema{
13906                                         "kind": {
13907                                                 SchemaProps: spec.SchemaProps{
13908                                                         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/api-conventions.md#types-kinds",
13909                                                         Type:        []string{"string"},
13910                                                         Format:      "",
13911                                                 },
13912                                         },
13913                                         "apiVersion": {
13914                                                 SchemaProps: spec.SchemaProps{
13915                                                         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/api-conventions.md#resources",
13916                                                         Type:        []string{"string"},
13917                                                         Format:      "",
13918                                                 },
13919                                         },
13920                                         "dryRun": {
13921                                                 SchemaProps: spec.SchemaProps{
13922                                                         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",
13923                                                         Type:        []string{"array"},
13924                                                         Items: &spec.SchemaOrArray{
13925                                                                 Schema: &spec.Schema{
13926                                                                         SchemaProps: spec.SchemaProps{
13927                                                                                 Type:   []string{"string"},
13928                                                                                 Format: "",
13929                                                                         },
13930                                                                 },
13931                                                         },
13932                                                 },
13933                                         },
13934                                 },
13935                         },
13936                 },
13937                 Dependencies: []string{},
13938         }
13939 }
13940
13941 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
13942         return common.OpenAPIDefinition{
13943                 Schema: spec.Schema{
13944                         SchemaProps: spec.SchemaProps{
13945                                 Description: "Event represents a single event to a watched resource.",
13946                                 Properties: map[string]spec.Schema{
13947                                         "type": {
13948                                                 SchemaProps: spec.SchemaProps{
13949                                                         Type:   []string{"string"},
13950                                                         Format: "",
13951                                                 },
13952                                         },
13953                                         "object": {
13954                                                 SchemaProps: spec.SchemaProps{
13955                                                         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.",
13956                                                         Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
13957                                                 },
13958                                         },
13959                                 },
13960                                 Required: []string{"type", "object"},
13961                         },
13962                 },
13963                 Dependencies: []string{
13964                         "k8s.io/apimachinery/pkg/runtime.RawExtension"},
13965         }
13966 }