1 // +build !ignore_autogenerated
3 // Copyright 2018 The prometheus-operator Authors
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 // Code generated by openapi-gen. DO NOT EDIT.
19 // This file was autogenerated by openapi-gen. Do not edit it manually!
24 spec "github.com/go-openapi/spec"
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 common "k8s.io/kube-openapi/pkg/common"
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),
302 func schema_pkg_apis_monitoring_v1_APIServerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
303 return common.OpenAPIDefinition{
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{
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"},
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"),
322 SchemaProps: spec.SchemaProps{
323 Description: "Bearer token for accessing apiserver.",
324 Type: []string{"string"},
329 SchemaProps: spec.SchemaProps{
330 Description: "File to read bearer token for accessing apiserver.",
331 Type: []string{"string"},
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"),
342 Required: []string{"host"},
345 Dependencies: []string{
346 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
350 func schema_pkg_apis_monitoring_v1_AlertingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
351 return common.OpenAPIDefinition{
353 SchemaProps: spec.SchemaProps{
354 Description: "AlertingSpec defines parameters for alerting configuration of Prometheus servers.",
355 Properties: map[string]spec.Schema{
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"),
370 Required: []string{"alertmanagers"},
373 Dependencies: []string{
374 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerEndpoints"},
378 func schema_pkg_apis_monitoring_v1_Alertmanager(ref common.ReferenceCallback) common.OpenAPIDefinition {
379 return common.OpenAPIDefinition{
381 SchemaProps: spec.SchemaProps{
382 Description: "Alertmanager describes an Alertmanager cluster.",
383 Properties: map[string]spec.Schema{
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"},
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"},
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"),
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"),
411 Required: []string{"spec"},
414 Dependencies: []string{
415 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertmanagerStatus"},
419 func schema_pkg_apis_monitoring_v1_AlertmanagerEndpoints(ref common.ReferenceCallback) common.OpenAPIDefinition {
420 return common.OpenAPIDefinition{
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{
426 SchemaProps: spec.SchemaProps{
427 Description: "Namespace of Endpoints object.",
428 Type: []string{"string"},
433 SchemaProps: spec.SchemaProps{
434 Description: "Name of Endpoints object in Namespace.",
435 Type: []string{"string"},
440 SchemaProps: spec.SchemaProps{
441 Description: "Port the Alertmanager API is exposed on.",
442 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
446 SchemaProps: spec.SchemaProps{
447 Description: "Scheme to use when firing alerts.",
448 Type: []string{"string"},
453 SchemaProps: spec.SchemaProps{
454 Description: "Prefix for the HTTP path alerts are pushed to.",
455 Type: []string{"string"},
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"),
466 SchemaProps: spec.SchemaProps{
467 Description: "BearerTokenFile to read from filesystem to use when authenticating to Alertmanager.",
468 Type: []string{"string"},
473 Required: []string{"namespace", "name", "port"},
476 Dependencies: []string{
477 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
481 func schema_pkg_apis_monitoring_v1_AlertmanagerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
482 return common.OpenAPIDefinition{
484 SchemaProps: spec.SchemaProps{
485 Description: "AlertmanagerList is a list of Alertmanagers.",
486 Properties: map[string]spec.Schema{
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"},
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"},
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"),
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"),
521 Required: []string{"items"},
524 Dependencies: []string{
525 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Alertmanager", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
529 func schema_pkg_apis_monitoring_v1_AlertmanagerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
530 return common.OpenAPIDefinition{
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{
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"),
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"},
549 SchemaProps: spec.SchemaProps{
550 Description: "Version the cluster should be on.",
551 Type: []string{"string"},
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"},
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"},
570 SchemaProps: spec.SchemaProps{
571 Description: "Base image that is used to deploy pods, without tag.",
572 Type: []string{"string"},
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"),
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"},
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"},
618 SchemaProps: spec.SchemaProps{
619 Description: "Log level for Alertmanager to be configured with.",
620 Type: []string{"string"},
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"},
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"},
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"),
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"},
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"},
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"},
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"},
680 SchemaProps: spec.SchemaProps{
681 Description: "Define resources requests and limits for single Pods.",
682 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
686 SchemaProps: spec.SchemaProps{
687 Description: "If specified, the pod's scheduling constraints.",
688 Ref: ref("k8s.io/api/core/v1.Affinity"),
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"),
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"),
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"},
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"},
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"),
737 "priorityClassName": {
738 SchemaProps: spec.SchemaProps{
739 Description: "Priority class assigned to the Pods",
740 Type: []string{"string"},
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"},
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"},
766 func schema_pkg_apis_monitoring_v1_AlertmanagerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
767 return common.OpenAPIDefinition{
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{
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"},
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"},
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"},
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"},
800 "unavailableReplicas": {
801 SchemaProps: spec.SchemaProps{
802 Description: "Total number of unavailable pods targeted by this Alertmanager cluster.",
803 Type: []string{"integer"},
808 Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
811 Dependencies: []string{},
815 func schema_pkg_apis_monitoring_v1_BasicAuth(ref common.ReferenceCallback) common.OpenAPIDefinition {
816 return common.OpenAPIDefinition{
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{
822 SchemaProps: spec.SchemaProps{
823 Description: "The secret that contains the username for authenticate",
824 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
828 SchemaProps: spec.SchemaProps{
829 Description: "The secret that contains the password for authenticate",
830 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
836 Dependencies: []string{
837 "k8s.io/api/core/v1.SecretKeySelector"},
841 func schema_pkg_apis_monitoring_v1_Endpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
842 return common.OpenAPIDefinition{
844 SchemaProps: spec.SchemaProps{
845 Description: "Endpoint defines a scrapeable endpoint serving Prometheus metrics.",
846 Properties: map[string]spec.Schema{
848 SchemaProps: spec.SchemaProps{
849 Description: "Name of the service port this endpoint refers to. Mutually exclusive with targetPort.",
850 Type: []string{"string"},
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"),
861 SchemaProps: spec.SchemaProps{
862 Description: "HTTP path to scrape for metrics.",
863 Type: []string{"string"},
868 SchemaProps: spec.SchemaProps{
869 Description: "HTTP scheme to use for scraping.",
870 Type: []string{"string"},
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"},
896 SchemaProps: spec.SchemaProps{
897 Description: "Interval at which metrics should be scraped",
898 Type: []string{"string"},
903 SchemaProps: spec.SchemaProps{
904 Description: "Timeout after which the scrape is ended",
905 Type: []string{"string"},
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"),
916 SchemaProps: spec.SchemaProps{
917 Description: "File to read bearer token for scraping targets.",
918 Type: []string{"string"},
923 SchemaProps: spec.SchemaProps{
924 Description: "HonorLabels chooses the metric's labels on collisions with target labels.",
925 Type: []string{"boolean"},
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"),
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"),
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"),
962 SchemaProps: spec.SchemaProps{
963 Description: "ProxyURL eg http://proxyserver:2195 Directs scrapes to proxy through this endpoint.",
964 Type: []string{"string"},
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"},
976 func schema_pkg_apis_monitoring_v1_NamespaceSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
977 return common.OpenAPIDefinition{
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{
983 SchemaProps: spec.SchemaProps{
984 Description: "Boolean describing whether all namespaces are selected in contrast to a list restricting them.",
985 Type: []string{"boolean"},
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"},
1006 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
1043 Required: []string{"spec"},
1046 Dependencies: []string{
1047 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusStatus"},
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{
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"},
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"},
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"),
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"),
1091 Required: []string{"items"},
1094 Dependencies: []string{
1095 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Prometheus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"),
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"),
1132 Required: []string{"spec"},
1135 Dependencies: []string{
1136 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRuleSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
1180 Required: []string{"items"},
1183 Dependencies: []string{
1184 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.PrometheusRule", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"),
1210 Dependencies: []string{
1211 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RuleGroup"},
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{
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"),
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"),
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"),
1240 SchemaProps: spec.SchemaProps{
1241 Description: "Version of Prometheus to be deployed.",
1242 Type: []string{"string"},
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"},
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"},
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"},
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"},
1275 SchemaProps: spec.SchemaProps{
1276 Description: "Base image to use for a Prometheus deployment.",
1277 Type: []string{"string"},
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"),
1295 SchemaProps: spec.SchemaProps{
1296 Description: "Number of instances to deploy for a Prometheus deployment.",
1297 Type: []string{"integer"},
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"},
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"},
1316 SchemaProps: spec.SchemaProps{
1317 Description: "Log level for Prometheus to be configured with.",
1318 Type: []string{"string"},
1323 SchemaProps: spec.SchemaProps{
1324 Description: "Log format for Prometheus to be configured with.",
1325 Type: []string{"string"},
1330 SchemaProps: spec.SchemaProps{
1331 Description: "Interval between consecutive scrapes.",
1332 Type: []string{"string"},
1336 "evaluationInterval": {
1337 SchemaProps: spec.SchemaProps{
1338 Description: "Interval between consecutive evaluations.",
1339 Type: []string{"string"},
1344 SchemaProps: spec.SchemaProps{
1345 Description: "/--rules.*/ command-line arguments.",
1346 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rules"),
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"},
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"},
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"},
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"},
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"),
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"),
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"),
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"),
1409 SchemaProps: spec.SchemaProps{
1410 Description: "Define details regarding alerting.",
1411 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.AlertingSpec"),
1415 SchemaProps: spec.SchemaProps{
1416 Description: "Define resources requests and limits for single Pods.",
1417 Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
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"},
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"},
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"},
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"},
1470 SchemaProps: spec.SchemaProps{
1471 Description: "If specified, the pod's scheduling constraints.",
1472 Ref: ref("k8s.io/api/core/v1.Affinity"),
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"),
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"),
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"),
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"),
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"},
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"),
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"),
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"),
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"),
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"),
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"),
1570 "priorityClassName": {
1571 SchemaProps: spec.SchemaProps{
1572 Description: "Priority class assigned to the Pods",
1573 Type: []string{"string"},
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"},
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{
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"},
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"},
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"},
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"},
1619 "unavailableReplicas": {
1620 SchemaProps: spec.SchemaProps{
1621 Description: "Total number of unavailable pods targeted by this Prometheus deployment.",
1622 Type: []string{"integer"},
1627 Required: []string{"paused", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"},
1630 Dependencies: []string{},
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{
1641 SchemaProps: spec.SchemaProps{
1642 Description: "The delta difference allowed for retrieving metrics during expression evaluations.",
1643 Type: []string{"string"},
1648 SchemaProps: spec.SchemaProps{
1649 Description: "Number of concurrent queries that can be run at once.",
1650 Type: []string{"integer"},
1655 SchemaProps: spec.SchemaProps{
1656 Description: "Maximum time a query may take before being aborted.",
1657 Type: []string{"string"},
1664 Dependencies: []string{},
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{
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"},
1682 SchemaProps: spec.SchemaProps{
1683 Description: "MinShards is the minimum number of shards, i.e. amount of concurrency.",
1684 Type: []string{"integer"},
1689 SchemaProps: spec.SchemaProps{
1690 Description: "MaxShards is the maximum number of shards, i.e. amount of concurrency.",
1691 Type: []string{"integer"},
1695 "maxSamplesPerSend": {
1696 SchemaProps: spec.SchemaProps{
1697 Description: "MaxSamplesPerSend is the maximum number of samples per send.",
1698 Type: []string{"integer"},
1702 "batchSendDeadline": {
1703 SchemaProps: spec.SchemaProps{
1704 Description: "BatchSendDeadline is the maximum time a sample will wait in buffer.",
1705 Type: []string{"string"},
1710 SchemaProps: spec.SchemaProps{
1711 Description: "MaxRetries is the maximum number of times to retry a batch on recoverable errors.",
1712 Type: []string{"integer"},
1717 SchemaProps: spec.SchemaProps{
1718 Description: "MinBackoff is the initial retry delay. Gets doubled for every retry.",
1719 Type: []string{"string"},
1724 SchemaProps: spec.SchemaProps{
1725 Description: "MaxBackoff is the maximum retry delay.",
1726 Type: []string{"string"},
1733 Dependencies: []string{},
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{
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"},
1758 SchemaProps: spec.SchemaProps{
1759 Description: "Separator placed between concatenated source label values. default is ';'.",
1760 Type: []string{"string"},
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"},
1772 SchemaProps: spec.SchemaProps{
1773 Description: "Regular expression against which the extracted value is matched. defailt is '(.*)'",
1774 Type: []string{"string"},
1779 SchemaProps: spec.SchemaProps{
1780 Description: "Modulus to take of the hash of the source label values.",
1781 Type: []string{"integer"},
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"},
1793 SchemaProps: spec.SchemaProps{
1794 Description: "Action to perform based on regex matching. Default is 'replace'",
1795 Type: []string{"string"},
1802 Dependencies: []string{},
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{
1813 SchemaProps: spec.SchemaProps{
1814 Description: "The URL of the endpoint to send samples to.",
1815 Type: []string{"string"},
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"},
1834 SchemaProps: spec.SchemaProps{
1835 Description: "Timeout for requests to the remote read endpoint.",
1836 Type: []string{"string"},
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"},
1848 SchemaProps: spec.SchemaProps{
1849 Description: "BasicAuth for the URL.",
1850 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
1854 SchemaProps: spec.SchemaProps{
1855 Description: "bearer token for remote read.",
1856 Type: []string{"string"},
1860 "bearerTokenFile": {
1861 SchemaProps: spec.SchemaProps{
1862 Description: "File to read bearer token for remote read.",
1863 Type: []string{"string"},
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"),
1874 SchemaProps: spec.SchemaProps{
1875 Description: "Optional ProxyURL",
1876 Type: []string{"string"},
1881 Required: []string{"url"},
1884 Dependencies: []string{
1885 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth", "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.TLSConfig"},
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{
1896 SchemaProps: spec.SchemaProps{
1897 Description: "The URL of the endpoint to send samples to.",
1898 Type: []string{"string"},
1903 SchemaProps: spec.SchemaProps{
1904 Description: "Timeout for requests to the remote write endpoint.",
1905 Type: []string{"string"},
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"),
1923 SchemaProps: spec.SchemaProps{
1924 Description: "BasicAuth for the URL.",
1925 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.BasicAuth"),
1929 SchemaProps: spec.SchemaProps{
1930 Description: "File to read bearer token for remote write.",
1931 Type: []string{"string"},
1935 "bearerTokenFile": {
1936 SchemaProps: spec.SchemaProps{
1937 Description: "File to read bearer token for remote write.",
1938 Type: []string{"string"},
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"),
1949 SchemaProps: spec.SchemaProps{
1950 Description: "Optional ProxyURL",
1951 Type: []string{"string"},
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"),
1962 Required: []string{"url"},
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"},
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{
1977 SchemaProps: spec.SchemaProps{
1978 Type: []string{"string"},
1983 SchemaProps: spec.SchemaProps{
1984 Type: []string{"string"},
1989 SchemaProps: spec.SchemaProps{
1990 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
1994 SchemaProps: spec.SchemaProps{
1995 Type: []string{"string"},
2000 SchemaProps: spec.SchemaProps{
2001 Type: []string{"object"},
2002 AdditionalProperties: &spec.SchemaOrBool{
2003 Schema: &spec.Schema{
2004 SchemaProps: spec.SchemaProps{
2005 Type: []string{"string"},
2013 SchemaProps: spec.SchemaProps{
2014 Type: []string{"object"},
2015 AdditionalProperties: &spec.SchemaOrBool{
2016 Schema: &spec.Schema{
2017 SchemaProps: spec.SchemaProps{
2018 Type: []string{"string"},
2026 Required: []string{"expr"},
2029 Dependencies: []string{
2030 "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
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{
2041 SchemaProps: spec.SchemaProps{
2042 Type: []string{"string"},
2047 SchemaProps: spec.SchemaProps{
2048 Type: []string{"string"},
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"),
2065 Required: []string{"name", "rules"},
2068 Dependencies: []string{
2069 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.Rule"},
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{
2080 SchemaProps: spec.SchemaProps{
2081 Ref: ref("github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RulesAlert"),
2087 Dependencies: []string{
2088 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.RulesAlert"},
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"},
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"},
2113 SchemaProps: spec.SchemaProps{
2114 Description: "Minimum amount of time to wait before resending an alert to Alertmanager.",
2115 Type: []string{"string"},
2122 Dependencies: []string{},
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{
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"},
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"},
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"),
2153 Required: []string{"spec"},
2156 Dependencies: []string{
2157 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitorSpec"},
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{
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"},
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"},
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"),
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"),
2201 Required: []string{"items"},
2204 Dependencies: []string{
2205 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1.ServiceMonitor", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
2216 SchemaProps: spec.SchemaProps{
2217 Description: "The label to use to retrieve the job name from.",
2218 Type: []string{"string"},
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"},
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"},
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"),
2264 SchemaProps: spec.SchemaProps{
2265 Description: "Selector to select Endpoints objects.",
2266 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
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"),
2276 SchemaProps: spec.SchemaProps{
2277 Description: "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.",
2278 Type: []string{"integer"},
2283 Required: []string{"endpoints", "selector"},
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"},
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{
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"),
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"),
2312 Dependencies: []string{
2313 "k8s.io/api/core/v1.EmptyDirVolumeSource", "k8s.io/api/core/v1.PersistentVolumeClaim"},
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{
2324 SchemaProps: spec.SchemaProps{
2325 Description: "The CA cert to use for the targets.",
2326 Type: []string{"string"},
2331 SchemaProps: spec.SchemaProps{
2332 Description: "The client cert file for the targets.",
2333 Type: []string{"string"},
2338 SchemaProps: spec.SchemaProps{
2339 Description: "The client key file for the targets.",
2340 Type: []string{"string"},
2345 SchemaProps: spec.SchemaProps{
2346 Description: "Used to verify the hostname for the targets.",
2347 Type: []string{"string"},
2351 "insecureSkipVerify": {
2352 SchemaProps: spec.SchemaProps{
2353 Description: "Disable target certificate validation.",
2354 Type: []string{"boolean"},
2361 Dependencies: []string{},
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{
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"},
2379 SchemaProps: spec.SchemaProps{
2380 Description: "Secret to access our Bucket.",
2381 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
2387 Dependencies: []string{
2388 "k8s.io/api/core/v1.SecretKeySelector"},
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{
2399 SchemaProps: spec.SchemaProps{
2400 Description: "S3-Compatible API bucket name for stored blocks.",
2401 Type: []string{"string"},
2406 SchemaProps: spec.SchemaProps{
2407 Description: "S3-Compatible API endpoint for stored blocks.",
2408 Type: []string{"string"},
2413 SchemaProps: spec.SchemaProps{
2414 Description: "AccessKey for an S3-Compatible API.",
2415 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
2419 SchemaProps: spec.SchemaProps{
2420 Description: "SecretKey for an S3-Compatible API.",
2421 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
2425 SchemaProps: spec.SchemaProps{
2426 Description: "Whether to use an insecure connection with an S3-Compatible API.",
2427 Type: []string{"boolean"},
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"},
2439 SchemaProps: spec.SchemaProps{
2440 Description: "Whether to use Server Side Encryption",
2441 Type: []string{"boolean"},
2448 Dependencies: []string{
2449 "k8s.io/api/core/v1.SecretKeySelector"},
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{
2460 SchemaProps: spec.SchemaProps{
2461 Description: "Peers is a DNS name for Thanos to discover peers through.",
2462 Type: []string{"string"},
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"},
2474 SchemaProps: spec.SchemaProps{
2475 Description: "Version describes the version of Thanos to use.",
2476 Type: []string{"string"},
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"},
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"},
2495 SchemaProps: spec.SchemaProps{
2496 Description: "Thanos base image if other than default.",
2497 Type: []string{"string"},
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"),
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"),
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"),
2519 "objectStorageConfig": {
2520 SchemaProps: spec.SchemaProps{
2521 Description: "ObjectStorageConfig configures object storage in Thanos.",
2522 Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
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"},
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"},
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"},
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{
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"},
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"},
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"},
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"},
2582 Required: []string{"volumeID"},
2585 Dependencies: []string{},
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{
2596 SchemaProps: spec.SchemaProps{
2597 Description: "Describes node affinity scheduling rules for the pod.",
2598 Ref: ref("k8s.io/api/core/v1.NodeAffinity"),
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"),
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"),
2616 Dependencies: []string{
2617 "k8s.io/api/core/v1.NodeAffinity", "k8s.io/api/core/v1.PodAffinity", "k8s.io/api/core/v1.PodAntiAffinity"},
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{
2628 SchemaProps: spec.SchemaProps{
2629 Description: "Name of the attached volume",
2630 Type: []string{"string"},
2635 SchemaProps: spec.SchemaProps{
2636 Description: "DevicePath represents the device path where the volume should be available",
2637 Type: []string{"string"},
2642 Required: []string{"name", "devicePath"},
2645 Dependencies: []string{},
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"),
2671 Dependencies: []string{
2672 "k8s.io/api/core/v1.PreferAvoidPodsEntry"},
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{
2683 SchemaProps: spec.SchemaProps{
2684 Description: "The Name of the data disk in the blob storage",
2685 Type: []string{"string"},
2690 SchemaProps: spec.SchemaProps{
2691 Description: "The URI the data disk in the blob storage",
2692 Type: []string{"string"},
2697 SchemaProps: spec.SchemaProps{
2698 Description: "Host Caching mode: None, Read Only, Read Write.",
2699 Type: []string{"string"},
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"},
2711 SchemaProps: spec.SchemaProps{
2712 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2713 Type: []string{"boolean"},
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"},
2725 Required: []string{"diskName", "diskURI"},
2728 Dependencies: []string{},
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{
2739 SchemaProps: spec.SchemaProps{
2740 Description: "the name of secret that contains Azure Storage Account Name and Key",
2741 Type: []string{"string"},
2746 SchemaProps: spec.SchemaProps{
2747 Description: "Share Name",
2748 Type: []string{"string"},
2753 SchemaProps: spec.SchemaProps{
2754 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2755 Type: []string{"boolean"},
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"},
2767 Required: []string{"secretName", "shareName"},
2770 Dependencies: []string{},
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{
2781 SchemaProps: spec.SchemaProps{
2782 Description: "the name of secret that contains Azure Storage Account Name and Key",
2783 Type: []string{"string"},
2788 SchemaProps: spec.SchemaProps{
2789 Description: "Share Name",
2790 Type: []string{"string"},
2795 SchemaProps: spec.SchemaProps{
2796 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
2797 Type: []string{"boolean"},
2802 Required: []string{"secretName", "shareName"},
2805 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
2842 Required: []string{"target"},
2845 Dependencies: []string{
2846 "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
2857 SchemaProps: spec.SchemaProps{
2858 Description: "Driver is the name of the driver to use for this volume. Required.",
2859 Type: []string{"string"},
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"},
2871 SchemaProps: spec.SchemaProps{
2872 Description: "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
2873 Type: []string{"boolean"},
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"},
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"},
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"),
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"),
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"),
2917 Required: []string{"driver", "volumeHandle"},
2920 Dependencies: []string{
2921 "k8s.io/api/core/v1.SecretReference"},
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{
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"},
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"},
2962 Dependencies: []string{},
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{
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"},
2987 SchemaProps: spec.SchemaProps{
2988 Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
2989 Type: []string{"string"},
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"},
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"},
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"),
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"},
3021 Required: []string{"monitors"},
3024 Dependencies: []string{
3025 "k8s.io/api/core/v1.SecretReference"},
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{
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"},
3050 SchemaProps: spec.SchemaProps{
3051 Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
3052 Type: []string{"string"},
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"},
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"},
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"),
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"},
3084 Required: []string{"monitors"},
3087 Dependencies: []string{
3088 "k8s.io/api/core/v1.LocalObjectReference"},
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{
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"},
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"},
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"},
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"),
3126 Required: []string{"volumeID"},
3129 Dependencies: []string{
3130 "k8s.io/api/core/v1.SecretReference"},
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{
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"},
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"},
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"},
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"),
3168 Required: []string{"volumeID"},
3171 Dependencies: []string{
3172 "k8s.io/api/core/v1.LocalObjectReference"},
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{
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"},
3192 Dependencies: []string{},
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{
3203 SchemaProps: spec.SchemaProps{
3204 Description: "Type of condition for a component. Valid value: \"Healthy\"",
3205 Type: []string{"string"},
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"},
3217 SchemaProps: spec.SchemaProps{
3218 Description: "Message about the condition for a component. For example, information about a health check.",
3219 Type: []string{"string"},
3224 SchemaProps: spec.SchemaProps{
3225 Description: "Condition error code for a component. For example, a health check error code.",
3226 Type: []string{"string"},
3231 Required: []string{"type", "status"},
3234 Dependencies: []string{},
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{
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"},
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"},
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"),
3265 VendorExtensible: spec.VendorExtensible{
3266 Extensions: spec.Extensions{
3267 "x-kubernetes-patch-merge-key": "type",
3268 "x-kubernetes-patch-strategy": "merge",
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"),
3286 Dependencies: []string{
3287 "k8s.io/api/core/v1.ComponentCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
3331 Required: []string{"items"},
3334 Dependencies: []string{
3335 "k8s.io/api/core/v1.ComponentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"),
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"},
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"},
3396 Dependencies: []string{
3397 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
3415 SchemaProps: spec.SchemaProps{
3416 Description: "Specify whether the ConfigMap must be defined",
3417 Type: []string{"boolean"},
3424 Dependencies: []string{},
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{
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"},
3442 SchemaProps: spec.SchemaProps{
3443 Description: "The key to select.",
3444 Type: []string{"string"},
3449 SchemaProps: spec.SchemaProps{
3450 Description: "Specify whether the ConfigMap or it's key must be defined",
3451 Type: []string{"boolean"},
3456 Required: []string{"key"},
3459 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
3503 Required: []string{"items"},
3506 Dependencies: []string{
3507 "k8s.io/api/core/v1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"},
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"},
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"},
3553 Required: []string{"namespace", "name", "kubeletConfigKey"},
3556 Dependencies: []string{},
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{
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"},
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"),
3587 SchemaProps: spec.SchemaProps{
3588 Description: "Specify whether the ConfigMap or it's keys must be defined",
3589 Type: []string{"boolean"},
3596 Dependencies: []string{
3597 "k8s.io/api/core/v1.KeyToPath"},
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{
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"},
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"),
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"},
3635 SchemaProps: spec.SchemaProps{
3636 Description: "Specify whether the ConfigMap or it's keys must be defined",
3637 Type: []string{"boolean"},
3644 Dependencies: []string{
3645 "k8s.io/api/core/v1.KeyToPath"},
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{
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"},
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"},
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"},
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"},
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"},
3705 VendorExtensible: spec.VendorExtensible{
3706 Extensions: spec.Extensions{
3707 "x-kubernetes-list-map-keys": []string{
3711 "x-kubernetes-list-type": "map",
3712 "x-kubernetes-patch-merge-key": "containerPort",
3713 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
3742 VendorExtensible: spec.VendorExtensible{
3743 Extensions: spec.Extensions{
3744 "x-kubernetes-patch-merge-key": "name",
3745 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
3767 VendorExtensible: spec.VendorExtensible{
3768 Extensions: spec.Extensions{
3769 "x-kubernetes-patch-merge-key": "mountPath",
3770 "x-kubernetes-patch-strategy": "merge",
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"),
3786 VendorExtensible: spec.VendorExtensible{
3787 Extensions: spec.Extensions{
3788 "x-kubernetes-patch-merge-key": "devicePath",
3789 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
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"),
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"),
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"},
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"},
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"},
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"),
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"},
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"},
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"},
3871 Required: []string{"name"},
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"},
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{
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"},
3900 SchemaProps: spec.SchemaProps{
3901 Description: "The size of the image in bytes.",
3902 Type: []string{"integer"},
3907 Required: []string{"names"},
3910 Dependencies: []string{},
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{
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"},
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"},
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"},
3942 SchemaProps: spec.SchemaProps{
3943 Description: "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".",
3944 Type: []string{"string"},
3949 SchemaProps: spec.SchemaProps{
3950 Description: "What host IP to bind the external port to.",
3951 Type: []string{"string"},
3956 Required: []string{"containerPort"},
3959 Dependencies: []string{},
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{
3970 SchemaProps: spec.SchemaProps{
3971 Description: "Details about a waiting container",
3972 Ref: ref("k8s.io/api/core/v1.ContainerStateWaiting"),
3976 SchemaProps: spec.SchemaProps{
3977 Description: "Details about a running container",
3978 Ref: ref("k8s.io/api/core/v1.ContainerStateRunning"),
3982 SchemaProps: spec.SchemaProps{
3983 Description: "Details about a terminated container",
3984 Ref: ref("k8s.io/api/core/v1.ContainerStateTerminated"),
3990 Dependencies: []string{
3991 "k8s.io/api/core/v1.ContainerStateRunning", "k8s.io/api/core/v1.ContainerStateTerminated", "k8s.io/api/core/v1.ContainerStateWaiting"},
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{
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"),
4010 Dependencies: []string{
4011 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
4022 SchemaProps: spec.SchemaProps{
4023 Description: "Exit status from the last termination of the container",
4024 Type: []string{"integer"},
4029 SchemaProps: spec.SchemaProps{
4030 Description: "Signal from the last termination of the container",
4031 Type: []string{"integer"},
4036 SchemaProps: spec.SchemaProps{
4037 Description: "(brief) reason from the last termination of the container",
4038 Type: []string{"string"},
4043 SchemaProps: spec.SchemaProps{
4044 Description: "Message regarding the last termination of the container",
4045 Type: []string{"string"},
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"),
4056 SchemaProps: spec.SchemaProps{
4057 Description: "Time at which the container last terminated",
4058 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4062 SchemaProps: spec.SchemaProps{
4063 Description: "Container's ID in the format 'docker://<container_id>'",
4064 Type: []string{"string"},
4069 Required: []string{"exitCode"},
4072 Dependencies: []string{
4073 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
4084 SchemaProps: spec.SchemaProps{
4085 Description: "(brief) reason the container is not yet running.",
4086 Type: []string{"string"},
4091 SchemaProps: spec.SchemaProps{
4092 Description: "Message regarding why the container is not yet running.",
4093 Type: []string{"string"},
4100 Dependencies: []string{},
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{
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"},
4118 SchemaProps: spec.SchemaProps{
4119 Description: "Details about the container's current condition.",
4120 Ref: ref("k8s.io/api/core/v1.ContainerState"),
4124 SchemaProps: spec.SchemaProps{
4125 Description: "Details about the container's last termination condition.",
4126 Ref: ref("k8s.io/api/core/v1.ContainerState"),
4130 SchemaProps: spec.SchemaProps{
4131 Description: "Specifies whether the container has passed its readiness probe.",
4132 Type: []string{"boolean"},
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"},
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"},
4151 SchemaProps: spec.SchemaProps{
4152 Description: "ImageID of the container's image.",
4153 Type: []string{"string"},
4158 SchemaProps: spec.SchemaProps{
4159 Description: "Container's ID in the format 'docker://<container_id>'.",
4160 Type: []string{"string"},
4165 Required: []string{"name", "ready", "restartCount", "image", "imageID"},
4168 Dependencies: []string{
4169 "k8s.io/api/core/v1.ContainerState"},
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{
4180 SchemaProps: spec.SchemaProps{
4181 Description: "Port number of the given endpoint.",
4182 Type: []string{"integer"},
4187 Required: []string{"Port"},
4190 Dependencies: []string{},
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{
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"),
4216 Dependencies: []string{
4217 "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
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{
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"},
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"),
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"),
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"},
4254 Required: []string{"path"},
4257 Dependencies: []string{
4258 "k8s.io/api/core/v1.ObjectFieldSelector", "k8s.io/api/core/v1.ResourceFieldSelector"},
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{
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"),
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"},
4291 Dependencies: []string{
4292 "k8s.io/api/core/v1.DownwardAPIVolumeFile"},
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{
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"},
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"),
4318 Dependencies: []string{
4319 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"},
4337 SchemaProps: spec.SchemaProps{
4338 Description: "The Hostname of this endpoint",
4339 Type: []string{"string"},
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"},
4351 SchemaProps: spec.SchemaProps{
4352 Description: "Reference to object providing the endpoint.",
4353 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
4357 Required: []string{"ip"},
4360 Dependencies: []string{
4361 "k8s.io/api/core/v1.ObjectReference"},
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{
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"},
4379 SchemaProps: spec.SchemaProps{
4380 Description: "The port number of the endpoint.",
4381 Type: []string{"integer"},
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"},
4393 Required: []string{"port"},
4396 Dependencies: []string{},
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{
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"),
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"),
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"),
4448 Dependencies: []string{
4449 "k8s.io/api/core/v1.EndpointAddress", "k8s.io/api/core/v1.EndpointPort"},
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{
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"},
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"},
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"),
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"),
4495 Dependencies: []string{
4496 "k8s.io/api/core/v1.EndpointSubset", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
4540 Required: []string{"items"},
4543 Dependencies: []string{
4544 "k8s.io/api/core/v1.Endpoints", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
4562 SchemaProps: spec.SchemaProps{
4563 Description: "The ConfigMap to select from",
4564 Ref: ref("k8s.io/api/core/v1.ConfigMapEnvSource"),
4568 SchemaProps: spec.SchemaProps{
4569 Description: "The Secret to select from",
4570 Ref: ref("k8s.io/api/core/v1.SecretEnvSource"),
4576 Dependencies: []string{
4577 "k8s.io/api/core/v1.ConfigMapEnvSource", "k8s.io/api/core/v1.SecretEnvSource"},
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{
4588 SchemaProps: spec.SchemaProps{
4589 Description: "Name of the environment variable. Must be a C_IDENTIFIER.",
4590 Type: []string{"string"},
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"},
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"),
4608 Required: []string{"name"},
4611 Dependencies: []string{
4612 "k8s.io/api/core/v1.EnvVarSource"},
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{
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"),
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"),
4634 "configMapKeyRef": {
4635 SchemaProps: spec.SchemaProps{
4636 Description: "Selects a key of a ConfigMap.",
4637 Ref: ref("k8s.io/api/core/v1.ConfigMapKeySelector"),
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"),
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"},
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{
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"},
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"},
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"),
4681 SchemaProps: spec.SchemaProps{
4682 Description: "The object that this event is about.",
4683 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
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"},
4694 SchemaProps: spec.SchemaProps{
4695 Description: "A human-readable description of the status of this operation.",
4696 Type: []string{"string"},
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"),
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"),
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"),
4719 SchemaProps: spec.SchemaProps{
4720 Description: "The number of times this event has occurred.",
4721 Type: []string{"integer"},
4726 SchemaProps: spec.SchemaProps{
4727 Description: "Type of this event (Normal, Warning), new types could be added in the future",
4728 Type: []string{"string"},
4733 SchemaProps: spec.SchemaProps{
4734 Description: "Time when this Event was first observed.",
4735 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"),
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"),
4745 SchemaProps: spec.SchemaProps{
4746 Description: "What action was taken/failed regarding to the Regarding object.",
4747 Type: []string{"string"},
4752 SchemaProps: spec.SchemaProps{
4753 Description: "Optional secondary object for more complex actions.",
4754 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
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"},
4764 "reportingInstance": {
4765 SchemaProps: spec.SchemaProps{
4766 Description: "ID of the controller instance, e.g. `kubelet-xyzf`.",
4767 Type: []string{"string"},
4772 Required: []string{"metadata", "involvedObject"},
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"},
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{
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"},
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"},
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"),
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"),
4820 Required: []string{"items"},
4823 Dependencies: []string{
4824 "k8s.io/api/core/v1.Event", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
4835 SchemaProps: spec.SchemaProps{
4836 Description: "Number of occurrences in this series up to the last heartbeat time",
4837 Type: []string{"integer"},
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"),
4848 SchemaProps: spec.SchemaProps{
4849 Description: "State of this Series: Ongoing or Finished",
4850 Type: []string{"string"},
4857 Dependencies: []string{
4858 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"},
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{
4869 SchemaProps: spec.SchemaProps{
4870 Description: "Component from which the event is generated.",
4871 Type: []string{"string"},
4876 SchemaProps: spec.SchemaProps{
4877 Description: "Node name on which the event is generated.",
4878 Type: []string{"string"},
4885 Dependencies: []string{},
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{
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"},
4912 Dependencies: []string{},
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{
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"},
4937 SchemaProps: spec.SchemaProps{
4938 Description: "Optional: FC target lun number",
4939 Type: []string{"integer"},
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"},
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"},
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"},
4974 Dependencies: []string{},
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{
4985 SchemaProps: spec.SchemaProps{
4986 Description: "Driver is the name of the driver to use for this volume.",
4987 Type: []string{"string"},
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"},
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"),
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"},
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"},
5026 Required: []string{"driver"},
5029 Dependencies: []string{
5030 "k8s.io/api/core/v1.SecretReference"},
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{
5041 SchemaProps: spec.SchemaProps{
5042 Description: "Driver is the name of the driver to use for this volume.",
5043 Type: []string{"string"},
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"},
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"),
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"},
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"},
5082 Required: []string{"driver"},
5085 Dependencies: []string{
5086 "k8s.io/api/core/v1.LocalObjectReference"},
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{
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"},
5104 SchemaProps: spec.SchemaProps{
5105 Description: "UUID of the dataset. This is unique identifier of a Flocker dataset",
5106 Type: []string{"string"},
5113 Dependencies: []string{},
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{
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"},
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"},
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"},
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"},
5152 Required: []string{"pdName"},
5155 Dependencies: []string{},
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{
5166 SchemaProps: spec.SchemaProps{
5167 Description: "Repository URL",
5168 Type: []string{"string"},
5173 SchemaProps: spec.SchemaProps{
5174 Description: "Commit hash for the specified revision.",
5175 Type: []string{"string"},
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"},
5187 Required: []string{"repository"},
5190 Dependencies: []string{},
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{
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"},
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"},
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"},
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"},
5229 Required: []string{"endpoints", "path"},
5232 Dependencies: []string{},
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{
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"},
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"},
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"},
5264 Required: []string{"endpoints", "path"},
5267 Dependencies: []string{},
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{
5278 SchemaProps: spec.SchemaProps{
5279 Description: "Path to access on the HTTP server.",
5280 Type: []string{"string"},
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"),
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"},
5298 SchemaProps: spec.SchemaProps{
5299 Description: "Scheme to use for connecting to the host. Defaults to HTTP.",
5300 Type: []string{"string"},
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"),
5318 Required: []string{"port"},
5321 Dependencies: []string{
5322 "k8s.io/api/core/v1.HTTPHeader", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
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{
5333 SchemaProps: spec.SchemaProps{
5334 Description: "The header field name",
5335 Type: []string{"string"},
5340 SchemaProps: spec.SchemaProps{
5341 Description: "The header field value",
5342 Type: []string{"string"},
5347 Required: []string{"name", "value"},
5350 Dependencies: []string{},
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{
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"),
5367 SchemaProps: spec.SchemaProps{
5368 Description: "HTTPGet specifies the http request to perform.",
5369 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
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"),
5381 Dependencies: []string{
5382 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
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{
5393 SchemaProps: spec.SchemaProps{
5394 Description: "IP address of the host file entry.",
5395 Type: []string{"string"},
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"},
5416 Dependencies: []string{},
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{
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"},
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"},
5441 Required: []string{"path"},
5444 Dependencies: []string{},
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{
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"},
5462 SchemaProps: spec.SchemaProps{
5463 Description: "Target iSCSI Qualified Name.",
5464 Type: []string{"string"},
5469 SchemaProps: spec.SchemaProps{
5470 Description: "iSCSI Target Lun number.",
5471 Type: []string{"integer"},
5476 SchemaProps: spec.SchemaProps{
5477 Description: "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
5478 Type: []string{"string"},
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"},
5490 SchemaProps: spec.SchemaProps{
5491 Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
5492 Type: []string{"boolean"},
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"},
5510 "chapAuthDiscovery": {
5511 SchemaProps: spec.SchemaProps{
5512 Description: "whether support iSCSI Discovery CHAP authentication",
5513 Type: []string{"boolean"},
5517 "chapAuthSession": {
5518 SchemaProps: spec.SchemaProps{
5519 Description: "whether support iSCSI Session CHAP authentication",
5520 Type: []string{"boolean"},
5525 SchemaProps: spec.SchemaProps{
5526 Description: "CHAP Secret for iSCSI target and initiator authentication",
5527 Ref: ref("k8s.io/api/core/v1.SecretReference"),
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"},
5538 Required: []string{"targetPortal", "iqn", "lun"},
5541 Dependencies: []string{
5542 "k8s.io/api/core/v1.SecretReference"},
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{
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"},
5560 SchemaProps: spec.SchemaProps{
5561 Description: "Target iSCSI Qualified Name.",
5562 Type: []string{"string"},
5567 SchemaProps: spec.SchemaProps{
5568 Description: "iSCSI Target Lun number.",
5569 Type: []string{"integer"},
5574 SchemaProps: spec.SchemaProps{
5575 Description: "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
5576 Type: []string{"string"},
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"},
5588 SchemaProps: spec.SchemaProps{
5589 Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
5590 Type: []string{"boolean"},
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"},
5608 "chapAuthDiscovery": {
5609 SchemaProps: spec.SchemaProps{
5610 Description: "whether support iSCSI Discovery CHAP authentication",
5611 Type: []string{"boolean"},
5615 "chapAuthSession": {
5616 SchemaProps: spec.SchemaProps{
5617 Description: "whether support iSCSI Session CHAP authentication",
5618 Type: []string{"boolean"},
5623 SchemaProps: spec.SchemaProps{
5624 Description: "CHAP Secret for iSCSI target and initiator authentication",
5625 Ref: ref("k8s.io/api/core/v1.LocalObjectReference"),
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"},
5636 Required: []string{"targetPortal", "iqn", "lun"},
5639 Dependencies: []string{
5640 "k8s.io/api/core/v1.LocalObjectReference"},
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{
5651 SchemaProps: spec.SchemaProps{
5652 Description: "The key to project.",
5653 Type: []string{"string"},
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"},
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"},
5672 Required: []string{"key", "path"},
5675 Dependencies: []string{},
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{
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"),
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"),
5700 Dependencies: []string{
5701 "k8s.io/api/core/v1.Handler"},
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{
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"},
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"},
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"),
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"),
5740 Dependencies: []string{
5741 "k8s.io/api/core/v1.LimitRangeSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
5752 SchemaProps: spec.SchemaProps{
5753 Description: "Type of resource that this limit applies to.",
5754 Type: []string{"string"},
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"),
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"),
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"),
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"),
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"),
5826 Dependencies: []string{
5827 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"},
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"},
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"),
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"),
5871 Required: []string{"items"},
5874 Dependencies: []string{
5875 "k8s.io/api/core/v1.LimitRange", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"),
5899 Required: []string{"limits"},
5902 Dependencies: []string{
5903 "k8s.io/api/core/v1.LimitRangeItem"},
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{
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"},
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"},
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"),
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"),
5947 Required: []string{"items"},
5950 Dependencies: []string{
5951 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
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{
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"},
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"},
5978 Dependencies: []string{},
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{
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"),
6004 Dependencies: []string{
6005 "k8s.io/api/core/v1.LoadBalancerIngress"},
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{
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"},
6025 Dependencies: []string{},
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{
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"},
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"},
6050 Required: []string{"path"},
6053 Dependencies: []string{},
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{
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"},
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"},
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"},
6085 Required: []string{"server", "path"},
6088 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
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"),
6133 Dependencies: []string{
6134 "k8s.io/api/core/v1.NamespaceSpec", "k8s.io/api/core/v1.NamespaceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
6178 Required: []string{"items"},
6181 Dependencies: []string{
6182 "k8s.io/api/core/v1.Namespace", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
6209 Dependencies: []string{},
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{
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"},
6229 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
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"),
6274 Dependencies: []string{
6275 "k8s.io/api/core/v1.NodeSpec", "k8s.io/api/core/v1.NodeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
6286 SchemaProps: spec.SchemaProps{
6287 Description: "Node address type, one of Hostname, ExternalIP or InternalIP.",
6288 Type: []string{"string"},
6293 SchemaProps: spec.SchemaProps{
6294 Description: "The node address.",
6295 Type: []string{"string"},
6300 Required: []string{"type", "address"},
6303 Dependencies: []string{},
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"),
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"),
6335 Dependencies: []string{
6336 "k8s.io/api/core/v1.NodeSelector", "k8s.io/api/core/v1.PreferredSchedulingTerm"},
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{
6347 SchemaProps: spec.SchemaProps{
6348 Description: "Type of node condition.",
6349 Type: []string{"string"},
6354 SchemaProps: spec.SchemaProps{
6355 Description: "Status of the condition, one of True, False, Unknown.",
6356 Type: []string{"string"},
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"),
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"),
6373 SchemaProps: spec.SchemaProps{
6374 Description: "(brief) reason for the condition's last transition.",
6375 Type: []string{"string"},
6380 SchemaProps: spec.SchemaProps{
6381 Description: "Human readable message indicating details about last transition.",
6382 Type: []string{"string"},
6387 Required: []string{"type", "status"},
6390 Dependencies: []string{
6391 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
6402 SchemaProps: spec.SchemaProps{
6403 Description: "ConfigMap is a reference to a Node's ConfigMap",
6404 Ref: ref("k8s.io/api/core/v1.ConfigMapNodeConfigSource"),
6410 Dependencies: []string{
6411 "k8s.io/api/core/v1.ConfigMapNodeConfigSource"},
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{
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"),
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"),
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"),
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"},
6449 Dependencies: []string{
6450 "k8s.io/api/core/v1.NodeConfigSource"},
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"),
6469 Dependencies: []string{
6470 "k8s.io/api/core/v1.DaemonEndpoint"},
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{
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"},
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"},
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"),
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"),
6514 Required: []string{"items"},
6517 Dependencies: []string{
6518 "k8s.io/api/core/v1.Node", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
6543 SchemaProps: spec.SchemaProps{
6544 Description: "Path is the URL path to use for the current proxy request to node.",
6545 Type: []string{"string"},
6552 Dependencies: []string{},
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{
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"),
6576 Required: []string{"Capacity"},
6579 Dependencies: []string{
6580 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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"),
6604 Required: []string{"nodeSelectorTerms"},
6607 Dependencies: []string{
6608 "k8s.io/api/core/v1.NodeSelectorTerm"},
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{
6619 SchemaProps: spec.SchemaProps{
6620 Description: "The label key that the selector applies to.",
6621 Type: []string{"string"},
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"},
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"},
6647 Required: []string{"key", "operator"},
6650 Dependencies: []string{},
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"),
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"),
6689 Dependencies: []string{
6690 "k8s.io/api/core/v1.NodeSelectorRequirement"},
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{
6701 SchemaProps: spec.SchemaProps{
6702 Description: "PodCIDR represents the pod IP range assigned to the node.",
6703 Type: []string{"string"},
6708 SchemaProps: spec.SchemaProps{
6709 Description: "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>",
6710 Type: []string{"string"},
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"},
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"),
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"),
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"},
6750 Dependencies: []string{
6751 "k8s.io/api/core/v1.NodeConfigSource", "k8s.io/api/core/v1.Taint"},
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{
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"),
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"),
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"},
6795 VendorExtensible: spec.VendorExtensible{
6796 Extensions: spec.Extensions{
6797 "x-kubernetes-patch-merge-key": "type",
6798 "x-kubernetes-patch-strategy": "merge",
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"),
6814 VendorExtensible: spec.VendorExtensible{
6815 Extensions: spec.Extensions{
6816 "x-kubernetes-patch-merge-key": "type",
6817 "x-kubernetes-patch-strategy": "merge",
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"),
6832 "daemonEndpoints": {
6833 SchemaProps: spec.SchemaProps{
6834 Description: "Endpoints of daemons running on the Node.",
6835 Ref: ref("k8s.io/api/core/v1.NodeDaemonEndpoints"),
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"),
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"),
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"},
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"),
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"),
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"},
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{
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"},
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"},
6919 SchemaProps: spec.SchemaProps{
6920 Description: "Boot ID reported by the node.",
6921 Type: []string{"string"},
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"},
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"},
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"},
6947 SchemaProps: spec.SchemaProps{
6948 Description: "Kubelet Version reported by the node.",
6949 Type: []string{"string"},
6953 "kubeProxyVersion": {
6954 SchemaProps: spec.SchemaProps{
6955 Description: "KubeProxy Version reported by the node.",
6956 Type: []string{"string"},
6960 "operatingSystem": {
6961 SchemaProps: spec.SchemaProps{
6962 Description: "The Operating System reported by the node",
6963 Type: []string{"string"},
6968 SchemaProps: spec.SchemaProps{
6969 Description: "The Architecture reported by the node",
6970 Type: []string{"string"},
6975 Required: []string{"machineID", "systemUUID", "bootID", "kernelVersion", "osImage", "containerRuntimeVersion", "kubeletVersion", "kubeProxyVersion", "operatingSystem", "architecture"},
6978 Dependencies: []string{},
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{
6989 SchemaProps: spec.SchemaProps{
6990 Description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
6991 Type: []string{"string"},
6996 SchemaProps: spec.SchemaProps{
6997 Description: "Path of the field to select in the specified API version.",
6998 Type: []string{"string"},
7003 Required: []string{"fieldPath"},
7006 Dependencies: []string{},
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{
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"},
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"},
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"},
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"},
7045 SchemaProps: spec.SchemaProps{
7046 Description: "API version of the referent.",
7047 Type: []string{"string"},
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"},
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"},
7068 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
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"),
7113 Dependencies: []string{
7114 "k8s.io/api/core/v1.PersistentVolumeSpec", "k8s.io/api/core/v1.PersistentVolumeStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
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"),
7159 Dependencies: []string{
7160 "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "k8s.io/api/core/v1.PersistentVolumeClaimStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
7171 SchemaProps: spec.SchemaProps{
7172 Type: []string{"string"},
7177 SchemaProps: spec.SchemaProps{
7178 Type: []string{"string"},
7183 SchemaProps: spec.SchemaProps{
7184 Description: "Last time we probed the condition.",
7185 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
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"),
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"},
7202 SchemaProps: spec.SchemaProps{
7203 Description: "Human-readable message indicating details about last transition.",
7204 Type: []string{"string"},
7209 Required: []string{"type", "status"},
7212 Dependencies: []string{
7213 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"),
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"),
7257 Required: []string{"items"},
7260 Dependencies: []string{
7261 "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"),
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"),
7298 SchemaProps: spec.SchemaProps{
7299 Description: "VolumeName is the binding reference to the PersistentVolume backing this claim.",
7300 Type: []string{"string"},
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"},
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"},
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"),
7327 Dependencies: []string{
7328 "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
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{
7339 SchemaProps: spec.SchemaProps{
7340 Description: "Phase represents the current phase of PersistentVolumeClaim.",
7341 Type: []string{"string"},
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"},
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"),
7373 VendorExtensible: spec.VendorExtensible{
7374 Extensions: spec.Extensions{
7375 "x-kubernetes-patch-merge-key": "type",
7376 "x-kubernetes-patch-strategy": "merge",
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"),
7394 Dependencies: []string{
7395 "k8s.io/api/core/v1.PersistentVolumeClaimCondition", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"},
7413 SchemaProps: spec.SchemaProps{
7414 Description: "Will force the ReadOnly setting in VolumeMounts. Default false.",
7415 Type: []string{"boolean"},
7420 Required: []string{"claimName"},
7423 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
7467 Required: []string{"items"},
7470 Dependencies: []string{
7471 "k8s.io/api/core/v1.PersistentVolume", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
7596 SchemaProps: spec.SchemaProps{
7597 Description: "Local represents directly-attached storage with node affinity",
7598 Ref: ref("k8s.io/api/core/v1.LocalVolumeSource"),
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"),
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"),
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"},
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{
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
7755 SchemaProps: spec.SchemaProps{
7756 Description: "Local represents directly-attached storage with node affinity",
7757 Ref: ref("k8s.io/api/core/v1.LocalVolumeSource"),
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"),
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"),
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"},
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"),
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"},
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"},
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"},
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"},
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"),
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"},
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{
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"},
7855 SchemaProps: spec.SchemaProps{
7856 Description: "A human-readable message indicating details about why the volume is in this state.",
7857 Type: []string{"string"},
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"},
7871 Dependencies: []string{},
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{
7882 SchemaProps: spec.SchemaProps{
7883 Description: "ID that identifies Photon Controller persistent disk",
7884 Type: []string{"string"},
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"},
7896 Required: []string{"pdID"},
7899 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
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"),
7944 Dependencies: []string{
7945 "k8s.io/api/core/v1.PodSpec", "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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"),
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"),
7984 Dependencies: []string{
7985 "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
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{
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"),
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"},
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"},
8023 Required: []string{"topologyKey"},
8026 Dependencies: []string{
8027 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
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"),
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"),
8066 Dependencies: []string{
8067 "k8s.io/api/core/v1.PodAffinityTerm", "k8s.io/api/core/v1.WeightedPodAffinityTerm"},
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{
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"},
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"},
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"},
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"},
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"},
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"},
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"},
8129 Dependencies: []string{},
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{
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"},
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"},
8154 SchemaProps: spec.SchemaProps{
8155 Description: "Last time we probed the condition.",
8156 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
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"),
8166 SchemaProps: spec.SchemaProps{
8167 Description: "Unique, one-word, CamelCase reason for the condition's last transition.",
8168 Type: []string{"string"},
8173 SchemaProps: spec.SchemaProps{
8174 Description: "Human-readable message indicating details about last transition.",
8175 Type: []string{"string"},
8180 Required: []string{"type", "status"},
8183 Dependencies: []string{
8184 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"),
8238 Dependencies: []string{
8239 "k8s.io/api/core/v1.PodDNSConfigOption"},
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{
8250 SchemaProps: spec.SchemaProps{
8251 Description: "Required.",
8252 Type: []string{"string"},
8257 SchemaProps: spec.SchemaProps{
8258 Type: []string{"string"},
8265 Dependencies: []string{},
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{
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"},
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"},
8290 SchemaProps: spec.SchemaProps{
8291 Description: "Redirect the standard input stream of the pod for this call. Defaults to false.",
8292 Type: []string{"boolean"},
8297 SchemaProps: spec.SchemaProps{
8298 Description: "Redirect the standard output stream of the pod for this call. Defaults to true.",
8299 Type: []string{"boolean"},
8304 SchemaProps: spec.SchemaProps{
8305 Description: "Redirect the standard error stream of the pod for this call. Defaults to true.",
8306 Type: []string{"boolean"},
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"},
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"},
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"},
8339 Required: []string{"command"},
8342 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
8386 Required: []string{"items"},
8389 Dependencies: []string{
8390 "k8s.io/api/core/v1.Pod", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"},
8422 SchemaProps: spec.SchemaProps{
8423 Description: "Follow the log stream of the pod. Defaults to false.",
8424 Type: []string{"boolean"},
8429 SchemaProps: spec.SchemaProps{
8430 Description: "Return previous terminated container logs. Defaults to false.",
8431 Type: []string{"boolean"},
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"},
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"),
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"},
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"},
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"},
8472 Dependencies: []string{
8473 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"},
8514 Dependencies: []string{},
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{
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"},
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"},
8539 SchemaProps: spec.SchemaProps{
8540 Description: "Path is the URL path to use for the current proxy request to pod.",
8541 Type: []string{"string"},
8548 Dependencies: []string{},
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{
8559 SchemaProps: spec.SchemaProps{
8560 Description: "ConditionType refers to a condition in the pod's condition list with matching type.",
8561 Type: []string{"string"},
8566 Required: []string{"conditionType"},
8569 Dependencies: []string{},
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{
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"),
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"},
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"},
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"},
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"},
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"},
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"),
8643 Dependencies: []string{
8644 "k8s.io/api/core/v1.SELinuxOptions", "k8s.io/api/core/v1.Sysctl"},
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{
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"),
8663 Dependencies: []string{
8664 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"},
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{
8675 VendorExtensible: spec.VendorExtensible{
8676 Extensions: spec.Extensions{
8677 "x-kubernetes-patch-merge-key": "name",
8678 "x-kubernetes-patch-strategy": "merge,retainKeys",
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"),
8694 VendorExtensible: spec.VendorExtensible{
8695 Extensions: spec.Extensions{
8696 "x-kubernetes-patch-merge-key": "name",
8697 "x-kubernetes-patch-strategy": "merge",
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"),
8713 VendorExtensible: spec.VendorExtensible{
8714 Extensions: spec.Extensions{
8715 "x-kubernetes-patch-merge-key": "name",
8716 "x-kubernetes-patch-strategy": "merge",
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"),
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"},
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"},
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"},
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"},
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"},
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"},
8781 SchemaProps: spec.SchemaProps{
8782 Description: "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
8783 Type: []string{"string"},
8787 "automountServiceAccountToken": {
8788 SchemaProps: spec.SchemaProps{
8789 Description: "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.",
8790 Type: []string{"boolean"},
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"},
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"},
8809 SchemaProps: spec.SchemaProps{
8810 Description: "Use the host's pid namespace. Optional: Default to false.",
8811 Type: []string{"boolean"},
8816 SchemaProps: spec.SchemaProps{
8817 Description: "Use the host's ipc namespace. Optional: Default to false.",
8818 Type: []string{"boolean"},
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"},
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"),
8835 "imagePullSecrets": {
8836 VendorExtensible: spec.VendorExtensible{
8837 Extensions: spec.Extensions{
8838 "x-kubernetes-patch-merge-key": "name",
8839 "x-kubernetes-patch-strategy": "merge",
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"),
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"},
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"},
8869 SchemaProps: spec.SchemaProps{
8870 Description: "If specified, the pod's scheduling constraints",
8871 Ref: ref("k8s.io/api/core/v1.Affinity"),
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"},
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"),
8895 VendorExtensible: spec.VendorExtensible{
8896 Extensions: spec.Extensions{
8897 "x-kubernetes-patch-merge-key": "ip",
8898 "x-kubernetes-patch-strategy": "merge",
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"),
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"},
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"},
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"),
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"),
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"},
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"},
8961 Required: []string{"containers"},
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"},
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{
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"},
8983 VendorExtensible: spec.VendorExtensible{
8984 Extensions: spec.Extensions{
8985 "x-kubernetes-patch-merge-key": "type",
8986 "x-kubernetes-patch-strategy": "merge",
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"),
9002 SchemaProps: spec.SchemaProps{
9003 Description: "A human readable message indicating details about why the pod is in this condition.",
9004 Type: []string{"string"},
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"},
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"},
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"},
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"},
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"),
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"),
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"),
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"},
9078 Dependencies: []string{
9079 "k8s.io/api/core/v1.ContainerStatus", "k8s.io/api/core/v1.PodCondition", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"),
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"),
9118 Dependencies: []string{
9119 "k8s.io/api/core/v1.PodStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
9158 Dependencies: []string{
9159 "k8s.io/api/core/v1.PodTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
9203 Required: []string{"items"},
9206 Dependencies: []string{
9207 "k8s.io/api/core/v1.PodTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"),
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"),
9232 Dependencies: []string{
9233 "k8s.io/api/core/v1.PodSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
9244 SchemaProps: spec.SchemaProps{
9245 Description: "VolumeID uniquely identifies a Portworx volume",
9246 Type: []string{"string"},
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"},
9258 SchemaProps: spec.SchemaProps{
9259 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
9260 Type: []string{"boolean"},
9265 Required: []string{"volumeID"},
9268 Dependencies: []string{},
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{
9279 SchemaProps: spec.SchemaProps{
9280 Description: "The class of pods.",
9281 Ref: ref("k8s.io/api/core/v1.PodSignature"),
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"),
9291 SchemaProps: spec.SchemaProps{
9292 Description: "(brief) reason why this entry was added to the list.",
9293 Type: []string{"string"},
9298 SchemaProps: spec.SchemaProps{
9299 Description: "Human readable message indicating why this entry was added to the list.",
9300 Type: []string{"string"},
9305 Required: []string{"podSignature"},
9308 Dependencies: []string{
9309 "k8s.io/api/core/v1.PodSignature", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
9320 SchemaProps: spec.SchemaProps{
9321 Description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
9322 Type: []string{"integer"},
9327 SchemaProps: spec.SchemaProps{
9328 Description: "A node selector term, associated with the corresponding weight.",
9329 Ref: ref("k8s.io/api/core/v1.NodeSelectorTerm"),
9333 Required: []string{"weight", "preference"},
9336 Dependencies: []string{
9337 "k8s.io/api/core/v1.NodeSelectorTerm"},
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{
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"),
9354 SchemaProps: spec.SchemaProps{
9355 Description: "HTTPGet specifies the http request to perform.",
9356 Ref: ref("k8s.io/api/core/v1.HTTPGetAction"),
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"),
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"},
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"},
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"},
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"},
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"},
9403 Dependencies: []string{
9404 "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"},
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{
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"),
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"},
9435 Required: []string{"sources"},
9438 Dependencies: []string{
9439 "k8s.io/api/core/v1.VolumeProjection"},
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{
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"},
9457 SchemaProps: spec.SchemaProps{
9458 Description: "Volume is a string that references an already created Quobyte volume by name.",
9459 Type: []string{"string"},
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"},
9471 SchemaProps: spec.SchemaProps{
9472 Description: "User to map volume access to Defaults to serivceaccount user",
9473 Type: []string{"string"},
9478 SchemaProps: spec.SchemaProps{
9479 Description: "Group to map volume access to Default is no group",
9480 Type: []string{"string"},
9485 Required: []string{"registry", "volume"},
9488 Dependencies: []string{},
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{
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"},
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"},
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"},
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"},
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"},
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"},
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"),
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"},
9561 Required: []string{"monitors", "image"},
9564 Dependencies: []string{
9565 "k8s.io/api/core/v1.SecretReference"},
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{
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"},
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"},
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"},
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"},
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"},
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"},
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"),
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"},
9638 Required: []string{"monitors", "image"},
9641 Dependencies: []string{
9642 "k8s.io/api/core/v1.LocalObjectReference"},
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{
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"},
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"},
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"),
9673 SchemaProps: spec.SchemaProps{
9674 Description: "Range is string that identifies the range represented by 'data'.",
9675 Type: []string{"string"},
9680 SchemaProps: spec.SchemaProps{
9681 Description: "Data is a bit array containing all allocated addresses in the previous segment.",
9682 Type: []string{"string"},
9687 Required: []string{"range", "data"},
9690 Dependencies: []string{
9691 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
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"),
9736 Dependencies: []string{
9737 "k8s.io/api/core/v1.ReplicationControllerSpec", "k8s.io/api/core/v1.ReplicationControllerStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
9748 SchemaProps: spec.SchemaProps{
9749 Description: "Type of replication controller condition.",
9750 Type: []string{"string"},
9755 SchemaProps: spec.SchemaProps{
9756 Description: "Status of the condition, one of True, False, Unknown.",
9757 Type: []string{"string"},
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"),
9768 SchemaProps: spec.SchemaProps{
9769 Description: "The reason for the condition's last transition.",
9770 Type: []string{"string"},
9775 SchemaProps: spec.SchemaProps{
9776 Description: "A human readable message indicating details about the transition.",
9777 Type: []string{"string"},
9782 Required: []string{"type", "status"},
9785 Dependencies: []string{
9786 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"),
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"),
9830 Required: []string{"items"},
9833 Dependencies: []string{
9834 "k8s.io/api/core/v1.ReplicationController", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"},
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"),
9881 Dependencies: []string{
9882 "k8s.io/api/core/v1.PodTemplateSpec"},
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{
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"},
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"},
9907 SchemaProps: spec.SchemaProps{
9908 Description: "The number of ready replicas for this replication controller.",
9909 Type: []string{"integer"},
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"},
9920 "observedGeneration": {
9921 SchemaProps: spec.SchemaProps{
9922 Description: "ObservedGeneration reflects the generation of the most recently observed replication controller.",
9923 Type: []string{"integer"},
9928 VendorExtensible: spec.VendorExtensible{
9929 Extensions: spec.Extensions{
9930 "x-kubernetes-patch-merge-key": "type",
9931 "x-kubernetes-patch-strategy": "merge",
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"),
9947 Required: []string{"replicas"},
9950 Dependencies: []string{
9951 "k8s.io/api/core/v1.ReplicationControllerCondition"},
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{
9962 SchemaProps: spec.SchemaProps{
9963 Description: "Container name: required for volumes, optional for env vars",
9964 Type: []string{"string"},
9969 SchemaProps: spec.SchemaProps{
9970 Description: "Required: resource to select",
9971 Type: []string{"string"},
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"),
9982 Required: []string{"resource"},
9985 Dependencies: []string{
9986 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"},
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"},
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"),
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"),
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"),
10031 Dependencies: []string{
10032 "k8s.io/api/core/v1.ResourceQuotaSpec", "k8s.io/api/core/v1.ResourceQuotaStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
10076 Required: []string{"items"},
10079 Dependencies: []string{
10080 "k8s.io/api/core/v1.ResourceQuota", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"),
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"},
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"),
10126 Dependencies: []string{
10127 "k8s.io/api/core/v1.ScopeSelector", "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"),
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"),
10166 Dependencies: []string{
10167 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
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"),
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"),
10206 Dependencies: []string{
10207 "k8s.io/apimachinery/pkg/api/resource.Quantity"},
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{
10218 SchemaProps: spec.SchemaProps{
10219 Description: "User is a SELinux user label that applies to the container.",
10220 Type: []string{"string"},
10225 SchemaProps: spec.SchemaProps{
10226 Description: "Role is a SELinux role label that applies to the container.",
10227 Type: []string{"string"},
10232 SchemaProps: spec.SchemaProps{
10233 Description: "Type is a SELinux type label that applies to the container.",
10234 Type: []string{"string"},
10239 SchemaProps: spec.SchemaProps{
10240 Description: "Level is SELinux level label that applies to the container.",
10241 Type: []string{"string"},
10248 Dependencies: []string{},
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{
10259 SchemaProps: spec.SchemaProps{
10260 Description: "The host address of the ScaleIO API Gateway.",
10261 Type: []string{"string"},
10266 SchemaProps: spec.SchemaProps{
10267 Description: "The name of the storage system as configured in ScaleIO.",
10268 Type: []string{"string"},
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"),
10279 SchemaProps: spec.SchemaProps{
10280 Description: "Flag to enable/disable SSL communication with Gateway, default false",
10281 Type: []string{"boolean"},
10285 "protectionDomain": {
10286 SchemaProps: spec.SchemaProps{
10287 Description: "The name of the ScaleIO Protection Domain for the configured storage.",
10288 Type: []string{"string"},
10293 SchemaProps: spec.SchemaProps{
10294 Description: "The ScaleIO Storage Pool associated with the protection domain.",
10295 Type: []string{"string"},
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"},
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"},
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"},
10321 SchemaProps: spec.SchemaProps{
10322 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
10323 Type: []string{"boolean"},
10328 Required: []string{"gateway", "system", "secretRef"},
10331 Dependencies: []string{
10332 "k8s.io/api/core/v1.SecretReference"},
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{
10343 SchemaProps: spec.SchemaProps{
10344 Description: "The host address of the ScaleIO API Gateway.",
10345 Type: []string{"string"},
10350 SchemaProps: spec.SchemaProps{
10351 Description: "The name of the storage system as configured in ScaleIO.",
10352 Type: []string{"string"},
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"),
10363 SchemaProps: spec.SchemaProps{
10364 Description: "Flag to enable/disable SSL communication with Gateway, default false",
10365 Type: []string{"boolean"},
10369 "protectionDomain": {
10370 SchemaProps: spec.SchemaProps{
10371 Description: "The name of the ScaleIO Protection Domain for the configured storage.",
10372 Type: []string{"string"},
10377 SchemaProps: spec.SchemaProps{
10378 Description: "The ScaleIO Storage Pool associated with the protection domain.",
10379 Type: []string{"string"},
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"},
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"},
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"},
10405 SchemaProps: spec.SchemaProps{
10406 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
10407 Type: []string{"boolean"},
10412 Required: []string{"gateway", "system", "secretRef"},
10415 Dependencies: []string{
10416 "k8s.io/api/core/v1.LocalObjectReference"},
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"),
10442 Dependencies: []string{
10443 "k8s.io/api/core/v1.ScopedResourceSelectorRequirement"},
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{
10454 SchemaProps: spec.SchemaProps{
10455 Description: "The name of the scope that the selector applies to.",
10456 Type: []string{"string"},
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"},
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"},
10482 Required: []string{"scopeName", "operator"},
10485 Dependencies: []string{},
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{
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"},
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"},
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"),
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"},
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"},
10544 SchemaProps: spec.SchemaProps{
10545 Description: "Used to facilitate programmatic handling of secret data.",
10546 Type: []string{"string"},
10553 Dependencies: []string{
10554 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
10572 SchemaProps: spec.SchemaProps{
10573 Description: "Specify whether the Secret must be defined",
10574 Type: []string{"boolean"},
10581 Dependencies: []string{},
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{
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"},
10599 SchemaProps: spec.SchemaProps{
10600 Description: "The key of the secret to select from. Must be a valid secret key.",
10601 Type: []string{"string"},
10606 SchemaProps: spec.SchemaProps{
10607 Description: "Specify whether the Secret or it's key must be defined",
10608 Type: []string{"boolean"},
10613 Required: []string{"key"},
10616 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
10660 Required: []string{"items"},
10663 Dependencies: []string{
10664 "k8s.io/api/core/v1.Secret", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"),
10695 SchemaProps: spec.SchemaProps{
10696 Description: "Specify whether the Secret or its key must be defined",
10697 Type: []string{"boolean"},
10704 Dependencies: []string{
10705 "k8s.io/api/core/v1.KeyToPath"},
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{
10716 SchemaProps: spec.SchemaProps{
10717 Description: "Name is unique within a namespace to reference a secret resource.",
10718 Type: []string{"string"},
10723 SchemaProps: spec.SchemaProps{
10724 Description: "Namespace defines the space within which the secret name must be unique.",
10725 Type: []string{"string"},
10732 Dependencies: []string{},
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{
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"},
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"),
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"},
10770 SchemaProps: spec.SchemaProps{
10771 Description: "Specify whether the Secret or it's keys must be defined",
10772 Type: []string{"boolean"},
10779 Dependencies: []string{
10780 "k8s.io/api/core/v1.KeyToPath"},
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{
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"),
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"},
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"),
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"},
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"},
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"},
10830 "readOnlyRootFilesystem": {
10831 SchemaProps: spec.SchemaProps{
10832 Description: "Whether this container has a read-only root filesystem. Default is false.",
10833 Type: []string{"boolean"},
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"},
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"},
10854 Dependencies: []string{
10855 "k8s.io/api/core/v1.Capabilities", "k8s.io/api/core/v1.SELinuxOptions"},
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{
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"},
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"},
10880 SchemaProps: spec.SchemaProps{
10881 Description: "The reference to an object in the system.",
10882 Ref: ref("k8s.io/api/core/v1.ObjectReference"),
10888 Dependencies: []string{
10889 "k8s.io/api/core/v1.ObjectReference"},
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{
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"},
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"},
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"),
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"),
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"),
10934 Dependencies: []string{
10935 "k8s.io/api/core/v1.ServiceSpec", "k8s.io/api/core/v1.ServiceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
10966 VendorExtensible: spec.VendorExtensible{
10967 Extensions: spec.Extensions{
10968 "x-kubernetes-patch-merge-key": "name",
10969 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
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"},
11007 Dependencies: []string{
11008 "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.ObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
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{
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"},
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"},
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"),
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"),
11052 Required: []string{"items"},
11055 Dependencies: []string{
11056 "k8s.io/api/core/v1.ServiceAccount", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
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"},
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"},
11088 Required: []string{"path"},
11091 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
11135 Required: []string{"items"},
11138 Dependencies: []string{
11139 "k8s.io/api/core/v1.Service", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
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{
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"},
11157 SchemaProps: spec.SchemaProps{
11158 Description: "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.",
11159 Type: []string{"string"},
11164 SchemaProps: spec.SchemaProps{
11165 Description: "The port that will be exposed by this service.",
11166 Type: []string{"integer"},
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"),
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"},
11184 Required: []string{"port"},
11187 Dependencies: []string{
11188 "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
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{
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"},
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"},
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"},
11222 Dependencies: []string{},
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{
11233 VendorExtensible: spec.VendorExtensible{
11234 Extensions: spec.Extensions{
11235 "x-kubernetes-patch-merge-key": "port",
11236 "x-kubernetes-patch-strategy": "merge",
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"),
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"},
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"},
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"},
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"},
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"},
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"},
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"},
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"},
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"},
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"},
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"},
11349 "sessionAffinityConfig": {
11350 SchemaProps: spec.SchemaProps{
11351 Description: "sessionAffinityConfig contains the configurations of session affinity.",
11352 Ref: ref("k8s.io/api/core/v1.SessionAffinityConfig"),
11358 Dependencies: []string{
11359 "k8s.io/api/core/v1.ServicePort", "k8s.io/api/core/v1.SessionAffinityConfig"},
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{
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"),
11378 Dependencies: []string{
11379 "k8s.io/api/core/v1.LoadBalancerStatus"},
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{
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"),
11398 Dependencies: []string{
11399 "k8s.io/api/core/v1.ClientIPConfig"},
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{
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"},
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"},
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"},
11431 SchemaProps: spec.SchemaProps{
11432 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11433 Type: []string{"boolean"},
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"),
11446 Dependencies: []string{
11447 "k8s.io/api/core/v1.ObjectReference"},
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{
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"},
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"},
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"},
11479 SchemaProps: spec.SchemaProps{
11480 Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
11481 Type: []string{"boolean"},
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"),
11494 Dependencies: []string{
11495 "k8s.io/api/core/v1.LocalObjectReference"},
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{
11506 SchemaProps: spec.SchemaProps{
11507 Description: "Name of a property to set",
11508 Type: []string{"string"},
11513 SchemaProps: spec.SchemaProps{
11514 Description: "Value of a property to set",
11515 Type: []string{"string"},
11520 Required: []string{"name", "value"},
11523 Dependencies: []string{},
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{
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"),
11540 SchemaProps: spec.SchemaProps{
11541 Description: "Optional: Host name to connect to, defaults to the pod IP.",
11542 Type: []string{"string"},
11547 Required: []string{"port"},
11550 Dependencies: []string{
11551 "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
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{
11562 SchemaProps: spec.SchemaProps{
11563 Description: "Required. The taint key to be applied to a node.",
11564 Type: []string{"string"},
11569 SchemaProps: spec.SchemaProps{
11570 Description: "Required. The taint value corresponding to the taint key.",
11571 Type: []string{"string"},
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"},
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"),
11589 Required: []string{"key", "effect"},
11592 Dependencies: []string{
11593 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
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{
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"},
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"},
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"},
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"},
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"},
11641 Dependencies: []string{},
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{
11652 SchemaProps: spec.SchemaProps{
11653 Description: "The label key that the selector applies to.",
11654 Type: []string{"string"},
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"},
11673 Required: []string{"key", "values"},
11676 Dependencies: []string{},
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"),
11702 Dependencies: []string{
11703 "k8s.io/api/core/v1.TopologySelectorLabelRequirement"},
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{
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"},
11721 SchemaProps: spec.SchemaProps{
11722 Description: "Kind is the type of resource being referenced",
11723 Type: []string{"string"},
11728 SchemaProps: spec.SchemaProps{
11729 Description: "Name is the name of resource being referenced",
11730 Type: []string{"string"},
11735 Required: []string{"kind", "name"},
11738 Dependencies: []string{},
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{
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"},
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
11864 SchemaProps: spec.SchemaProps{
11865 Description: "ConfigMap represents a configMap that should populate this volume",
11866 Ref: ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
11918 Required: []string{"name"},
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"},
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{
11933 SchemaProps: spec.SchemaProps{
11934 Description: "name must match the name of a persistentVolumeClaim in the pod",
11935 Type: []string{"string"},
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"},
11947 Required: []string{"name", "devicePath"},
11950 Dependencies: []string{},
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{
11961 SchemaProps: spec.SchemaProps{
11962 Description: "This must match the Name of a Volume.",
11963 Type: []string{"string"},
11968 SchemaProps: spec.SchemaProps{
11969 Description: "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
11970 Type: []string{"boolean"},
11975 SchemaProps: spec.SchemaProps{
11976 Description: "Path within the container at which the volume should be mounted. Must not contain ':'.",
11977 Type: []string{"string"},
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"},
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"},
11996 Required: []string{"name", "mountPath"},
11999 Dependencies: []string{},
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{
12010 SchemaProps: spec.SchemaProps{
12011 Description: "Required specifies hard node constraints that must be met.",
12012 Ref: ref("k8s.io/api/core/v1.NodeSelector"),
12018 Dependencies: []string{
12019 "k8s.io/api/core/v1.NodeSelector"},
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{
12030 SchemaProps: spec.SchemaProps{
12031 Description: "information about the secret data to project",
12032 Ref: ref("k8s.io/api/core/v1.SecretProjection"),
12036 SchemaProps: spec.SchemaProps{
12037 Description: "information about the downwardAPI data to project",
12038 Ref: ref("k8s.io/api/core/v1.DownwardAPIProjection"),
12042 SchemaProps: spec.SchemaProps{
12043 Description: "information about the configMap data to project",
12044 Ref: ref("k8s.io/api/core/v1.ConfigMapProjection"),
12047 "serviceAccountToken": {
12048 SchemaProps: spec.SchemaProps{
12049 Description: "information about the serviceAccountToken data to project",
12050 Ref: ref("k8s.io/api/core/v1.ServiceAccountTokenProjection"),
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"},
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{
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
12176 SchemaProps: spec.SchemaProps{
12177 Description: "ConfigMap represents a configMap that should populate this volume",
12178 Ref: ref("k8s.io/api/core/v1.ConfigMapVolumeSource"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"),
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"},
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{
12244 SchemaProps: spec.SchemaProps{
12245 Description: "Path that identifies vSphere volume vmdk",
12246 Type: []string{"string"},
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"},
12257 "storagePolicyName": {
12258 SchemaProps: spec.SchemaProps{
12259 Description: "Storage Policy Based Management (SPBM) profile name.",
12260 Type: []string{"string"},
12264 "storagePolicyID": {
12265 SchemaProps: spec.SchemaProps{
12266 Description: "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
12267 Type: []string{"string"},
12272 Required: []string{"volumePath"},
12275 Dependencies: []string{},
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{
12286 SchemaProps: spec.SchemaProps{
12287 Description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
12288 Type: []string{"integer"},
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"),
12299 Required: []string{"weight", "podAffinityTerm"},
12302 Dependencies: []string{
12303 "k8s.io/api/core/v1.PodAffinityTerm"},
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{
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"},
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"},
12328 SchemaProps: spec.SchemaProps{
12329 Description: "name is the name of the group.",
12330 Type: []string{"string"},
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"),
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"),
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"),
12367 Required: []string{"name", "versions"},
12370 Dependencies: []string{
12371 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
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{
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"},
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"},
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"),
12409 Required: []string{"groups"},
12412 Dependencies: []string{
12413 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"},
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{
12424 SchemaProps: spec.SchemaProps{
12425 Description: "name is the plural name of the resource.",
12426 Type: []string{"string"},
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"},
12438 SchemaProps: spec.SchemaProps{
12439 Description: "namespaced indicates if a resource is namespaced or not.",
12440 Type: []string{"boolean"},
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"},
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"},
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"},
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"},
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"},
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"},
12508 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"},
12511 Dependencies: []string{},
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{
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"},
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"},
12536 SchemaProps: spec.SchemaProps{
12537 Description: "groupVersion is the group and version this APIResourceList is for.",
12538 Type: []string{"string"},
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"),
12556 Required: []string{"groupVersion", "resources"},
12559 Dependencies: []string{
12560 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"},
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{
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"},
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"},
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"},
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"),
12612 Required: []string{"versions", "serverAddressByClientCIDRs"},
12615 Dependencies: []string{
12616 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
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{
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"},
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"},
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"},
12654 "includeUninitialized": {
12655 SchemaProps: spec.SchemaProps{
12656 Description: "If IncludeUninitialized is specified, the object may be returned without completing initialization.",
12657 Type: []string{"boolean"},
12664 Dependencies: []string{},
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{
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"},
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"},
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"},
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"),
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"},
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"},
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"},
12732 Dependencies: []string{
12733 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"},
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{
12744 SchemaProps: spec.SchemaProps{
12745 Type: []string{"integer"},
12750 Required: []string{"Duration"},
12753 Dependencies: []string{},
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{
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"},
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"},
12778 SchemaProps: spec.SchemaProps{
12779 Description: "Should this value be exported. Export strips fields that a user can not specify.",
12780 Type: []string{"boolean"},
12785 SchemaProps: spec.SchemaProps{
12786 Description: "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.",
12787 Type: []string{"boolean"},
12792 Required: []string{"export", "exact"},
12795 Dependencies: []string{},
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{
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"},
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"},
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"},
12826 "includeUninitialized": {
12827 SchemaProps: spec.SchemaProps{
12828 Description: "If true, partially initialized resources are included in the response.",
12829 Type: []string{"boolean"},
12836 Dependencies: []string{},
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{
12847 SchemaProps: spec.SchemaProps{
12848 Type: []string{"string"},
12853 SchemaProps: spec.SchemaProps{
12854 Type: []string{"string"},
12859 Required: []string{"group", "kind"},
12862 Dependencies: []string{},
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{
12873 SchemaProps: spec.SchemaProps{
12874 Type: []string{"string"},
12879 SchemaProps: spec.SchemaProps{
12880 Type: []string{"string"},
12885 Required: []string{"group", "resource"},
12888 Dependencies: []string{},
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{
12899 SchemaProps: spec.SchemaProps{
12900 Type: []string{"string"},
12905 SchemaProps: spec.SchemaProps{
12906 Type: []string{"string"},
12911 Required: []string{"group", "version"},
12914 Dependencies: []string{},
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{
12925 SchemaProps: spec.SchemaProps{
12926 Description: "groupVersion specifies the API group and version in the form \"group/version\"",
12927 Type: []string{"string"},
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"},
12939 Required: []string{"groupVersion", "version"},
12942 Dependencies: []string{},
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{
12953 SchemaProps: spec.SchemaProps{
12954 Type: []string{"string"},
12959 SchemaProps: spec.SchemaProps{
12960 Type: []string{"string"},
12965 SchemaProps: spec.SchemaProps{
12966 Type: []string{"string"},
12971 Required: []string{"group", "version", "kind"},
12974 Dependencies: []string{},
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{
12985 SchemaProps: spec.SchemaProps{
12986 Type: []string{"string"},
12991 SchemaProps: spec.SchemaProps{
12992 Type: []string{"string"},
12997 SchemaProps: spec.SchemaProps{
12998 Type: []string{"string"},
13003 Required: []string{"group", "version", "resource"},
13006 Dependencies: []string{},
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{
13017 SchemaProps: spec.SchemaProps{
13018 Description: "name of the process that is responsible for initializing this object.",
13019 Type: []string{"string"},
13024 Required: []string{"name"},
13027 Dependencies: []string{},
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{
13038 VendorExtensible: spec.VendorExtensible{
13039 Extensions: spec.Extensions{
13040 "x-kubernetes-patch-merge-key": "name",
13041 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
13063 Required: []string{"pending"},
13066 Dependencies: []string{
13067 "k8s.io/apimachinery/pkg/apis/meta/v1.Initializer", "k8s.io/apimachinery/pkg/apis/meta/v1.Status"},
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{
13078 SchemaProps: spec.SchemaProps{
13079 Type: []string{"string"},
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"),
13090 Required: []string{"Type", "Object"},
13093 Dependencies: []string{
13094 "k8s.io/apimachinery/pkg/runtime.Object"},
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{
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"},
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"),
13134 Dependencies: []string{
13135 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"},
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{
13146 VendorExtensible: spec.VendorExtensible{
13147 Extensions: spec.Extensions{
13148 "x-kubernetes-patch-merge-key": "key",
13149 "x-kubernetes-patch-strategy": "merge",
13152 SchemaProps: spec.SchemaProps{
13153 Description: "key is the label key that the selector applies to.",
13154 Type: []string{"string"},
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"},
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"},
13180 Required: []string{"key", "operator"},
13183 Dependencies: []string{},
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{
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"},
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"},
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"),
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"),
13227 Required: []string{"items"},
13230 Dependencies: []string{
13231 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
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{
13242 SchemaProps: spec.SchemaProps{
13243 Description: "selfLink is a URL representing this object. Populated by the system. Read-only.",
13244 Type: []string{"string"},
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"},
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"},
13265 Dependencies: []string{},
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{
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"},
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"},
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"},
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"},
13303 "includeUninitialized": {
13304 SchemaProps: spec.SchemaProps{
13305 Description: "If true, partially initialized resources are included in the response.",
13306 Type: []string{"boolean"},
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"},
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"},
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"},
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"},
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"},
13348 Dependencies: []string{},
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(),
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{
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"},
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"},
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"},
13392 SchemaProps: spec.SchemaProps{
13393 Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.",
13394 Type: []string{"string"},
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"},
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"},
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"},
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"),
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"),
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"},
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"},
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"},
13466 "ownerReferences": {
13467 VendorExtensible: spec.VendorExtensible{
13468 Extensions: spec.Extensions{
13469 "x-kubernetes-patch-merge-key": "uid",
13470 "x-kubernetes-patch-strategy": "merge",
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"),
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"),
13492 VendorExtensible: spec.VendorExtensible{
13493 Extensions: spec.Extensions{
13494 "x-kubernetes-patch-strategy": "merge",
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"},
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"},
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"},
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{
13532 SchemaProps: spec.SchemaProps{
13533 Description: "API version of the referent.",
13534 Type: []string{"string"},
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"},
13546 SchemaProps: spec.SchemaProps{
13547 Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
13548 Type: []string{"string"},
13553 SchemaProps: spec.SchemaProps{
13554 Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
13555 Type: []string{"string"},
13560 SchemaProps: spec.SchemaProps{
13561 Description: "If true, this reference points to the managing controller.",
13562 Type: []string{"boolean"},
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"},
13574 Required: []string{"apiVersion", "kind", "name", "uid"},
13577 Dependencies: []string{},
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{},
13589 Dependencies: []string{},
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{
13600 SchemaProps: spec.SchemaProps{
13601 Description: "Specifies the target UID.",
13602 Type: []string{"string"},
13609 Dependencies: []string{},
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{
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"},
13634 Required: []string{"paths"},
13637 Dependencies: []string{},
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{
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"},
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"},
13662 Required: []string{"clientCIDR", "serverAddress"},
13665 Dependencies: []string{},
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{
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"},
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"},
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"),
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"},
13703 SchemaProps: spec.SchemaProps{
13704 Description: "A human-readable description of the status of this operation.",
13705 Type: []string{"string"},
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"},
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"),
13723 SchemaProps: spec.SchemaProps{
13724 Description: "Suggested HTTP return code for this status, 0 if not set.",
13725 Type: []string{"integer"},
13732 Dependencies: []string{
13733 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"},
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{
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"},
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"},
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"},
13767 Dependencies: []string{},
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{
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"},
13785 SchemaProps: spec.SchemaProps{
13786 Description: "The group attribute of the resource associated with the status StatusReason.",
13787 Type: []string{"string"},
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"},
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"},
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"),
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"},
13828 Dependencies: []string{
13829 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"},
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(),
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{
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"},
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"},
13866 Required: []string{"seconds", "nanos"},
13869 Dependencies: []string{},
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{
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"},
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"},
13896 Dependencies: []string{},
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{
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"},
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"},
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"},
13937 Dependencies: []string{},
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{
13948 SchemaProps: spec.SchemaProps{
13949 Type: []string{"string"},
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"),
13960 Required: []string{"type", "object"},
13963 Dependencies: []string{
13964 "k8s.io/apimachinery/pkg/runtime.RawExtension"},