github.com/operator-framework/operator-lifecycle-manager@v0.30.0/pkg/package-server/client/openapi/zz_generated.openapi.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright Red Hat, Inc. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by openapi-gen. DO NOT EDIT. 21 22 package openapi 23 24 import ( 25 version "github.com/operator-framework/api/pkg/lib/version" 26 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 27 common "k8s.io/kube-openapi/pkg/common" 28 spec "k8s.io/kube-openapi/pkg/validation/spec" 29 ) 30 31 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { 32 return map[string]common.OpenAPIDefinition{ 33 "github.com/operator-framework/api/pkg/lib/version.OperatorVersion": schema_api_pkg_lib_version_OperatorVersion(ref), 34 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIResourceReference": schema_api_pkg_operators_v1alpha1_APIResourceReference(ref), 35 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDefinitions": schema_api_pkg_operators_v1alpha1_APIServiceDefinitions(ref), 36 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDescription": schema_api_pkg_operators_v1alpha1_APIServiceDescription(ref), 37 "github.com/operator-framework/api/pkg/operators/v1alpha1.ActionDescriptor": schema_api_pkg_operators_v1alpha1_ActionDescriptor(ref), 38 "github.com/operator-framework/api/pkg/operators/v1alpha1.AppLink": schema_api_pkg_operators_v1alpha1_AppLink(ref), 39 "github.com/operator-framework/api/pkg/operators/v1alpha1.CRDDescription": schema_api_pkg_operators_v1alpha1_CRDDescription(ref), 40 "github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupSpec": schema_api_pkg_operators_v1alpha1_CleanupSpec(ref), 41 "github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupStatus": schema_api_pkg_operators_v1alpha1_CleanupStatus(ref), 42 "github.com/operator-framework/api/pkg/operators/v1alpha1.ClusterServiceVersionCondition": schema_api_pkg_operators_v1alpha1_ClusterServiceVersionCondition(ref), 43 "github.com/operator-framework/api/pkg/operators/v1alpha1.ClusterServiceVersionSpec": schema_api_pkg_operators_v1alpha1_ClusterServiceVersionSpec(ref), 44 "github.com/operator-framework/api/pkg/operators/v1alpha1.ClusterServiceVersionStatus": schema_api_pkg_operators_v1alpha1_ClusterServiceVersionStatus(ref), 45 "github.com/operator-framework/api/pkg/operators/v1alpha1.CustomResourceDefinitions": schema_api_pkg_operators_v1alpha1_CustomResourceDefinitions(ref), 46 "github.com/operator-framework/api/pkg/operators/v1alpha1.DependentStatus": schema_api_pkg_operators_v1alpha1_DependentStatus(ref), 47 "github.com/operator-framework/api/pkg/operators/v1alpha1.Icon": schema_api_pkg_operators_v1alpha1_Icon(ref), 48 "github.com/operator-framework/api/pkg/operators/v1alpha1.InstallMode": schema_api_pkg_operators_v1alpha1_InstallMode(ref), 49 "github.com/operator-framework/api/pkg/operators/v1alpha1.Maintainer": schema_api_pkg_operators_v1alpha1_Maintainer(ref), 50 "github.com/operator-framework/api/pkg/operators/v1alpha1.NamedInstallStrategy": schema_api_pkg_operators_v1alpha1_NamedInstallStrategy(ref), 51 "github.com/operator-framework/api/pkg/operators/v1alpha1.RelatedImage": schema_api_pkg_operators_v1alpha1_RelatedImage(ref), 52 "github.com/operator-framework/api/pkg/operators/v1alpha1.RequirementStatus": schema_api_pkg_operators_v1alpha1_RequirementStatus(ref), 53 "github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceInstance": schema_api_pkg_operators_v1alpha1_ResourceInstance(ref), 54 "github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceList": schema_api_pkg_operators_v1alpha1_ResourceList(ref), 55 "github.com/operator-framework/api/pkg/operators/v1alpha1.SpecDescriptor": schema_api_pkg_operators_v1alpha1_SpecDescriptor(ref), 56 "github.com/operator-framework/api/pkg/operators/v1alpha1.StatusDescriptor": schema_api_pkg_operators_v1alpha1_StatusDescriptor(ref), 57 "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentPermissions": schema_api_pkg_operators_v1alpha1_StrategyDeploymentPermissions(ref), 58 "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentSpec": schema_api_pkg_operators_v1alpha1_StrategyDeploymentSpec(ref), 59 "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDetailsDeployment": schema_api_pkg_operators_v1alpha1_StrategyDetailsDeployment(ref), 60 "github.com/operator-framework/api/pkg/operators/v1alpha1.WebhookDescription": schema_api_pkg_operators_v1alpha1_WebhookDescription(ref), 61 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink": schema_package_server_apis_operators_v1_AppLink(ref), 62 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.CSVDescription": schema_package_server_apis_operators_v1_CSVDescription(ref), 63 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.ChannelEntry": schema_package_server_apis_operators_v1_ChannelEntry(ref), 64 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation": schema_package_server_apis_operators_v1_Deprecation(ref), 65 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Icon": schema_package_server_apis_operators_v1_Icon(ref), 66 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Maintainer": schema_package_server_apis_operators_v1_Maintainer(ref), 67 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageChannel": schema_package_server_apis_operators_v1_PackageChannel(ref), 68 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifest": schema_package_server_apis_operators_v1_PackageManifest(ref), 69 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestList": schema_package_server_apis_operators_v1_PackageManifestList(ref), 70 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestSpec": schema_package_server_apis_operators_v1_PackageManifestSpec(ref), 71 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestStatus": schema_package_server_apis_operators_v1_PackageManifestStatus(ref), 72 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), 73 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), 74 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), 75 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), 76 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), 77 "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), 78 "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), 79 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), 80 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), 81 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), 82 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldSelectorRequirement": schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref), 83 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), 84 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), 85 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), 86 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), 87 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), 88 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), 89 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), 90 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), 91 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), 92 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), 93 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), 94 "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), 95 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), 96 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), 97 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), 98 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), 99 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), 100 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), 101 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), 102 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), 103 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), 104 "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), 105 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), 106 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), 107 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), 108 "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), 109 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), 110 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), 111 "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), 112 "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), 113 "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), 114 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), 115 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), 116 "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), 117 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), 118 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), 119 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), 120 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), 121 "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), 122 "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), 123 "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), 124 "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), 125 } 126 } 127 128 func schema_api_pkg_lib_version_OperatorVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { 129 return common.OpenAPIDefinition{ 130 Schema: spec.Schema{ 131 SchemaProps: spec.SchemaProps{ 132 Description: "OperatorVersion is a wrapper around semver.Version which supports correct marshaling to YAML and JSON.", 133 Type: version.OperatorVersion{}.OpenAPISchemaType(), 134 Format: version.OperatorVersion{}.OpenAPISchemaFormat(), 135 }, 136 }, 137 } 138 } 139 140 func schema_api_pkg_operators_v1alpha1_APIResourceReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 141 return common.OpenAPIDefinition{ 142 Schema: spec.Schema{ 143 SchemaProps: spec.SchemaProps{ 144 Description: "APIResourceReference is a reference to a Kubernetes resource type that the referrer utilizes.", 145 Type: []string{"object"}, 146 Properties: map[string]spec.Schema{ 147 "name": { 148 SchemaProps: spec.SchemaProps{ 149 Description: "Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.", 150 Default: "", 151 Type: []string{"string"}, 152 Format: "", 153 }, 154 }, 155 "kind": { 156 SchemaProps: spec.SchemaProps{ 157 Description: "Kind of the referenced resource type.", 158 Default: "", 159 Type: []string{"string"}, 160 Format: "", 161 }, 162 }, 163 "version": { 164 SchemaProps: spec.SchemaProps{ 165 Description: "API Version of the referenced resource type.", 166 Default: "", 167 Type: []string{"string"}, 168 Format: "", 169 }, 170 }, 171 }, 172 Required: []string{"name", "kind", "version"}, 173 }, 174 }, 175 } 176 } 177 178 func schema_api_pkg_operators_v1alpha1_APIServiceDefinitions(ref common.ReferenceCallback) common.OpenAPIDefinition { 179 return common.OpenAPIDefinition{ 180 Schema: spec.Schema{ 181 SchemaProps: spec.SchemaProps{ 182 Description: "APIServiceDefinitions declares all of the extension apis managed or required by an operator being ran by ClusterServiceVersion.", 183 Type: []string{"object"}, 184 Properties: map[string]spec.Schema{ 185 "owned": { 186 SchemaProps: spec.SchemaProps{ 187 Type: []string{"array"}, 188 Items: &spec.SchemaOrArray{ 189 Schema: &spec.Schema{ 190 SchemaProps: spec.SchemaProps{ 191 Default: map[string]interface{}{}, 192 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDescription"), 193 }, 194 }, 195 }, 196 }, 197 }, 198 "required": { 199 SchemaProps: spec.SchemaProps{ 200 Type: []string{"array"}, 201 Items: &spec.SchemaOrArray{ 202 Schema: &spec.Schema{ 203 SchemaProps: spec.SchemaProps{ 204 Default: map[string]interface{}{}, 205 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDescription"), 206 }, 207 }, 208 }, 209 }, 210 }, 211 }, 212 }, 213 }, 214 Dependencies: []string{ 215 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDescription"}, 216 } 217 } 218 219 func schema_api_pkg_operators_v1alpha1_APIServiceDescription(ref common.ReferenceCallback) common.OpenAPIDefinition { 220 return common.OpenAPIDefinition{ 221 Schema: spec.Schema{ 222 SchemaProps: spec.SchemaProps{ 223 Description: "APIServiceDescription provides details to OLM about apis provided via aggregation", 224 Type: []string{"object"}, 225 Properties: map[string]spec.Schema{ 226 "name": { 227 SchemaProps: spec.SchemaProps{ 228 Default: "", 229 Type: []string{"string"}, 230 Format: "", 231 }, 232 }, 233 "group": { 234 SchemaProps: spec.SchemaProps{ 235 Default: "", 236 Type: []string{"string"}, 237 Format: "", 238 }, 239 }, 240 "version": { 241 SchemaProps: spec.SchemaProps{ 242 Default: "", 243 Type: []string{"string"}, 244 Format: "", 245 }, 246 }, 247 "kind": { 248 SchemaProps: spec.SchemaProps{ 249 Default: "", 250 Type: []string{"string"}, 251 Format: "", 252 }, 253 }, 254 "deploymentName": { 255 SchemaProps: spec.SchemaProps{ 256 Type: []string{"string"}, 257 Format: "", 258 }, 259 }, 260 "containerPort": { 261 SchemaProps: spec.SchemaProps{ 262 Type: []string{"integer"}, 263 Format: "int32", 264 }, 265 }, 266 "displayName": { 267 SchemaProps: spec.SchemaProps{ 268 Type: []string{"string"}, 269 Format: "", 270 }, 271 }, 272 "description": { 273 SchemaProps: spec.SchemaProps{ 274 Type: []string{"string"}, 275 Format: "", 276 }, 277 }, 278 "resources": { 279 SchemaProps: spec.SchemaProps{ 280 Type: []string{"array"}, 281 Items: &spec.SchemaOrArray{ 282 Schema: &spec.Schema{ 283 SchemaProps: spec.SchemaProps{ 284 Default: map[string]interface{}{}, 285 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIResourceReference"), 286 }, 287 }, 288 }, 289 }, 290 }, 291 "statusDescriptors": { 292 SchemaProps: spec.SchemaProps{ 293 Type: []string{"array"}, 294 Items: &spec.SchemaOrArray{ 295 Schema: &spec.Schema{ 296 SchemaProps: spec.SchemaProps{ 297 Default: map[string]interface{}{}, 298 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StatusDescriptor"), 299 }, 300 }, 301 }, 302 }, 303 }, 304 "specDescriptors": { 305 SchemaProps: spec.SchemaProps{ 306 Type: []string{"array"}, 307 Items: &spec.SchemaOrArray{ 308 Schema: &spec.Schema{ 309 SchemaProps: spec.SchemaProps{ 310 Default: map[string]interface{}{}, 311 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.SpecDescriptor"), 312 }, 313 }, 314 }, 315 }, 316 }, 317 "actionDescriptors": { 318 SchemaProps: spec.SchemaProps{ 319 Type: []string{"array"}, 320 Items: &spec.SchemaOrArray{ 321 Schema: &spec.Schema{ 322 SchemaProps: spec.SchemaProps{ 323 Default: map[string]interface{}{}, 324 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.ActionDescriptor"), 325 }, 326 }, 327 }, 328 }, 329 }, 330 }, 331 Required: []string{"name", "group", "version", "kind"}, 332 }, 333 }, 334 Dependencies: []string{ 335 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIResourceReference", "github.com/operator-framework/api/pkg/operators/v1alpha1.ActionDescriptor", "github.com/operator-framework/api/pkg/operators/v1alpha1.SpecDescriptor", "github.com/operator-framework/api/pkg/operators/v1alpha1.StatusDescriptor"}, 336 } 337 } 338 339 func schema_api_pkg_operators_v1alpha1_ActionDescriptor(ref common.ReferenceCallback) common.OpenAPIDefinition { 340 return common.OpenAPIDefinition{ 341 Schema: spec.Schema{ 342 SchemaProps: spec.SchemaProps{ 343 Description: "ActionDescriptor describes a declarative action that can be performed on a custom resource instance", 344 Type: []string{"object"}, 345 Properties: map[string]spec.Schema{ 346 "path": { 347 SchemaProps: spec.SchemaProps{ 348 Default: "", 349 Type: []string{"string"}, 350 Format: "", 351 }, 352 }, 353 "displayName": { 354 SchemaProps: spec.SchemaProps{ 355 Type: []string{"string"}, 356 Format: "", 357 }, 358 }, 359 "description": { 360 SchemaProps: spec.SchemaProps{ 361 Type: []string{"string"}, 362 Format: "", 363 }, 364 }, 365 "x-descriptors": { 366 SchemaProps: spec.SchemaProps{ 367 Type: []string{"array"}, 368 Items: &spec.SchemaOrArray{ 369 Schema: &spec.Schema{ 370 SchemaProps: spec.SchemaProps{ 371 Default: "", 372 Type: []string{"string"}, 373 Format: "", 374 }, 375 }, 376 }, 377 }, 378 }, 379 "value": { 380 SchemaProps: spec.SchemaProps{ 381 Type: []string{"string"}, 382 Format: "byte", 383 }, 384 }, 385 }, 386 Required: []string{"path"}, 387 }, 388 }, 389 } 390 } 391 392 func schema_api_pkg_operators_v1alpha1_AppLink(ref common.ReferenceCallback) common.OpenAPIDefinition { 393 return common.OpenAPIDefinition{ 394 Schema: spec.Schema{ 395 SchemaProps: spec.SchemaProps{ 396 Type: []string{"object"}, 397 Properties: map[string]spec.Schema{ 398 "name": { 399 SchemaProps: spec.SchemaProps{ 400 Type: []string{"string"}, 401 Format: "", 402 }, 403 }, 404 "url": { 405 SchemaProps: spec.SchemaProps{ 406 Type: []string{"string"}, 407 Format: "", 408 }, 409 }, 410 }, 411 }, 412 }, 413 } 414 } 415 416 func schema_api_pkg_operators_v1alpha1_CRDDescription(ref common.ReferenceCallback) common.OpenAPIDefinition { 417 return common.OpenAPIDefinition{ 418 Schema: spec.Schema{ 419 SchemaProps: spec.SchemaProps{ 420 Description: "CRDDescription provides details to OLM about the CRDs", 421 Type: []string{"object"}, 422 Properties: map[string]spec.Schema{ 423 "name": { 424 SchemaProps: spec.SchemaProps{ 425 Default: "", 426 Type: []string{"string"}, 427 Format: "", 428 }, 429 }, 430 "version": { 431 SchemaProps: spec.SchemaProps{ 432 Default: "", 433 Type: []string{"string"}, 434 Format: "", 435 }, 436 }, 437 "kind": { 438 SchemaProps: spec.SchemaProps{ 439 Default: "", 440 Type: []string{"string"}, 441 Format: "", 442 }, 443 }, 444 "displayName": { 445 SchemaProps: spec.SchemaProps{ 446 Type: []string{"string"}, 447 Format: "", 448 }, 449 }, 450 "description": { 451 SchemaProps: spec.SchemaProps{ 452 Type: []string{"string"}, 453 Format: "", 454 }, 455 }, 456 "resources": { 457 SchemaProps: spec.SchemaProps{ 458 Type: []string{"array"}, 459 Items: &spec.SchemaOrArray{ 460 Schema: &spec.Schema{ 461 SchemaProps: spec.SchemaProps{ 462 Default: map[string]interface{}{}, 463 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIResourceReference"), 464 }, 465 }, 466 }, 467 }, 468 }, 469 "statusDescriptors": { 470 SchemaProps: spec.SchemaProps{ 471 Type: []string{"array"}, 472 Items: &spec.SchemaOrArray{ 473 Schema: &spec.Schema{ 474 SchemaProps: spec.SchemaProps{ 475 Default: map[string]interface{}{}, 476 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StatusDescriptor"), 477 }, 478 }, 479 }, 480 }, 481 }, 482 "specDescriptors": { 483 SchemaProps: spec.SchemaProps{ 484 Type: []string{"array"}, 485 Items: &spec.SchemaOrArray{ 486 Schema: &spec.Schema{ 487 SchemaProps: spec.SchemaProps{ 488 Default: map[string]interface{}{}, 489 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.SpecDescriptor"), 490 }, 491 }, 492 }, 493 }, 494 }, 495 "actionDescriptors": { 496 SchemaProps: spec.SchemaProps{ 497 Type: []string{"array"}, 498 Items: &spec.SchemaOrArray{ 499 Schema: &spec.Schema{ 500 SchemaProps: spec.SchemaProps{ 501 Default: map[string]interface{}{}, 502 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.ActionDescriptor"), 503 }, 504 }, 505 }, 506 }, 507 }, 508 }, 509 Required: []string{"name", "version", "kind"}, 510 }, 511 }, 512 Dependencies: []string{ 513 "github.com/operator-framework/api/pkg/operators/v1alpha1.APIResourceReference", "github.com/operator-framework/api/pkg/operators/v1alpha1.ActionDescriptor", "github.com/operator-framework/api/pkg/operators/v1alpha1.SpecDescriptor", "github.com/operator-framework/api/pkg/operators/v1alpha1.StatusDescriptor"}, 514 } 515 } 516 517 func schema_api_pkg_operators_v1alpha1_CleanupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 518 return common.OpenAPIDefinition{ 519 Schema: spec.Schema{ 520 SchemaProps: spec.SchemaProps{ 521 Type: []string{"object"}, 522 Properties: map[string]spec.Schema{ 523 "enabled": { 524 SchemaProps: spec.SchemaProps{ 525 Default: false, 526 Type: []string{"boolean"}, 527 Format: "", 528 }, 529 }, 530 }, 531 Required: []string{"enabled"}, 532 }, 533 }, 534 } 535 } 536 537 func schema_api_pkg_operators_v1alpha1_CleanupStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 538 return common.OpenAPIDefinition{ 539 Schema: spec.Schema{ 540 SchemaProps: spec.SchemaProps{ 541 Description: "CleanupStatus represents information about the status of cleanup while a CSV is pending deletion", 542 Type: []string{"object"}, 543 Properties: map[string]spec.Schema{ 544 "pendingDeletion": { 545 SchemaProps: spec.SchemaProps{ 546 Description: "PendingDeletion is the list of custom resource objects that are pending deletion and blocked on finalizers. This indicates the progress of cleanup that is blocking CSV deletion or operator uninstall.", 547 Type: []string{"array"}, 548 Items: &spec.SchemaOrArray{ 549 Schema: &spec.Schema{ 550 SchemaProps: spec.SchemaProps{ 551 Default: map[string]interface{}{}, 552 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceList"), 553 }, 554 }, 555 }, 556 }, 557 }, 558 }, 559 }, 560 }, 561 Dependencies: []string{ 562 "github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceList"}, 563 } 564 } 565 566 func schema_api_pkg_operators_v1alpha1_ClusterServiceVersionCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 567 return common.OpenAPIDefinition{ 568 Schema: spec.Schema{ 569 SchemaProps: spec.SchemaProps{ 570 Description: "Conditions appear in the status as a record of state transitions on the ClusterServiceVersion", 571 Type: []string{"object"}, 572 Properties: map[string]spec.Schema{ 573 "phase": { 574 SchemaProps: spec.SchemaProps{ 575 Description: "Condition of the ClusterServiceVersion", 576 Type: []string{"string"}, 577 Format: "", 578 }, 579 }, 580 "message": { 581 SchemaProps: spec.SchemaProps{ 582 Description: "A human readable message indicating details about why the ClusterServiceVersion is in this condition.", 583 Type: []string{"string"}, 584 Format: "", 585 }, 586 }, 587 "reason": { 588 SchemaProps: spec.SchemaProps{ 589 Description: "A brief CamelCase message indicating details about why the ClusterServiceVersion is in this state. e.g. 'RequirementsNotMet'", 590 Type: []string{"string"}, 591 Format: "", 592 }, 593 }, 594 "lastUpdateTime": { 595 SchemaProps: spec.SchemaProps{ 596 Description: "Last time we updated the status", 597 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 598 }, 599 }, 600 "lastTransitionTime": { 601 SchemaProps: spec.SchemaProps{ 602 Description: "Last time the status transitioned from one status to another.", 603 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 604 }, 605 }, 606 }, 607 }, 608 }, 609 Dependencies: []string{ 610 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 611 } 612 } 613 614 func schema_api_pkg_operators_v1alpha1_ClusterServiceVersionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 615 return common.OpenAPIDefinition{ 616 Schema: spec.Schema{ 617 SchemaProps: spec.SchemaProps{ 618 Description: "ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.", 619 Type: []string{"object"}, 620 Properties: map[string]spec.Schema{ 621 "install": { 622 SchemaProps: spec.SchemaProps{ 623 Default: map[string]interface{}{}, 624 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.NamedInstallStrategy"), 625 }, 626 }, 627 "version": { 628 SchemaProps: spec.SchemaProps{ 629 Ref: ref("github.com/operator-framework/api/pkg/lib/version.OperatorVersion"), 630 }, 631 }, 632 "maturity": { 633 SchemaProps: spec.SchemaProps{ 634 Type: []string{"string"}, 635 Format: "", 636 }, 637 }, 638 "customresourcedefinitions": { 639 SchemaProps: spec.SchemaProps{ 640 Default: map[string]interface{}{}, 641 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CustomResourceDefinitions"), 642 }, 643 }, 644 "apiservicedefinitions": { 645 SchemaProps: spec.SchemaProps{ 646 Default: map[string]interface{}{}, 647 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDefinitions"), 648 }, 649 }, 650 "webhookdefinitions": { 651 SchemaProps: spec.SchemaProps{ 652 Type: []string{"array"}, 653 Items: &spec.SchemaOrArray{ 654 Schema: &spec.Schema{ 655 SchemaProps: spec.SchemaProps{ 656 Default: map[string]interface{}{}, 657 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.WebhookDescription"), 658 }, 659 }, 660 }, 661 }, 662 }, 663 "nativeAPIs": { 664 SchemaProps: spec.SchemaProps{ 665 Type: []string{"array"}, 666 Items: &spec.SchemaOrArray{ 667 Schema: &spec.Schema{ 668 SchemaProps: spec.SchemaProps{ 669 Default: map[string]interface{}{}, 670 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind"), 671 }, 672 }, 673 }, 674 }, 675 }, 676 "minKubeVersion": { 677 SchemaProps: spec.SchemaProps{ 678 Type: []string{"string"}, 679 Format: "", 680 }, 681 }, 682 "displayName": { 683 SchemaProps: spec.SchemaProps{ 684 Description: "The name of the operator in display format.", 685 Default: "", 686 Type: []string{"string"}, 687 Format: "", 688 }, 689 }, 690 "description": { 691 SchemaProps: spec.SchemaProps{ 692 Description: "Description of the operator. Can include the features, limitations or use-cases of the operator.", 693 Type: []string{"string"}, 694 Format: "", 695 }, 696 }, 697 "keywords": { 698 SchemaProps: spec.SchemaProps{ 699 Description: "A list of keywords describing the operator.", 700 Type: []string{"array"}, 701 Items: &spec.SchemaOrArray{ 702 Schema: &spec.Schema{ 703 SchemaProps: spec.SchemaProps{ 704 Default: "", 705 Type: []string{"string"}, 706 Format: "", 707 }, 708 }, 709 }, 710 }, 711 }, 712 "maintainers": { 713 SchemaProps: spec.SchemaProps{ 714 Description: "A list of organizational entities maintaining the operator.", 715 Type: []string{"array"}, 716 Items: &spec.SchemaOrArray{ 717 Schema: &spec.Schema{ 718 SchemaProps: spec.SchemaProps{ 719 Default: map[string]interface{}{}, 720 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.Maintainer"), 721 }, 722 }, 723 }, 724 }, 725 }, 726 "provider": { 727 SchemaProps: spec.SchemaProps{ 728 Description: "The publishing entity behind the operator.", 729 Default: map[string]interface{}{}, 730 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.AppLink"), 731 }, 732 }, 733 "links": { 734 SchemaProps: spec.SchemaProps{ 735 Description: "A list of links related to the operator.", 736 Type: []string{"array"}, 737 Items: &spec.SchemaOrArray{ 738 Schema: &spec.Schema{ 739 SchemaProps: spec.SchemaProps{ 740 Default: map[string]interface{}{}, 741 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.AppLink"), 742 }, 743 }, 744 }, 745 }, 746 }, 747 "icon": { 748 SchemaProps: spec.SchemaProps{ 749 Description: "The icon for this operator.", 750 Type: []string{"array"}, 751 Items: &spec.SchemaOrArray{ 752 Schema: &spec.Schema{ 753 SchemaProps: spec.SchemaProps{ 754 Default: map[string]interface{}{}, 755 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.Icon"), 756 }, 757 }, 758 }, 759 }, 760 }, 761 "installModes": { 762 SchemaProps: spec.SchemaProps{ 763 Description: "InstallModes specify supported installation types", 764 Type: []string{"array"}, 765 Items: &spec.SchemaOrArray{ 766 Schema: &spec.Schema{ 767 SchemaProps: spec.SchemaProps{ 768 Default: map[string]interface{}{}, 769 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.InstallMode"), 770 }, 771 }, 772 }, 773 }, 774 }, 775 "replaces": { 776 SchemaProps: spec.SchemaProps{ 777 Description: "The name of a CSV this one replaces. Should match the `metadata.Name` field of the old CSV.", 778 Type: []string{"string"}, 779 Format: "", 780 }, 781 }, 782 "labels": { 783 SchemaProps: spec.SchemaProps{ 784 Description: "Map of string keys and values that can be used to organize and categorize (scope and select) objects.", 785 Type: []string{"object"}, 786 AdditionalProperties: &spec.SchemaOrBool{ 787 Allows: true, 788 Schema: &spec.Schema{ 789 SchemaProps: spec.SchemaProps{ 790 Default: "", 791 Type: []string{"string"}, 792 Format: "", 793 }, 794 }, 795 }, 796 }, 797 }, 798 "annotations": { 799 SchemaProps: spec.SchemaProps{ 800 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.", 801 Type: []string{"object"}, 802 AdditionalProperties: &spec.SchemaOrBool{ 803 Allows: true, 804 Schema: &spec.Schema{ 805 SchemaProps: spec.SchemaProps{ 806 Default: "", 807 Type: []string{"string"}, 808 Format: "", 809 }, 810 }, 811 }, 812 }, 813 }, 814 "selector": { 815 SchemaProps: spec.SchemaProps{ 816 Description: "Label selector for related resources.", 817 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 818 }, 819 }, 820 "cleanup": { 821 SchemaProps: spec.SchemaProps{ 822 Description: "Cleanup specifies the cleanup behaviour when the CSV gets deleted", 823 Default: map[string]interface{}{}, 824 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupSpec"), 825 }, 826 }, 827 "skips": { 828 SchemaProps: spec.SchemaProps{ 829 Description: "The name(s) of one or more CSV(s) that should be skipped in the upgrade graph. Should match the `metadata.Name` field of the CSV that should be skipped. This field is only used during catalog creation and plays no part in cluster runtime.", 830 Type: []string{"array"}, 831 Items: &spec.SchemaOrArray{ 832 Schema: &spec.Schema{ 833 SchemaProps: spec.SchemaProps{ 834 Default: "", 835 Type: []string{"string"}, 836 Format: "", 837 }, 838 }, 839 }, 840 }, 841 }, 842 "relatedImages": { 843 SchemaProps: spec.SchemaProps{ 844 Description: "List any related images, or other container images that your Operator might require to perform their functions. This list should also include operand images as well. All image references should be specified by digest (SHA) and not by tag. This field is only used during catalog creation and plays no part in cluster runtime.", 845 Type: []string{"array"}, 846 Items: &spec.SchemaOrArray{ 847 Schema: &spec.Schema{ 848 SchemaProps: spec.SchemaProps{ 849 Default: map[string]interface{}{}, 850 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.RelatedImage"), 851 }, 852 }, 853 }, 854 }, 855 }, 856 }, 857 Required: []string{"install", "displayName"}, 858 }, 859 }, 860 Dependencies: []string{ 861 "github.com/operator-framework/api/pkg/lib/version.OperatorVersion", "github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDefinitions", "github.com/operator-framework/api/pkg/operators/v1alpha1.AppLink", "github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupSpec", "github.com/operator-framework/api/pkg/operators/v1alpha1.CustomResourceDefinitions", "github.com/operator-framework/api/pkg/operators/v1alpha1.Icon", "github.com/operator-framework/api/pkg/operators/v1alpha1.InstallMode", "github.com/operator-framework/api/pkg/operators/v1alpha1.Maintainer", "github.com/operator-framework/api/pkg/operators/v1alpha1.NamedInstallStrategy", "github.com/operator-framework/api/pkg/operators/v1alpha1.RelatedImage", "github.com/operator-framework/api/pkg/operators/v1alpha1.WebhookDescription", "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, 862 } 863 } 864 865 func schema_api_pkg_operators_v1alpha1_ClusterServiceVersionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 866 return common.OpenAPIDefinition{ 867 Schema: spec.Schema{ 868 SchemaProps: spec.SchemaProps{ 869 Description: "ClusterServiceVersionStatus represents information about the status of a CSV. Status may trail the actual state of a system.", 870 Type: []string{"object"}, 871 Properties: map[string]spec.Schema{ 872 "phase": { 873 SchemaProps: spec.SchemaProps{ 874 Description: "Current condition of the ClusterServiceVersion", 875 Type: []string{"string"}, 876 Format: "", 877 }, 878 }, 879 "message": { 880 SchemaProps: spec.SchemaProps{ 881 Description: "A human readable message indicating details about why the ClusterServiceVersion is in this condition.", 882 Type: []string{"string"}, 883 Format: "", 884 }, 885 }, 886 "reason": { 887 SchemaProps: spec.SchemaProps{ 888 Description: "A brief CamelCase message indicating details about why the ClusterServiceVersion is in this state. e.g. 'RequirementsNotMet'", 889 Type: []string{"string"}, 890 Format: "", 891 }, 892 }, 893 "lastUpdateTime": { 894 SchemaProps: spec.SchemaProps{ 895 Description: "Last time we updated the status", 896 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 897 }, 898 }, 899 "lastTransitionTime": { 900 SchemaProps: spec.SchemaProps{ 901 Description: "Last time the status transitioned from one status to another.", 902 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 903 }, 904 }, 905 "conditions": { 906 SchemaProps: spec.SchemaProps{ 907 Description: "List of conditions, a history of state transitions", 908 Type: []string{"array"}, 909 Items: &spec.SchemaOrArray{ 910 Schema: &spec.Schema{ 911 SchemaProps: spec.SchemaProps{ 912 Default: map[string]interface{}{}, 913 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.ClusterServiceVersionCondition"), 914 }, 915 }, 916 }, 917 }, 918 }, 919 "requirementStatus": { 920 SchemaProps: spec.SchemaProps{ 921 Description: "The status of each requirement for this CSV", 922 Type: []string{"array"}, 923 Items: &spec.SchemaOrArray{ 924 Schema: &spec.Schema{ 925 SchemaProps: spec.SchemaProps{ 926 Default: map[string]interface{}{}, 927 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.RequirementStatus"), 928 }, 929 }, 930 }, 931 }, 932 }, 933 "certsLastUpdated": { 934 SchemaProps: spec.SchemaProps{ 935 Description: "Last time the owned APIService certs were updated", 936 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 937 }, 938 }, 939 "certsRotateAt": { 940 SchemaProps: spec.SchemaProps{ 941 Description: "Time the owned APIService certs will rotate next", 942 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 943 }, 944 }, 945 "cleanup": { 946 SchemaProps: spec.SchemaProps{ 947 Description: "CleanupStatus represents information about the status of cleanup while a CSV is pending deletion", 948 Default: map[string]interface{}{}, 949 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupStatus"), 950 }, 951 }, 952 }, 953 }, 954 }, 955 Dependencies: []string{ 956 "github.com/operator-framework/api/pkg/operators/v1alpha1.CleanupStatus", "github.com/operator-framework/api/pkg/operators/v1alpha1.ClusterServiceVersionCondition", "github.com/operator-framework/api/pkg/operators/v1alpha1.RequirementStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 957 } 958 } 959 960 func schema_api_pkg_operators_v1alpha1_CustomResourceDefinitions(ref common.ReferenceCallback) common.OpenAPIDefinition { 961 return common.OpenAPIDefinition{ 962 Schema: spec.Schema{ 963 SchemaProps: spec.SchemaProps{ 964 Description: "CustomResourceDefinitions declares all of the CRDs managed or required by an operator being ran by ClusterServiceVersion.\n\nIf the CRD is present in the Owned list, it is implicitly required.", 965 Type: []string{"object"}, 966 Properties: map[string]spec.Schema{ 967 "owned": { 968 SchemaProps: spec.SchemaProps{ 969 Type: []string{"array"}, 970 Items: &spec.SchemaOrArray{ 971 Schema: &spec.Schema{ 972 SchemaProps: spec.SchemaProps{ 973 Default: map[string]interface{}{}, 974 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CRDDescription"), 975 }, 976 }, 977 }, 978 }, 979 }, 980 "required": { 981 SchemaProps: spec.SchemaProps{ 982 Type: []string{"array"}, 983 Items: &spec.SchemaOrArray{ 984 Schema: &spec.Schema{ 985 SchemaProps: spec.SchemaProps{ 986 Default: map[string]interface{}{}, 987 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CRDDescription"), 988 }, 989 }, 990 }, 991 }, 992 }, 993 }, 994 }, 995 }, 996 Dependencies: []string{ 997 "github.com/operator-framework/api/pkg/operators/v1alpha1.CRDDescription"}, 998 } 999 } 1000 1001 func schema_api_pkg_operators_v1alpha1_DependentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1002 return common.OpenAPIDefinition{ 1003 Schema: spec.Schema{ 1004 SchemaProps: spec.SchemaProps{ 1005 Description: "DependentStatus is the status for a dependent requirement (to prevent infinite nesting)", 1006 Type: []string{"object"}, 1007 Properties: map[string]spec.Schema{ 1008 "group": { 1009 SchemaProps: spec.SchemaProps{ 1010 Default: "", 1011 Type: []string{"string"}, 1012 Format: "", 1013 }, 1014 }, 1015 "version": { 1016 SchemaProps: spec.SchemaProps{ 1017 Default: "", 1018 Type: []string{"string"}, 1019 Format: "", 1020 }, 1021 }, 1022 "kind": { 1023 SchemaProps: spec.SchemaProps{ 1024 Default: "", 1025 Type: []string{"string"}, 1026 Format: "", 1027 }, 1028 }, 1029 "status": { 1030 SchemaProps: spec.SchemaProps{ 1031 Default: "", 1032 Type: []string{"string"}, 1033 Format: "", 1034 }, 1035 }, 1036 "uuid": { 1037 SchemaProps: spec.SchemaProps{ 1038 Type: []string{"string"}, 1039 Format: "", 1040 }, 1041 }, 1042 "message": { 1043 SchemaProps: spec.SchemaProps{ 1044 Type: []string{"string"}, 1045 Format: "", 1046 }, 1047 }, 1048 }, 1049 Required: []string{"group", "version", "kind", "status"}, 1050 }, 1051 }, 1052 } 1053 } 1054 1055 func schema_api_pkg_operators_v1alpha1_Icon(ref common.ReferenceCallback) common.OpenAPIDefinition { 1056 return common.OpenAPIDefinition{ 1057 Schema: spec.Schema{ 1058 SchemaProps: spec.SchemaProps{ 1059 Type: []string{"object"}, 1060 Properties: map[string]spec.Schema{ 1061 "base64data": { 1062 SchemaProps: spec.SchemaProps{ 1063 Default: "", 1064 Type: []string{"string"}, 1065 Format: "", 1066 }, 1067 }, 1068 "mediatype": { 1069 SchemaProps: spec.SchemaProps{ 1070 Default: "", 1071 Type: []string{"string"}, 1072 Format: "", 1073 }, 1074 }, 1075 }, 1076 Required: []string{"base64data", "mediatype"}, 1077 }, 1078 }, 1079 } 1080 } 1081 1082 func schema_api_pkg_operators_v1alpha1_InstallMode(ref common.ReferenceCallback) common.OpenAPIDefinition { 1083 return common.OpenAPIDefinition{ 1084 Schema: spec.Schema{ 1085 SchemaProps: spec.SchemaProps{ 1086 Description: "InstallMode associates an InstallModeType with a flag representing if the CSV supports it", 1087 Type: []string{"object"}, 1088 Properties: map[string]spec.Schema{ 1089 "type": { 1090 SchemaProps: spec.SchemaProps{ 1091 Default: "", 1092 Type: []string{"string"}, 1093 Format: "", 1094 }, 1095 }, 1096 "supported": { 1097 SchemaProps: spec.SchemaProps{ 1098 Default: false, 1099 Type: []string{"boolean"}, 1100 Format: "", 1101 }, 1102 }, 1103 }, 1104 Required: []string{"type", "supported"}, 1105 }, 1106 }, 1107 } 1108 } 1109 1110 func schema_api_pkg_operators_v1alpha1_Maintainer(ref common.ReferenceCallback) common.OpenAPIDefinition { 1111 return common.OpenAPIDefinition{ 1112 Schema: spec.Schema{ 1113 SchemaProps: spec.SchemaProps{ 1114 Type: []string{"object"}, 1115 Properties: map[string]spec.Schema{ 1116 "name": { 1117 SchemaProps: spec.SchemaProps{ 1118 Type: []string{"string"}, 1119 Format: "", 1120 }, 1121 }, 1122 "email": { 1123 SchemaProps: spec.SchemaProps{ 1124 Type: []string{"string"}, 1125 Format: "", 1126 }, 1127 }, 1128 }, 1129 }, 1130 }, 1131 } 1132 } 1133 1134 func schema_api_pkg_operators_v1alpha1_NamedInstallStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition { 1135 return common.OpenAPIDefinition{ 1136 Schema: spec.Schema{ 1137 SchemaProps: spec.SchemaProps{ 1138 Description: "NamedInstallStrategy represents the block of an ClusterServiceVersion resource where the install strategy is specified.", 1139 Type: []string{"object"}, 1140 Properties: map[string]spec.Schema{ 1141 "strategy": { 1142 SchemaProps: spec.SchemaProps{ 1143 Default: "", 1144 Type: []string{"string"}, 1145 Format: "", 1146 }, 1147 }, 1148 "spec": { 1149 SchemaProps: spec.SchemaProps{ 1150 Default: map[string]interface{}{}, 1151 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDetailsDeployment"), 1152 }, 1153 }, 1154 }, 1155 Required: []string{"strategy"}, 1156 }, 1157 }, 1158 Dependencies: []string{ 1159 "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDetailsDeployment"}, 1160 } 1161 } 1162 1163 func schema_api_pkg_operators_v1alpha1_RelatedImage(ref common.ReferenceCallback) common.OpenAPIDefinition { 1164 return common.OpenAPIDefinition{ 1165 Schema: spec.Schema{ 1166 SchemaProps: spec.SchemaProps{ 1167 Type: []string{"object"}, 1168 Properties: map[string]spec.Schema{ 1169 "name": { 1170 SchemaProps: spec.SchemaProps{ 1171 Default: "", 1172 Type: []string{"string"}, 1173 Format: "", 1174 }, 1175 }, 1176 "image": { 1177 SchemaProps: spec.SchemaProps{ 1178 Default: "", 1179 Type: []string{"string"}, 1180 Format: "", 1181 }, 1182 }, 1183 }, 1184 Required: []string{"name", "image"}, 1185 }, 1186 }, 1187 } 1188 } 1189 1190 func schema_api_pkg_operators_v1alpha1_RequirementStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1191 return common.OpenAPIDefinition{ 1192 Schema: spec.Schema{ 1193 SchemaProps: spec.SchemaProps{ 1194 Type: []string{"object"}, 1195 Properties: map[string]spec.Schema{ 1196 "group": { 1197 SchemaProps: spec.SchemaProps{ 1198 Default: "", 1199 Type: []string{"string"}, 1200 Format: "", 1201 }, 1202 }, 1203 "version": { 1204 SchemaProps: spec.SchemaProps{ 1205 Default: "", 1206 Type: []string{"string"}, 1207 Format: "", 1208 }, 1209 }, 1210 "kind": { 1211 SchemaProps: spec.SchemaProps{ 1212 Default: "", 1213 Type: []string{"string"}, 1214 Format: "", 1215 }, 1216 }, 1217 "name": { 1218 SchemaProps: spec.SchemaProps{ 1219 Default: "", 1220 Type: []string{"string"}, 1221 Format: "", 1222 }, 1223 }, 1224 "status": { 1225 SchemaProps: spec.SchemaProps{ 1226 Default: "", 1227 Type: []string{"string"}, 1228 Format: "", 1229 }, 1230 }, 1231 "message": { 1232 SchemaProps: spec.SchemaProps{ 1233 Default: "", 1234 Type: []string{"string"}, 1235 Format: "", 1236 }, 1237 }, 1238 "uuid": { 1239 SchemaProps: spec.SchemaProps{ 1240 Type: []string{"string"}, 1241 Format: "", 1242 }, 1243 }, 1244 "dependents": { 1245 SchemaProps: spec.SchemaProps{ 1246 Type: []string{"array"}, 1247 Items: &spec.SchemaOrArray{ 1248 Schema: &spec.Schema{ 1249 SchemaProps: spec.SchemaProps{ 1250 Default: map[string]interface{}{}, 1251 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.DependentStatus"), 1252 }, 1253 }, 1254 }, 1255 }, 1256 }, 1257 }, 1258 Required: []string{"group", "version", "kind", "name", "status", "message"}, 1259 }, 1260 }, 1261 Dependencies: []string{ 1262 "github.com/operator-framework/api/pkg/operators/v1alpha1.DependentStatus"}, 1263 } 1264 } 1265 1266 func schema_api_pkg_operators_v1alpha1_ResourceInstance(ref common.ReferenceCallback) common.OpenAPIDefinition { 1267 return common.OpenAPIDefinition{ 1268 Schema: spec.Schema{ 1269 SchemaProps: spec.SchemaProps{ 1270 Type: []string{"object"}, 1271 Properties: map[string]spec.Schema{ 1272 "name": { 1273 SchemaProps: spec.SchemaProps{ 1274 Default: "", 1275 Type: []string{"string"}, 1276 Format: "", 1277 }, 1278 }, 1279 "namespace": { 1280 SchemaProps: spec.SchemaProps{ 1281 Description: "Namespace can be empty for cluster-scoped resources", 1282 Type: []string{"string"}, 1283 Format: "", 1284 }, 1285 }, 1286 }, 1287 Required: []string{"name"}, 1288 }, 1289 }, 1290 } 1291 } 1292 1293 func schema_api_pkg_operators_v1alpha1_ResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1294 return common.OpenAPIDefinition{ 1295 Schema: spec.Schema{ 1296 SchemaProps: spec.SchemaProps{ 1297 Description: "ResourceList represents a list of resources which are of the same Group/Kind", 1298 Type: []string{"object"}, 1299 Properties: map[string]spec.Schema{ 1300 "group": { 1301 SchemaProps: spec.SchemaProps{ 1302 Default: "", 1303 Type: []string{"string"}, 1304 Format: "", 1305 }, 1306 }, 1307 "kind": { 1308 SchemaProps: spec.SchemaProps{ 1309 Default: "", 1310 Type: []string{"string"}, 1311 Format: "", 1312 }, 1313 }, 1314 "instances": { 1315 SchemaProps: spec.SchemaProps{ 1316 Type: []string{"array"}, 1317 Items: &spec.SchemaOrArray{ 1318 Schema: &spec.Schema{ 1319 SchemaProps: spec.SchemaProps{ 1320 Default: map[string]interface{}{}, 1321 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceInstance"), 1322 }, 1323 }, 1324 }, 1325 }, 1326 }, 1327 }, 1328 Required: []string{"group", "kind", "instances"}, 1329 }, 1330 }, 1331 Dependencies: []string{ 1332 "github.com/operator-framework/api/pkg/operators/v1alpha1.ResourceInstance"}, 1333 } 1334 } 1335 1336 func schema_api_pkg_operators_v1alpha1_SpecDescriptor(ref common.ReferenceCallback) common.OpenAPIDefinition { 1337 return common.OpenAPIDefinition{ 1338 Schema: spec.Schema{ 1339 SchemaProps: spec.SchemaProps{ 1340 Description: "SpecDescriptor describes a field in a spec block of a CRD so that OLM can consume it", 1341 Type: []string{"object"}, 1342 Properties: map[string]spec.Schema{ 1343 "path": { 1344 SchemaProps: spec.SchemaProps{ 1345 Default: "", 1346 Type: []string{"string"}, 1347 Format: "", 1348 }, 1349 }, 1350 "displayName": { 1351 SchemaProps: spec.SchemaProps{ 1352 Type: []string{"string"}, 1353 Format: "", 1354 }, 1355 }, 1356 "description": { 1357 SchemaProps: spec.SchemaProps{ 1358 Type: []string{"string"}, 1359 Format: "", 1360 }, 1361 }, 1362 "x-descriptors": { 1363 SchemaProps: spec.SchemaProps{ 1364 Type: []string{"array"}, 1365 Items: &spec.SchemaOrArray{ 1366 Schema: &spec.Schema{ 1367 SchemaProps: spec.SchemaProps{ 1368 Default: "", 1369 Type: []string{"string"}, 1370 Format: "", 1371 }, 1372 }, 1373 }, 1374 }, 1375 }, 1376 "value": { 1377 SchemaProps: spec.SchemaProps{ 1378 Type: []string{"string"}, 1379 Format: "byte", 1380 }, 1381 }, 1382 }, 1383 Required: []string{"path"}, 1384 }, 1385 }, 1386 } 1387 } 1388 1389 func schema_api_pkg_operators_v1alpha1_StatusDescriptor(ref common.ReferenceCallback) common.OpenAPIDefinition { 1390 return common.OpenAPIDefinition{ 1391 Schema: spec.Schema{ 1392 SchemaProps: spec.SchemaProps{ 1393 Description: "StatusDescriptor describes a field in a status block of a CRD so that OLM can consume it", 1394 Type: []string{"object"}, 1395 Properties: map[string]spec.Schema{ 1396 "path": { 1397 SchemaProps: spec.SchemaProps{ 1398 Default: "", 1399 Type: []string{"string"}, 1400 Format: "", 1401 }, 1402 }, 1403 "displayName": { 1404 SchemaProps: spec.SchemaProps{ 1405 Type: []string{"string"}, 1406 Format: "", 1407 }, 1408 }, 1409 "description": { 1410 SchemaProps: spec.SchemaProps{ 1411 Type: []string{"string"}, 1412 Format: "", 1413 }, 1414 }, 1415 "x-descriptors": { 1416 SchemaProps: spec.SchemaProps{ 1417 Type: []string{"array"}, 1418 Items: &spec.SchemaOrArray{ 1419 Schema: &spec.Schema{ 1420 SchemaProps: spec.SchemaProps{ 1421 Default: "", 1422 Type: []string{"string"}, 1423 Format: "", 1424 }, 1425 }, 1426 }, 1427 }, 1428 }, 1429 "value": { 1430 SchemaProps: spec.SchemaProps{ 1431 Type: []string{"string"}, 1432 Format: "byte", 1433 }, 1434 }, 1435 }, 1436 Required: []string{"path"}, 1437 }, 1438 }, 1439 } 1440 } 1441 1442 func schema_api_pkg_operators_v1alpha1_StrategyDeploymentPermissions(ref common.ReferenceCallback) common.OpenAPIDefinition { 1443 return common.OpenAPIDefinition{ 1444 Schema: spec.Schema{ 1445 SchemaProps: spec.SchemaProps{ 1446 Description: "StrategyDeploymentPermissions describe the rbac rules and service account needed by the install strategy", 1447 Type: []string{"object"}, 1448 Properties: map[string]spec.Schema{ 1449 "serviceAccountName": { 1450 SchemaProps: spec.SchemaProps{ 1451 Default: "", 1452 Type: []string{"string"}, 1453 Format: "", 1454 }, 1455 }, 1456 "rules": { 1457 SchemaProps: spec.SchemaProps{ 1458 Type: []string{"array"}, 1459 Items: &spec.SchemaOrArray{ 1460 Schema: &spec.Schema{ 1461 SchemaProps: spec.SchemaProps{ 1462 Default: map[string]interface{}{}, 1463 Ref: ref("k8s.io/api/rbac/v1.PolicyRule"), 1464 }, 1465 }, 1466 }, 1467 }, 1468 }, 1469 }, 1470 Required: []string{"serviceAccountName", "rules"}, 1471 }, 1472 }, 1473 Dependencies: []string{ 1474 "k8s.io/api/rbac/v1.PolicyRule"}, 1475 } 1476 } 1477 1478 func schema_api_pkg_operators_v1alpha1_StrategyDeploymentSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1479 return common.OpenAPIDefinition{ 1480 Schema: spec.Schema{ 1481 SchemaProps: spec.SchemaProps{ 1482 Description: "StrategyDeploymentSpec contains the name, spec and labels for the deployment ALM should create", 1483 Type: []string{"object"}, 1484 Properties: map[string]spec.Schema{ 1485 "name": { 1486 SchemaProps: spec.SchemaProps{ 1487 Default: "", 1488 Type: []string{"string"}, 1489 Format: "", 1490 }, 1491 }, 1492 "spec": { 1493 SchemaProps: spec.SchemaProps{ 1494 Default: map[string]interface{}{}, 1495 Ref: ref("k8s.io/api/apps/v1.DeploymentSpec"), 1496 }, 1497 }, 1498 "label": { 1499 SchemaProps: spec.SchemaProps{ 1500 Type: []string{"object"}, 1501 AdditionalProperties: &spec.SchemaOrBool{ 1502 Allows: true, 1503 Schema: &spec.Schema{ 1504 SchemaProps: spec.SchemaProps{ 1505 Default: "", 1506 Type: []string{"string"}, 1507 Format: "", 1508 }, 1509 }, 1510 }, 1511 }, 1512 }, 1513 }, 1514 Required: []string{"name", "spec"}, 1515 }, 1516 }, 1517 Dependencies: []string{ 1518 "k8s.io/api/apps/v1.DeploymentSpec"}, 1519 } 1520 } 1521 1522 func schema_api_pkg_operators_v1alpha1_StrategyDetailsDeployment(ref common.ReferenceCallback) common.OpenAPIDefinition { 1523 return common.OpenAPIDefinition{ 1524 Schema: spec.Schema{ 1525 SchemaProps: spec.SchemaProps{ 1526 Description: "StrategyDetailsDeployment represents the parsed details of a Deployment InstallStrategy.", 1527 Type: []string{"object"}, 1528 Properties: map[string]spec.Schema{ 1529 "deployments": { 1530 SchemaProps: spec.SchemaProps{ 1531 Type: []string{"array"}, 1532 Items: &spec.SchemaOrArray{ 1533 Schema: &spec.Schema{ 1534 SchemaProps: spec.SchemaProps{ 1535 Default: map[string]interface{}{}, 1536 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentSpec"), 1537 }, 1538 }, 1539 }, 1540 }, 1541 }, 1542 "permissions": { 1543 SchemaProps: spec.SchemaProps{ 1544 Type: []string{"array"}, 1545 Items: &spec.SchemaOrArray{ 1546 Schema: &spec.Schema{ 1547 SchemaProps: spec.SchemaProps{ 1548 Default: map[string]interface{}{}, 1549 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentPermissions"), 1550 }, 1551 }, 1552 }, 1553 }, 1554 }, 1555 "clusterPermissions": { 1556 SchemaProps: spec.SchemaProps{ 1557 Type: []string{"array"}, 1558 Items: &spec.SchemaOrArray{ 1559 Schema: &spec.Schema{ 1560 SchemaProps: spec.SchemaProps{ 1561 Default: map[string]interface{}{}, 1562 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentPermissions"), 1563 }, 1564 }, 1565 }, 1566 }, 1567 }, 1568 }, 1569 Required: []string{"deployments"}, 1570 }, 1571 }, 1572 Dependencies: []string{ 1573 "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentPermissions", "github.com/operator-framework/api/pkg/operators/v1alpha1.StrategyDeploymentSpec"}, 1574 } 1575 } 1576 1577 func schema_api_pkg_operators_v1alpha1_WebhookDescription(ref common.ReferenceCallback) common.OpenAPIDefinition { 1578 return common.OpenAPIDefinition{ 1579 Schema: spec.Schema{ 1580 SchemaProps: spec.SchemaProps{ 1581 Description: "WebhookDescription provides details to OLM about required webhooks", 1582 Type: []string{"object"}, 1583 Properties: map[string]spec.Schema{ 1584 "generateName": { 1585 SchemaProps: spec.SchemaProps{ 1586 Default: "", 1587 Type: []string{"string"}, 1588 Format: "", 1589 }, 1590 }, 1591 "type": { 1592 SchemaProps: spec.SchemaProps{ 1593 Default: "", 1594 Type: []string{"string"}, 1595 Format: "", 1596 }, 1597 }, 1598 "deploymentName": { 1599 SchemaProps: spec.SchemaProps{ 1600 Type: []string{"string"}, 1601 Format: "", 1602 }, 1603 }, 1604 "containerPort": { 1605 SchemaProps: spec.SchemaProps{ 1606 Type: []string{"integer"}, 1607 Format: "int32", 1608 }, 1609 }, 1610 "targetPort": { 1611 SchemaProps: spec.SchemaProps{ 1612 Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"), 1613 }, 1614 }, 1615 "rules": { 1616 SchemaProps: spec.SchemaProps{ 1617 Type: []string{"array"}, 1618 Items: &spec.SchemaOrArray{ 1619 Schema: &spec.Schema{ 1620 SchemaProps: spec.SchemaProps{ 1621 Default: map[string]interface{}{}, 1622 Ref: ref("k8s.io/api/admissionregistration/v1.RuleWithOperations"), 1623 }, 1624 }, 1625 }, 1626 }, 1627 }, 1628 "failurePolicy": { 1629 SchemaProps: spec.SchemaProps{ 1630 Type: []string{"string"}, 1631 Format: "", 1632 }, 1633 }, 1634 "matchPolicy": { 1635 SchemaProps: spec.SchemaProps{ 1636 Type: []string{"string"}, 1637 Format: "", 1638 }, 1639 }, 1640 "objectSelector": { 1641 SchemaProps: spec.SchemaProps{ 1642 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 1643 }, 1644 }, 1645 "sideEffects": { 1646 SchemaProps: spec.SchemaProps{ 1647 Type: []string{"string"}, 1648 Format: "", 1649 }, 1650 }, 1651 "timeoutSeconds": { 1652 SchemaProps: spec.SchemaProps{ 1653 Type: []string{"integer"}, 1654 Format: "int32", 1655 }, 1656 }, 1657 "admissionReviewVersions": { 1658 SchemaProps: spec.SchemaProps{ 1659 Type: []string{"array"}, 1660 Items: &spec.SchemaOrArray{ 1661 Schema: &spec.Schema{ 1662 SchemaProps: spec.SchemaProps{ 1663 Default: "", 1664 Type: []string{"string"}, 1665 Format: "", 1666 }, 1667 }, 1668 }, 1669 }, 1670 }, 1671 "reinvocationPolicy": { 1672 SchemaProps: spec.SchemaProps{ 1673 Type: []string{"string"}, 1674 Format: "", 1675 }, 1676 }, 1677 "webhookPath": { 1678 SchemaProps: spec.SchemaProps{ 1679 Type: []string{"string"}, 1680 Format: "", 1681 }, 1682 }, 1683 "conversionCRDs": { 1684 SchemaProps: spec.SchemaProps{ 1685 Type: []string{"array"}, 1686 Items: &spec.SchemaOrArray{ 1687 Schema: &spec.Schema{ 1688 SchemaProps: spec.SchemaProps{ 1689 Default: "", 1690 Type: []string{"string"}, 1691 Format: "", 1692 }, 1693 }, 1694 }, 1695 }, 1696 }, 1697 }, 1698 Required: []string{"generateName", "type", "sideEffects", "admissionReviewVersions"}, 1699 }, 1700 }, 1701 Dependencies: []string{ 1702 "k8s.io/api/admissionregistration/v1.RuleWithOperations", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"}, 1703 } 1704 } 1705 1706 func schema_package_server_apis_operators_v1_AppLink(ref common.ReferenceCallback) common.OpenAPIDefinition { 1707 return common.OpenAPIDefinition{ 1708 Schema: spec.Schema{ 1709 SchemaProps: spec.SchemaProps{ 1710 Description: "AppLink defines a link to an application", 1711 Type: []string{"object"}, 1712 Properties: map[string]spec.Schema{ 1713 "name": { 1714 SchemaProps: spec.SchemaProps{ 1715 Type: []string{"string"}, 1716 Format: "", 1717 }, 1718 }, 1719 "url": { 1720 SchemaProps: spec.SchemaProps{ 1721 Type: []string{"string"}, 1722 Format: "", 1723 }, 1724 }, 1725 }, 1726 }, 1727 }, 1728 } 1729 } 1730 1731 func schema_package_server_apis_operators_v1_CSVDescription(ref common.ReferenceCallback) common.OpenAPIDefinition { 1732 return common.OpenAPIDefinition{ 1733 Schema: spec.Schema{ 1734 SchemaProps: spec.SchemaProps{ 1735 Description: "CSVDescription defines a description of a CSV", 1736 Type: []string{"object"}, 1737 Properties: map[string]spec.Schema{ 1738 "displayName": { 1739 SchemaProps: spec.SchemaProps{ 1740 Description: "DisplayName is the CSV's display name", 1741 Type: []string{"string"}, 1742 Format: "", 1743 }, 1744 }, 1745 "icon": { 1746 VendorExtensible: spec.VendorExtensible{ 1747 Extensions: spec.Extensions{ 1748 "x-kubernetes-list-type": "set", 1749 }, 1750 }, 1751 SchemaProps: spec.SchemaProps{ 1752 Description: "Icon is the CSV's base64 encoded icon", 1753 Type: []string{"array"}, 1754 Items: &spec.SchemaOrArray{ 1755 Schema: &spec.Schema{ 1756 SchemaProps: spec.SchemaProps{ 1757 Default: map[string]interface{}{}, 1758 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Icon"), 1759 }, 1760 }, 1761 }, 1762 }, 1763 }, 1764 "version": { 1765 SchemaProps: spec.SchemaProps{ 1766 Description: "Version is the CSV's semantic version", 1767 Ref: ref("github.com/operator-framework/api/pkg/lib/version.OperatorVersion"), 1768 }, 1769 }, 1770 "provider": { 1771 SchemaProps: spec.SchemaProps{ 1772 Description: "Provider is the CSV's provider", 1773 Default: map[string]interface{}{}, 1774 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink"), 1775 }, 1776 }, 1777 "annotations": { 1778 VendorExtensible: spec.VendorExtensible{ 1779 Extensions: spec.Extensions{ 1780 "x-kubernetes-list-type": "map", 1781 }, 1782 }, 1783 SchemaProps: spec.SchemaProps{ 1784 Type: []string{"object"}, 1785 AdditionalProperties: &spec.SchemaOrBool{ 1786 Allows: true, 1787 Schema: &spec.Schema{ 1788 SchemaProps: spec.SchemaProps{ 1789 Default: "", 1790 Type: []string{"string"}, 1791 Format: "", 1792 }, 1793 }, 1794 }, 1795 }, 1796 }, 1797 "keywords": { 1798 VendorExtensible: spec.VendorExtensible{ 1799 Extensions: spec.Extensions{ 1800 "x-kubernetes-list-type": "set", 1801 }, 1802 }, 1803 SchemaProps: spec.SchemaProps{ 1804 Type: []string{"array"}, 1805 Items: &spec.SchemaOrArray{ 1806 Schema: &spec.Schema{ 1807 SchemaProps: spec.SchemaProps{ 1808 Default: "", 1809 Type: []string{"string"}, 1810 Format: "", 1811 }, 1812 }, 1813 }, 1814 }, 1815 }, 1816 "links": { 1817 VendorExtensible: spec.VendorExtensible{ 1818 Extensions: spec.Extensions{ 1819 "x-kubernetes-list-type": "set", 1820 }, 1821 }, 1822 SchemaProps: spec.SchemaProps{ 1823 Type: []string{"array"}, 1824 Items: &spec.SchemaOrArray{ 1825 Schema: &spec.Schema{ 1826 SchemaProps: spec.SchemaProps{ 1827 Default: map[string]interface{}{}, 1828 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink"), 1829 }, 1830 }, 1831 }, 1832 }, 1833 }, 1834 "maintainers": { 1835 VendorExtensible: spec.VendorExtensible{ 1836 Extensions: spec.Extensions{ 1837 "x-kubernetes-list-type": "set", 1838 }, 1839 }, 1840 SchemaProps: spec.SchemaProps{ 1841 Type: []string{"array"}, 1842 Items: &spec.SchemaOrArray{ 1843 Schema: &spec.Schema{ 1844 SchemaProps: spec.SchemaProps{ 1845 Default: map[string]interface{}{}, 1846 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Maintainer"), 1847 }, 1848 }, 1849 }, 1850 }, 1851 }, 1852 "maturity": { 1853 SchemaProps: spec.SchemaProps{ 1854 Type: []string{"string"}, 1855 Format: "", 1856 }, 1857 }, 1858 "description": { 1859 SchemaProps: spec.SchemaProps{ 1860 Description: "LongDescription is the CSV's description", 1861 Type: []string{"string"}, 1862 Format: "", 1863 }, 1864 }, 1865 "installModes": { 1866 VendorExtensible: spec.VendorExtensible{ 1867 Extensions: spec.Extensions{ 1868 "x-kubernetes-list-type": "set", 1869 }, 1870 }, 1871 SchemaProps: spec.SchemaProps{ 1872 Description: "InstallModes specify supported installation types", 1873 Type: []string{"array"}, 1874 Items: &spec.SchemaOrArray{ 1875 Schema: &spec.Schema{ 1876 SchemaProps: spec.SchemaProps{ 1877 Default: map[string]interface{}{}, 1878 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.InstallMode"), 1879 }, 1880 }, 1881 }, 1882 }, 1883 }, 1884 "customresourcedefinitions": { 1885 SchemaProps: spec.SchemaProps{ 1886 Default: map[string]interface{}{}, 1887 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.CustomResourceDefinitions"), 1888 }, 1889 }, 1890 "apiservicedefinitions": { 1891 SchemaProps: spec.SchemaProps{ 1892 Default: map[string]interface{}{}, 1893 Ref: ref("github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDefinitions"), 1894 }, 1895 }, 1896 "nativeApis": { 1897 SchemaProps: spec.SchemaProps{ 1898 Type: []string{"array"}, 1899 Items: &spec.SchemaOrArray{ 1900 Schema: &spec.Schema{ 1901 SchemaProps: spec.SchemaProps{ 1902 Default: map[string]interface{}{}, 1903 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind"), 1904 }, 1905 }, 1906 }, 1907 }, 1908 }, 1909 "minKubeVersion": { 1910 SchemaProps: spec.SchemaProps{ 1911 Description: "Minimum Kubernetes version for operator installation", 1912 Type: []string{"string"}, 1913 Format: "", 1914 }, 1915 }, 1916 "relatedImages": { 1917 SchemaProps: spec.SchemaProps{ 1918 Description: "List of related images", 1919 Type: []string{"array"}, 1920 Items: &spec.SchemaOrArray{ 1921 Schema: &spec.Schema{ 1922 SchemaProps: spec.SchemaProps{ 1923 Default: "", 1924 Type: []string{"string"}, 1925 Format: "", 1926 }, 1927 }, 1928 }, 1929 }, 1930 }, 1931 }, 1932 }, 1933 }, 1934 Dependencies: []string{ 1935 "github.com/operator-framework/api/pkg/lib/version.OperatorVersion", "github.com/operator-framework/api/pkg/operators/v1alpha1.APIServiceDefinitions", "github.com/operator-framework/api/pkg/operators/v1alpha1.CustomResourceDefinitions", "github.com/operator-framework/api/pkg/operators/v1alpha1.InstallMode", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Icon", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Maintainer", "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind"}, 1936 } 1937 } 1938 1939 func schema_package_server_apis_operators_v1_ChannelEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 1940 return common.OpenAPIDefinition{ 1941 Schema: spec.Schema{ 1942 SchemaProps: spec.SchemaProps{ 1943 Description: "ChannelEntry defines a member of a package channel.", 1944 Type: []string{"object"}, 1945 Properties: map[string]spec.Schema{ 1946 "name": { 1947 SchemaProps: spec.SchemaProps{ 1948 Description: "Name is the name of the bundle for this entry.", 1949 Default: "", 1950 Type: []string{"string"}, 1951 Format: "", 1952 }, 1953 }, 1954 "version": { 1955 SchemaProps: spec.SchemaProps{ 1956 Description: "Version is the version of the bundle for this entry.", 1957 Type: []string{"string"}, 1958 Format: "", 1959 }, 1960 }, 1961 "deprecation": { 1962 SchemaProps: spec.SchemaProps{ 1963 Description: "Deprecation is an optional field which contains information if the channel entry is deprecated.", 1964 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation"), 1965 }, 1966 }, 1967 }, 1968 Required: []string{"name"}, 1969 }, 1970 }, 1971 Dependencies: []string{ 1972 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation"}, 1973 } 1974 } 1975 1976 func schema_package_server_apis_operators_v1_Deprecation(ref common.ReferenceCallback) common.OpenAPIDefinition { 1977 return common.OpenAPIDefinition{ 1978 Schema: spec.Schema{ 1979 SchemaProps: spec.SchemaProps{ 1980 Description: "Deprecation conveys information regarding a deprecated resource.", 1981 Type: []string{"object"}, 1982 Properties: map[string]spec.Schema{ 1983 "message": { 1984 SchemaProps: spec.SchemaProps{ 1985 Description: "Message is a human readable message describing the deprecation.", 1986 Default: "", 1987 Type: []string{"string"}, 1988 Format: "", 1989 }, 1990 }, 1991 }, 1992 Required: []string{"message"}, 1993 }, 1994 }, 1995 } 1996 } 1997 1998 func schema_package_server_apis_operators_v1_Icon(ref common.ReferenceCallback) common.OpenAPIDefinition { 1999 return common.OpenAPIDefinition{ 2000 Schema: spec.Schema{ 2001 SchemaProps: spec.SchemaProps{ 2002 Description: "Icon defines a base64 encoded icon and media type", 2003 Type: []string{"object"}, 2004 Properties: map[string]spec.Schema{ 2005 "base64data": { 2006 SchemaProps: spec.SchemaProps{ 2007 Type: []string{"string"}, 2008 Format: "", 2009 }, 2010 }, 2011 "mediatype": { 2012 SchemaProps: spec.SchemaProps{ 2013 Type: []string{"string"}, 2014 Format: "", 2015 }, 2016 }, 2017 }, 2018 }, 2019 }, 2020 } 2021 } 2022 2023 func schema_package_server_apis_operators_v1_Maintainer(ref common.ReferenceCallback) common.OpenAPIDefinition { 2024 return common.OpenAPIDefinition{ 2025 Schema: spec.Schema{ 2026 SchemaProps: spec.SchemaProps{ 2027 Description: "Maintainer defines a project maintainer", 2028 Type: []string{"object"}, 2029 Properties: map[string]spec.Schema{ 2030 "name": { 2031 SchemaProps: spec.SchemaProps{ 2032 Type: []string{"string"}, 2033 Format: "", 2034 }, 2035 }, 2036 "email": { 2037 SchemaProps: spec.SchemaProps{ 2038 Type: []string{"string"}, 2039 Format: "", 2040 }, 2041 }, 2042 }, 2043 }, 2044 }, 2045 } 2046 } 2047 2048 func schema_package_server_apis_operators_v1_PackageChannel(ref common.ReferenceCallback) common.OpenAPIDefinition { 2049 return common.OpenAPIDefinition{ 2050 Schema: spec.Schema{ 2051 SchemaProps: spec.SchemaProps{ 2052 Description: "PackageChannel defines a single channel under a package, pointing to a version of that package.", 2053 Type: []string{"object"}, 2054 Properties: map[string]spec.Schema{ 2055 "name": { 2056 SchemaProps: spec.SchemaProps{ 2057 Description: "Name is the name of the channel, e.g. `alpha` or `stable`", 2058 Default: "", 2059 Type: []string{"string"}, 2060 Format: "", 2061 }, 2062 }, 2063 "currentCSV": { 2064 SchemaProps: spec.SchemaProps{ 2065 Description: "CurrentCSV defines a reference to the CSV holding the version of this package currently for the channel.", 2066 Default: "", 2067 Type: []string{"string"}, 2068 Format: "", 2069 }, 2070 }, 2071 "currentCSVDesc": { 2072 SchemaProps: spec.SchemaProps{ 2073 Description: "CurrentCSVSpec holds the spec of the current CSV", 2074 Default: map[string]interface{}{}, 2075 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.CSVDescription"), 2076 }, 2077 }, 2078 "deprecation": { 2079 SchemaProps: spec.SchemaProps{ 2080 Description: "Deprecation is an optional field which contains information if the channel is deprecated.", 2081 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation"), 2082 }, 2083 }, 2084 "entries": { 2085 SchemaProps: spec.SchemaProps{ 2086 Description: "Entries lists all CSVs in the channel, with their upgrade edges.", 2087 Type: []string{"array"}, 2088 Items: &spec.SchemaOrArray{ 2089 Schema: &spec.Schema{ 2090 SchemaProps: spec.SchemaProps{ 2091 Default: map[string]interface{}{}, 2092 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.ChannelEntry"), 2093 }, 2094 }, 2095 }, 2096 }, 2097 }, 2098 }, 2099 Required: []string{"name", "currentCSV", "entries"}, 2100 }, 2101 }, 2102 Dependencies: []string{ 2103 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.CSVDescription", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.ChannelEntry", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation"}, 2104 } 2105 } 2106 2107 func schema_package_server_apis_operators_v1_PackageManifest(ref common.ReferenceCallback) common.OpenAPIDefinition { 2108 return common.OpenAPIDefinition{ 2109 Schema: spec.Schema{ 2110 SchemaProps: spec.SchemaProps{ 2111 Description: "PackageManifest holds information about a package, which is a reference to one (or more) channels under a single package.", 2112 Type: []string{"object"}, 2113 Properties: map[string]spec.Schema{ 2114 "kind": { 2115 SchemaProps: spec.SchemaProps{ 2116 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2117 Type: []string{"string"}, 2118 Format: "", 2119 }, 2120 }, 2121 "apiVersion": { 2122 SchemaProps: spec.SchemaProps{ 2123 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2124 Type: []string{"string"}, 2125 Format: "", 2126 }, 2127 }, 2128 "metadata": { 2129 SchemaProps: spec.SchemaProps{ 2130 Default: map[string]interface{}{}, 2131 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2132 }, 2133 }, 2134 "spec": { 2135 SchemaProps: spec.SchemaProps{ 2136 Default: map[string]interface{}{}, 2137 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestSpec"), 2138 }, 2139 }, 2140 "status": { 2141 SchemaProps: spec.SchemaProps{ 2142 Default: map[string]interface{}{}, 2143 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestStatus"), 2144 }, 2145 }, 2146 }, 2147 }, 2148 }, 2149 Dependencies: []string{ 2150 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestSpec", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifestStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2151 } 2152 } 2153 2154 func schema_package_server_apis_operators_v1_PackageManifestList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2155 return common.OpenAPIDefinition{ 2156 Schema: spec.Schema{ 2157 SchemaProps: spec.SchemaProps{ 2158 Description: "PackageManifestList is a list of PackageManifest objects.", 2159 Type: []string{"object"}, 2160 Properties: map[string]spec.Schema{ 2161 "kind": { 2162 SchemaProps: spec.SchemaProps{ 2163 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2164 Type: []string{"string"}, 2165 Format: "", 2166 }, 2167 }, 2168 "apiVersion": { 2169 SchemaProps: spec.SchemaProps{ 2170 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2171 Type: []string{"string"}, 2172 Format: "", 2173 }, 2174 }, 2175 "metadata": { 2176 SchemaProps: spec.SchemaProps{ 2177 Default: map[string]interface{}{}, 2178 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2179 }, 2180 }, 2181 "items": { 2182 VendorExtensible: spec.VendorExtensible{ 2183 Extensions: spec.Extensions{ 2184 "x-kubernetes-list-type": "set", 2185 }, 2186 }, 2187 SchemaProps: spec.SchemaProps{ 2188 Type: []string{"array"}, 2189 Items: &spec.SchemaOrArray{ 2190 Schema: &spec.Schema{ 2191 SchemaProps: spec.SchemaProps{ 2192 Default: map[string]interface{}{}, 2193 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifest"), 2194 }, 2195 }, 2196 }, 2197 }, 2198 }, 2199 }, 2200 Required: []string{"items"}, 2201 }, 2202 }, 2203 Dependencies: []string{ 2204 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageManifest", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2205 } 2206 } 2207 2208 func schema_package_server_apis_operators_v1_PackageManifestSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2209 return common.OpenAPIDefinition{ 2210 Schema: spec.Schema{ 2211 SchemaProps: spec.SchemaProps{ 2212 Description: "PackageManifestSpec defines the desired state of PackageManifest", 2213 Type: []string{"object"}, 2214 }, 2215 }, 2216 } 2217 } 2218 2219 func schema_package_server_apis_operators_v1_PackageManifestStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2220 return common.OpenAPIDefinition{ 2221 Schema: spec.Schema{ 2222 SchemaProps: spec.SchemaProps{ 2223 Description: "PackageManifestStatus represents the current status of the PackageManifest", 2224 Type: []string{"object"}, 2225 Properties: map[string]spec.Schema{ 2226 "catalogSource": { 2227 SchemaProps: spec.SchemaProps{ 2228 Description: "CatalogSource is the name of the CatalogSource this package belongs to", 2229 Default: "", 2230 Type: []string{"string"}, 2231 Format: "", 2232 }, 2233 }, 2234 "catalogSourceDisplayName": { 2235 SchemaProps: spec.SchemaProps{ 2236 Default: "", 2237 Type: []string{"string"}, 2238 Format: "", 2239 }, 2240 }, 2241 "catalogSourcePublisher": { 2242 SchemaProps: spec.SchemaProps{ 2243 Default: "", 2244 Type: []string{"string"}, 2245 Format: "", 2246 }, 2247 }, 2248 "catalogSourceNamespace": { 2249 SchemaProps: spec.SchemaProps{ 2250 Description: "CatalogSourceNamespace is the namespace of the owning CatalogSource", 2251 Default: "", 2252 Type: []string{"string"}, 2253 Format: "", 2254 }, 2255 }, 2256 "provider": { 2257 SchemaProps: spec.SchemaProps{ 2258 Description: "Provider is the provider of the PackageManifest's default CSV", 2259 Default: map[string]interface{}{}, 2260 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink"), 2261 }, 2262 }, 2263 "packageName": { 2264 SchemaProps: spec.SchemaProps{ 2265 Description: "PackageName is the name of the overall package, ala `etcd`.", 2266 Default: "", 2267 Type: []string{"string"}, 2268 Format: "", 2269 }, 2270 }, 2271 "deprecation": { 2272 SchemaProps: spec.SchemaProps{ 2273 Description: "Deprecation is an optional field which contains information if the package is deprecated.", 2274 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation"), 2275 }, 2276 }, 2277 "channels": { 2278 VendorExtensible: spec.VendorExtensible{ 2279 Extensions: spec.Extensions{ 2280 "x-kubernetes-list-type": "set", 2281 }, 2282 }, 2283 SchemaProps: spec.SchemaProps{ 2284 Description: "Channels are the declared channels for the package, ala `stable` or `alpha`.", 2285 Type: []string{"array"}, 2286 Items: &spec.SchemaOrArray{ 2287 Schema: &spec.Schema{ 2288 SchemaProps: spec.SchemaProps{ 2289 Default: map[string]interface{}{}, 2290 Ref: ref("github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageChannel"), 2291 }, 2292 }, 2293 }, 2294 }, 2295 }, 2296 "defaultChannel": { 2297 SchemaProps: spec.SchemaProps{ 2298 Description: "DefaultChannel is, if specified, the name of the default channel for the package. The default channel will be installed if no other channel is explicitly given. If the package has a single channel, then that channel is implicitly the default.", 2299 Default: "", 2300 Type: []string{"string"}, 2301 Format: "", 2302 }, 2303 }, 2304 }, 2305 Required: []string{"catalogSource", "catalogSourceDisplayName", "catalogSourcePublisher", "catalogSourceNamespace", "packageName", "channels", "defaultChannel"}, 2306 }, 2307 }, 2308 Dependencies: []string{ 2309 "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.AppLink", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.Deprecation", "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1.PackageChannel"}, 2310 } 2311 } 2312 2313 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { 2314 return common.OpenAPIDefinition{ 2315 Schema: spec.Schema{ 2316 SchemaProps: spec.SchemaProps{ 2317 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.", 2318 Type: []string{"object"}, 2319 Properties: map[string]spec.Schema{ 2320 "kind": { 2321 SchemaProps: spec.SchemaProps{ 2322 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2323 Type: []string{"string"}, 2324 Format: "", 2325 }, 2326 }, 2327 "apiVersion": { 2328 SchemaProps: spec.SchemaProps{ 2329 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2330 Type: []string{"string"}, 2331 Format: "", 2332 }, 2333 }, 2334 "name": { 2335 SchemaProps: spec.SchemaProps{ 2336 Description: "name is the name of the group.", 2337 Default: "", 2338 Type: []string{"string"}, 2339 Format: "", 2340 }, 2341 }, 2342 "versions": { 2343 VendorExtensible: spec.VendorExtensible{ 2344 Extensions: spec.Extensions{ 2345 "x-kubernetes-list-type": "atomic", 2346 }, 2347 }, 2348 SchemaProps: spec.SchemaProps{ 2349 Description: "versions are the versions supported in this group.", 2350 Type: []string{"array"}, 2351 Items: &spec.SchemaOrArray{ 2352 Schema: &spec.Schema{ 2353 SchemaProps: spec.SchemaProps{ 2354 Default: map[string]interface{}{}, 2355 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 2356 }, 2357 }, 2358 }, 2359 }, 2360 }, 2361 "preferredVersion": { 2362 SchemaProps: spec.SchemaProps{ 2363 Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.", 2364 Default: map[string]interface{}{}, 2365 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 2366 }, 2367 }, 2368 "serverAddressByClientCIDRs": { 2369 VendorExtensible: spec.VendorExtensible{ 2370 Extensions: spec.Extensions{ 2371 "x-kubernetes-list-type": "atomic", 2372 }, 2373 }, 2374 SchemaProps: spec.SchemaProps{ 2375 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.", 2376 Type: []string{"array"}, 2377 Items: &spec.SchemaOrArray{ 2378 Schema: &spec.Schema{ 2379 SchemaProps: spec.SchemaProps{ 2380 Default: map[string]interface{}{}, 2381 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 2382 }, 2383 }, 2384 }, 2385 }, 2386 }, 2387 }, 2388 Required: []string{"name", "versions"}, 2389 }, 2390 }, 2391 Dependencies: []string{ 2392 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 2393 } 2394 } 2395 2396 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2397 return common.OpenAPIDefinition{ 2398 Schema: spec.Schema{ 2399 SchemaProps: spec.SchemaProps{ 2400 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", 2401 Type: []string{"object"}, 2402 Properties: map[string]spec.Schema{ 2403 "kind": { 2404 SchemaProps: spec.SchemaProps{ 2405 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2406 Type: []string{"string"}, 2407 Format: "", 2408 }, 2409 }, 2410 "apiVersion": { 2411 SchemaProps: spec.SchemaProps{ 2412 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2413 Type: []string{"string"}, 2414 Format: "", 2415 }, 2416 }, 2417 "groups": { 2418 VendorExtensible: spec.VendorExtensible{ 2419 Extensions: spec.Extensions{ 2420 "x-kubernetes-list-type": "atomic", 2421 }, 2422 }, 2423 SchemaProps: spec.SchemaProps{ 2424 Description: "groups is a list of APIGroup.", 2425 Type: []string{"array"}, 2426 Items: &spec.SchemaOrArray{ 2427 Schema: &spec.Schema{ 2428 SchemaProps: spec.SchemaProps{ 2429 Default: map[string]interface{}{}, 2430 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"), 2431 }, 2432 }, 2433 }, 2434 }, 2435 }, 2436 }, 2437 Required: []string{"groups"}, 2438 }, 2439 }, 2440 Dependencies: []string{ 2441 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"}, 2442 } 2443 } 2444 2445 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 2446 return common.OpenAPIDefinition{ 2447 Schema: spec.Schema{ 2448 SchemaProps: spec.SchemaProps{ 2449 Description: "APIResource specifies the name of a resource and whether it is namespaced.", 2450 Type: []string{"object"}, 2451 Properties: map[string]spec.Schema{ 2452 "name": { 2453 SchemaProps: spec.SchemaProps{ 2454 Description: "name is the plural name of the resource.", 2455 Default: "", 2456 Type: []string{"string"}, 2457 Format: "", 2458 }, 2459 }, 2460 "singularName": { 2461 SchemaProps: spec.SchemaProps{ 2462 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.", 2463 Default: "", 2464 Type: []string{"string"}, 2465 Format: "", 2466 }, 2467 }, 2468 "namespaced": { 2469 SchemaProps: spec.SchemaProps{ 2470 Description: "namespaced indicates if a resource is namespaced or not.", 2471 Default: false, 2472 Type: []string{"boolean"}, 2473 Format: "", 2474 }, 2475 }, 2476 "group": { 2477 SchemaProps: spec.SchemaProps{ 2478 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\".", 2479 Type: []string{"string"}, 2480 Format: "", 2481 }, 2482 }, 2483 "version": { 2484 SchemaProps: spec.SchemaProps{ 2485 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)\".", 2486 Type: []string{"string"}, 2487 Format: "", 2488 }, 2489 }, 2490 "kind": { 2491 SchemaProps: spec.SchemaProps{ 2492 Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", 2493 Default: "", 2494 Type: []string{"string"}, 2495 Format: "", 2496 }, 2497 }, 2498 "verbs": { 2499 SchemaProps: spec.SchemaProps{ 2500 Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", 2501 Type: []string{"array"}, 2502 Items: &spec.SchemaOrArray{ 2503 Schema: &spec.Schema{ 2504 SchemaProps: spec.SchemaProps{ 2505 Default: "", 2506 Type: []string{"string"}, 2507 Format: "", 2508 }, 2509 }, 2510 }, 2511 }, 2512 }, 2513 "shortNames": { 2514 VendorExtensible: spec.VendorExtensible{ 2515 Extensions: spec.Extensions{ 2516 "x-kubernetes-list-type": "atomic", 2517 }, 2518 }, 2519 SchemaProps: spec.SchemaProps{ 2520 Description: "shortNames is a list of suggested short names of the resource.", 2521 Type: []string{"array"}, 2522 Items: &spec.SchemaOrArray{ 2523 Schema: &spec.Schema{ 2524 SchemaProps: spec.SchemaProps{ 2525 Default: "", 2526 Type: []string{"string"}, 2527 Format: "", 2528 }, 2529 }, 2530 }, 2531 }, 2532 }, 2533 "categories": { 2534 VendorExtensible: spec.VendorExtensible{ 2535 Extensions: spec.Extensions{ 2536 "x-kubernetes-list-type": "atomic", 2537 }, 2538 }, 2539 SchemaProps: spec.SchemaProps{ 2540 Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", 2541 Type: []string{"array"}, 2542 Items: &spec.SchemaOrArray{ 2543 Schema: &spec.Schema{ 2544 SchemaProps: spec.SchemaProps{ 2545 Default: "", 2546 Type: []string{"string"}, 2547 Format: "", 2548 }, 2549 }, 2550 }, 2551 }, 2552 }, 2553 "storageVersionHash": { 2554 SchemaProps: spec.SchemaProps{ 2555 Description: "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", 2556 Type: []string{"string"}, 2557 Format: "", 2558 }, 2559 }, 2560 }, 2561 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"}, 2562 }, 2563 }, 2564 } 2565 } 2566 2567 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2568 return common.OpenAPIDefinition{ 2569 Schema: spec.Schema{ 2570 SchemaProps: spec.SchemaProps{ 2571 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.", 2572 Type: []string{"object"}, 2573 Properties: map[string]spec.Schema{ 2574 "kind": { 2575 SchemaProps: spec.SchemaProps{ 2576 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2577 Type: []string{"string"}, 2578 Format: "", 2579 }, 2580 }, 2581 "apiVersion": { 2582 SchemaProps: spec.SchemaProps{ 2583 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2584 Type: []string{"string"}, 2585 Format: "", 2586 }, 2587 }, 2588 "groupVersion": { 2589 SchemaProps: spec.SchemaProps{ 2590 Description: "groupVersion is the group and version this APIResourceList is for.", 2591 Default: "", 2592 Type: []string{"string"}, 2593 Format: "", 2594 }, 2595 }, 2596 "resources": { 2597 VendorExtensible: spec.VendorExtensible{ 2598 Extensions: spec.Extensions{ 2599 "x-kubernetes-list-type": "atomic", 2600 }, 2601 }, 2602 SchemaProps: spec.SchemaProps{ 2603 Description: "resources contains the name of the resources and if they are namespaced.", 2604 Type: []string{"array"}, 2605 Items: &spec.SchemaOrArray{ 2606 Schema: &spec.Schema{ 2607 SchemaProps: spec.SchemaProps{ 2608 Default: map[string]interface{}{}, 2609 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"), 2610 }, 2611 }, 2612 }, 2613 }, 2614 }, 2615 }, 2616 Required: []string{"groupVersion", "resources"}, 2617 }, 2618 }, 2619 Dependencies: []string{ 2620 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"}, 2621 } 2622 } 2623 2624 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2625 return common.OpenAPIDefinition{ 2626 Schema: spec.Schema{ 2627 SchemaProps: spec.SchemaProps{ 2628 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.", 2629 Type: []string{"object"}, 2630 Properties: map[string]spec.Schema{ 2631 "kind": { 2632 SchemaProps: spec.SchemaProps{ 2633 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2634 Type: []string{"string"}, 2635 Format: "", 2636 }, 2637 }, 2638 "apiVersion": { 2639 SchemaProps: spec.SchemaProps{ 2640 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2641 Type: []string{"string"}, 2642 Format: "", 2643 }, 2644 }, 2645 "versions": { 2646 VendorExtensible: spec.VendorExtensible{ 2647 Extensions: spec.Extensions{ 2648 "x-kubernetes-list-type": "atomic", 2649 }, 2650 }, 2651 SchemaProps: spec.SchemaProps{ 2652 Description: "versions are the api versions that are available.", 2653 Type: []string{"array"}, 2654 Items: &spec.SchemaOrArray{ 2655 Schema: &spec.Schema{ 2656 SchemaProps: spec.SchemaProps{ 2657 Default: "", 2658 Type: []string{"string"}, 2659 Format: "", 2660 }, 2661 }, 2662 }, 2663 }, 2664 }, 2665 "serverAddressByClientCIDRs": { 2666 VendorExtensible: spec.VendorExtensible{ 2667 Extensions: spec.Extensions{ 2668 "x-kubernetes-list-type": "atomic", 2669 }, 2670 }, 2671 SchemaProps: spec.SchemaProps{ 2672 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.", 2673 Type: []string{"array"}, 2674 Items: &spec.SchemaOrArray{ 2675 Schema: &spec.Schema{ 2676 SchemaProps: spec.SchemaProps{ 2677 Default: map[string]interface{}{}, 2678 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 2679 }, 2680 }, 2681 }, 2682 }, 2683 }, 2684 }, 2685 Required: []string{"versions", "serverAddressByClientCIDRs"}, 2686 }, 2687 }, 2688 Dependencies: []string{ 2689 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 2690 } 2691 } 2692 2693 func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2694 return common.OpenAPIDefinition{ 2695 Schema: spec.Schema{ 2696 SchemaProps: spec.SchemaProps{ 2697 Description: "ApplyOptions may be provided when applying an API object. FieldManager is required for apply requests. ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation that speaks specifically to how the options fields relate to apply.", 2698 Type: []string{"object"}, 2699 Properties: map[string]spec.Schema{ 2700 "kind": { 2701 SchemaProps: spec.SchemaProps{ 2702 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2703 Type: []string{"string"}, 2704 Format: "", 2705 }, 2706 }, 2707 "apiVersion": { 2708 SchemaProps: spec.SchemaProps{ 2709 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2710 Type: []string{"string"}, 2711 Format: "", 2712 }, 2713 }, 2714 "dryRun": { 2715 VendorExtensible: spec.VendorExtensible{ 2716 Extensions: spec.Extensions{ 2717 "x-kubernetes-list-type": "atomic", 2718 }, 2719 }, 2720 SchemaProps: spec.SchemaProps{ 2721 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", 2722 Type: []string{"array"}, 2723 Items: &spec.SchemaOrArray{ 2724 Schema: &spec.Schema{ 2725 SchemaProps: spec.SchemaProps{ 2726 Default: "", 2727 Type: []string{"string"}, 2728 Format: "", 2729 }, 2730 }, 2731 }, 2732 }, 2733 }, 2734 "force": { 2735 SchemaProps: spec.SchemaProps{ 2736 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.", 2737 Default: false, 2738 Type: []string{"boolean"}, 2739 Format: "", 2740 }, 2741 }, 2742 "fieldManager": { 2743 SchemaProps: spec.SchemaProps{ 2744 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required.", 2745 Default: "", 2746 Type: []string{"string"}, 2747 Format: "", 2748 }, 2749 }, 2750 }, 2751 Required: []string{"force", "fieldManager"}, 2752 }, 2753 }, 2754 } 2755 } 2756 2757 func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition { 2758 return common.OpenAPIDefinition{ 2759 Schema: spec.Schema{ 2760 SchemaProps: spec.SchemaProps{ 2761 Description: "Condition contains details for one aspect of the current state of this API Resource.", 2762 Type: []string{"object"}, 2763 Properties: map[string]spec.Schema{ 2764 "type": { 2765 SchemaProps: spec.SchemaProps{ 2766 Description: "type of condition in CamelCase or in foo.example.com/CamelCase.", 2767 Default: "", 2768 Type: []string{"string"}, 2769 Format: "", 2770 }, 2771 }, 2772 "status": { 2773 SchemaProps: spec.SchemaProps{ 2774 Description: "status of the condition, one of True, False, Unknown.", 2775 Default: "", 2776 Type: []string{"string"}, 2777 Format: "", 2778 }, 2779 }, 2780 "observedGeneration": { 2781 SchemaProps: spec.SchemaProps{ 2782 Description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.", 2783 Type: []string{"integer"}, 2784 Format: "int64", 2785 }, 2786 }, 2787 "lastTransitionTime": { 2788 SchemaProps: spec.SchemaProps{ 2789 Description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", 2790 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 2791 }, 2792 }, 2793 "reason": { 2794 SchemaProps: spec.SchemaProps{ 2795 Description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.", 2796 Default: "", 2797 Type: []string{"string"}, 2798 Format: "", 2799 }, 2800 }, 2801 "message": { 2802 SchemaProps: spec.SchemaProps{ 2803 Description: "message is a human readable message indicating details about the transition. This may be an empty string.", 2804 Default: "", 2805 Type: []string{"string"}, 2806 Format: "", 2807 }, 2808 }, 2809 }, 2810 Required: []string{"type", "status", "lastTransitionTime", "reason", "message"}, 2811 }, 2812 }, 2813 Dependencies: []string{ 2814 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 2815 } 2816 } 2817 2818 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2819 return common.OpenAPIDefinition{ 2820 Schema: spec.Schema{ 2821 SchemaProps: spec.SchemaProps{ 2822 Description: "CreateOptions may be provided when creating an API object.", 2823 Type: []string{"object"}, 2824 Properties: map[string]spec.Schema{ 2825 "kind": { 2826 SchemaProps: spec.SchemaProps{ 2827 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2828 Type: []string{"string"}, 2829 Format: "", 2830 }, 2831 }, 2832 "apiVersion": { 2833 SchemaProps: spec.SchemaProps{ 2834 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2835 Type: []string{"string"}, 2836 Format: "", 2837 }, 2838 }, 2839 "dryRun": { 2840 VendorExtensible: spec.VendorExtensible{ 2841 Extensions: spec.Extensions{ 2842 "x-kubernetes-list-type": "atomic", 2843 }, 2844 }, 2845 SchemaProps: spec.SchemaProps{ 2846 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", 2847 Type: []string{"array"}, 2848 Items: &spec.SchemaOrArray{ 2849 Schema: &spec.Schema{ 2850 SchemaProps: spec.SchemaProps{ 2851 Default: "", 2852 Type: []string{"string"}, 2853 Format: "", 2854 }, 2855 }, 2856 }, 2857 }, 2858 }, 2859 "fieldManager": { 2860 SchemaProps: spec.SchemaProps{ 2861 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", 2862 Type: []string{"string"}, 2863 Format: "", 2864 }, 2865 }, 2866 "fieldValidation": { 2867 SchemaProps: spec.SchemaProps{ 2868 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 2869 Type: []string{"string"}, 2870 Format: "", 2871 }, 2872 }, 2873 }, 2874 }, 2875 }, 2876 } 2877 } 2878 2879 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2880 return common.OpenAPIDefinition{ 2881 Schema: spec.Schema{ 2882 SchemaProps: spec.SchemaProps{ 2883 Description: "DeleteOptions may be provided when deleting an API object.", 2884 Type: []string{"object"}, 2885 Properties: map[string]spec.Schema{ 2886 "kind": { 2887 SchemaProps: spec.SchemaProps{ 2888 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 2889 Type: []string{"string"}, 2890 Format: "", 2891 }, 2892 }, 2893 "apiVersion": { 2894 SchemaProps: spec.SchemaProps{ 2895 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 2896 Type: []string{"string"}, 2897 Format: "", 2898 }, 2899 }, 2900 "gracePeriodSeconds": { 2901 SchemaProps: spec.SchemaProps{ 2902 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.", 2903 Type: []string{"integer"}, 2904 Format: "int64", 2905 }, 2906 }, 2907 "preconditions": { 2908 SchemaProps: spec.SchemaProps{ 2909 Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", 2910 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"), 2911 }, 2912 }, 2913 "orphanDependents": { 2914 SchemaProps: spec.SchemaProps{ 2915 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.", 2916 Type: []string{"boolean"}, 2917 Format: "", 2918 }, 2919 }, 2920 "propagationPolicy": { 2921 SchemaProps: spec.SchemaProps{ 2922 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.", 2923 Type: []string{"string"}, 2924 Format: "", 2925 }, 2926 }, 2927 "dryRun": { 2928 VendorExtensible: spec.VendorExtensible{ 2929 Extensions: spec.Extensions{ 2930 "x-kubernetes-list-type": "atomic", 2931 }, 2932 }, 2933 SchemaProps: spec.SchemaProps{ 2934 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", 2935 Type: []string{"array"}, 2936 Items: &spec.SchemaOrArray{ 2937 Schema: &spec.Schema{ 2938 SchemaProps: spec.SchemaProps{ 2939 Default: "", 2940 Type: []string{"string"}, 2941 Format: "", 2942 }, 2943 }, 2944 }, 2945 }, 2946 }, 2947 }, 2948 }, 2949 }, 2950 Dependencies: []string{ 2951 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"}, 2952 } 2953 } 2954 2955 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition { 2956 return common.OpenAPIDefinition{ 2957 Schema: spec.Schema{ 2958 SchemaProps: spec.SchemaProps{ 2959 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.", 2960 Type: v1.Duration{}.OpenAPISchemaType(), 2961 Format: v1.Duration{}.OpenAPISchemaFormat(), 2962 }, 2963 }, 2964 } 2965 } 2966 2967 func schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 2968 return common.OpenAPIDefinition{ 2969 Schema: spec.Schema{ 2970 SchemaProps: spec.SchemaProps{ 2971 Description: "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", 2972 Type: []string{"object"}, 2973 Properties: map[string]spec.Schema{ 2974 "key": { 2975 SchemaProps: spec.SchemaProps{ 2976 Description: "key is the field selector key that the requirement applies to.", 2977 Default: "", 2978 Type: []string{"string"}, 2979 Format: "", 2980 }, 2981 }, 2982 "operator": { 2983 SchemaProps: spec.SchemaProps{ 2984 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", 2985 Default: "", 2986 Type: []string{"string"}, 2987 Format: "", 2988 }, 2989 }, 2990 "values": { 2991 VendorExtensible: spec.VendorExtensible{ 2992 Extensions: spec.Extensions{ 2993 "x-kubernetes-list-type": "atomic", 2994 }, 2995 }, 2996 SchemaProps: spec.SchemaProps{ 2997 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.", 2998 Type: []string{"array"}, 2999 Items: &spec.SchemaOrArray{ 3000 Schema: &spec.Schema{ 3001 SchemaProps: spec.SchemaProps{ 3002 Default: "", 3003 Type: []string{"string"}, 3004 Format: "", 3005 }, 3006 }, 3007 }, 3008 }, 3009 }, 3010 }, 3011 Required: []string{"key", "operator"}, 3012 }, 3013 }, 3014 } 3015 } 3016 3017 func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition { 3018 return common.OpenAPIDefinition{ 3019 Schema: spec.Schema{ 3020 SchemaProps: spec.SchemaProps{ 3021 Description: "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", 3022 Type: []string{"object"}, 3023 }, 3024 }, 3025 } 3026 } 3027 3028 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 3029 return common.OpenAPIDefinition{ 3030 Schema: spec.Schema{ 3031 SchemaProps: spec.SchemaProps{ 3032 Description: "GetOptions is the standard query options to the standard REST get call.", 3033 Type: []string{"object"}, 3034 Properties: map[string]spec.Schema{ 3035 "kind": { 3036 SchemaProps: spec.SchemaProps{ 3037 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3038 Type: []string{"string"}, 3039 Format: "", 3040 }, 3041 }, 3042 "apiVersion": { 3043 SchemaProps: spec.SchemaProps{ 3044 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 3045 Type: []string{"string"}, 3046 Format: "", 3047 }, 3048 }, 3049 "resourceVersion": { 3050 SchemaProps: spec.SchemaProps{ 3051 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 3052 Type: []string{"string"}, 3053 Format: "", 3054 }, 3055 }, 3056 }, 3057 }, 3058 }, 3059 } 3060 } 3061 3062 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 3063 return common.OpenAPIDefinition{ 3064 Schema: spec.Schema{ 3065 SchemaProps: spec.SchemaProps{ 3066 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", 3067 Type: []string{"object"}, 3068 Properties: map[string]spec.Schema{ 3069 "group": { 3070 SchemaProps: spec.SchemaProps{ 3071 Default: "", 3072 Type: []string{"string"}, 3073 Format: "", 3074 }, 3075 }, 3076 "kind": { 3077 SchemaProps: spec.SchemaProps{ 3078 Default: "", 3079 Type: []string{"string"}, 3080 Format: "", 3081 }, 3082 }, 3083 }, 3084 Required: []string{"group", "kind"}, 3085 }, 3086 }, 3087 } 3088 } 3089 3090 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 3091 return common.OpenAPIDefinition{ 3092 Schema: spec.Schema{ 3093 SchemaProps: spec.SchemaProps{ 3094 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", 3095 Type: []string{"object"}, 3096 Properties: map[string]spec.Schema{ 3097 "group": { 3098 SchemaProps: spec.SchemaProps{ 3099 Default: "", 3100 Type: []string{"string"}, 3101 Format: "", 3102 }, 3103 }, 3104 "resource": { 3105 SchemaProps: spec.SchemaProps{ 3106 Default: "", 3107 Type: []string{"string"}, 3108 Format: "", 3109 }, 3110 }, 3111 }, 3112 Required: []string{"group", "resource"}, 3113 }, 3114 }, 3115 } 3116 } 3117 3118 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { 3119 return common.OpenAPIDefinition{ 3120 Schema: spec.Schema{ 3121 SchemaProps: spec.SchemaProps{ 3122 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.", 3123 Type: []string{"object"}, 3124 Properties: map[string]spec.Schema{ 3125 "group": { 3126 SchemaProps: spec.SchemaProps{ 3127 Default: "", 3128 Type: []string{"string"}, 3129 Format: "", 3130 }, 3131 }, 3132 "version": { 3133 SchemaProps: spec.SchemaProps{ 3134 Default: "", 3135 Type: []string{"string"}, 3136 Format: "", 3137 }, 3138 }, 3139 }, 3140 Required: []string{"group", "version"}, 3141 }, 3142 }, 3143 } 3144 } 3145 3146 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 3147 return common.OpenAPIDefinition{ 3148 Schema: spec.Schema{ 3149 SchemaProps: spec.SchemaProps{ 3150 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", 3151 Type: []string{"object"}, 3152 Properties: map[string]spec.Schema{ 3153 "groupVersion": { 3154 SchemaProps: spec.SchemaProps{ 3155 Description: "groupVersion specifies the API group and version in the form \"group/version\"", 3156 Default: "", 3157 Type: []string{"string"}, 3158 Format: "", 3159 }, 3160 }, 3161 "version": { 3162 SchemaProps: spec.SchemaProps{ 3163 Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", 3164 Default: "", 3165 Type: []string{"string"}, 3166 Format: "", 3167 }, 3168 }, 3169 }, 3170 Required: []string{"groupVersion", "version"}, 3171 }, 3172 }, 3173 } 3174 } 3175 3176 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 3177 return common.OpenAPIDefinition{ 3178 Schema: spec.Schema{ 3179 SchemaProps: spec.SchemaProps{ 3180 Description: "GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling", 3181 Type: []string{"object"}, 3182 Properties: map[string]spec.Schema{ 3183 "group": { 3184 SchemaProps: spec.SchemaProps{ 3185 Default: "", 3186 Type: []string{"string"}, 3187 Format: "", 3188 }, 3189 }, 3190 "version": { 3191 SchemaProps: spec.SchemaProps{ 3192 Default: "", 3193 Type: []string{"string"}, 3194 Format: "", 3195 }, 3196 }, 3197 "kind": { 3198 SchemaProps: spec.SchemaProps{ 3199 Default: "", 3200 Type: []string{"string"}, 3201 Format: "", 3202 }, 3203 }, 3204 }, 3205 Required: []string{"group", "version", "kind"}, 3206 }, 3207 }, 3208 } 3209 } 3210 3211 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 3212 return common.OpenAPIDefinition{ 3213 Schema: spec.Schema{ 3214 SchemaProps: spec.SchemaProps{ 3215 Description: "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling", 3216 Type: []string{"object"}, 3217 Properties: map[string]spec.Schema{ 3218 "group": { 3219 SchemaProps: spec.SchemaProps{ 3220 Default: "", 3221 Type: []string{"string"}, 3222 Format: "", 3223 }, 3224 }, 3225 "version": { 3226 SchemaProps: spec.SchemaProps{ 3227 Default: "", 3228 Type: []string{"string"}, 3229 Format: "", 3230 }, 3231 }, 3232 "resource": { 3233 SchemaProps: spec.SchemaProps{ 3234 Default: "", 3235 Type: []string{"string"}, 3236 Format: "", 3237 }, 3238 }, 3239 }, 3240 Required: []string{"group", "version", "resource"}, 3241 }, 3242 }, 3243 } 3244 } 3245 3246 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 3247 return common.OpenAPIDefinition{ 3248 Schema: spec.Schema{ 3249 SchemaProps: spec.SchemaProps{ 3250 Description: "InternalEvent makes watch.Event versioned", 3251 Type: []string{"object"}, 3252 Properties: map[string]spec.Schema{ 3253 "Type": { 3254 SchemaProps: spec.SchemaProps{ 3255 Default: "", 3256 Type: []string{"string"}, 3257 Format: "", 3258 }, 3259 }, 3260 "Object": { 3261 SchemaProps: spec.SchemaProps{ 3262 Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Bookmark: the object (instance of a type being watched) where\n only ResourceVersion field is set. On successful restart of watch from a\n bookmark resourceVersion, client is guaranteed to not get repeat event\n nor miss any events.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.", 3263 Ref: ref("k8s.io/apimachinery/pkg/runtime.Object"), 3264 }, 3265 }, 3266 }, 3267 Required: []string{"Type", "Object"}, 3268 }, 3269 }, 3270 Dependencies: []string{ 3271 "k8s.io/apimachinery/pkg/runtime.Object"}, 3272 } 3273 } 3274 3275 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 3276 return common.OpenAPIDefinition{ 3277 Schema: spec.Schema{ 3278 SchemaProps: spec.SchemaProps{ 3279 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.", 3280 Type: []string{"object"}, 3281 Properties: map[string]spec.Schema{ 3282 "matchLabels": { 3283 SchemaProps: spec.SchemaProps{ 3284 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.", 3285 Type: []string{"object"}, 3286 AdditionalProperties: &spec.SchemaOrBool{ 3287 Allows: true, 3288 Schema: &spec.Schema{ 3289 SchemaProps: spec.SchemaProps{ 3290 Default: "", 3291 Type: []string{"string"}, 3292 Format: "", 3293 }, 3294 }, 3295 }, 3296 }, 3297 }, 3298 "matchExpressions": { 3299 VendorExtensible: spec.VendorExtensible{ 3300 Extensions: spec.Extensions{ 3301 "x-kubernetes-list-type": "atomic", 3302 }, 3303 }, 3304 SchemaProps: spec.SchemaProps{ 3305 Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", 3306 Type: []string{"array"}, 3307 Items: &spec.SchemaOrArray{ 3308 Schema: &spec.Schema{ 3309 SchemaProps: spec.SchemaProps{ 3310 Default: map[string]interface{}{}, 3311 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"), 3312 }, 3313 }, 3314 }, 3315 }, 3316 }, 3317 }, 3318 }, 3319 VendorExtensible: spec.VendorExtensible{ 3320 Extensions: spec.Extensions{ 3321 "x-kubernetes-map-type": "atomic", 3322 }, 3323 }, 3324 }, 3325 Dependencies: []string{ 3326 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"}, 3327 } 3328 } 3329 3330 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 3331 return common.OpenAPIDefinition{ 3332 Schema: spec.Schema{ 3333 SchemaProps: spec.SchemaProps{ 3334 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", 3335 Type: []string{"object"}, 3336 Properties: map[string]spec.Schema{ 3337 "key": { 3338 SchemaProps: spec.SchemaProps{ 3339 Description: "key is the label key that the selector applies to.", 3340 Default: "", 3341 Type: []string{"string"}, 3342 Format: "", 3343 }, 3344 }, 3345 "operator": { 3346 SchemaProps: spec.SchemaProps{ 3347 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", 3348 Default: "", 3349 Type: []string{"string"}, 3350 Format: "", 3351 }, 3352 }, 3353 "values": { 3354 VendorExtensible: spec.VendorExtensible{ 3355 Extensions: spec.Extensions{ 3356 "x-kubernetes-list-type": "atomic", 3357 }, 3358 }, 3359 SchemaProps: spec.SchemaProps{ 3360 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.", 3361 Type: []string{"array"}, 3362 Items: &spec.SchemaOrArray{ 3363 Schema: &spec.Schema{ 3364 SchemaProps: spec.SchemaProps{ 3365 Default: "", 3366 Type: []string{"string"}, 3367 Format: "", 3368 }, 3369 }, 3370 }, 3371 }, 3372 }, 3373 }, 3374 Required: []string{"key", "operator"}, 3375 }, 3376 }, 3377 } 3378 } 3379 3380 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition { 3381 return common.OpenAPIDefinition{ 3382 Schema: spec.Schema{ 3383 SchemaProps: spec.SchemaProps{ 3384 Description: "List holds a list of objects, which may not be known by the server.", 3385 Type: []string{"object"}, 3386 Properties: map[string]spec.Schema{ 3387 "kind": { 3388 SchemaProps: spec.SchemaProps{ 3389 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3390 Type: []string{"string"}, 3391 Format: "", 3392 }, 3393 }, 3394 "apiVersion": { 3395 SchemaProps: spec.SchemaProps{ 3396 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 3397 Type: []string{"string"}, 3398 Format: "", 3399 }, 3400 }, 3401 "metadata": { 3402 SchemaProps: spec.SchemaProps{ 3403 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3404 Default: map[string]interface{}{}, 3405 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3406 }, 3407 }, 3408 "items": { 3409 SchemaProps: spec.SchemaProps{ 3410 Description: "List of objects", 3411 Type: []string{"array"}, 3412 Items: &spec.SchemaOrArray{ 3413 Schema: &spec.Schema{ 3414 SchemaProps: spec.SchemaProps{ 3415 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 3416 }, 3417 }, 3418 }, 3419 }, 3420 }, 3421 }, 3422 Required: []string{"items"}, 3423 }, 3424 }, 3425 Dependencies: []string{ 3426 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 3427 } 3428 } 3429 3430 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 3431 return common.OpenAPIDefinition{ 3432 Schema: spec.Schema{ 3433 SchemaProps: spec.SchemaProps{ 3434 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", 3435 Type: []string{"object"}, 3436 Properties: map[string]spec.Schema{ 3437 "selfLink": { 3438 SchemaProps: spec.SchemaProps{ 3439 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 3440 Type: []string{"string"}, 3441 Format: "", 3442 }, 3443 }, 3444 "resourceVersion": { 3445 SchemaProps: spec.SchemaProps{ 3446 Description: "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", 3447 Type: []string{"string"}, 3448 Format: "", 3449 }, 3450 }, 3451 "continue": { 3452 SchemaProps: spec.SchemaProps{ 3453 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.", 3454 Type: []string{"string"}, 3455 Format: "", 3456 }, 3457 }, 3458 "remainingItemCount": { 3459 SchemaProps: spec.SchemaProps{ 3460 Description: "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", 3461 Type: []string{"integer"}, 3462 Format: "int64", 3463 }, 3464 }, 3465 }, 3466 }, 3467 }, 3468 } 3469 } 3470 3471 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 3472 return common.OpenAPIDefinition{ 3473 Schema: spec.Schema{ 3474 SchemaProps: spec.SchemaProps{ 3475 Description: "ListOptions is the query options to a standard REST list call.", 3476 Type: []string{"object"}, 3477 Properties: map[string]spec.Schema{ 3478 "kind": { 3479 SchemaProps: spec.SchemaProps{ 3480 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3481 Type: []string{"string"}, 3482 Format: "", 3483 }, 3484 }, 3485 "apiVersion": { 3486 SchemaProps: spec.SchemaProps{ 3487 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 3488 Type: []string{"string"}, 3489 Format: "", 3490 }, 3491 }, 3492 "labelSelector": { 3493 SchemaProps: spec.SchemaProps{ 3494 Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.", 3495 Type: []string{"string"}, 3496 Format: "", 3497 }, 3498 }, 3499 "fieldSelector": { 3500 SchemaProps: spec.SchemaProps{ 3501 Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.", 3502 Type: []string{"string"}, 3503 Format: "", 3504 }, 3505 }, 3506 "watch": { 3507 SchemaProps: spec.SchemaProps{ 3508 Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", 3509 Type: []string{"boolean"}, 3510 Format: "", 3511 }, 3512 }, 3513 "allowWatchBookmarks": { 3514 SchemaProps: spec.SchemaProps{ 3515 Description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", 3516 Type: []string{"boolean"}, 3517 Format: "", 3518 }, 3519 }, 3520 "resourceVersion": { 3521 SchemaProps: spec.SchemaProps{ 3522 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 3523 Type: []string{"string"}, 3524 Format: "", 3525 }, 3526 }, 3527 "resourceVersionMatch": { 3528 SchemaProps: spec.SchemaProps{ 3529 Description: "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 3530 Type: []string{"string"}, 3531 Format: "", 3532 }, 3533 }, 3534 "timeoutSeconds": { 3535 SchemaProps: spec.SchemaProps{ 3536 Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", 3537 Type: []string{"integer"}, 3538 Format: "int64", 3539 }, 3540 }, 3541 "limit": { 3542 SchemaProps: spec.SchemaProps{ 3543 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.", 3544 Type: []string{"integer"}, 3545 Format: "int64", 3546 }, 3547 }, 3548 "continue": { 3549 SchemaProps: spec.SchemaProps{ 3550 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.", 3551 Type: []string{"string"}, 3552 Format: "", 3553 }, 3554 }, 3555 "sendInitialEvents": { 3556 SchemaProps: spec.SchemaProps{ 3557 Description: "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", 3558 Type: []string{"boolean"}, 3559 Format: "", 3560 }, 3561 }, 3562 }, 3563 }, 3564 }, 3565 } 3566 } 3567 3568 func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 3569 return common.OpenAPIDefinition{ 3570 Schema: spec.Schema{ 3571 SchemaProps: spec.SchemaProps{ 3572 Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", 3573 Type: []string{"object"}, 3574 Properties: map[string]spec.Schema{ 3575 "manager": { 3576 SchemaProps: spec.SchemaProps{ 3577 Description: "Manager is an identifier of the workflow managing these fields.", 3578 Type: []string{"string"}, 3579 Format: "", 3580 }, 3581 }, 3582 "operation": { 3583 SchemaProps: spec.SchemaProps{ 3584 Description: "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", 3585 Type: []string{"string"}, 3586 Format: "", 3587 }, 3588 }, 3589 "apiVersion": { 3590 SchemaProps: spec.SchemaProps{ 3591 Description: "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", 3592 Type: []string{"string"}, 3593 Format: "", 3594 }, 3595 }, 3596 "time": { 3597 SchemaProps: spec.SchemaProps{ 3598 Description: "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.", 3599 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3600 }, 3601 }, 3602 "fieldsType": { 3603 SchemaProps: spec.SchemaProps{ 3604 Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", 3605 Type: []string{"string"}, 3606 Format: "", 3607 }, 3608 }, 3609 "fieldsV1": { 3610 SchemaProps: spec.SchemaProps{ 3611 Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", 3612 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"), 3613 }, 3614 }, 3615 "subresource": { 3616 SchemaProps: spec.SchemaProps{ 3617 Description: "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", 3618 Type: []string{"string"}, 3619 Format: "", 3620 }, 3621 }, 3622 }, 3623 }, 3624 }, 3625 Dependencies: []string{ 3626 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3627 } 3628 } 3629 3630 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition { 3631 return common.OpenAPIDefinition{ 3632 Schema: spec.Schema{ 3633 SchemaProps: spec.SchemaProps{ 3634 Description: "MicroTime is version of Time with microsecond level precision.", 3635 Type: v1.MicroTime{}.OpenAPISchemaType(), 3636 Format: v1.MicroTime{}.OpenAPISchemaFormat(), 3637 }, 3638 }, 3639 } 3640 } 3641 3642 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 3643 return common.OpenAPIDefinition{ 3644 Schema: spec.Schema{ 3645 SchemaProps: spec.SchemaProps{ 3646 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", 3647 Type: []string{"object"}, 3648 Properties: map[string]spec.Schema{ 3649 "name": { 3650 SchemaProps: spec.SchemaProps{ 3651 Description: "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", 3652 Type: []string{"string"}, 3653 Format: "", 3654 }, 3655 }, 3656 "generateName": { 3657 SchemaProps: spec.SchemaProps{ 3658 Description: "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", 3659 Type: []string{"string"}, 3660 Format: "", 3661 }, 3662 }, 3663 "namespace": { 3664 SchemaProps: spec.SchemaProps{ 3665 Description: "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", 3666 Type: []string{"string"}, 3667 Format: "", 3668 }, 3669 }, 3670 "selfLink": { 3671 SchemaProps: spec.SchemaProps{ 3672 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 3673 Type: []string{"string"}, 3674 Format: "", 3675 }, 3676 }, 3677 "uid": { 3678 SchemaProps: spec.SchemaProps{ 3679 Description: "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 3680 Type: []string{"string"}, 3681 Format: "", 3682 }, 3683 }, 3684 "resourceVersion": { 3685 SchemaProps: spec.SchemaProps{ 3686 Description: "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", 3687 Type: []string{"string"}, 3688 Format: "", 3689 }, 3690 }, 3691 "generation": { 3692 SchemaProps: spec.SchemaProps{ 3693 Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", 3694 Type: []string{"integer"}, 3695 Format: "int64", 3696 }, 3697 }, 3698 "creationTimestamp": { 3699 SchemaProps: spec.SchemaProps{ 3700 Description: "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 3701 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3702 }, 3703 }, 3704 "deletionTimestamp": { 3705 SchemaProps: spec.SchemaProps{ 3706 Description: "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 3707 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3708 }, 3709 }, 3710 "deletionGracePeriodSeconds": { 3711 SchemaProps: spec.SchemaProps{ 3712 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.", 3713 Type: []string{"integer"}, 3714 Format: "int64", 3715 }, 3716 }, 3717 "labels": { 3718 SchemaProps: spec.SchemaProps{ 3719 Description: "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", 3720 Type: []string{"object"}, 3721 AdditionalProperties: &spec.SchemaOrBool{ 3722 Allows: true, 3723 Schema: &spec.Schema{ 3724 SchemaProps: spec.SchemaProps{ 3725 Default: "", 3726 Type: []string{"string"}, 3727 Format: "", 3728 }, 3729 }, 3730 }, 3731 }, 3732 }, 3733 "annotations": { 3734 SchemaProps: spec.SchemaProps{ 3735 Description: "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", 3736 Type: []string{"object"}, 3737 AdditionalProperties: &spec.SchemaOrBool{ 3738 Allows: true, 3739 Schema: &spec.Schema{ 3740 SchemaProps: spec.SchemaProps{ 3741 Default: "", 3742 Type: []string{"string"}, 3743 Format: "", 3744 }, 3745 }, 3746 }, 3747 }, 3748 }, 3749 "ownerReferences": { 3750 VendorExtensible: spec.VendorExtensible{ 3751 Extensions: spec.Extensions{ 3752 "x-kubernetes-list-map-keys": []interface{}{ 3753 "uid", 3754 }, 3755 "x-kubernetes-list-type": "map", 3756 "x-kubernetes-patch-merge-key": "uid", 3757 "x-kubernetes-patch-strategy": "merge", 3758 }, 3759 }, 3760 SchemaProps: spec.SchemaProps{ 3761 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.", 3762 Type: []string{"array"}, 3763 Items: &spec.SchemaOrArray{ 3764 Schema: &spec.Schema{ 3765 SchemaProps: spec.SchemaProps{ 3766 Default: map[string]interface{}{}, 3767 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"), 3768 }, 3769 }, 3770 }, 3771 }, 3772 }, 3773 "finalizers": { 3774 VendorExtensible: spec.VendorExtensible{ 3775 Extensions: spec.Extensions{ 3776 "x-kubernetes-list-type": "set", 3777 "x-kubernetes-patch-strategy": "merge", 3778 }, 3779 }, 3780 SchemaProps: spec.SchemaProps{ 3781 Description: "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", 3782 Type: []string{"array"}, 3783 Items: &spec.SchemaOrArray{ 3784 Schema: &spec.Schema{ 3785 SchemaProps: spec.SchemaProps{ 3786 Default: "", 3787 Type: []string{"string"}, 3788 Format: "", 3789 }, 3790 }, 3791 }, 3792 }, 3793 }, 3794 "managedFields": { 3795 VendorExtensible: spec.VendorExtensible{ 3796 Extensions: spec.Extensions{ 3797 "x-kubernetes-list-type": "atomic", 3798 }, 3799 }, 3800 SchemaProps: spec.SchemaProps{ 3801 Description: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", 3802 Type: []string{"array"}, 3803 Items: &spec.SchemaOrArray{ 3804 Schema: &spec.Schema{ 3805 SchemaProps: spec.SchemaProps{ 3806 Default: map[string]interface{}{}, 3807 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"), 3808 }, 3809 }, 3810 }, 3811 }, 3812 }, 3813 }, 3814 }, 3815 }, 3816 Dependencies: []string{ 3817 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3818 } 3819 } 3820 3821 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 3822 return common.OpenAPIDefinition{ 3823 Schema: spec.Schema{ 3824 SchemaProps: spec.SchemaProps{ 3825 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.", 3826 Type: []string{"object"}, 3827 Properties: map[string]spec.Schema{ 3828 "apiVersion": { 3829 SchemaProps: spec.SchemaProps{ 3830 Description: "API version of the referent.", 3831 Default: "", 3832 Type: []string{"string"}, 3833 Format: "", 3834 }, 3835 }, 3836 "kind": { 3837 SchemaProps: spec.SchemaProps{ 3838 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3839 Default: "", 3840 Type: []string{"string"}, 3841 Format: "", 3842 }, 3843 }, 3844 "name": { 3845 SchemaProps: spec.SchemaProps{ 3846 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", 3847 Default: "", 3848 Type: []string{"string"}, 3849 Format: "", 3850 }, 3851 }, 3852 "uid": { 3853 SchemaProps: spec.SchemaProps{ 3854 Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 3855 Default: "", 3856 Type: []string{"string"}, 3857 Format: "", 3858 }, 3859 }, 3860 "controller": { 3861 SchemaProps: spec.SchemaProps{ 3862 Description: "If true, this reference points to the managing controller.", 3863 Type: []string{"boolean"}, 3864 Format: "", 3865 }, 3866 }, 3867 "blockOwnerDeletion": { 3868 SchemaProps: spec.SchemaProps{ 3869 Description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", 3870 Type: []string{"boolean"}, 3871 Format: "", 3872 }, 3873 }, 3874 }, 3875 Required: []string{"apiVersion", "kind", "name", "uid"}, 3876 }, 3877 VendorExtensible: spec.VendorExtensible{ 3878 Extensions: spec.Extensions{ 3879 "x-kubernetes-map-type": "atomic", 3880 }, 3881 }, 3882 }, 3883 } 3884 } 3885 3886 func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition { 3887 return common.OpenAPIDefinition{ 3888 Schema: spec.Schema{ 3889 SchemaProps: spec.SchemaProps{ 3890 Description: "PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version.", 3891 Type: []string{"object"}, 3892 Properties: map[string]spec.Schema{ 3893 "kind": { 3894 SchemaProps: spec.SchemaProps{ 3895 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3896 Type: []string{"string"}, 3897 Format: "", 3898 }, 3899 }, 3900 "apiVersion": { 3901 SchemaProps: spec.SchemaProps{ 3902 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 3903 Type: []string{"string"}, 3904 Format: "", 3905 }, 3906 }, 3907 "metadata": { 3908 SchemaProps: spec.SchemaProps{ 3909 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 3910 Default: map[string]interface{}{}, 3911 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3912 }, 3913 }, 3914 }, 3915 }, 3916 }, 3917 Dependencies: []string{ 3918 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3919 } 3920 } 3921 3922 func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3923 return common.OpenAPIDefinition{ 3924 Schema: spec.Schema{ 3925 SchemaProps: spec.SchemaProps{ 3926 Description: "PartialObjectMetadataList contains a list of objects containing only their metadata", 3927 Type: []string{"object"}, 3928 Properties: map[string]spec.Schema{ 3929 "kind": { 3930 SchemaProps: spec.SchemaProps{ 3931 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3932 Type: []string{"string"}, 3933 Format: "", 3934 }, 3935 }, 3936 "apiVersion": { 3937 SchemaProps: spec.SchemaProps{ 3938 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 3939 Type: []string{"string"}, 3940 Format: "", 3941 }, 3942 }, 3943 "metadata": { 3944 SchemaProps: spec.SchemaProps{ 3945 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3946 Default: map[string]interface{}{}, 3947 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3948 }, 3949 }, 3950 "items": { 3951 SchemaProps: spec.SchemaProps{ 3952 Description: "items contains each of the included items.", 3953 Type: []string{"array"}, 3954 Items: &spec.SchemaOrArray{ 3955 Schema: &spec.Schema{ 3956 SchemaProps: spec.SchemaProps{ 3957 Default: map[string]interface{}{}, 3958 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"), 3959 }, 3960 }, 3961 }, 3962 }, 3963 }, 3964 }, 3965 Required: []string{"items"}, 3966 }, 3967 }, 3968 Dependencies: []string{ 3969 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"}, 3970 } 3971 } 3972 3973 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition { 3974 return common.OpenAPIDefinition{ 3975 Schema: spec.Schema{ 3976 SchemaProps: spec.SchemaProps{ 3977 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", 3978 Type: []string{"object"}, 3979 }, 3980 }, 3981 } 3982 } 3983 3984 func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 3985 return common.OpenAPIDefinition{ 3986 Schema: spec.Schema{ 3987 SchemaProps: spec.SchemaProps{ 3988 Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.", 3989 Type: []string{"object"}, 3990 Properties: map[string]spec.Schema{ 3991 "kind": { 3992 SchemaProps: spec.SchemaProps{ 3993 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 3994 Type: []string{"string"}, 3995 Format: "", 3996 }, 3997 }, 3998 "apiVersion": { 3999 SchemaProps: spec.SchemaProps{ 4000 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4001 Type: []string{"string"}, 4002 Format: "", 4003 }, 4004 }, 4005 "dryRun": { 4006 VendorExtensible: spec.VendorExtensible{ 4007 Extensions: spec.Extensions{ 4008 "x-kubernetes-list-type": "atomic", 4009 }, 4010 }, 4011 SchemaProps: spec.SchemaProps{ 4012 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", 4013 Type: []string{"array"}, 4014 Items: &spec.SchemaOrArray{ 4015 Schema: &spec.Schema{ 4016 SchemaProps: spec.SchemaProps{ 4017 Default: "", 4018 Type: []string{"string"}, 4019 Format: "", 4020 }, 4021 }, 4022 }, 4023 }, 4024 }, 4025 "force": { 4026 SchemaProps: spec.SchemaProps{ 4027 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", 4028 Type: []string{"boolean"}, 4029 Format: "", 4030 }, 4031 }, 4032 "fieldManager": { 4033 SchemaProps: spec.SchemaProps{ 4034 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", 4035 Type: []string{"string"}, 4036 Format: "", 4037 }, 4038 }, 4039 "fieldValidation": { 4040 SchemaProps: spec.SchemaProps{ 4041 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 4042 Type: []string{"string"}, 4043 Format: "", 4044 }, 4045 }, 4046 }, 4047 }, 4048 }, 4049 } 4050 } 4051 4052 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition { 4053 return common.OpenAPIDefinition{ 4054 Schema: spec.Schema{ 4055 SchemaProps: spec.SchemaProps{ 4056 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", 4057 Type: []string{"object"}, 4058 Properties: map[string]spec.Schema{ 4059 "uid": { 4060 SchemaProps: spec.SchemaProps{ 4061 Description: "Specifies the target UID.", 4062 Type: []string{"string"}, 4063 Format: "", 4064 }, 4065 }, 4066 "resourceVersion": { 4067 SchemaProps: spec.SchemaProps{ 4068 Description: "Specifies the target ResourceVersion", 4069 Type: []string{"string"}, 4070 Format: "", 4071 }, 4072 }, 4073 }, 4074 }, 4075 }, 4076 } 4077 } 4078 4079 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition { 4080 return common.OpenAPIDefinition{ 4081 Schema: spec.Schema{ 4082 SchemaProps: spec.SchemaProps{ 4083 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".", 4084 Type: []string{"object"}, 4085 Properties: map[string]spec.Schema{ 4086 "paths": { 4087 VendorExtensible: spec.VendorExtensible{ 4088 Extensions: spec.Extensions{ 4089 "x-kubernetes-list-type": "atomic", 4090 }, 4091 }, 4092 SchemaProps: spec.SchemaProps{ 4093 Description: "paths are the paths available at root.", 4094 Type: []string{"array"}, 4095 Items: &spec.SchemaOrArray{ 4096 Schema: &spec.Schema{ 4097 SchemaProps: spec.SchemaProps{ 4098 Default: "", 4099 Type: []string{"string"}, 4100 Format: "", 4101 }, 4102 }, 4103 }, 4104 }, 4105 }, 4106 }, 4107 Required: []string{"paths"}, 4108 }, 4109 }, 4110 } 4111 } 4112 4113 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition { 4114 return common.OpenAPIDefinition{ 4115 Schema: spec.Schema{ 4116 SchemaProps: spec.SchemaProps{ 4117 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", 4118 Type: []string{"object"}, 4119 Properties: map[string]spec.Schema{ 4120 "clientCIDR": { 4121 SchemaProps: spec.SchemaProps{ 4122 Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", 4123 Default: "", 4124 Type: []string{"string"}, 4125 Format: "", 4126 }, 4127 }, 4128 "serverAddress": { 4129 SchemaProps: spec.SchemaProps{ 4130 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.", 4131 Default: "", 4132 Type: []string{"string"}, 4133 Format: "", 4134 }, 4135 }, 4136 }, 4137 Required: []string{"clientCIDR", "serverAddress"}, 4138 }, 4139 }, 4140 } 4141 } 4142 4143 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { 4144 return common.OpenAPIDefinition{ 4145 Schema: spec.Schema{ 4146 SchemaProps: spec.SchemaProps{ 4147 Description: "Status is a return value for calls that don't return other objects.", 4148 Type: []string{"object"}, 4149 Properties: map[string]spec.Schema{ 4150 "kind": { 4151 SchemaProps: spec.SchemaProps{ 4152 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4153 Type: []string{"string"}, 4154 Format: "", 4155 }, 4156 }, 4157 "apiVersion": { 4158 SchemaProps: spec.SchemaProps{ 4159 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4160 Type: []string{"string"}, 4161 Format: "", 4162 }, 4163 }, 4164 "metadata": { 4165 SchemaProps: spec.SchemaProps{ 4166 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4167 Default: map[string]interface{}{}, 4168 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4169 }, 4170 }, 4171 "status": { 4172 SchemaProps: spec.SchemaProps{ 4173 Description: "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", 4174 Type: []string{"string"}, 4175 Format: "", 4176 }, 4177 }, 4178 "message": { 4179 SchemaProps: spec.SchemaProps{ 4180 Description: "A human-readable description of the status of this operation.", 4181 Type: []string{"string"}, 4182 Format: "", 4183 }, 4184 }, 4185 "reason": { 4186 SchemaProps: spec.SchemaProps{ 4187 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.", 4188 Type: []string{"string"}, 4189 Format: "", 4190 }, 4191 }, 4192 "details": { 4193 VendorExtensible: spec.VendorExtensible{ 4194 Extensions: spec.Extensions{ 4195 "x-kubernetes-list-type": "atomic", 4196 }, 4197 }, 4198 SchemaProps: spec.SchemaProps{ 4199 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.", 4200 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"), 4201 }, 4202 }, 4203 "code": { 4204 SchemaProps: spec.SchemaProps{ 4205 Description: "Suggested HTTP return code for this status, 0 if not set.", 4206 Type: []string{"integer"}, 4207 Format: "int32", 4208 }, 4209 }, 4210 }, 4211 }, 4212 }, 4213 Dependencies: []string{ 4214 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"}, 4215 } 4216 } 4217 4218 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition { 4219 return common.OpenAPIDefinition{ 4220 Schema: spec.Schema{ 4221 SchemaProps: spec.SchemaProps{ 4222 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", 4223 Type: []string{"object"}, 4224 Properties: map[string]spec.Schema{ 4225 "reason": { 4226 SchemaProps: spec.SchemaProps{ 4227 Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.", 4228 Type: []string{"string"}, 4229 Format: "", 4230 }, 4231 }, 4232 "message": { 4233 SchemaProps: spec.SchemaProps{ 4234 Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", 4235 Type: []string{"string"}, 4236 Format: "", 4237 }, 4238 }, 4239 "field": { 4240 SchemaProps: spec.SchemaProps{ 4241 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\"", 4242 Type: []string{"string"}, 4243 Format: "", 4244 }, 4245 }, 4246 }, 4247 }, 4248 }, 4249 } 4250 } 4251 4252 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition { 4253 return common.OpenAPIDefinition{ 4254 Schema: spec.Schema{ 4255 SchemaProps: spec.SchemaProps{ 4256 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.", 4257 Type: []string{"object"}, 4258 Properties: map[string]spec.Schema{ 4259 "name": { 4260 SchemaProps: spec.SchemaProps{ 4261 Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", 4262 Type: []string{"string"}, 4263 Format: "", 4264 }, 4265 }, 4266 "group": { 4267 SchemaProps: spec.SchemaProps{ 4268 Description: "The group attribute of the resource associated with the status StatusReason.", 4269 Type: []string{"string"}, 4270 Format: "", 4271 }, 4272 }, 4273 "kind": { 4274 SchemaProps: spec.SchemaProps{ 4275 Description: "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4276 Type: []string{"string"}, 4277 Format: "", 4278 }, 4279 }, 4280 "uid": { 4281 SchemaProps: spec.SchemaProps{ 4282 Description: "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 4283 Type: []string{"string"}, 4284 Format: "", 4285 }, 4286 }, 4287 "causes": { 4288 VendorExtensible: spec.VendorExtensible{ 4289 Extensions: spec.Extensions{ 4290 "x-kubernetes-list-type": "atomic", 4291 }, 4292 }, 4293 SchemaProps: spec.SchemaProps{ 4294 Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", 4295 Type: []string{"array"}, 4296 Items: &spec.SchemaOrArray{ 4297 Schema: &spec.Schema{ 4298 SchemaProps: spec.SchemaProps{ 4299 Default: map[string]interface{}{}, 4300 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"), 4301 }, 4302 }, 4303 }, 4304 }, 4305 }, 4306 "retryAfterSeconds": { 4307 SchemaProps: spec.SchemaProps{ 4308 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.", 4309 Type: []string{"integer"}, 4310 Format: "int32", 4311 }, 4312 }, 4313 }, 4314 }, 4315 }, 4316 Dependencies: []string{ 4317 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"}, 4318 } 4319 } 4320 4321 func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition { 4322 return common.OpenAPIDefinition{ 4323 Schema: spec.Schema{ 4324 SchemaProps: spec.SchemaProps{ 4325 Description: "Table is a tabular representation of a set of API resources. The server transforms the object into a set of preferred columns for quickly reviewing the objects.", 4326 Type: []string{"object"}, 4327 Properties: map[string]spec.Schema{ 4328 "kind": { 4329 SchemaProps: spec.SchemaProps{ 4330 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4331 Type: []string{"string"}, 4332 Format: "", 4333 }, 4334 }, 4335 "apiVersion": { 4336 SchemaProps: spec.SchemaProps{ 4337 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4338 Type: []string{"string"}, 4339 Format: "", 4340 }, 4341 }, 4342 "metadata": { 4343 SchemaProps: spec.SchemaProps{ 4344 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4345 Default: map[string]interface{}{}, 4346 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4347 }, 4348 }, 4349 "columnDefinitions": { 4350 VendorExtensible: spec.VendorExtensible{ 4351 Extensions: spec.Extensions{ 4352 "x-kubernetes-list-type": "atomic", 4353 }, 4354 }, 4355 SchemaProps: spec.SchemaProps{ 4356 Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.", 4357 Type: []string{"array"}, 4358 Items: &spec.SchemaOrArray{ 4359 Schema: &spec.Schema{ 4360 SchemaProps: spec.SchemaProps{ 4361 Default: map[string]interface{}{}, 4362 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"), 4363 }, 4364 }, 4365 }, 4366 }, 4367 }, 4368 "rows": { 4369 VendorExtensible: spec.VendorExtensible{ 4370 Extensions: spec.Extensions{ 4371 "x-kubernetes-list-type": "atomic", 4372 }, 4373 }, 4374 SchemaProps: spec.SchemaProps{ 4375 Description: "rows is the list of items in the table.", 4376 Type: []string{"array"}, 4377 Items: &spec.SchemaOrArray{ 4378 Schema: &spec.Schema{ 4379 SchemaProps: spec.SchemaProps{ 4380 Default: map[string]interface{}{}, 4381 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"), 4382 }, 4383 }, 4384 }, 4385 }, 4386 }, 4387 }, 4388 Required: []string{"columnDefinitions", "rows"}, 4389 }, 4390 }, 4391 Dependencies: []string{ 4392 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"}, 4393 } 4394 } 4395 4396 func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition { 4397 return common.OpenAPIDefinition{ 4398 Schema: spec.Schema{ 4399 SchemaProps: spec.SchemaProps{ 4400 Description: "TableColumnDefinition contains information about a column returned in the Table.", 4401 Type: []string{"object"}, 4402 Properties: map[string]spec.Schema{ 4403 "name": { 4404 SchemaProps: spec.SchemaProps{ 4405 Description: "name is a human readable name for the column.", 4406 Default: "", 4407 Type: []string{"string"}, 4408 Format: "", 4409 }, 4410 }, 4411 "type": { 4412 SchemaProps: spec.SchemaProps{ 4413 Description: "type is an OpenAPI type definition for this column, such as number, integer, string, or array. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", 4414 Default: "", 4415 Type: []string{"string"}, 4416 Format: "", 4417 }, 4418 }, 4419 "format": { 4420 SchemaProps: spec.SchemaProps{ 4421 Description: "format is an optional OpenAPI type modifier for this column. A format modifies the type and imposes additional rules, like date or time formatting for a string. The 'name' format is applied to the primary identifier column which has type 'string' to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", 4422 Default: "", 4423 Type: []string{"string"}, 4424 Format: "", 4425 }, 4426 }, 4427 "description": { 4428 SchemaProps: spec.SchemaProps{ 4429 Description: "description is a human readable description of this column.", 4430 Default: "", 4431 Type: []string{"string"}, 4432 Format: "", 4433 }, 4434 }, 4435 "priority": { 4436 SchemaProps: spec.SchemaProps{ 4437 Description: "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", 4438 Default: 0, 4439 Type: []string{"integer"}, 4440 Format: "int32", 4441 }, 4442 }, 4443 }, 4444 Required: []string{"name", "type", "format", "description", "priority"}, 4445 }, 4446 }, 4447 } 4448 } 4449 4450 func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 4451 return common.OpenAPIDefinition{ 4452 Schema: spec.Schema{ 4453 SchemaProps: spec.SchemaProps{ 4454 Description: "TableOptions are used when a Table is requested by the caller.", 4455 Type: []string{"object"}, 4456 Properties: map[string]spec.Schema{ 4457 "kind": { 4458 SchemaProps: spec.SchemaProps{ 4459 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4460 Type: []string{"string"}, 4461 Format: "", 4462 }, 4463 }, 4464 "apiVersion": { 4465 SchemaProps: spec.SchemaProps{ 4466 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4467 Type: []string{"string"}, 4468 Format: "", 4469 }, 4470 }, 4471 "includeObject": { 4472 SchemaProps: spec.SchemaProps{ 4473 Description: "includeObject decides whether to include each object along with its columnar information. Specifying \"None\" will return no object, specifying \"Object\" will return the full object contents, and specifying \"Metadata\" (the default) will return the object's metadata in the PartialObjectMetadata kind in version v1beta1 of the meta.k8s.io API group.", 4474 Type: []string{"string"}, 4475 Format: "", 4476 }, 4477 }, 4478 }, 4479 }, 4480 }, 4481 } 4482 } 4483 4484 func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition { 4485 return common.OpenAPIDefinition{ 4486 Schema: spec.Schema{ 4487 SchemaProps: spec.SchemaProps{ 4488 Description: "TableRow is an individual row in a table.", 4489 Type: []string{"object"}, 4490 Properties: map[string]spec.Schema{ 4491 "cells": { 4492 VendorExtensible: spec.VendorExtensible{ 4493 Extensions: spec.Extensions{ 4494 "x-kubernetes-list-type": "atomic", 4495 }, 4496 }, 4497 SchemaProps: spec.SchemaProps{ 4498 Description: "cells will be as wide as the column definitions array and may contain strings, numbers (float64 or int64), booleans, simple maps, lists, or null. See the type field of the column definition for a more detailed description.", 4499 Type: []string{"array"}, 4500 Items: &spec.SchemaOrArray{ 4501 Schema: &spec.Schema{ 4502 SchemaProps: spec.SchemaProps{ 4503 Type: []string{"object"}, 4504 Format: "", 4505 }, 4506 }, 4507 }, 4508 }, 4509 }, 4510 "conditions": { 4511 VendorExtensible: spec.VendorExtensible{ 4512 Extensions: spec.Extensions{ 4513 "x-kubernetes-list-type": "atomic", 4514 }, 4515 }, 4516 SchemaProps: spec.SchemaProps{ 4517 Description: "conditions describe additional status of a row that are relevant for a human user. These conditions apply to the row, not to the object, and will be specific to table output. The only defined condition type is 'Completed', for a row that indicates a resource that has run to completion and can be given less visual priority.", 4518 Type: []string{"array"}, 4519 Items: &spec.SchemaOrArray{ 4520 Schema: &spec.Schema{ 4521 SchemaProps: spec.SchemaProps{ 4522 Default: map[string]interface{}{}, 4523 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"), 4524 }, 4525 }, 4526 }, 4527 }, 4528 }, 4529 "object": { 4530 SchemaProps: spec.SchemaProps{ 4531 Description: "This field contains the requested additional information about each object based on the includeObject policy when requesting the Table. If \"None\", this field is empty, if \"Object\" this will be the default serialization of the object for the current API version, and if \"Metadata\" (the default) will contain the object metadata. Check the returned kind and apiVersion of the object before parsing. The media type of the object will always match the enclosing list - if this as a JSON table, these will be JSON encoded objects.", 4532 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 4533 }, 4534 }, 4535 }, 4536 Required: []string{"cells"}, 4537 }, 4538 }, 4539 Dependencies: []string{ 4540 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 4541 } 4542 } 4543 4544 func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 4545 return common.OpenAPIDefinition{ 4546 Schema: spec.Schema{ 4547 SchemaProps: spec.SchemaProps{ 4548 Description: "TableRowCondition allows a row to be marked with additional information.", 4549 Type: []string{"object"}, 4550 Properties: map[string]spec.Schema{ 4551 "type": { 4552 SchemaProps: spec.SchemaProps{ 4553 Description: "Type of row condition. The only defined value is 'Completed' indicating that the object this row represents has reached a completed state and may be given less visual priority than other rows. Clients are not required to honor any conditions but should be consistent where possible about handling the conditions.", 4554 Default: "", 4555 Type: []string{"string"}, 4556 Format: "", 4557 }, 4558 }, 4559 "status": { 4560 SchemaProps: spec.SchemaProps{ 4561 Description: "Status of the condition, one of True, False, Unknown.", 4562 Default: "", 4563 Type: []string{"string"}, 4564 Format: "", 4565 }, 4566 }, 4567 "reason": { 4568 SchemaProps: spec.SchemaProps{ 4569 Description: "(brief) machine readable reason for the condition's last transition.", 4570 Type: []string{"string"}, 4571 Format: "", 4572 }, 4573 }, 4574 "message": { 4575 SchemaProps: spec.SchemaProps{ 4576 Description: "Human readable message indicating details about last transition.", 4577 Type: []string{"string"}, 4578 Format: "", 4579 }, 4580 }, 4581 }, 4582 Required: []string{"type", "status"}, 4583 }, 4584 }, 4585 } 4586 } 4587 4588 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition { 4589 return common.OpenAPIDefinition{ 4590 Schema: spec.Schema{ 4591 SchemaProps: spec.SchemaProps{ 4592 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.", 4593 Type: v1.Time{}.OpenAPISchemaType(), 4594 Format: v1.Time{}.OpenAPISchemaFormat(), 4595 }, 4596 }, 4597 } 4598 } 4599 4600 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition { 4601 return common.OpenAPIDefinition{ 4602 Schema: spec.Schema{ 4603 SchemaProps: spec.SchemaProps{ 4604 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.", 4605 Type: []string{"object"}, 4606 Properties: map[string]spec.Schema{ 4607 "seconds": { 4608 SchemaProps: spec.SchemaProps{ 4609 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.", 4610 Default: 0, 4611 Type: []string{"integer"}, 4612 Format: "int64", 4613 }, 4614 }, 4615 "nanos": { 4616 SchemaProps: spec.SchemaProps{ 4617 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.", 4618 Default: 0, 4619 Type: []string{"integer"}, 4620 Format: "int32", 4621 }, 4622 }, 4623 }, 4624 Required: []string{"seconds", "nanos"}, 4625 }, 4626 }, 4627 } 4628 } 4629 4630 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 4631 return common.OpenAPIDefinition{ 4632 Schema: spec.Schema{ 4633 SchemaProps: spec.SchemaProps{ 4634 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.", 4635 Type: []string{"object"}, 4636 Properties: map[string]spec.Schema{ 4637 "kind": { 4638 SchemaProps: spec.SchemaProps{ 4639 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4640 Type: []string{"string"}, 4641 Format: "", 4642 }, 4643 }, 4644 "apiVersion": { 4645 SchemaProps: spec.SchemaProps{ 4646 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4647 Type: []string{"string"}, 4648 Format: "", 4649 }, 4650 }, 4651 }, 4652 }, 4653 }, 4654 } 4655 } 4656 4657 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 4658 return common.OpenAPIDefinition{ 4659 Schema: spec.Schema{ 4660 SchemaProps: spec.SchemaProps{ 4661 Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.", 4662 Type: []string{"object"}, 4663 Properties: map[string]spec.Schema{ 4664 "kind": { 4665 SchemaProps: spec.SchemaProps{ 4666 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 4667 Type: []string{"string"}, 4668 Format: "", 4669 }, 4670 }, 4671 "apiVersion": { 4672 SchemaProps: spec.SchemaProps{ 4673 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 4674 Type: []string{"string"}, 4675 Format: "", 4676 }, 4677 }, 4678 "dryRun": { 4679 VendorExtensible: spec.VendorExtensible{ 4680 Extensions: spec.Extensions{ 4681 "x-kubernetes-list-type": "atomic", 4682 }, 4683 }, 4684 SchemaProps: spec.SchemaProps{ 4685 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", 4686 Type: []string{"array"}, 4687 Items: &spec.SchemaOrArray{ 4688 Schema: &spec.Schema{ 4689 SchemaProps: spec.SchemaProps{ 4690 Default: "", 4691 Type: []string{"string"}, 4692 Format: "", 4693 }, 4694 }, 4695 }, 4696 }, 4697 }, 4698 "fieldManager": { 4699 SchemaProps: spec.SchemaProps{ 4700 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", 4701 Type: []string{"string"}, 4702 Format: "", 4703 }, 4704 }, 4705 "fieldValidation": { 4706 SchemaProps: spec.SchemaProps{ 4707 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 4708 Type: []string{"string"}, 4709 Format: "", 4710 }, 4711 }, 4712 }, 4713 }, 4714 }, 4715 } 4716 } 4717 4718 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 4719 return common.OpenAPIDefinition{ 4720 Schema: spec.Schema{ 4721 SchemaProps: spec.SchemaProps{ 4722 Description: "Event represents a single event to a watched resource.", 4723 Type: []string{"object"}, 4724 Properties: map[string]spec.Schema{ 4725 "type": { 4726 SchemaProps: spec.SchemaProps{ 4727 Default: "", 4728 Type: []string{"string"}, 4729 Format: "", 4730 }, 4731 }, 4732 "object": { 4733 SchemaProps: spec.SchemaProps{ 4734 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.", 4735 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 4736 }, 4737 }, 4738 }, 4739 Required: []string{"type", "object"}, 4740 }, 4741 }, 4742 Dependencies: []string{ 4743 "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 4744 } 4745 } 4746 4747 func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition { 4748 return common.OpenAPIDefinition{ 4749 Schema: spec.Schema{ 4750 SchemaProps: spec.SchemaProps{ 4751 Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", 4752 Type: []string{"object"}, 4753 }, 4754 }, 4755 } 4756 } 4757 4758 func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 4759 return common.OpenAPIDefinition{ 4760 Schema: spec.Schema{ 4761 SchemaProps: spec.SchemaProps{ 4762 Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t runtime.TypeMeta `json:\",inline\"`\n\t ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.", 4763 Type: []string{"object"}, 4764 Properties: map[string]spec.Schema{ 4765 "apiVersion": { 4766 SchemaProps: spec.SchemaProps{ 4767 Type: []string{"string"}, 4768 Format: "", 4769 }, 4770 }, 4771 "kind": { 4772 SchemaProps: spec.SchemaProps{ 4773 Type: []string{"string"}, 4774 Format: "", 4775 }, 4776 }, 4777 }, 4778 }, 4779 }, 4780 } 4781 } 4782 4783 func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition { 4784 return common.OpenAPIDefinition{ 4785 Schema: spec.Schema{ 4786 SchemaProps: spec.SchemaProps{ 4787 Description: "Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. metadata and field mutatation.", 4788 Type: []string{"object"}, 4789 Properties: map[string]spec.Schema{ 4790 "apiVersion": { 4791 SchemaProps: spec.SchemaProps{ 4792 Type: []string{"string"}, 4793 Format: "", 4794 }, 4795 }, 4796 "kind": { 4797 SchemaProps: spec.SchemaProps{ 4798 Type: []string{"string"}, 4799 Format: "", 4800 }, 4801 }, 4802 "ContentEncoding": { 4803 SchemaProps: spec.SchemaProps{ 4804 Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.", 4805 Default: "", 4806 Type: []string{"string"}, 4807 Format: "", 4808 }, 4809 }, 4810 "ContentType": { 4811 SchemaProps: spec.SchemaProps{ 4812 Description: "ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.", 4813 Default: "", 4814 Type: []string{"string"}, 4815 Format: "", 4816 }, 4817 }, 4818 }, 4819 Required: []string{"ContentEncoding", "ContentType"}, 4820 }, 4821 }, 4822 } 4823 } 4824 4825 func schema_k8sio_apimachinery_pkg_version_Info(ref common.ReferenceCallback) common.OpenAPIDefinition { 4826 return common.OpenAPIDefinition{ 4827 Schema: spec.Schema{ 4828 SchemaProps: spec.SchemaProps{ 4829 Description: "Info contains versioning information. how we'll want to distribute that information.", 4830 Type: []string{"object"}, 4831 Properties: map[string]spec.Schema{ 4832 "major": { 4833 SchemaProps: spec.SchemaProps{ 4834 Default: "", 4835 Type: []string{"string"}, 4836 Format: "", 4837 }, 4838 }, 4839 "minor": { 4840 SchemaProps: spec.SchemaProps{ 4841 Default: "", 4842 Type: []string{"string"}, 4843 Format: "", 4844 }, 4845 }, 4846 "gitVersion": { 4847 SchemaProps: spec.SchemaProps{ 4848 Default: "", 4849 Type: []string{"string"}, 4850 Format: "", 4851 }, 4852 }, 4853 "gitCommit": { 4854 SchemaProps: spec.SchemaProps{ 4855 Default: "", 4856 Type: []string{"string"}, 4857 Format: "", 4858 }, 4859 }, 4860 "gitTreeState": { 4861 SchemaProps: spec.SchemaProps{ 4862 Default: "", 4863 Type: []string{"string"}, 4864 Format: "", 4865 }, 4866 }, 4867 "buildDate": { 4868 SchemaProps: spec.SchemaProps{ 4869 Default: "", 4870 Type: []string{"string"}, 4871 Format: "", 4872 }, 4873 }, 4874 "goVersion": { 4875 SchemaProps: spec.SchemaProps{ 4876 Default: "", 4877 Type: []string{"string"}, 4878 Format: "", 4879 }, 4880 }, 4881 "compiler": { 4882 SchemaProps: spec.SchemaProps{ 4883 Default: "", 4884 Type: []string{"string"}, 4885 Format: "", 4886 }, 4887 }, 4888 "platform": { 4889 SchemaProps: spec.SchemaProps{ 4890 Default: "", 4891 Type: []string{"string"}, 4892 Format: "", 4893 }, 4894 }, 4895 }, 4896 Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"}, 4897 }, 4898 }, 4899 } 4900 }