kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/tenant/v1alpha1/openapi_generated.go (about)

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