github.com/jenkins-x/jx-api@v0.0.24/pkg/client/openapi/k8s_io_apimachinery_meta_v1/openapi_generated.go (about) 1 // +build !ignore_autogenerated 2 3 // Code generated by openapi-gen. DO NOT EDIT. 4 5 // This file was autogenerated by openapi-gen. Do not edit it manually! 6 7 package k8s_io_apimachinery_meta_v1 8 9 import ( 10 spec "github.com/go-openapi/spec" 11 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 12 common "k8s.io/kube-openapi/pkg/common" 13 ) 14 15 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { 16 return map[string]common.OpenAPIDefinition{ 17 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), 18 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), 19 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), 20 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), 21 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), 22 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), 23 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), 24 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), 25 "k8s.io/apimachinery/pkg/apis/meta/v1.ExportOptions": schema_pkg_apis_meta_v1_ExportOptions(ref), 26 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), 27 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), 28 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), 29 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), 30 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), 31 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), 32 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), 33 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), 34 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), 35 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), 36 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), 37 "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), 38 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), 39 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), 40 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), 41 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), 42 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), 43 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), 44 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), 45 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), 46 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), 47 "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), 48 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), 49 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), 50 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), 51 "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), 52 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), 53 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), 54 "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), 55 "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), 56 "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), 57 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), 58 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), 59 "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), 60 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), 61 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), 62 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), 63 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), 64 } 65 } 66 67 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { 68 return common.OpenAPIDefinition{ 69 Schema: spec.Schema{ 70 SchemaProps: spec.SchemaProps{ 71 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.", 72 Type: []string{"object"}, 73 Properties: map[string]spec.Schema{ 74 "kind": { 75 SchemaProps: spec.SchemaProps{ 76 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 77 Type: []string{"string"}, 78 Format: "", 79 }, 80 }, 81 "apiVersion": { 82 SchemaProps: spec.SchemaProps{ 83 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 84 Type: []string{"string"}, 85 Format: "", 86 }, 87 }, 88 "name": { 89 SchemaProps: spec.SchemaProps{ 90 Description: "name is the name of the group.", 91 Type: []string{"string"}, 92 Format: "", 93 }, 94 }, 95 "versions": { 96 SchemaProps: spec.SchemaProps{ 97 Description: "versions are the versions supported in this group.", 98 Type: []string{"array"}, 99 Items: &spec.SchemaOrArray{ 100 Schema: &spec.Schema{ 101 SchemaProps: spec.SchemaProps{ 102 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 103 }, 104 }, 105 }, 106 }, 107 }, 108 "preferredVersion": { 109 SchemaProps: spec.SchemaProps{ 110 Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.", 111 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 112 }, 113 }, 114 "serverAddressByClientCIDRs": { 115 SchemaProps: spec.SchemaProps{ 116 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.", 117 Type: []string{"array"}, 118 Items: &spec.SchemaOrArray{ 119 Schema: &spec.Schema{ 120 SchemaProps: spec.SchemaProps{ 121 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 122 }, 123 }, 124 }, 125 }, 126 }, 127 }, 128 Required: []string{"name", "versions"}, 129 }, 130 }, 131 Dependencies: []string{ 132 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 133 } 134 } 135 136 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { 137 return common.OpenAPIDefinition{ 138 Schema: spec.Schema{ 139 SchemaProps: spec.SchemaProps{ 140 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", 141 Type: []string{"object"}, 142 Properties: map[string]spec.Schema{ 143 "kind": { 144 SchemaProps: spec.SchemaProps{ 145 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 146 Type: []string{"string"}, 147 Format: "", 148 }, 149 }, 150 "apiVersion": { 151 SchemaProps: spec.SchemaProps{ 152 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 153 Type: []string{"string"}, 154 Format: "", 155 }, 156 }, 157 "groups": { 158 SchemaProps: spec.SchemaProps{ 159 Description: "groups is a list of APIGroup.", 160 Type: []string{"array"}, 161 Items: &spec.SchemaOrArray{ 162 Schema: &spec.Schema{ 163 SchemaProps: spec.SchemaProps{ 164 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"), 165 }, 166 }, 167 }, 168 }, 169 }, 170 }, 171 Required: []string{"groups"}, 172 }, 173 }, 174 Dependencies: []string{ 175 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"}, 176 } 177 } 178 179 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 180 return common.OpenAPIDefinition{ 181 Schema: spec.Schema{ 182 SchemaProps: spec.SchemaProps{ 183 Description: "APIResource specifies the name of a resource and whether it is namespaced.", 184 Type: []string{"object"}, 185 Properties: map[string]spec.Schema{ 186 "name": { 187 SchemaProps: spec.SchemaProps{ 188 Description: "name is the plural name of the resource.", 189 Type: []string{"string"}, 190 Format: "", 191 }, 192 }, 193 "singularName": { 194 SchemaProps: spec.SchemaProps{ 195 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.", 196 Type: []string{"string"}, 197 Format: "", 198 }, 199 }, 200 "namespaced": { 201 SchemaProps: spec.SchemaProps{ 202 Description: "namespaced indicates if a resource is namespaced or not.", 203 Type: []string{"boolean"}, 204 Format: "", 205 }, 206 }, 207 "group": { 208 SchemaProps: spec.SchemaProps{ 209 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\".", 210 Type: []string{"string"}, 211 Format: "", 212 }, 213 }, 214 "version": { 215 SchemaProps: spec.SchemaProps{ 216 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)\".", 217 Type: []string{"string"}, 218 Format: "", 219 }, 220 }, 221 "kind": { 222 SchemaProps: spec.SchemaProps{ 223 Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", 224 Type: []string{"string"}, 225 Format: "", 226 }, 227 }, 228 "verbs": { 229 SchemaProps: spec.SchemaProps{ 230 Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", 231 Type: []string{"array"}, 232 Items: &spec.SchemaOrArray{ 233 Schema: &spec.Schema{ 234 SchemaProps: spec.SchemaProps{ 235 Type: []string{"string"}, 236 Format: "", 237 }, 238 }, 239 }, 240 }, 241 }, 242 "shortNames": { 243 SchemaProps: spec.SchemaProps{ 244 Description: "shortNames is a list of suggested short names of the resource.", 245 Type: []string{"array"}, 246 Items: &spec.SchemaOrArray{ 247 Schema: &spec.Schema{ 248 SchemaProps: spec.SchemaProps{ 249 Type: []string{"string"}, 250 Format: "", 251 }, 252 }, 253 }, 254 }, 255 }, 256 "categories": { 257 SchemaProps: spec.SchemaProps{ 258 Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", 259 Type: []string{"array"}, 260 Items: &spec.SchemaOrArray{ 261 Schema: &spec.Schema{ 262 SchemaProps: spec.SchemaProps{ 263 Type: []string{"string"}, 264 Format: "", 265 }, 266 }, 267 }, 268 }, 269 }, 270 "storageVersionHash": { 271 SchemaProps: spec.SchemaProps{ 272 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.", 273 Type: []string{"string"}, 274 Format: "", 275 }, 276 }, 277 }, 278 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"}, 279 }, 280 }, 281 Dependencies: []string{}, 282 } 283 } 284 285 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 286 return common.OpenAPIDefinition{ 287 Schema: spec.Schema{ 288 SchemaProps: spec.SchemaProps{ 289 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.", 290 Type: []string{"object"}, 291 Properties: map[string]spec.Schema{ 292 "kind": { 293 SchemaProps: spec.SchemaProps{ 294 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 295 Type: []string{"string"}, 296 Format: "", 297 }, 298 }, 299 "apiVersion": { 300 SchemaProps: spec.SchemaProps{ 301 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 302 Type: []string{"string"}, 303 Format: "", 304 }, 305 }, 306 "groupVersion": { 307 SchemaProps: spec.SchemaProps{ 308 Description: "groupVersion is the group and version this APIResourceList is for.", 309 Type: []string{"string"}, 310 Format: "", 311 }, 312 }, 313 "resources": { 314 SchemaProps: spec.SchemaProps{ 315 Description: "resources contains the name of the resources and if they are namespaced.", 316 Type: []string{"array"}, 317 Items: &spec.SchemaOrArray{ 318 Schema: &spec.Schema{ 319 SchemaProps: spec.SchemaProps{ 320 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"), 321 }, 322 }, 323 }, 324 }, 325 }, 326 }, 327 Required: []string{"groupVersion", "resources"}, 328 }, 329 }, 330 Dependencies: []string{ 331 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"}, 332 } 333 } 334 335 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition { 336 return common.OpenAPIDefinition{ 337 Schema: spec.Schema{ 338 SchemaProps: spec.SchemaProps{ 339 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.", 340 Type: []string{"object"}, 341 Properties: map[string]spec.Schema{ 342 "kind": { 343 SchemaProps: spec.SchemaProps{ 344 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 345 Type: []string{"string"}, 346 Format: "", 347 }, 348 }, 349 "apiVersion": { 350 SchemaProps: spec.SchemaProps{ 351 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 352 Type: []string{"string"}, 353 Format: "", 354 }, 355 }, 356 "versions": { 357 SchemaProps: spec.SchemaProps{ 358 Description: "versions are the api versions that are available.", 359 Type: []string{"array"}, 360 Items: &spec.SchemaOrArray{ 361 Schema: &spec.Schema{ 362 SchemaProps: spec.SchemaProps{ 363 Type: []string{"string"}, 364 Format: "", 365 }, 366 }, 367 }, 368 }, 369 }, 370 "serverAddressByClientCIDRs": { 371 SchemaProps: spec.SchemaProps{ 372 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.", 373 Type: []string{"array"}, 374 Items: &spec.SchemaOrArray{ 375 Schema: &spec.Schema{ 376 SchemaProps: spec.SchemaProps{ 377 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 378 }, 379 }, 380 }, 381 }, 382 }, 383 }, 384 Required: []string{"versions", "serverAddressByClientCIDRs"}, 385 }, 386 }, 387 Dependencies: []string{ 388 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 389 } 390 } 391 392 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 393 return common.OpenAPIDefinition{ 394 Schema: spec.Schema{ 395 SchemaProps: spec.SchemaProps{ 396 Description: "CreateOptions may be provided when creating an API object.", 397 Type: []string{"object"}, 398 Properties: map[string]spec.Schema{ 399 "kind": { 400 SchemaProps: spec.SchemaProps{ 401 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 402 Type: []string{"string"}, 403 Format: "", 404 }, 405 }, 406 "apiVersion": { 407 SchemaProps: spec.SchemaProps{ 408 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 409 Type: []string{"string"}, 410 Format: "", 411 }, 412 }, 413 "dryRun": { 414 SchemaProps: spec.SchemaProps{ 415 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", 416 Type: []string{"array"}, 417 Items: &spec.SchemaOrArray{ 418 Schema: &spec.Schema{ 419 SchemaProps: spec.SchemaProps{ 420 Type: []string{"string"}, 421 Format: "", 422 }, 423 }, 424 }, 425 }, 426 }, 427 "fieldManager": { 428 SchemaProps: spec.SchemaProps{ 429 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.", 430 Type: []string{"string"}, 431 Format: "", 432 }, 433 }, 434 }, 435 }, 436 }, 437 Dependencies: []string{}, 438 } 439 } 440 441 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 442 return common.OpenAPIDefinition{ 443 Schema: spec.Schema{ 444 SchemaProps: spec.SchemaProps{ 445 Description: "DeleteOptions may be provided when deleting an API object.", 446 Type: []string{"object"}, 447 Properties: map[string]spec.Schema{ 448 "kind": { 449 SchemaProps: spec.SchemaProps{ 450 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 451 Type: []string{"string"}, 452 Format: "", 453 }, 454 }, 455 "apiVersion": { 456 SchemaProps: spec.SchemaProps{ 457 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 458 Type: []string{"string"}, 459 Format: "", 460 }, 461 }, 462 "gracePeriodSeconds": { 463 SchemaProps: spec.SchemaProps{ 464 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.", 465 Type: []string{"integer"}, 466 Format: "int64", 467 }, 468 }, 469 "preconditions": { 470 SchemaProps: spec.SchemaProps{ 471 Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", 472 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"), 473 }, 474 }, 475 "orphanDependents": { 476 SchemaProps: spec.SchemaProps{ 477 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.", 478 Type: []string{"boolean"}, 479 Format: "", 480 }, 481 }, 482 "propagationPolicy": { 483 SchemaProps: spec.SchemaProps{ 484 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.", 485 Type: []string{"string"}, 486 Format: "", 487 }, 488 }, 489 "dryRun": { 490 SchemaProps: spec.SchemaProps{ 491 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", 492 Type: []string{"array"}, 493 Items: &spec.SchemaOrArray{ 494 Schema: &spec.Schema{ 495 SchemaProps: spec.SchemaProps{ 496 Type: []string{"string"}, 497 Format: "", 498 }, 499 }, 500 }, 501 }, 502 }, 503 }, 504 }, 505 }, 506 Dependencies: []string{ 507 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"}, 508 } 509 } 510 511 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition { 512 return common.OpenAPIDefinition{ 513 Schema: spec.Schema{ 514 SchemaProps: spec.SchemaProps{ 515 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.", 516 Type: v1.Duration{}.OpenAPISchemaType(), 517 Format: v1.Duration{}.OpenAPISchemaFormat(), 518 }, 519 }, 520 } 521 } 522 523 func schema_pkg_apis_meta_v1_ExportOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 524 return common.OpenAPIDefinition{ 525 Schema: spec.Schema{ 526 SchemaProps: spec.SchemaProps{ 527 Description: "ExportOptions is the query options to the standard REST get call. Deprecated. Planned for removal in 1.18.", 528 Type: []string{"object"}, 529 Properties: map[string]spec.Schema{ 530 "kind": { 531 SchemaProps: spec.SchemaProps{ 532 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 533 Type: []string{"string"}, 534 Format: "", 535 }, 536 }, 537 "apiVersion": { 538 SchemaProps: spec.SchemaProps{ 539 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 540 Type: []string{"string"}, 541 Format: "", 542 }, 543 }, 544 "export": { 545 SchemaProps: spec.SchemaProps{ 546 Description: "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", 547 Type: []string{"boolean"}, 548 Format: "", 549 }, 550 }, 551 "exact": { 552 SchemaProps: spec.SchemaProps{ 553 Description: "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", 554 Type: []string{"boolean"}, 555 Format: "", 556 }, 557 }, 558 }, 559 Required: []string{"export", "exact"}, 560 }, 561 }, 562 Dependencies: []string{}, 563 } 564 } 565 566 func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition { 567 return common.OpenAPIDefinition{ 568 Schema: spec.Schema{ 569 SchemaProps: spec.SchemaProps{ 570 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", 571 Type: []string{"object"}, 572 Properties: map[string]spec.Schema{}, 573 }, 574 }, 575 Dependencies: []string{}, 576 } 577 } 578 579 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 580 return common.OpenAPIDefinition{ 581 Schema: spec.Schema{ 582 SchemaProps: spec.SchemaProps{ 583 Description: "GetOptions is the standard query options to the standard REST get call.", 584 Type: []string{"object"}, 585 Properties: map[string]spec.Schema{ 586 "kind": { 587 SchemaProps: spec.SchemaProps{ 588 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 589 Type: []string{"string"}, 590 Format: "", 591 }, 592 }, 593 "apiVersion": { 594 SchemaProps: spec.SchemaProps{ 595 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 596 Type: []string{"string"}, 597 Format: "", 598 }, 599 }, 600 "resourceVersion": { 601 SchemaProps: spec.SchemaProps{ 602 Description: "When specified: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", 603 Type: []string{"string"}, 604 Format: "", 605 }, 606 }, 607 }, 608 }, 609 }, 610 Dependencies: []string{}, 611 } 612 } 613 614 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 615 return common.OpenAPIDefinition{ 616 Schema: spec.Schema{ 617 SchemaProps: spec.SchemaProps{ 618 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", 619 Type: []string{"object"}, 620 Properties: map[string]spec.Schema{ 621 "group": { 622 SchemaProps: spec.SchemaProps{ 623 Type: []string{"string"}, 624 Format: "", 625 }, 626 }, 627 "kind": { 628 SchemaProps: spec.SchemaProps{ 629 Type: []string{"string"}, 630 Format: "", 631 }, 632 }, 633 }, 634 Required: []string{"group", "kind"}, 635 }, 636 }, 637 Dependencies: []string{}, 638 } 639 } 640 641 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 642 return common.OpenAPIDefinition{ 643 Schema: spec.Schema{ 644 SchemaProps: spec.SchemaProps{ 645 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", 646 Type: []string{"object"}, 647 Properties: map[string]spec.Schema{ 648 "group": { 649 SchemaProps: spec.SchemaProps{ 650 Type: []string{"string"}, 651 Format: "", 652 }, 653 }, 654 "resource": { 655 SchemaProps: spec.SchemaProps{ 656 Type: []string{"string"}, 657 Format: "", 658 }, 659 }, 660 }, 661 Required: []string{"group", "resource"}, 662 }, 663 }, 664 Dependencies: []string{}, 665 } 666 } 667 668 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { 669 return common.OpenAPIDefinition{ 670 Schema: spec.Schema{ 671 SchemaProps: spec.SchemaProps{ 672 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.", 673 Type: []string{"object"}, 674 Properties: map[string]spec.Schema{ 675 "group": { 676 SchemaProps: spec.SchemaProps{ 677 Type: []string{"string"}, 678 Format: "", 679 }, 680 }, 681 "version": { 682 SchemaProps: spec.SchemaProps{ 683 Type: []string{"string"}, 684 Format: "", 685 }, 686 }, 687 }, 688 Required: []string{"group", "version"}, 689 }, 690 }, 691 Dependencies: []string{}, 692 } 693 } 694 695 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 696 return common.OpenAPIDefinition{ 697 Schema: spec.Schema{ 698 SchemaProps: spec.SchemaProps{ 699 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", 700 Type: []string{"object"}, 701 Properties: map[string]spec.Schema{ 702 "groupVersion": { 703 SchemaProps: spec.SchemaProps{ 704 Description: "groupVersion specifies the API group and version in the form \"group/version\"", 705 Type: []string{"string"}, 706 Format: "", 707 }, 708 }, 709 "version": { 710 SchemaProps: spec.SchemaProps{ 711 Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", 712 Type: []string{"string"}, 713 Format: "", 714 }, 715 }, 716 }, 717 Required: []string{"groupVersion", "version"}, 718 }, 719 }, 720 Dependencies: []string{}, 721 } 722 } 723 724 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 725 return common.OpenAPIDefinition{ 726 Schema: spec.Schema{ 727 SchemaProps: spec.SchemaProps{ 728 Description: "GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling", 729 Type: []string{"object"}, 730 Properties: map[string]spec.Schema{ 731 "group": { 732 SchemaProps: spec.SchemaProps{ 733 Type: []string{"string"}, 734 Format: "", 735 }, 736 }, 737 "version": { 738 SchemaProps: spec.SchemaProps{ 739 Type: []string{"string"}, 740 Format: "", 741 }, 742 }, 743 "kind": { 744 SchemaProps: spec.SchemaProps{ 745 Type: []string{"string"}, 746 Format: "", 747 }, 748 }, 749 }, 750 Required: []string{"group", "version", "kind"}, 751 }, 752 }, 753 Dependencies: []string{}, 754 } 755 } 756 757 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 758 return common.OpenAPIDefinition{ 759 Schema: spec.Schema{ 760 SchemaProps: spec.SchemaProps{ 761 Description: "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling", 762 Type: []string{"object"}, 763 Properties: map[string]spec.Schema{ 764 "group": { 765 SchemaProps: spec.SchemaProps{ 766 Type: []string{"string"}, 767 Format: "", 768 }, 769 }, 770 "version": { 771 SchemaProps: spec.SchemaProps{ 772 Type: []string{"string"}, 773 Format: "", 774 }, 775 }, 776 "resource": { 777 SchemaProps: spec.SchemaProps{ 778 Type: []string{"string"}, 779 Format: "", 780 }, 781 }, 782 }, 783 Required: []string{"group", "version", "resource"}, 784 }, 785 }, 786 Dependencies: []string{}, 787 } 788 } 789 790 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 791 return common.OpenAPIDefinition{ 792 Schema: spec.Schema{ 793 SchemaProps: spec.SchemaProps{ 794 Description: "InternalEvent makes watch.Event versioned", 795 Type: []string{"object"}, 796 Properties: map[string]spec.Schema{ 797 "Type": { 798 SchemaProps: spec.SchemaProps{ 799 Type: []string{"string"}, 800 Format: "", 801 }, 802 }, 803 "Object": { 804 SchemaProps: spec.SchemaProps{ 805 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.", 806 Ref: ref("k8s.io/apimachinery/pkg/runtime.Object"), 807 }, 808 }, 809 }, 810 Required: []string{"Type", "Object"}, 811 }, 812 }, 813 Dependencies: []string{ 814 "k8s.io/apimachinery/pkg/runtime.Object"}, 815 } 816 } 817 818 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 819 return common.OpenAPIDefinition{ 820 Schema: spec.Schema{ 821 SchemaProps: spec.SchemaProps{ 822 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.", 823 Type: []string{"object"}, 824 Properties: map[string]spec.Schema{ 825 "matchLabels": { 826 SchemaProps: spec.SchemaProps{ 827 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.", 828 Type: []string{"object"}, 829 AdditionalProperties: &spec.SchemaOrBool{ 830 Schema: &spec.Schema{ 831 SchemaProps: spec.SchemaProps{ 832 Type: []string{"string"}, 833 Format: "", 834 }, 835 }, 836 }, 837 }, 838 }, 839 "matchExpressions": { 840 SchemaProps: spec.SchemaProps{ 841 Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", 842 Type: []string{"array"}, 843 Items: &spec.SchemaOrArray{ 844 Schema: &spec.Schema{ 845 SchemaProps: spec.SchemaProps{ 846 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"), 847 }, 848 }, 849 }, 850 }, 851 }, 852 }, 853 }, 854 }, 855 Dependencies: []string{ 856 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"}, 857 } 858 } 859 860 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 861 return common.OpenAPIDefinition{ 862 Schema: spec.Schema{ 863 SchemaProps: spec.SchemaProps{ 864 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", 865 Type: []string{"object"}, 866 Properties: map[string]spec.Schema{ 867 "key": { 868 VendorExtensible: spec.VendorExtensible{ 869 Extensions: spec.Extensions{ 870 "x-kubernetes-patch-merge-key": "key", 871 "x-kubernetes-patch-strategy": "merge", 872 }, 873 }, 874 SchemaProps: spec.SchemaProps{ 875 Description: "key is the label key that the selector applies to.", 876 Type: []string{"string"}, 877 Format: "", 878 }, 879 }, 880 "operator": { 881 SchemaProps: spec.SchemaProps{ 882 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", 883 Type: []string{"string"}, 884 Format: "", 885 }, 886 }, 887 "values": { 888 SchemaProps: spec.SchemaProps{ 889 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.", 890 Type: []string{"array"}, 891 Items: &spec.SchemaOrArray{ 892 Schema: &spec.Schema{ 893 SchemaProps: spec.SchemaProps{ 894 Type: []string{"string"}, 895 Format: "", 896 }, 897 }, 898 }, 899 }, 900 }, 901 }, 902 Required: []string{"key", "operator"}, 903 }, 904 }, 905 Dependencies: []string{}, 906 } 907 } 908 909 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition { 910 return common.OpenAPIDefinition{ 911 Schema: spec.Schema{ 912 SchemaProps: spec.SchemaProps{ 913 Description: "List holds a list of objects, which may not be known by the server.", 914 Type: []string{"object"}, 915 Properties: map[string]spec.Schema{ 916 "kind": { 917 SchemaProps: spec.SchemaProps{ 918 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 919 Type: []string{"string"}, 920 Format: "", 921 }, 922 }, 923 "apiVersion": { 924 SchemaProps: spec.SchemaProps{ 925 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 926 Type: []string{"string"}, 927 Format: "", 928 }, 929 }, 930 "metadata": { 931 SchemaProps: spec.SchemaProps{ 932 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 933 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 934 }, 935 }, 936 "items": { 937 SchemaProps: spec.SchemaProps{ 938 Description: "List of objects", 939 Type: []string{"array"}, 940 Items: &spec.SchemaOrArray{ 941 Schema: &spec.Schema{ 942 SchemaProps: spec.SchemaProps{ 943 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 944 }, 945 }, 946 }, 947 }, 948 }, 949 }, 950 Required: []string{"items"}, 951 }, 952 }, 953 Dependencies: []string{ 954 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 955 } 956 } 957 958 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 959 return common.OpenAPIDefinition{ 960 Schema: spec.Schema{ 961 SchemaProps: spec.SchemaProps{ 962 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", 963 Type: []string{"object"}, 964 Properties: map[string]spec.Schema{ 965 "selfLink": { 966 SchemaProps: spec.SchemaProps{ 967 Description: "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", 968 Type: []string{"string"}, 969 Format: "", 970 }, 971 }, 972 "resourceVersion": { 973 SchemaProps: spec.SchemaProps{ 974 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", 975 Type: []string{"string"}, 976 Format: "", 977 }, 978 }, 979 "continue": { 980 SchemaProps: spec.SchemaProps{ 981 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.", 982 Type: []string{"string"}, 983 Format: "", 984 }, 985 }, 986 "remainingItemCount": { 987 SchemaProps: spec.SchemaProps{ 988 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.", 989 Type: []string{"integer"}, 990 Format: "int64", 991 }, 992 }, 993 }, 994 }, 995 }, 996 Dependencies: []string{}, 997 } 998 } 999 1000 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 1001 return common.OpenAPIDefinition{ 1002 Schema: spec.Schema{ 1003 SchemaProps: spec.SchemaProps{ 1004 Description: "ListOptions is the query options to a standard REST list call.", 1005 Type: []string{"object"}, 1006 Properties: map[string]spec.Schema{ 1007 "kind": { 1008 SchemaProps: spec.SchemaProps{ 1009 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1010 Type: []string{"string"}, 1011 Format: "", 1012 }, 1013 }, 1014 "apiVersion": { 1015 SchemaProps: spec.SchemaProps{ 1016 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1017 Type: []string{"string"}, 1018 Format: "", 1019 }, 1020 }, 1021 "labelSelector": { 1022 SchemaProps: spec.SchemaProps{ 1023 Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.", 1024 Type: []string{"string"}, 1025 Format: "", 1026 }, 1027 }, 1028 "fieldSelector": { 1029 SchemaProps: spec.SchemaProps{ 1030 Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.", 1031 Type: []string{"string"}, 1032 Format: "", 1033 }, 1034 }, 1035 "watch": { 1036 SchemaProps: spec.SchemaProps{ 1037 Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", 1038 Type: []string{"boolean"}, 1039 Format: "", 1040 }, 1041 }, 1042 "allowWatchBookmarks": { 1043 SchemaProps: spec.SchemaProps{ 1044 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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", 1045 Type: []string{"boolean"}, 1046 Format: "", 1047 }, 1048 }, 1049 "resourceVersion": { 1050 SchemaProps: spec.SchemaProps{ 1051 Description: "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", 1052 Type: []string{"string"}, 1053 Format: "", 1054 }, 1055 }, 1056 "timeoutSeconds": { 1057 SchemaProps: spec.SchemaProps{ 1058 Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", 1059 Type: []string{"integer"}, 1060 Format: "int64", 1061 }, 1062 }, 1063 "limit": { 1064 SchemaProps: spec.SchemaProps{ 1065 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.", 1066 Type: []string{"integer"}, 1067 Format: "int64", 1068 }, 1069 }, 1070 "continue": { 1071 SchemaProps: spec.SchemaProps{ 1072 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.", 1073 Type: []string{"string"}, 1074 Format: "", 1075 }, 1076 }, 1077 }, 1078 }, 1079 }, 1080 Dependencies: []string{}, 1081 } 1082 } 1083 1084 func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 1085 return common.OpenAPIDefinition{ 1086 Schema: spec.Schema{ 1087 SchemaProps: spec.SchemaProps{ 1088 Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", 1089 Type: []string{"object"}, 1090 Properties: map[string]spec.Schema{ 1091 "manager": { 1092 SchemaProps: spec.SchemaProps{ 1093 Description: "Manager is an identifier of the workflow managing these fields.", 1094 Type: []string{"string"}, 1095 Format: "", 1096 }, 1097 }, 1098 "operation": { 1099 SchemaProps: spec.SchemaProps{ 1100 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'.", 1101 Type: []string{"string"}, 1102 Format: "", 1103 }, 1104 }, 1105 "apiVersion": { 1106 SchemaProps: spec.SchemaProps{ 1107 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.", 1108 Type: []string{"string"}, 1109 Format: "", 1110 }, 1111 }, 1112 "time": { 1113 SchemaProps: spec.SchemaProps{ 1114 Description: "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'", 1115 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1116 }, 1117 }, 1118 "fieldsType": { 1119 SchemaProps: spec.SchemaProps{ 1120 Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", 1121 Type: []string{"string"}, 1122 Format: "", 1123 }, 1124 }, 1125 "fieldsV1": { 1126 SchemaProps: spec.SchemaProps{ 1127 Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", 1128 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"), 1129 }, 1130 }, 1131 }, 1132 }, 1133 }, 1134 Dependencies: []string{ 1135 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1136 } 1137 } 1138 1139 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition { 1140 return common.OpenAPIDefinition{ 1141 Schema: spec.Schema{ 1142 SchemaProps: spec.SchemaProps{ 1143 Description: "MicroTime is version of Time with microsecond level precision.", 1144 Type: v1.MicroTime{}.OpenAPISchemaType(), 1145 Format: v1.MicroTime{}.OpenAPISchemaFormat(), 1146 }, 1147 }, 1148 } 1149 } 1150 1151 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 1152 return common.OpenAPIDefinition{ 1153 Schema: spec.Schema{ 1154 SchemaProps: spec.SchemaProps{ 1155 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", 1156 Type: []string{"object"}, 1157 Properties: map[string]spec.Schema{ 1158 "name": { 1159 SchemaProps: spec.SchemaProps{ 1160 Description: "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", 1161 Type: []string{"string"}, 1162 Format: "", 1163 }, 1164 }, 1165 "generateName": { 1166 SchemaProps: spec.SchemaProps{ 1167 Description: "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", 1168 Type: []string{"string"}, 1169 Format: "", 1170 }, 1171 }, 1172 "namespace": { 1173 SchemaProps: spec.SchemaProps{ 1174 Description: "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", 1175 Type: []string{"string"}, 1176 Format: "", 1177 }, 1178 }, 1179 "selfLink": { 1180 SchemaProps: spec.SchemaProps{ 1181 Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", 1182 Type: []string{"string"}, 1183 Format: "", 1184 }, 1185 }, 1186 "uid": { 1187 SchemaProps: spec.SchemaProps{ 1188 Description: "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", 1189 Type: []string{"string"}, 1190 Format: "", 1191 }, 1192 }, 1193 "resourceVersion": { 1194 SchemaProps: spec.SchemaProps{ 1195 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", 1196 Type: []string{"string"}, 1197 Format: "", 1198 }, 1199 }, 1200 "generation": { 1201 SchemaProps: spec.SchemaProps{ 1202 Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", 1203 Type: []string{"integer"}, 1204 Format: "int64", 1205 }, 1206 }, 1207 "creationTimestamp": { 1208 SchemaProps: spec.SchemaProps{ 1209 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", 1210 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1211 }, 1212 }, 1213 "deletionTimestamp": { 1214 SchemaProps: spec.SchemaProps{ 1215 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", 1216 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1217 }, 1218 }, 1219 "deletionGracePeriodSeconds": { 1220 SchemaProps: spec.SchemaProps{ 1221 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.", 1222 Type: []string{"integer"}, 1223 Format: "int64", 1224 }, 1225 }, 1226 "labels": { 1227 SchemaProps: spec.SchemaProps{ 1228 Description: "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", 1229 Type: []string{"object"}, 1230 AdditionalProperties: &spec.SchemaOrBool{ 1231 Schema: &spec.Schema{ 1232 SchemaProps: spec.SchemaProps{ 1233 Type: []string{"string"}, 1234 Format: "", 1235 }, 1236 }, 1237 }, 1238 }, 1239 }, 1240 "annotations": { 1241 SchemaProps: spec.SchemaProps{ 1242 Description: "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", 1243 Type: []string{"object"}, 1244 AdditionalProperties: &spec.SchemaOrBool{ 1245 Schema: &spec.Schema{ 1246 SchemaProps: spec.SchemaProps{ 1247 Type: []string{"string"}, 1248 Format: "", 1249 }, 1250 }, 1251 }, 1252 }, 1253 }, 1254 "ownerReferences": { 1255 VendorExtensible: spec.VendorExtensible{ 1256 Extensions: spec.Extensions{ 1257 "x-kubernetes-patch-merge-key": "uid", 1258 "x-kubernetes-patch-strategy": "merge", 1259 }, 1260 }, 1261 SchemaProps: spec.SchemaProps{ 1262 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.", 1263 Type: []string{"array"}, 1264 Items: &spec.SchemaOrArray{ 1265 Schema: &spec.Schema{ 1266 SchemaProps: spec.SchemaProps{ 1267 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"), 1268 }, 1269 }, 1270 }, 1271 }, 1272 }, 1273 "finalizers": { 1274 VendorExtensible: spec.VendorExtensible{ 1275 Extensions: spec.Extensions{ 1276 "x-kubernetes-patch-strategy": "merge", 1277 }, 1278 }, 1279 SchemaProps: spec.SchemaProps{ 1280 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.", 1281 Type: []string{"array"}, 1282 Items: &spec.SchemaOrArray{ 1283 Schema: &spec.Schema{ 1284 SchemaProps: spec.SchemaProps{ 1285 Type: []string{"string"}, 1286 Format: "", 1287 }, 1288 }, 1289 }, 1290 }, 1291 }, 1292 "clusterName": { 1293 SchemaProps: spec.SchemaProps{ 1294 Description: "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", 1295 Type: []string{"string"}, 1296 Format: "", 1297 }, 1298 }, 1299 "managedFields": { 1300 SchemaProps: spec.SchemaProps{ 1301 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.", 1302 Type: []string{"array"}, 1303 Items: &spec.SchemaOrArray{ 1304 Schema: &spec.Schema{ 1305 SchemaProps: spec.SchemaProps{ 1306 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"), 1307 }, 1308 }, 1309 }, 1310 }, 1311 }, 1312 }, 1313 }, 1314 }, 1315 Dependencies: []string{ 1316 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1317 } 1318 } 1319 1320 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 1321 return common.OpenAPIDefinition{ 1322 Schema: spec.Schema{ 1323 SchemaProps: spec.SchemaProps{ 1324 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.", 1325 Type: []string{"object"}, 1326 Properties: map[string]spec.Schema{ 1327 "apiVersion": { 1328 SchemaProps: spec.SchemaProps{ 1329 Description: "API version of the referent.", 1330 Type: []string{"string"}, 1331 Format: "", 1332 }, 1333 }, 1334 "kind": { 1335 SchemaProps: spec.SchemaProps{ 1336 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 1337 Type: []string{"string"}, 1338 Format: "", 1339 }, 1340 }, 1341 "name": { 1342 SchemaProps: spec.SchemaProps{ 1343 Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", 1344 Type: []string{"string"}, 1345 Format: "", 1346 }, 1347 }, 1348 "uid": { 1349 SchemaProps: spec.SchemaProps{ 1350 Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", 1351 Type: []string{"string"}, 1352 Format: "", 1353 }, 1354 }, 1355 "controller": { 1356 SchemaProps: spec.SchemaProps{ 1357 Description: "If true, this reference points to the managing controller.", 1358 Type: []string{"boolean"}, 1359 Format: "", 1360 }, 1361 }, 1362 "blockOwnerDeletion": { 1363 SchemaProps: spec.SchemaProps{ 1364 Description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", 1365 Type: []string{"boolean"}, 1366 Format: "", 1367 }, 1368 }, 1369 }, 1370 Required: []string{"apiVersion", "kind", "name", "uid"}, 1371 }, 1372 }, 1373 Dependencies: []string{}, 1374 } 1375 } 1376 1377 func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition { 1378 return common.OpenAPIDefinition{ 1379 Schema: spec.Schema{ 1380 SchemaProps: spec.SchemaProps{ 1381 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.", 1382 Type: []string{"object"}, 1383 Properties: map[string]spec.Schema{ 1384 "kind": { 1385 SchemaProps: spec.SchemaProps{ 1386 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1387 Type: []string{"string"}, 1388 Format: "", 1389 }, 1390 }, 1391 "apiVersion": { 1392 SchemaProps: spec.SchemaProps{ 1393 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1394 Type: []string{"string"}, 1395 Format: "", 1396 }, 1397 }, 1398 "metadata": { 1399 SchemaProps: spec.SchemaProps{ 1400 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 1401 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1402 }, 1403 }, 1404 }, 1405 }, 1406 }, 1407 Dependencies: []string{ 1408 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1409 } 1410 } 1411 1412 func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1413 return common.OpenAPIDefinition{ 1414 Schema: spec.Schema{ 1415 SchemaProps: spec.SchemaProps{ 1416 Description: "PartialObjectMetadataList contains a list of objects containing only their metadata", 1417 Type: []string{"object"}, 1418 Properties: map[string]spec.Schema{ 1419 "kind": { 1420 SchemaProps: spec.SchemaProps{ 1421 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1422 Type: []string{"string"}, 1423 Format: "", 1424 }, 1425 }, 1426 "apiVersion": { 1427 SchemaProps: spec.SchemaProps{ 1428 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1429 Type: []string{"string"}, 1430 Format: "", 1431 }, 1432 }, 1433 "metadata": { 1434 SchemaProps: spec.SchemaProps{ 1435 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 1436 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1437 }, 1438 }, 1439 "items": { 1440 SchemaProps: spec.SchemaProps{ 1441 Description: "items contains each of the included items.", 1442 Type: []string{"array"}, 1443 Items: &spec.SchemaOrArray{ 1444 Schema: &spec.Schema{ 1445 SchemaProps: spec.SchemaProps{ 1446 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"), 1447 }, 1448 }, 1449 }, 1450 }, 1451 }, 1452 }, 1453 Required: []string{"items"}, 1454 }, 1455 }, 1456 Dependencies: []string{ 1457 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"}, 1458 } 1459 } 1460 1461 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition { 1462 return common.OpenAPIDefinition{ 1463 Schema: spec.Schema{ 1464 SchemaProps: spec.SchemaProps{ 1465 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", 1466 Type: []string{"object"}, 1467 Properties: map[string]spec.Schema{}, 1468 }, 1469 }, 1470 Dependencies: []string{}, 1471 } 1472 } 1473 1474 func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 1475 return common.OpenAPIDefinition{ 1476 Schema: spec.Schema{ 1477 SchemaProps: spec.SchemaProps{ 1478 Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.", 1479 Type: []string{"object"}, 1480 Properties: map[string]spec.Schema{ 1481 "kind": { 1482 SchemaProps: spec.SchemaProps{ 1483 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1484 Type: []string{"string"}, 1485 Format: "", 1486 }, 1487 }, 1488 "apiVersion": { 1489 SchemaProps: spec.SchemaProps{ 1490 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1491 Type: []string{"string"}, 1492 Format: "", 1493 }, 1494 }, 1495 "dryRun": { 1496 SchemaProps: spec.SchemaProps{ 1497 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", 1498 Type: []string{"array"}, 1499 Items: &spec.SchemaOrArray{ 1500 Schema: &spec.Schema{ 1501 SchemaProps: spec.SchemaProps{ 1502 Type: []string{"string"}, 1503 Format: "", 1504 }, 1505 }, 1506 }, 1507 }, 1508 }, 1509 "force": { 1510 SchemaProps: spec.SchemaProps{ 1511 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.", 1512 Type: []string{"boolean"}, 1513 Format: "", 1514 }, 1515 }, 1516 "fieldManager": { 1517 SchemaProps: spec.SchemaProps{ 1518 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).", 1519 Type: []string{"string"}, 1520 Format: "", 1521 }, 1522 }, 1523 }, 1524 }, 1525 }, 1526 Dependencies: []string{}, 1527 } 1528 } 1529 1530 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition { 1531 return common.OpenAPIDefinition{ 1532 Schema: spec.Schema{ 1533 SchemaProps: spec.SchemaProps{ 1534 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", 1535 Type: []string{"object"}, 1536 Properties: map[string]spec.Schema{ 1537 "uid": { 1538 SchemaProps: spec.SchemaProps{ 1539 Description: "Specifies the target UID.", 1540 Type: []string{"string"}, 1541 Format: "", 1542 }, 1543 }, 1544 "resourceVersion": { 1545 SchemaProps: spec.SchemaProps{ 1546 Description: "Specifies the target ResourceVersion", 1547 Type: []string{"string"}, 1548 Format: "", 1549 }, 1550 }, 1551 }, 1552 }, 1553 }, 1554 Dependencies: []string{}, 1555 } 1556 } 1557 1558 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition { 1559 return common.OpenAPIDefinition{ 1560 Schema: spec.Schema{ 1561 SchemaProps: spec.SchemaProps{ 1562 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".", 1563 Type: []string{"object"}, 1564 Properties: map[string]spec.Schema{ 1565 "paths": { 1566 SchemaProps: spec.SchemaProps{ 1567 Description: "paths are the paths available at root.", 1568 Type: []string{"array"}, 1569 Items: &spec.SchemaOrArray{ 1570 Schema: &spec.Schema{ 1571 SchemaProps: spec.SchemaProps{ 1572 Type: []string{"string"}, 1573 Format: "", 1574 }, 1575 }, 1576 }, 1577 }, 1578 }, 1579 }, 1580 Required: []string{"paths"}, 1581 }, 1582 }, 1583 Dependencies: []string{}, 1584 } 1585 } 1586 1587 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition { 1588 return common.OpenAPIDefinition{ 1589 Schema: spec.Schema{ 1590 SchemaProps: spec.SchemaProps{ 1591 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", 1592 Type: []string{"object"}, 1593 Properties: map[string]spec.Schema{ 1594 "clientCIDR": { 1595 SchemaProps: spec.SchemaProps{ 1596 Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", 1597 Type: []string{"string"}, 1598 Format: "", 1599 }, 1600 }, 1601 "serverAddress": { 1602 SchemaProps: spec.SchemaProps{ 1603 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.", 1604 Type: []string{"string"}, 1605 Format: "", 1606 }, 1607 }, 1608 }, 1609 Required: []string{"clientCIDR", "serverAddress"}, 1610 }, 1611 }, 1612 Dependencies: []string{}, 1613 } 1614 } 1615 1616 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { 1617 return common.OpenAPIDefinition{ 1618 Schema: spec.Schema{ 1619 SchemaProps: spec.SchemaProps{ 1620 Description: "Status is a return value for calls that don't return other objects.", 1621 Type: []string{"object"}, 1622 Properties: map[string]spec.Schema{ 1623 "kind": { 1624 SchemaProps: spec.SchemaProps{ 1625 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1626 Type: []string{"string"}, 1627 Format: "", 1628 }, 1629 }, 1630 "apiVersion": { 1631 SchemaProps: spec.SchemaProps{ 1632 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1633 Type: []string{"string"}, 1634 Format: "", 1635 }, 1636 }, 1637 "metadata": { 1638 SchemaProps: spec.SchemaProps{ 1639 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 1640 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1641 }, 1642 }, 1643 "status": { 1644 SchemaProps: spec.SchemaProps{ 1645 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", 1646 Type: []string{"string"}, 1647 Format: "", 1648 }, 1649 }, 1650 "message": { 1651 SchemaProps: spec.SchemaProps{ 1652 Description: "A human-readable description of the status of this operation.", 1653 Type: []string{"string"}, 1654 Format: "", 1655 }, 1656 }, 1657 "reason": { 1658 SchemaProps: spec.SchemaProps{ 1659 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.", 1660 Type: []string{"string"}, 1661 Format: "", 1662 }, 1663 }, 1664 "details": { 1665 SchemaProps: spec.SchemaProps{ 1666 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.", 1667 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"), 1668 }, 1669 }, 1670 "code": { 1671 SchemaProps: spec.SchemaProps{ 1672 Description: "Suggested HTTP return code for this status, 0 if not set.", 1673 Type: []string{"integer"}, 1674 Format: "int32", 1675 }, 1676 }, 1677 }, 1678 }, 1679 }, 1680 Dependencies: []string{ 1681 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"}, 1682 } 1683 } 1684 1685 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition { 1686 return common.OpenAPIDefinition{ 1687 Schema: spec.Schema{ 1688 SchemaProps: spec.SchemaProps{ 1689 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", 1690 Type: []string{"object"}, 1691 Properties: map[string]spec.Schema{ 1692 "reason": { 1693 SchemaProps: spec.SchemaProps{ 1694 Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.", 1695 Type: []string{"string"}, 1696 Format: "", 1697 }, 1698 }, 1699 "message": { 1700 SchemaProps: spec.SchemaProps{ 1701 Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", 1702 Type: []string{"string"}, 1703 Format: "", 1704 }, 1705 }, 1706 "field": { 1707 SchemaProps: spec.SchemaProps{ 1708 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\"", 1709 Type: []string{"string"}, 1710 Format: "", 1711 }, 1712 }, 1713 }, 1714 }, 1715 }, 1716 Dependencies: []string{}, 1717 } 1718 } 1719 1720 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition { 1721 return common.OpenAPIDefinition{ 1722 Schema: spec.Schema{ 1723 SchemaProps: spec.SchemaProps{ 1724 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.", 1725 Type: []string{"object"}, 1726 Properties: map[string]spec.Schema{ 1727 "name": { 1728 SchemaProps: spec.SchemaProps{ 1729 Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", 1730 Type: []string{"string"}, 1731 Format: "", 1732 }, 1733 }, 1734 "group": { 1735 SchemaProps: spec.SchemaProps{ 1736 Description: "The group attribute of the resource associated with the status StatusReason.", 1737 Type: []string{"string"}, 1738 Format: "", 1739 }, 1740 }, 1741 "kind": { 1742 SchemaProps: spec.SchemaProps{ 1743 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", 1744 Type: []string{"string"}, 1745 Format: "", 1746 }, 1747 }, 1748 "uid": { 1749 SchemaProps: spec.SchemaProps{ 1750 Description: "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids", 1751 Type: []string{"string"}, 1752 Format: "", 1753 }, 1754 }, 1755 "causes": { 1756 SchemaProps: spec.SchemaProps{ 1757 Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", 1758 Type: []string{"array"}, 1759 Items: &spec.SchemaOrArray{ 1760 Schema: &spec.Schema{ 1761 SchemaProps: spec.SchemaProps{ 1762 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"), 1763 }, 1764 }, 1765 }, 1766 }, 1767 }, 1768 "retryAfterSeconds": { 1769 SchemaProps: spec.SchemaProps{ 1770 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.", 1771 Type: []string{"integer"}, 1772 Format: "int32", 1773 }, 1774 }, 1775 }, 1776 }, 1777 }, 1778 Dependencies: []string{ 1779 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"}, 1780 } 1781 } 1782 1783 func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition { 1784 return common.OpenAPIDefinition{ 1785 Schema: spec.Schema{ 1786 SchemaProps: spec.SchemaProps{ 1787 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.", 1788 Type: []string{"object"}, 1789 Properties: map[string]spec.Schema{ 1790 "kind": { 1791 SchemaProps: spec.SchemaProps{ 1792 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1793 Type: []string{"string"}, 1794 Format: "", 1795 }, 1796 }, 1797 "apiVersion": { 1798 SchemaProps: spec.SchemaProps{ 1799 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1800 Type: []string{"string"}, 1801 Format: "", 1802 }, 1803 }, 1804 "metadata": { 1805 SchemaProps: spec.SchemaProps{ 1806 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 1807 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1808 }, 1809 }, 1810 "columnDefinitions": { 1811 SchemaProps: spec.SchemaProps{ 1812 Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.", 1813 Type: []string{"array"}, 1814 Items: &spec.SchemaOrArray{ 1815 Schema: &spec.Schema{ 1816 SchemaProps: spec.SchemaProps{ 1817 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"), 1818 }, 1819 }, 1820 }, 1821 }, 1822 }, 1823 "rows": { 1824 SchemaProps: spec.SchemaProps{ 1825 Description: "rows is the list of items in the table.", 1826 Type: []string{"array"}, 1827 Items: &spec.SchemaOrArray{ 1828 Schema: &spec.Schema{ 1829 SchemaProps: spec.SchemaProps{ 1830 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"), 1831 }, 1832 }, 1833 }, 1834 }, 1835 }, 1836 }, 1837 Required: []string{"columnDefinitions", "rows"}, 1838 }, 1839 }, 1840 Dependencies: []string{ 1841 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"}, 1842 } 1843 } 1844 1845 func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition { 1846 return common.OpenAPIDefinition{ 1847 Schema: spec.Schema{ 1848 SchemaProps: spec.SchemaProps{ 1849 Description: "TableColumnDefinition contains information about a column returned in the Table.", 1850 Type: []string{"object"}, 1851 Properties: map[string]spec.Schema{ 1852 "name": { 1853 SchemaProps: spec.SchemaProps{ 1854 Description: "name is a human readable name for the column.", 1855 Type: []string{"string"}, 1856 Format: "", 1857 }, 1858 }, 1859 "type": { 1860 SchemaProps: spec.SchemaProps{ 1861 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.", 1862 Type: []string{"string"}, 1863 Format: "", 1864 }, 1865 }, 1866 "format": { 1867 SchemaProps: spec.SchemaProps{ 1868 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.", 1869 Type: []string{"string"}, 1870 Format: "", 1871 }, 1872 }, 1873 "description": { 1874 SchemaProps: spec.SchemaProps{ 1875 Description: "description is a human readable description of this column.", 1876 Type: []string{"string"}, 1877 Format: "", 1878 }, 1879 }, 1880 "priority": { 1881 SchemaProps: spec.SchemaProps{ 1882 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.", 1883 Type: []string{"integer"}, 1884 Format: "int32", 1885 }, 1886 }, 1887 }, 1888 Required: []string{"name", "type", "format", "description", "priority"}, 1889 }, 1890 }, 1891 Dependencies: []string{}, 1892 } 1893 } 1894 1895 func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 1896 return common.OpenAPIDefinition{ 1897 Schema: spec.Schema{ 1898 SchemaProps: spec.SchemaProps{ 1899 Description: "TableOptions are used when a Table is requested by the caller.", 1900 Type: []string{"object"}, 1901 Properties: map[string]spec.Schema{ 1902 "kind": { 1903 SchemaProps: spec.SchemaProps{ 1904 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 1905 Type: []string{"string"}, 1906 Format: "", 1907 }, 1908 }, 1909 "apiVersion": { 1910 SchemaProps: spec.SchemaProps{ 1911 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 1912 Type: []string{"string"}, 1913 Format: "", 1914 }, 1915 }, 1916 "includeObject": { 1917 SchemaProps: spec.SchemaProps{ 1918 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.", 1919 Type: []string{"string"}, 1920 Format: "", 1921 }, 1922 }, 1923 }, 1924 }, 1925 }, 1926 Dependencies: []string{}, 1927 } 1928 } 1929 1930 func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition { 1931 return common.OpenAPIDefinition{ 1932 Schema: spec.Schema{ 1933 SchemaProps: spec.SchemaProps{ 1934 Description: "TableRow is an individual row in a table.", 1935 Type: []string{"object"}, 1936 Properties: map[string]spec.Schema{ 1937 "cells": { 1938 SchemaProps: spec.SchemaProps{ 1939 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.", 1940 Type: []string{"array"}, 1941 Items: &spec.SchemaOrArray{ 1942 Schema: &spec.Schema{ 1943 SchemaProps: spec.SchemaProps{ 1944 Type: []string{"object"}, 1945 Format: "", 1946 }, 1947 }, 1948 }, 1949 }, 1950 }, 1951 "conditions": { 1952 SchemaProps: spec.SchemaProps{ 1953 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.", 1954 Type: []string{"array"}, 1955 Items: &spec.SchemaOrArray{ 1956 Schema: &spec.Schema{ 1957 SchemaProps: spec.SchemaProps{ 1958 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"), 1959 }, 1960 }, 1961 }, 1962 }, 1963 }, 1964 "object": { 1965 SchemaProps: spec.SchemaProps{ 1966 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.", 1967 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 1968 }, 1969 }, 1970 }, 1971 Required: []string{"cells"}, 1972 }, 1973 }, 1974 Dependencies: []string{ 1975 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 1976 } 1977 } 1978 1979 func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 1980 return common.OpenAPIDefinition{ 1981 Schema: spec.Schema{ 1982 SchemaProps: spec.SchemaProps{ 1983 Description: "TableRowCondition allows a row to be marked with additional information.", 1984 Type: []string{"object"}, 1985 Properties: map[string]spec.Schema{ 1986 "type": { 1987 SchemaProps: spec.SchemaProps{ 1988 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.", 1989 Type: []string{"string"}, 1990 Format: "", 1991 }, 1992 }, 1993 "status": { 1994 SchemaProps: spec.SchemaProps{ 1995 Description: "Status of the condition, one of True, False, Unknown.", 1996 Type: []string{"string"}, 1997 Format: "", 1998 }, 1999 }, 2000 "reason": { 2001 SchemaProps: spec.SchemaProps{ 2002 Description: "(brief) machine readable reason for the condition's last transition.", 2003 Type: []string{"string"}, 2004 Format: "", 2005 }, 2006 }, 2007 "message": { 2008 SchemaProps: spec.SchemaProps{ 2009 Description: "Human readable message indicating details about last transition.", 2010 Type: []string{"string"}, 2011 Format: "", 2012 }, 2013 }, 2014 }, 2015 Required: []string{"type", "status"}, 2016 }, 2017 }, 2018 Dependencies: []string{}, 2019 } 2020 } 2021 2022 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition { 2023 return common.OpenAPIDefinition{ 2024 Schema: spec.Schema{ 2025 SchemaProps: spec.SchemaProps{ 2026 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.", 2027 Type: v1.Time{}.OpenAPISchemaType(), 2028 Format: v1.Time{}.OpenAPISchemaFormat(), 2029 }, 2030 }, 2031 } 2032 } 2033 2034 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition { 2035 return common.OpenAPIDefinition{ 2036 Schema: spec.Schema{ 2037 SchemaProps: spec.SchemaProps{ 2038 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.", 2039 Type: []string{"object"}, 2040 Properties: map[string]spec.Schema{ 2041 "seconds": { 2042 SchemaProps: spec.SchemaProps{ 2043 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.", 2044 Type: []string{"integer"}, 2045 Format: "int64", 2046 }, 2047 }, 2048 "nanos": { 2049 SchemaProps: spec.SchemaProps{ 2050 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.", 2051 Type: []string{"integer"}, 2052 Format: "int32", 2053 }, 2054 }, 2055 }, 2056 Required: []string{"seconds", "nanos"}, 2057 }, 2058 }, 2059 Dependencies: []string{}, 2060 } 2061 } 2062 2063 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 2064 return common.OpenAPIDefinition{ 2065 Schema: spec.Schema{ 2066 SchemaProps: spec.SchemaProps{ 2067 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.", 2068 Type: []string{"object"}, 2069 Properties: map[string]spec.Schema{ 2070 "kind": { 2071 SchemaProps: spec.SchemaProps{ 2072 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 2073 Type: []string{"string"}, 2074 Format: "", 2075 }, 2076 }, 2077 "apiVersion": { 2078 SchemaProps: spec.SchemaProps{ 2079 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 2080 Type: []string{"string"}, 2081 Format: "", 2082 }, 2083 }, 2084 }, 2085 }, 2086 }, 2087 Dependencies: []string{}, 2088 } 2089 } 2090 2091 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2092 return common.OpenAPIDefinition{ 2093 Schema: spec.Schema{ 2094 SchemaProps: spec.SchemaProps{ 2095 Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.", 2096 Type: []string{"object"}, 2097 Properties: map[string]spec.Schema{ 2098 "kind": { 2099 SchemaProps: spec.SchemaProps{ 2100 Description: "Kind is a string value representing the REST resource this object represents. Servers may 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", 2101 Type: []string{"string"}, 2102 Format: "", 2103 }, 2104 }, 2105 "apiVersion": { 2106 SchemaProps: spec.SchemaProps{ 2107 Description: "APIVersion defines the versioned schema of this representation of an object. 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", 2108 Type: []string{"string"}, 2109 Format: "", 2110 }, 2111 }, 2112 "dryRun": { 2113 SchemaProps: spec.SchemaProps{ 2114 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", 2115 Type: []string{"array"}, 2116 Items: &spec.SchemaOrArray{ 2117 Schema: &spec.Schema{ 2118 SchemaProps: spec.SchemaProps{ 2119 Type: []string{"string"}, 2120 Format: "", 2121 }, 2122 }, 2123 }, 2124 }, 2125 }, 2126 "fieldManager": { 2127 SchemaProps: spec.SchemaProps{ 2128 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.", 2129 Type: []string{"string"}, 2130 Format: "", 2131 }, 2132 }, 2133 }, 2134 }, 2135 }, 2136 Dependencies: []string{}, 2137 } 2138 } 2139 2140 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 2141 return common.OpenAPIDefinition{ 2142 Schema: spec.Schema{ 2143 SchemaProps: spec.SchemaProps{ 2144 Description: "Event represents a single event to a watched resource.", 2145 Type: []string{"object"}, 2146 Properties: map[string]spec.Schema{ 2147 "type": { 2148 SchemaProps: spec.SchemaProps{ 2149 Type: []string{"string"}, 2150 Format: "", 2151 }, 2152 }, 2153 "object": { 2154 SchemaProps: spec.SchemaProps{ 2155 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.", 2156 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 2157 }, 2158 }, 2159 }, 2160 Required: []string{"type", "object"}, 2161 }, 2162 }, 2163 Dependencies: []string{ 2164 "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 2165 } 2166 }