volcano.sh/apis@v1.8.2/pkg/apis/openapi/zz_generated.openapi.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2021 The Volcano 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  // Code generated by openapi-gen. DO NOT EDIT.
    20  
    21  // This file was autogenerated by openapi-gen. Do not edit it manually!
    22  
    23  package openapi
    24  
    25  import (
    26  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	common "k8s.io/kube-openapi/pkg/common"
    28  	spec "k8s.io/kube-openapi/pkg/validation/spec"
    29  )
    30  
    31  func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
    32  	return map[string]common.OpenAPIDefinition{
    33  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup":                     schema_pkg_apis_meta_v1_APIGroup(ref),
    34  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList":                 schema_pkg_apis_meta_v1_APIGroupList(ref),
    35  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIResource":                  schema_pkg_apis_meta_v1_APIResource(ref),
    36  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList":              schema_pkg_apis_meta_v1_APIResourceList(ref),
    37  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions":                  schema_pkg_apis_meta_v1_APIVersions(ref),
    38  		"k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions":                 schema_pkg_apis_meta_v1_ApplyOptions(ref),
    39  		"k8s.io/apimachinery/pkg/apis/meta/v1.Condition":                    schema_pkg_apis_meta_v1_Condition(ref),
    40  		"k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions":                schema_pkg_apis_meta_v1_CreateOptions(ref),
    41  		"k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions":                schema_pkg_apis_meta_v1_DeleteOptions(ref),
    42  		"k8s.io/apimachinery/pkg/apis/meta/v1.Duration":                     schema_pkg_apis_meta_v1_Duration(ref),
    43  		"k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1":                     schema_pkg_apis_meta_v1_FieldsV1(ref),
    44  		"k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions":                   schema_pkg_apis_meta_v1_GetOptions(ref),
    45  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind":                    schema_pkg_apis_meta_v1_GroupKind(ref),
    46  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource":                schema_pkg_apis_meta_v1_GroupResource(ref),
    47  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion":                 schema_pkg_apis_meta_v1_GroupVersion(ref),
    48  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery":     schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref),
    49  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind":             schema_pkg_apis_meta_v1_GroupVersionKind(ref),
    50  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource":         schema_pkg_apis_meta_v1_GroupVersionResource(ref),
    51  		"k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent":                schema_pkg_apis_meta_v1_InternalEvent(ref),
    52  		"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector":                schema_pkg_apis_meta_v1_LabelSelector(ref),
    53  		"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement":     schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref),
    54  		"k8s.io/apimachinery/pkg/apis/meta/v1.List":                         schema_pkg_apis_meta_v1_List(ref),
    55  		"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta":                     schema_pkg_apis_meta_v1_ListMeta(ref),
    56  		"k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions":                  schema_pkg_apis_meta_v1_ListOptions(ref),
    57  		"k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry":           schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref),
    58  		"k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime":                    schema_pkg_apis_meta_v1_MicroTime(ref),
    59  		"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta":                   schema_pkg_apis_meta_v1_ObjectMeta(ref),
    60  		"k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference":               schema_pkg_apis_meta_v1_OwnerReference(ref),
    61  		"k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata":        schema_pkg_apis_meta_v1_PartialObjectMetadata(ref),
    62  		"k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList":    schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref),
    63  		"k8s.io/apimachinery/pkg/apis/meta/v1.Patch":                        schema_pkg_apis_meta_v1_Patch(ref),
    64  		"k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions":                 schema_pkg_apis_meta_v1_PatchOptions(ref),
    65  		"k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions":                schema_pkg_apis_meta_v1_Preconditions(ref),
    66  		"k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths":                    schema_pkg_apis_meta_v1_RootPaths(ref),
    67  		"k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR":    schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref),
    68  		"k8s.io/apimachinery/pkg/apis/meta/v1.Status":                       schema_pkg_apis_meta_v1_Status(ref),
    69  		"k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause":                  schema_pkg_apis_meta_v1_StatusCause(ref),
    70  		"k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails":                schema_pkg_apis_meta_v1_StatusDetails(ref),
    71  		"k8s.io/apimachinery/pkg/apis/meta/v1.Table":                        schema_pkg_apis_meta_v1_Table(ref),
    72  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition":        schema_pkg_apis_meta_v1_TableColumnDefinition(ref),
    73  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions":                 schema_pkg_apis_meta_v1_TableOptions(ref),
    74  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableRow":                     schema_pkg_apis_meta_v1_TableRow(ref),
    75  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition":            schema_pkg_apis_meta_v1_TableRowCondition(ref),
    76  		"k8s.io/apimachinery/pkg/apis/meta/v1.Time":                         schema_pkg_apis_meta_v1_Time(ref),
    77  		"k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp":                    schema_pkg_apis_meta_v1_Timestamp(ref),
    78  		"k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta":                     schema_pkg_apis_meta_v1_TypeMeta(ref),
    79  		"k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions":                schema_pkg_apis_meta_v1_UpdateOptions(ref),
    80  		"k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent":                   schema_pkg_apis_meta_v1_WatchEvent(ref),
    81  		"k8s.io/apimachinery/pkg/runtime.RawExtension":                      schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref),
    82  		"k8s.io/apimachinery/pkg/runtime.TypeMeta":                          schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref),
    83  		"k8s.io/apimachinery/pkg/runtime.Unknown":                           schema_k8sio_apimachinery_pkg_runtime_Unknown(ref),
    84  		"k8s.io/apimachinery/pkg/version.Info":                              schema_k8sio_apimachinery_pkg_version_Info(ref),
    85  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.DependsOn":                 schema_pkg_apis_batch_v1alpha1_DependsOn(ref),
    86  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.Job":                       schema_pkg_apis_batch_v1alpha1_Job(ref),
    87  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.JobCondition":              schema_pkg_apis_batch_v1alpha1_JobCondition(ref),
    88  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.JobList":                   schema_pkg_apis_batch_v1alpha1_JobList(ref),
    89  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.JobSpec":                   schema_pkg_apis_batch_v1alpha1_JobSpec(ref),
    90  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.JobState":                  schema_pkg_apis_batch_v1alpha1_JobState(ref),
    91  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.JobStatus":                 schema_pkg_apis_batch_v1alpha1_JobStatus(ref),
    92  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.LifecyclePolicy":           schema_pkg_apis_batch_v1alpha1_LifecyclePolicy(ref),
    93  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskSpec":                  schema_pkg_apis_batch_v1alpha1_TaskSpec(ref),
    94  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskState":                 schema_pkg_apis_batch_v1alpha1_TaskState(ref),
    95  		"volcano.sh/apis/pkg/apis/batch/v1alpha1.VolumeSpec":                schema_pkg_apis_batch_v1alpha1_VolumeSpec(ref),
    96  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.Affinity":              schema_pkg_apis_scheduling_v1beta1_Affinity(ref),
    97  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.Cluster":               schema_pkg_apis_scheduling_v1beta1_Cluster(ref),
    98  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.Guarantee":             schema_pkg_apis_scheduling_v1beta1_Guarantee(ref),
    99  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAffinity":     schema_pkg_apis_scheduling_v1beta1_NodeGroupAffinity(ref),
   100  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAntiAffinity": schema_pkg_apis_scheduling_v1beta1_NodeGroupAntiAffinity(ref),
   101  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroup":              schema_pkg_apis_scheduling_v1beta1_PodGroup(ref),
   102  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupCondition":     schema_pkg_apis_scheduling_v1beta1_PodGroupCondition(ref),
   103  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupList":          schema_pkg_apis_scheduling_v1beta1_PodGroupList(ref),
   104  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupSpec":          schema_pkg_apis_scheduling_v1beta1_PodGroupSpec(ref),
   105  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupStatus":        schema_pkg_apis_scheduling_v1beta1_PodGroupStatus(ref),
   106  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.Queue":                 schema_pkg_apis_scheduling_v1beta1_Queue(ref),
   107  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueList":             schema_pkg_apis_scheduling_v1beta1_QueueList(ref),
   108  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueSpec":             schema_pkg_apis_scheduling_v1beta1_QueueSpec(ref),
   109  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueStatus":           schema_pkg_apis_scheduling_v1beta1_QueueStatus(ref),
   110  		"volcano.sh/apis/pkg/apis/scheduling/v1beta1.Reservation":           schema_pkg_apis_scheduling_v1beta1_Reservation(ref),
   111  	}
   112  }
   113  
   114  func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
   115  	return common.OpenAPIDefinition{
   116  		Schema: spec.Schema{
   117  			SchemaProps: spec.SchemaProps{
   118  				Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.",
   119  				Type:        []string{"object"},
   120  				Properties: map[string]spec.Schema{
   121  					"kind": {
   122  						SchemaProps: spec.SchemaProps{
   123  							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",
   124  							Type:        []string{"string"},
   125  							Format:      "",
   126  						},
   127  					},
   128  					"apiVersion": {
   129  						SchemaProps: spec.SchemaProps{
   130  							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",
   131  							Type:        []string{"string"},
   132  							Format:      "",
   133  						},
   134  					},
   135  					"name": {
   136  						SchemaProps: spec.SchemaProps{
   137  							Description: "name is the name of the group.",
   138  							Default:     "",
   139  							Type:        []string{"string"},
   140  							Format:      "",
   141  						},
   142  					},
   143  					"versions": {
   144  						SchemaProps: spec.SchemaProps{
   145  							Description: "versions are the versions supported in this group.",
   146  							Type:        []string{"array"},
   147  							Items: &spec.SchemaOrArray{
   148  								Schema: &spec.Schema{
   149  									SchemaProps: spec.SchemaProps{
   150  										Default: map[string]interface{}{},
   151  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
   152  									},
   153  								},
   154  							},
   155  						},
   156  					},
   157  					"preferredVersion": {
   158  						SchemaProps: spec.SchemaProps{
   159  							Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.",
   160  							Default:     map[string]interface{}{},
   161  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
   162  						},
   163  					},
   164  					"serverAddressByClientCIDRs": {
   165  						SchemaProps: spec.SchemaProps{
   166  							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.",
   167  							Type:        []string{"array"},
   168  							Items: &spec.SchemaOrArray{
   169  								Schema: &spec.Schema{
   170  									SchemaProps: spec.SchemaProps{
   171  										Default: map[string]interface{}{},
   172  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
   173  									},
   174  								},
   175  							},
   176  						},
   177  					},
   178  				},
   179  				Required: []string{"name", "versions"},
   180  			},
   181  		},
   182  		Dependencies: []string{
   183  			"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
   184  	}
   185  }
   186  
   187  func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   188  	return common.OpenAPIDefinition{
   189  		Schema: spec.Schema{
   190  			SchemaProps: spec.SchemaProps{
   191  				Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
   192  				Type:        []string{"object"},
   193  				Properties: map[string]spec.Schema{
   194  					"kind": {
   195  						SchemaProps: spec.SchemaProps{
   196  							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",
   197  							Type:        []string{"string"},
   198  							Format:      "",
   199  						},
   200  					},
   201  					"apiVersion": {
   202  						SchemaProps: spec.SchemaProps{
   203  							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",
   204  							Type:        []string{"string"},
   205  							Format:      "",
   206  						},
   207  					},
   208  					"groups": {
   209  						SchemaProps: spec.SchemaProps{
   210  							Description: "groups is a list of APIGroup.",
   211  							Type:        []string{"array"},
   212  							Items: &spec.SchemaOrArray{
   213  								Schema: &spec.Schema{
   214  									SchemaProps: spec.SchemaProps{
   215  										Default: map[string]interface{}{},
   216  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"),
   217  									},
   218  								},
   219  							},
   220  						},
   221  					},
   222  				},
   223  				Required: []string{"groups"},
   224  			},
   225  		},
   226  		Dependencies: []string{
   227  			"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"},
   228  	}
   229  }
   230  
   231  func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
   232  	return common.OpenAPIDefinition{
   233  		Schema: spec.Schema{
   234  			SchemaProps: spec.SchemaProps{
   235  				Description: "APIResource specifies the name of a resource and whether it is namespaced.",
   236  				Type:        []string{"object"},
   237  				Properties: map[string]spec.Schema{
   238  					"name": {
   239  						SchemaProps: spec.SchemaProps{
   240  							Description: "name is the plural name of the resource.",
   241  							Default:     "",
   242  							Type:        []string{"string"},
   243  							Format:      "",
   244  						},
   245  					},
   246  					"singularName": {
   247  						SchemaProps: spec.SchemaProps{
   248  							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.",
   249  							Default:     "",
   250  							Type:        []string{"string"},
   251  							Format:      "",
   252  						},
   253  					},
   254  					"namespaced": {
   255  						SchemaProps: spec.SchemaProps{
   256  							Description: "namespaced indicates if a resource is namespaced or not.",
   257  							Default:     false,
   258  							Type:        []string{"boolean"},
   259  							Format:      "",
   260  						},
   261  					},
   262  					"group": {
   263  						SchemaProps: spec.SchemaProps{
   264  							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\".",
   265  							Type:        []string{"string"},
   266  							Format:      "",
   267  						},
   268  					},
   269  					"version": {
   270  						SchemaProps: spec.SchemaProps{
   271  							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)\".",
   272  							Type:        []string{"string"},
   273  							Format:      "",
   274  						},
   275  					},
   276  					"kind": {
   277  						SchemaProps: spec.SchemaProps{
   278  							Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
   279  							Default:     "",
   280  							Type:        []string{"string"},
   281  							Format:      "",
   282  						},
   283  					},
   284  					"verbs": {
   285  						SchemaProps: spec.SchemaProps{
   286  							Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
   287  							Type:        []string{"array"},
   288  							Items: &spec.SchemaOrArray{
   289  								Schema: &spec.Schema{
   290  									SchemaProps: spec.SchemaProps{
   291  										Default: "",
   292  										Type:    []string{"string"},
   293  										Format:  "",
   294  									},
   295  								},
   296  							},
   297  						},
   298  					},
   299  					"shortNames": {
   300  						SchemaProps: spec.SchemaProps{
   301  							Description: "shortNames is a list of suggested short names of the resource.",
   302  							Type:        []string{"array"},
   303  							Items: &spec.SchemaOrArray{
   304  								Schema: &spec.Schema{
   305  									SchemaProps: spec.SchemaProps{
   306  										Default: "",
   307  										Type:    []string{"string"},
   308  										Format:  "",
   309  									},
   310  								},
   311  							},
   312  						},
   313  					},
   314  					"categories": {
   315  						SchemaProps: spec.SchemaProps{
   316  							Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
   317  							Type:        []string{"array"},
   318  							Items: &spec.SchemaOrArray{
   319  								Schema: &spec.Schema{
   320  									SchemaProps: spec.SchemaProps{
   321  										Default: "",
   322  										Type:    []string{"string"},
   323  										Format:  "",
   324  									},
   325  								},
   326  							},
   327  						},
   328  					},
   329  					"storageVersionHash": {
   330  						SchemaProps: spec.SchemaProps{
   331  							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.",
   332  							Type:        []string{"string"},
   333  							Format:      "",
   334  						},
   335  					},
   336  				},
   337  				Required: []string{"name", "singularName", "namespaced", "kind", "verbs"},
   338  			},
   339  		},
   340  	}
   341  }
   342  
   343  func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   344  	return common.OpenAPIDefinition{
   345  		Schema: spec.Schema{
   346  			SchemaProps: spec.SchemaProps{
   347  				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.",
   348  				Type:        []string{"object"},
   349  				Properties: map[string]spec.Schema{
   350  					"kind": {
   351  						SchemaProps: spec.SchemaProps{
   352  							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",
   353  							Type:        []string{"string"},
   354  							Format:      "",
   355  						},
   356  					},
   357  					"apiVersion": {
   358  						SchemaProps: spec.SchemaProps{
   359  							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",
   360  							Type:        []string{"string"},
   361  							Format:      "",
   362  						},
   363  					},
   364  					"groupVersion": {
   365  						SchemaProps: spec.SchemaProps{
   366  							Description: "groupVersion is the group and version this APIResourceList is for.",
   367  							Default:     "",
   368  							Type:        []string{"string"},
   369  							Format:      "",
   370  						},
   371  					},
   372  					"resources": {
   373  						SchemaProps: spec.SchemaProps{
   374  							Description: "resources contains the name of the resources and if they are namespaced.",
   375  							Type:        []string{"array"},
   376  							Items: &spec.SchemaOrArray{
   377  								Schema: &spec.Schema{
   378  									SchemaProps: spec.SchemaProps{
   379  										Default: map[string]interface{}{},
   380  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"),
   381  									},
   382  								},
   383  							},
   384  						},
   385  					},
   386  				},
   387  				Required: []string{"groupVersion", "resources"},
   388  			},
   389  		},
   390  		Dependencies: []string{
   391  			"k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"},
   392  	}
   393  }
   394  
   395  func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition {
   396  	return common.OpenAPIDefinition{
   397  		Schema: spec.Schema{
   398  			SchemaProps: spec.SchemaProps{
   399  				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.",
   400  				Type:        []string{"object"},
   401  				Properties: map[string]spec.Schema{
   402  					"kind": {
   403  						SchemaProps: spec.SchemaProps{
   404  							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",
   405  							Type:        []string{"string"},
   406  							Format:      "",
   407  						},
   408  					},
   409  					"apiVersion": {
   410  						SchemaProps: spec.SchemaProps{
   411  							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",
   412  							Type:        []string{"string"},
   413  							Format:      "",
   414  						},
   415  					},
   416  					"versions": {
   417  						SchemaProps: spec.SchemaProps{
   418  							Description: "versions are the api versions that are available.",
   419  							Type:        []string{"array"},
   420  							Items: &spec.SchemaOrArray{
   421  								Schema: &spec.Schema{
   422  									SchemaProps: spec.SchemaProps{
   423  										Default: "",
   424  										Type:    []string{"string"},
   425  										Format:  "",
   426  									},
   427  								},
   428  							},
   429  						},
   430  					},
   431  					"serverAddressByClientCIDRs": {
   432  						SchemaProps: spec.SchemaProps{
   433  							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.",
   434  							Type:        []string{"array"},
   435  							Items: &spec.SchemaOrArray{
   436  								Schema: &spec.Schema{
   437  									SchemaProps: spec.SchemaProps{
   438  										Default: map[string]interface{}{},
   439  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
   440  									},
   441  								},
   442  							},
   443  						},
   444  					},
   445  				},
   446  				Required: []string{"versions", "serverAddressByClientCIDRs"},
   447  			},
   448  		},
   449  		Dependencies: []string{
   450  			"k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
   451  	}
   452  }
   453  
   454  func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
   455  	return common.OpenAPIDefinition{
   456  		Schema: spec.Schema{
   457  			SchemaProps: spec.SchemaProps{
   458  				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.",
   459  				Type:        []string{"object"},
   460  				Properties: map[string]spec.Schema{
   461  					"kind": {
   462  						SchemaProps: spec.SchemaProps{
   463  							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",
   464  							Type:        []string{"string"},
   465  							Format:      "",
   466  						},
   467  					},
   468  					"apiVersion": {
   469  						SchemaProps: spec.SchemaProps{
   470  							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",
   471  							Type:        []string{"string"},
   472  							Format:      "",
   473  						},
   474  					},
   475  					"dryRun": {
   476  						SchemaProps: spec.SchemaProps{
   477  							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",
   478  							Type:        []string{"array"},
   479  							Items: &spec.SchemaOrArray{
   480  								Schema: &spec.Schema{
   481  									SchemaProps: spec.SchemaProps{
   482  										Default: "",
   483  										Type:    []string{"string"},
   484  										Format:  "",
   485  									},
   486  								},
   487  							},
   488  						},
   489  					},
   490  					"force": {
   491  						SchemaProps: spec.SchemaProps{
   492  							Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.",
   493  							Default:     false,
   494  							Type:        []string{"boolean"},
   495  							Format:      "",
   496  						},
   497  					},
   498  					"fieldManager": {
   499  						SchemaProps: spec.SchemaProps{
   500  							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.",
   501  							Default:     "",
   502  							Type:        []string{"string"},
   503  							Format:      "",
   504  						},
   505  					},
   506  				},
   507  				Required: []string{"force", "fieldManager"},
   508  			},
   509  		},
   510  	}
   511  }
   512  
   513  func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
   514  	return common.OpenAPIDefinition{
   515  		Schema: spec.Schema{
   516  			SchemaProps: spec.SchemaProps{
   517  				Description: "Condition contains details for one aspect of the current state of this API Resource.",
   518  				Type:        []string{"object"},
   519  				Properties: map[string]spec.Schema{
   520  					"type": {
   521  						SchemaProps: spec.SchemaProps{
   522  							Description: "type of condition in CamelCase or in foo.example.com/CamelCase.",
   523  							Default:     "",
   524  							Type:        []string{"string"},
   525  							Format:      "",
   526  						},
   527  					},
   528  					"status": {
   529  						SchemaProps: spec.SchemaProps{
   530  							Description: "status of the condition, one of True, False, Unknown.",
   531  							Default:     "",
   532  							Type:        []string{"string"},
   533  							Format:      "",
   534  						},
   535  					},
   536  					"observedGeneration": {
   537  						SchemaProps: spec.SchemaProps{
   538  							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.",
   539  							Type:        []string{"integer"},
   540  							Format:      "int64",
   541  						},
   542  					},
   543  					"lastTransitionTime": {
   544  						SchemaProps: spec.SchemaProps{
   545  							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.",
   546  							Default:     map[string]interface{}{},
   547  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
   548  						},
   549  					},
   550  					"reason": {
   551  						SchemaProps: spec.SchemaProps{
   552  							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.",
   553  							Default:     "",
   554  							Type:        []string{"string"},
   555  							Format:      "",
   556  						},
   557  					},
   558  					"message": {
   559  						SchemaProps: spec.SchemaProps{
   560  							Description: "message is a human readable message indicating details about the transition. This may be an empty string.",
   561  							Default:     "",
   562  							Type:        []string{"string"},
   563  							Format:      "",
   564  						},
   565  					},
   566  				},
   567  				Required: []string{"type", "status", "lastTransitionTime", "reason", "message"},
   568  			},
   569  		},
   570  		Dependencies: []string{
   571  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
   572  	}
   573  }
   574  
   575  func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
   576  	return common.OpenAPIDefinition{
   577  		Schema: spec.Schema{
   578  			SchemaProps: spec.SchemaProps{
   579  				Description: "CreateOptions may be provided when creating an API object.",
   580  				Type:        []string{"object"},
   581  				Properties: map[string]spec.Schema{
   582  					"kind": {
   583  						SchemaProps: spec.SchemaProps{
   584  							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",
   585  							Type:        []string{"string"},
   586  							Format:      "",
   587  						},
   588  					},
   589  					"apiVersion": {
   590  						SchemaProps: spec.SchemaProps{
   591  							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",
   592  							Type:        []string{"string"},
   593  							Format:      "",
   594  						},
   595  					},
   596  					"dryRun": {
   597  						SchemaProps: spec.SchemaProps{
   598  							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",
   599  							Type:        []string{"array"},
   600  							Items: &spec.SchemaOrArray{
   601  								Schema: &spec.Schema{
   602  									SchemaProps: spec.SchemaProps{
   603  										Default: "",
   604  										Type:    []string{"string"},
   605  										Format:  "",
   606  									},
   607  								},
   608  							},
   609  						},
   610  					},
   611  					"fieldManager": {
   612  						SchemaProps: spec.SchemaProps{
   613  							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.",
   614  							Type:        []string{"string"},
   615  							Format:      "",
   616  						},
   617  					},
   618  					"fieldValidation": {
   619  						SchemaProps: spec.SchemaProps{
   620  							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.",
   621  							Type:        []string{"string"},
   622  							Format:      "",
   623  						},
   624  					},
   625  				},
   626  			},
   627  		},
   628  	}
   629  }
   630  
   631  func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
   632  	return common.OpenAPIDefinition{
   633  		Schema: spec.Schema{
   634  			SchemaProps: spec.SchemaProps{
   635  				Description: "DeleteOptions may be provided when deleting an API object.",
   636  				Type:        []string{"object"},
   637  				Properties: map[string]spec.Schema{
   638  					"kind": {
   639  						SchemaProps: spec.SchemaProps{
   640  							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",
   641  							Type:        []string{"string"},
   642  							Format:      "",
   643  						},
   644  					},
   645  					"apiVersion": {
   646  						SchemaProps: spec.SchemaProps{
   647  							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",
   648  							Type:        []string{"string"},
   649  							Format:      "",
   650  						},
   651  					},
   652  					"gracePeriodSeconds": {
   653  						SchemaProps: spec.SchemaProps{
   654  							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.",
   655  							Type:        []string{"integer"},
   656  							Format:      "int64",
   657  						},
   658  					},
   659  					"preconditions": {
   660  						SchemaProps: spec.SchemaProps{
   661  							Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
   662  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"),
   663  						},
   664  					},
   665  					"orphanDependents": {
   666  						SchemaProps: spec.SchemaProps{
   667  							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.",
   668  							Type:        []string{"boolean"},
   669  							Format:      "",
   670  						},
   671  					},
   672  					"propagationPolicy": {
   673  						SchemaProps: spec.SchemaProps{
   674  							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.",
   675  							Type:        []string{"string"},
   676  							Format:      "",
   677  						},
   678  					},
   679  					"dryRun": {
   680  						SchemaProps: spec.SchemaProps{
   681  							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",
   682  							Type:        []string{"array"},
   683  							Items: &spec.SchemaOrArray{
   684  								Schema: &spec.Schema{
   685  									SchemaProps: spec.SchemaProps{
   686  										Default: "",
   687  										Type:    []string{"string"},
   688  										Format:  "",
   689  									},
   690  								},
   691  							},
   692  						},
   693  					},
   694  				},
   695  			},
   696  		},
   697  		Dependencies: []string{
   698  			"k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"},
   699  	}
   700  }
   701  
   702  func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition {
   703  	return common.OpenAPIDefinition{
   704  		Schema: spec.Schema{
   705  			SchemaProps: spec.SchemaProps{
   706  				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.",
   707  				Type:        v1.Duration{}.OpenAPISchemaType(),
   708  				Format:      v1.Duration{}.OpenAPISchemaFormat(),
   709  			},
   710  		},
   711  	}
   712  }
   713  
   714  func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition {
   715  	return common.OpenAPIDefinition{
   716  		Schema: spec.Schema{
   717  			SchemaProps: spec.SchemaProps{
   718  				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",
   719  				Type:        []string{"object"},
   720  			},
   721  		},
   722  	}
   723  }
   724  
   725  func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
   726  	return common.OpenAPIDefinition{
   727  		Schema: spec.Schema{
   728  			SchemaProps: spec.SchemaProps{
   729  				Description: "GetOptions is the standard query options to the standard REST get call.",
   730  				Type:        []string{"object"},
   731  				Properties: map[string]spec.Schema{
   732  					"kind": {
   733  						SchemaProps: spec.SchemaProps{
   734  							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",
   735  							Type:        []string{"string"},
   736  							Format:      "",
   737  						},
   738  					},
   739  					"apiVersion": {
   740  						SchemaProps: spec.SchemaProps{
   741  							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",
   742  							Type:        []string{"string"},
   743  							Format:      "",
   744  						},
   745  					},
   746  					"resourceVersion": {
   747  						SchemaProps: spec.SchemaProps{
   748  							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",
   749  							Type:        []string{"string"},
   750  							Format:      "",
   751  						},
   752  					},
   753  				},
   754  			},
   755  		},
   756  	}
   757  }
   758  
   759  func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
   760  	return common.OpenAPIDefinition{
   761  		Schema: spec.Schema{
   762  			SchemaProps: spec.SchemaProps{
   763  				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",
   764  				Type:        []string{"object"},
   765  				Properties: map[string]spec.Schema{
   766  					"group": {
   767  						SchemaProps: spec.SchemaProps{
   768  							Default: "",
   769  							Type:    []string{"string"},
   770  							Format:  "",
   771  						},
   772  					},
   773  					"kind": {
   774  						SchemaProps: spec.SchemaProps{
   775  							Default: "",
   776  							Type:    []string{"string"},
   777  							Format:  "",
   778  						},
   779  					},
   780  				},
   781  				Required: []string{"group", "kind"},
   782  			},
   783  		},
   784  	}
   785  }
   786  
   787  func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
   788  	return common.OpenAPIDefinition{
   789  		Schema: spec.Schema{
   790  			SchemaProps: spec.SchemaProps{
   791  				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",
   792  				Type:        []string{"object"},
   793  				Properties: map[string]spec.Schema{
   794  					"group": {
   795  						SchemaProps: spec.SchemaProps{
   796  							Default: "",
   797  							Type:    []string{"string"},
   798  							Format:  "",
   799  						},
   800  					},
   801  					"resource": {
   802  						SchemaProps: spec.SchemaProps{
   803  							Default: "",
   804  							Type:    []string{"string"},
   805  							Format:  "",
   806  						},
   807  					},
   808  				},
   809  				Required: []string{"group", "resource"},
   810  			},
   811  		},
   812  	}
   813  }
   814  
   815  func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition {
   816  	return common.OpenAPIDefinition{
   817  		Schema: spec.Schema{
   818  			SchemaProps: spec.SchemaProps{
   819  				Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.",
   820  				Type:        []string{"object"},
   821  				Properties: map[string]spec.Schema{
   822  					"group": {
   823  						SchemaProps: spec.SchemaProps{
   824  							Default: "",
   825  							Type:    []string{"string"},
   826  							Format:  "",
   827  						},
   828  					},
   829  					"version": {
   830  						SchemaProps: spec.SchemaProps{
   831  							Default: "",
   832  							Type:    []string{"string"},
   833  							Format:  "",
   834  						},
   835  					},
   836  				},
   837  				Required: []string{"group", "version"},
   838  			},
   839  		},
   840  	}
   841  }
   842  
   843  func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition {
   844  	return common.OpenAPIDefinition{
   845  		Schema: spec.Schema{
   846  			SchemaProps: spec.SchemaProps{
   847  				Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
   848  				Type:        []string{"object"},
   849  				Properties: map[string]spec.Schema{
   850  					"groupVersion": {
   851  						SchemaProps: spec.SchemaProps{
   852  							Description: "groupVersion specifies the API group and version in the form \"group/version\"",
   853  							Default:     "",
   854  							Type:        []string{"string"},
   855  							Format:      "",
   856  						},
   857  					},
   858  					"version": {
   859  						SchemaProps: spec.SchemaProps{
   860  							Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
   861  							Default:     "",
   862  							Type:        []string{"string"},
   863  							Format:      "",
   864  						},
   865  					},
   866  				},
   867  				Required: []string{"groupVersion", "version"},
   868  			},
   869  		},
   870  	}
   871  }
   872  
   873  func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
   874  	return common.OpenAPIDefinition{
   875  		Schema: spec.Schema{
   876  			SchemaProps: spec.SchemaProps{
   877  				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",
   878  				Type:        []string{"object"},
   879  				Properties: map[string]spec.Schema{
   880  					"group": {
   881  						SchemaProps: spec.SchemaProps{
   882  							Default: "",
   883  							Type:    []string{"string"},
   884  							Format:  "",
   885  						},
   886  					},
   887  					"version": {
   888  						SchemaProps: spec.SchemaProps{
   889  							Default: "",
   890  							Type:    []string{"string"},
   891  							Format:  "",
   892  						},
   893  					},
   894  					"kind": {
   895  						SchemaProps: spec.SchemaProps{
   896  							Default: "",
   897  							Type:    []string{"string"},
   898  							Format:  "",
   899  						},
   900  					},
   901  				},
   902  				Required: []string{"group", "version", "kind"},
   903  			},
   904  		},
   905  	}
   906  }
   907  
   908  func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
   909  	return common.OpenAPIDefinition{
   910  		Schema: spec.Schema{
   911  			SchemaProps: spec.SchemaProps{
   912  				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",
   913  				Type:        []string{"object"},
   914  				Properties: map[string]spec.Schema{
   915  					"group": {
   916  						SchemaProps: spec.SchemaProps{
   917  							Default: "",
   918  							Type:    []string{"string"},
   919  							Format:  "",
   920  						},
   921  					},
   922  					"version": {
   923  						SchemaProps: spec.SchemaProps{
   924  							Default: "",
   925  							Type:    []string{"string"},
   926  							Format:  "",
   927  						},
   928  					},
   929  					"resource": {
   930  						SchemaProps: spec.SchemaProps{
   931  							Default: "",
   932  							Type:    []string{"string"},
   933  							Format:  "",
   934  						},
   935  					},
   936  				},
   937  				Required: []string{"group", "version", "resource"},
   938  			},
   939  		},
   940  	}
   941  }
   942  
   943  func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
   944  	return common.OpenAPIDefinition{
   945  		Schema: spec.Schema{
   946  			SchemaProps: spec.SchemaProps{
   947  				Description: "InternalEvent makes watch.Event versioned",
   948  				Type:        []string{"object"},
   949  				Properties: map[string]spec.Schema{
   950  					"Type": {
   951  						SchemaProps: spec.SchemaProps{
   952  							Default: "",
   953  							Type:    []string{"string"},
   954  							Format:  "",
   955  						},
   956  					},
   957  					"Object": {
   958  						SchemaProps: spec.SchemaProps{
   959  							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.",
   960  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.Object"),
   961  						},
   962  					},
   963  				},
   964  				Required: []string{"Type", "Object"},
   965  			},
   966  		},
   967  		Dependencies: []string{
   968  			"k8s.io/apimachinery/pkg/runtime.Object"},
   969  	}
   970  }
   971  
   972  func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
   973  	return common.OpenAPIDefinition{
   974  		Schema: spec.Schema{
   975  			SchemaProps: spec.SchemaProps{
   976  				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.",
   977  				Type:        []string{"object"},
   978  				Properties: map[string]spec.Schema{
   979  					"matchLabels": {
   980  						SchemaProps: spec.SchemaProps{
   981  							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.",
   982  							Type:        []string{"object"},
   983  							AdditionalProperties: &spec.SchemaOrBool{
   984  								Allows: true,
   985  								Schema: &spec.Schema{
   986  									SchemaProps: spec.SchemaProps{
   987  										Default: "",
   988  										Type:    []string{"string"},
   989  										Format:  "",
   990  									},
   991  								},
   992  							},
   993  						},
   994  					},
   995  					"matchExpressions": {
   996  						SchemaProps: spec.SchemaProps{
   997  							Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
   998  							Type:        []string{"array"},
   999  							Items: &spec.SchemaOrArray{
  1000  								Schema: &spec.Schema{
  1001  									SchemaProps: spec.SchemaProps{
  1002  										Default: map[string]interface{}{},
  1003  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"),
  1004  									},
  1005  								},
  1006  							},
  1007  						},
  1008  					},
  1009  				},
  1010  			},
  1011  			VendorExtensible: spec.VendorExtensible{
  1012  				Extensions: spec.Extensions{
  1013  					"x-kubernetes-map-type": "atomic",
  1014  				},
  1015  			},
  1016  		},
  1017  		Dependencies: []string{
  1018  			"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"},
  1019  	}
  1020  }
  1021  
  1022  func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1023  	return common.OpenAPIDefinition{
  1024  		Schema: spec.Schema{
  1025  			SchemaProps: spec.SchemaProps{
  1026  				Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
  1027  				Type:        []string{"object"},
  1028  				Properties: map[string]spec.Schema{
  1029  					"key": {
  1030  						VendorExtensible: spec.VendorExtensible{
  1031  							Extensions: spec.Extensions{
  1032  								"x-kubernetes-patch-merge-key": "key",
  1033  								"x-kubernetes-patch-strategy":  "merge",
  1034  							},
  1035  						},
  1036  						SchemaProps: spec.SchemaProps{
  1037  							Description: "key is the label key that the selector applies to.",
  1038  							Default:     "",
  1039  							Type:        []string{"string"},
  1040  							Format:      "",
  1041  						},
  1042  					},
  1043  					"operator": {
  1044  						SchemaProps: spec.SchemaProps{
  1045  							Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
  1046  							Default:     "",
  1047  							Type:        []string{"string"},
  1048  							Format:      "",
  1049  						},
  1050  					},
  1051  					"values": {
  1052  						SchemaProps: spec.SchemaProps{
  1053  							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.",
  1054  							Type:        []string{"array"},
  1055  							Items: &spec.SchemaOrArray{
  1056  								Schema: &spec.Schema{
  1057  									SchemaProps: spec.SchemaProps{
  1058  										Default: "",
  1059  										Type:    []string{"string"},
  1060  										Format:  "",
  1061  									},
  1062  								},
  1063  							},
  1064  						},
  1065  					},
  1066  				},
  1067  				Required: []string{"key", "operator"},
  1068  			},
  1069  		},
  1070  	}
  1071  }
  1072  
  1073  func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1074  	return common.OpenAPIDefinition{
  1075  		Schema: spec.Schema{
  1076  			SchemaProps: spec.SchemaProps{
  1077  				Description: "List holds a list of objects, which may not be known by the server.",
  1078  				Type:        []string{"object"},
  1079  				Properties: map[string]spec.Schema{
  1080  					"kind": {
  1081  						SchemaProps: spec.SchemaProps{
  1082  							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",
  1083  							Type:        []string{"string"},
  1084  							Format:      "",
  1085  						},
  1086  					},
  1087  					"apiVersion": {
  1088  						SchemaProps: spec.SchemaProps{
  1089  							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",
  1090  							Type:        []string{"string"},
  1091  							Format:      "",
  1092  						},
  1093  					},
  1094  					"metadata": {
  1095  						SchemaProps: spec.SchemaProps{
  1096  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1097  							Default:     map[string]interface{}{},
  1098  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1099  						},
  1100  					},
  1101  					"items": {
  1102  						SchemaProps: spec.SchemaProps{
  1103  							Description: "List of objects",
  1104  							Type:        []string{"array"},
  1105  							Items: &spec.SchemaOrArray{
  1106  								Schema: &spec.Schema{
  1107  									SchemaProps: spec.SchemaProps{
  1108  										Default: map[string]interface{}{},
  1109  										Ref:     ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  1110  									},
  1111  								},
  1112  							},
  1113  						},
  1114  					},
  1115  				},
  1116  				Required: []string{"items"},
  1117  			},
  1118  		},
  1119  		Dependencies: []string{
  1120  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
  1121  	}
  1122  }
  1123  
  1124  func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1125  	return common.OpenAPIDefinition{
  1126  		Schema: spec.Schema{
  1127  			SchemaProps: spec.SchemaProps{
  1128  				Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
  1129  				Type:        []string{"object"},
  1130  				Properties: map[string]spec.Schema{
  1131  					"selfLink": {
  1132  						SchemaProps: spec.SchemaProps{
  1133  							Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
  1134  							Type:        []string{"string"},
  1135  							Format:      "",
  1136  						},
  1137  					},
  1138  					"resourceVersion": {
  1139  						SchemaProps: spec.SchemaProps{
  1140  							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",
  1141  							Type:        []string{"string"},
  1142  							Format:      "",
  1143  						},
  1144  					},
  1145  					"continue": {
  1146  						SchemaProps: spec.SchemaProps{
  1147  							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.",
  1148  							Type:        []string{"string"},
  1149  							Format:      "",
  1150  						},
  1151  					},
  1152  					"remainingItemCount": {
  1153  						SchemaProps: spec.SchemaProps{
  1154  							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.",
  1155  							Type:        []string{"integer"},
  1156  							Format:      "int64",
  1157  						},
  1158  					},
  1159  				},
  1160  			},
  1161  		},
  1162  	}
  1163  }
  1164  
  1165  func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1166  	return common.OpenAPIDefinition{
  1167  		Schema: spec.Schema{
  1168  			SchemaProps: spec.SchemaProps{
  1169  				Description: "ListOptions is the query options to a standard REST list call.",
  1170  				Type:        []string{"object"},
  1171  				Properties: map[string]spec.Schema{
  1172  					"kind": {
  1173  						SchemaProps: spec.SchemaProps{
  1174  							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",
  1175  							Type:        []string{"string"},
  1176  							Format:      "",
  1177  						},
  1178  					},
  1179  					"apiVersion": {
  1180  						SchemaProps: spec.SchemaProps{
  1181  							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",
  1182  							Type:        []string{"string"},
  1183  							Format:      "",
  1184  						},
  1185  					},
  1186  					"labelSelector": {
  1187  						SchemaProps: spec.SchemaProps{
  1188  							Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
  1189  							Type:        []string{"string"},
  1190  							Format:      "",
  1191  						},
  1192  					},
  1193  					"fieldSelector": {
  1194  						SchemaProps: spec.SchemaProps{
  1195  							Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
  1196  							Type:        []string{"string"},
  1197  							Format:      "",
  1198  						},
  1199  					},
  1200  					"watch": {
  1201  						SchemaProps: spec.SchemaProps{
  1202  							Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
  1203  							Type:        []string{"boolean"},
  1204  							Format:      "",
  1205  						},
  1206  					},
  1207  					"allowWatchBookmarks": {
  1208  						SchemaProps: spec.SchemaProps{
  1209  							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.",
  1210  							Type:        []string{"boolean"},
  1211  							Format:      "",
  1212  						},
  1213  					},
  1214  					"resourceVersion": {
  1215  						SchemaProps: spec.SchemaProps{
  1216  							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",
  1217  							Type:        []string{"string"},
  1218  							Format:      "",
  1219  						},
  1220  					},
  1221  					"resourceVersionMatch": {
  1222  						SchemaProps: spec.SchemaProps{
  1223  							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",
  1224  							Type:        []string{"string"},
  1225  							Format:      "",
  1226  						},
  1227  					},
  1228  					"timeoutSeconds": {
  1229  						SchemaProps: spec.SchemaProps{
  1230  							Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
  1231  							Type:        []string{"integer"},
  1232  							Format:      "int64",
  1233  						},
  1234  					},
  1235  					"limit": {
  1236  						SchemaProps: spec.SchemaProps{
  1237  							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.",
  1238  							Type:        []string{"integer"},
  1239  							Format:      "int64",
  1240  						},
  1241  					},
  1242  					"continue": {
  1243  						SchemaProps: spec.SchemaProps{
  1244  							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.",
  1245  							Type:        []string{"string"},
  1246  							Format:      "",
  1247  						},
  1248  					},
  1249  				},
  1250  			},
  1251  		},
  1252  	}
  1253  }
  1254  
  1255  func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1256  	return common.OpenAPIDefinition{
  1257  		Schema: spec.Schema{
  1258  			SchemaProps: spec.SchemaProps{
  1259  				Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
  1260  				Type:        []string{"object"},
  1261  				Properties: map[string]spec.Schema{
  1262  					"manager": {
  1263  						SchemaProps: spec.SchemaProps{
  1264  							Description: "Manager is an identifier of the workflow managing these fields.",
  1265  							Type:        []string{"string"},
  1266  							Format:      "",
  1267  						},
  1268  					},
  1269  					"operation": {
  1270  						SchemaProps: spec.SchemaProps{
  1271  							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'.",
  1272  							Type:        []string{"string"},
  1273  							Format:      "",
  1274  						},
  1275  					},
  1276  					"apiVersion": {
  1277  						SchemaProps: spec.SchemaProps{
  1278  							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.",
  1279  							Type:        []string{"string"},
  1280  							Format:      "",
  1281  						},
  1282  					},
  1283  					"time": {
  1284  						SchemaProps: spec.SchemaProps{
  1285  							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.",
  1286  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1287  						},
  1288  					},
  1289  					"fieldsType": {
  1290  						SchemaProps: spec.SchemaProps{
  1291  							Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
  1292  							Type:        []string{"string"},
  1293  							Format:      "",
  1294  						},
  1295  					},
  1296  					"fieldsV1": {
  1297  						SchemaProps: spec.SchemaProps{
  1298  							Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
  1299  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"),
  1300  						},
  1301  					},
  1302  					"subresource": {
  1303  						SchemaProps: spec.SchemaProps{
  1304  							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.",
  1305  							Type:        []string{"string"},
  1306  							Format:      "",
  1307  						},
  1308  					},
  1309  				},
  1310  			},
  1311  		},
  1312  		Dependencies: []string{
  1313  			"k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  1314  	}
  1315  }
  1316  
  1317  func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1318  	return common.OpenAPIDefinition{
  1319  		Schema: spec.Schema{
  1320  			SchemaProps: spec.SchemaProps{
  1321  				Description: "MicroTime is version of Time with microsecond level precision.",
  1322  				Type:        v1.MicroTime{}.OpenAPISchemaType(),
  1323  				Format:      v1.MicroTime{}.OpenAPISchemaFormat(),
  1324  			},
  1325  		},
  1326  	}
  1327  }
  1328  
  1329  func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1330  	return common.OpenAPIDefinition{
  1331  		Schema: spec.Schema{
  1332  			SchemaProps: spec.SchemaProps{
  1333  				Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
  1334  				Type:        []string{"object"},
  1335  				Properties: map[string]spec.Schema{
  1336  					"name": {
  1337  						SchemaProps: spec.SchemaProps{
  1338  							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",
  1339  							Type:        []string{"string"},
  1340  							Format:      "",
  1341  						},
  1342  					},
  1343  					"generateName": {
  1344  						SchemaProps: spec.SchemaProps{
  1345  							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",
  1346  							Type:        []string{"string"},
  1347  							Format:      "",
  1348  						},
  1349  					},
  1350  					"namespace": {
  1351  						SchemaProps: spec.SchemaProps{
  1352  							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",
  1353  							Type:        []string{"string"},
  1354  							Format:      "",
  1355  						},
  1356  					},
  1357  					"selfLink": {
  1358  						SchemaProps: spec.SchemaProps{
  1359  							Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
  1360  							Type:        []string{"string"},
  1361  							Format:      "",
  1362  						},
  1363  					},
  1364  					"uid": {
  1365  						SchemaProps: spec.SchemaProps{
  1366  							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",
  1367  							Type:        []string{"string"},
  1368  							Format:      "",
  1369  						},
  1370  					},
  1371  					"resourceVersion": {
  1372  						SchemaProps: spec.SchemaProps{
  1373  							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",
  1374  							Type:        []string{"string"},
  1375  							Format:      "",
  1376  						},
  1377  					},
  1378  					"generation": {
  1379  						SchemaProps: spec.SchemaProps{
  1380  							Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
  1381  							Type:        []string{"integer"},
  1382  							Format:      "int64",
  1383  						},
  1384  					},
  1385  					"creationTimestamp": {
  1386  						SchemaProps: spec.SchemaProps{
  1387  							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",
  1388  							Default:     map[string]interface{}{},
  1389  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1390  						},
  1391  					},
  1392  					"deletionTimestamp": {
  1393  						SchemaProps: spec.SchemaProps{
  1394  							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",
  1395  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1396  						},
  1397  					},
  1398  					"deletionGracePeriodSeconds": {
  1399  						SchemaProps: spec.SchemaProps{
  1400  							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.",
  1401  							Type:        []string{"integer"},
  1402  							Format:      "int64",
  1403  						},
  1404  					},
  1405  					"labels": {
  1406  						SchemaProps: spec.SchemaProps{
  1407  							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",
  1408  							Type:        []string{"object"},
  1409  							AdditionalProperties: &spec.SchemaOrBool{
  1410  								Allows: true,
  1411  								Schema: &spec.Schema{
  1412  									SchemaProps: spec.SchemaProps{
  1413  										Default: "",
  1414  										Type:    []string{"string"},
  1415  										Format:  "",
  1416  									},
  1417  								},
  1418  							},
  1419  						},
  1420  					},
  1421  					"annotations": {
  1422  						SchemaProps: spec.SchemaProps{
  1423  							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",
  1424  							Type:        []string{"object"},
  1425  							AdditionalProperties: &spec.SchemaOrBool{
  1426  								Allows: true,
  1427  								Schema: &spec.Schema{
  1428  									SchemaProps: spec.SchemaProps{
  1429  										Default: "",
  1430  										Type:    []string{"string"},
  1431  										Format:  "",
  1432  									},
  1433  								},
  1434  							},
  1435  						},
  1436  					},
  1437  					"ownerReferences": {
  1438  						VendorExtensible: spec.VendorExtensible{
  1439  							Extensions: spec.Extensions{
  1440  								"x-kubernetes-patch-merge-key": "uid",
  1441  								"x-kubernetes-patch-strategy":  "merge",
  1442  							},
  1443  						},
  1444  						SchemaProps: spec.SchemaProps{
  1445  							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.",
  1446  							Type:        []string{"array"},
  1447  							Items: &spec.SchemaOrArray{
  1448  								Schema: &spec.Schema{
  1449  									SchemaProps: spec.SchemaProps{
  1450  										Default: map[string]interface{}{},
  1451  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
  1452  									},
  1453  								},
  1454  							},
  1455  						},
  1456  					},
  1457  					"finalizers": {
  1458  						VendorExtensible: spec.VendorExtensible{
  1459  							Extensions: spec.Extensions{
  1460  								"x-kubernetes-patch-strategy": "merge",
  1461  							},
  1462  						},
  1463  						SchemaProps: spec.SchemaProps{
  1464  							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.",
  1465  							Type:        []string{"array"},
  1466  							Items: &spec.SchemaOrArray{
  1467  								Schema: &spec.Schema{
  1468  									SchemaProps: spec.SchemaProps{
  1469  										Default: "",
  1470  										Type:    []string{"string"},
  1471  										Format:  "",
  1472  									},
  1473  								},
  1474  							},
  1475  						},
  1476  					},
  1477  					"managedFields": {
  1478  						SchemaProps: spec.SchemaProps{
  1479  							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.",
  1480  							Type:        []string{"array"},
  1481  							Items: &spec.SchemaOrArray{
  1482  								Schema: &spec.Schema{
  1483  									SchemaProps: spec.SchemaProps{
  1484  										Default: map[string]interface{}{},
  1485  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"),
  1486  									},
  1487  								},
  1488  							},
  1489  						},
  1490  					},
  1491  				},
  1492  			},
  1493  		},
  1494  		Dependencies: []string{
  1495  			"k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  1496  	}
  1497  }
  1498  
  1499  func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1500  	return common.OpenAPIDefinition{
  1501  		Schema: spec.Schema{
  1502  			SchemaProps: spec.SchemaProps{
  1503  				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.",
  1504  				Type:        []string{"object"},
  1505  				Properties: map[string]spec.Schema{
  1506  					"apiVersion": {
  1507  						SchemaProps: spec.SchemaProps{
  1508  							Description: "API version of the referent.",
  1509  							Default:     "",
  1510  							Type:        []string{"string"},
  1511  							Format:      "",
  1512  						},
  1513  					},
  1514  					"kind": {
  1515  						SchemaProps: spec.SchemaProps{
  1516  							Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1517  							Default:     "",
  1518  							Type:        []string{"string"},
  1519  							Format:      "",
  1520  						},
  1521  					},
  1522  					"name": {
  1523  						SchemaProps: spec.SchemaProps{
  1524  							Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
  1525  							Default:     "",
  1526  							Type:        []string{"string"},
  1527  							Format:      "",
  1528  						},
  1529  					},
  1530  					"uid": {
  1531  						SchemaProps: spec.SchemaProps{
  1532  							Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
  1533  							Default:     "",
  1534  							Type:        []string{"string"},
  1535  							Format:      "",
  1536  						},
  1537  					},
  1538  					"controller": {
  1539  						SchemaProps: spec.SchemaProps{
  1540  							Description: "If true, this reference points to the managing controller.",
  1541  							Type:        []string{"boolean"},
  1542  							Format:      "",
  1543  						},
  1544  					},
  1545  					"blockOwnerDeletion": {
  1546  						SchemaProps: spec.SchemaProps{
  1547  							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.",
  1548  							Type:        []string{"boolean"},
  1549  							Format:      "",
  1550  						},
  1551  					},
  1552  				},
  1553  				Required: []string{"apiVersion", "kind", "name", "uid"},
  1554  			},
  1555  			VendorExtensible: spec.VendorExtensible{
  1556  				Extensions: spec.Extensions{
  1557  					"x-kubernetes-map-type": "atomic",
  1558  				},
  1559  			},
  1560  		},
  1561  	}
  1562  }
  1563  
  1564  func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1565  	return common.OpenAPIDefinition{
  1566  		Schema: spec.Schema{
  1567  			SchemaProps: spec.SchemaProps{
  1568  				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.",
  1569  				Type:        []string{"object"},
  1570  				Properties: map[string]spec.Schema{
  1571  					"kind": {
  1572  						SchemaProps: spec.SchemaProps{
  1573  							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",
  1574  							Type:        []string{"string"},
  1575  							Format:      "",
  1576  						},
  1577  					},
  1578  					"apiVersion": {
  1579  						SchemaProps: spec.SchemaProps{
  1580  							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",
  1581  							Type:        []string{"string"},
  1582  							Format:      "",
  1583  						},
  1584  					},
  1585  					"metadata": {
  1586  						SchemaProps: spec.SchemaProps{
  1587  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
  1588  							Default:     map[string]interface{}{},
  1589  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1590  						},
  1591  					},
  1592  				},
  1593  			},
  1594  		},
  1595  		Dependencies: []string{
  1596  			"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1597  	}
  1598  }
  1599  
  1600  func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1601  	return common.OpenAPIDefinition{
  1602  		Schema: spec.Schema{
  1603  			SchemaProps: spec.SchemaProps{
  1604  				Description: "PartialObjectMetadataList contains a list of objects containing only their metadata",
  1605  				Type:        []string{"object"},
  1606  				Properties: map[string]spec.Schema{
  1607  					"kind": {
  1608  						SchemaProps: spec.SchemaProps{
  1609  							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",
  1610  							Type:        []string{"string"},
  1611  							Format:      "",
  1612  						},
  1613  					},
  1614  					"apiVersion": {
  1615  						SchemaProps: spec.SchemaProps{
  1616  							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",
  1617  							Type:        []string{"string"},
  1618  							Format:      "",
  1619  						},
  1620  					},
  1621  					"metadata": {
  1622  						SchemaProps: spec.SchemaProps{
  1623  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1624  							Default:     map[string]interface{}{},
  1625  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1626  						},
  1627  					},
  1628  					"items": {
  1629  						SchemaProps: spec.SchemaProps{
  1630  							Description: "items contains each of the included items.",
  1631  							Type:        []string{"array"},
  1632  							Items: &spec.SchemaOrArray{
  1633  								Schema: &spec.Schema{
  1634  									SchemaProps: spec.SchemaProps{
  1635  										Default: map[string]interface{}{},
  1636  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"),
  1637  									},
  1638  								},
  1639  							},
  1640  						},
  1641  					},
  1642  				},
  1643  				Required: []string{"items"},
  1644  			},
  1645  		},
  1646  		Dependencies: []string{
  1647  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"},
  1648  	}
  1649  }
  1650  
  1651  func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1652  	return common.OpenAPIDefinition{
  1653  		Schema: spec.Schema{
  1654  			SchemaProps: spec.SchemaProps{
  1655  				Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
  1656  				Type:        []string{"object"},
  1657  			},
  1658  		},
  1659  	}
  1660  }
  1661  
  1662  func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1663  	return common.OpenAPIDefinition{
  1664  		Schema: spec.Schema{
  1665  			SchemaProps: spec.SchemaProps{
  1666  				Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.",
  1667  				Type:        []string{"object"},
  1668  				Properties: map[string]spec.Schema{
  1669  					"kind": {
  1670  						SchemaProps: spec.SchemaProps{
  1671  							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",
  1672  							Type:        []string{"string"},
  1673  							Format:      "",
  1674  						},
  1675  					},
  1676  					"apiVersion": {
  1677  						SchemaProps: spec.SchemaProps{
  1678  							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",
  1679  							Type:        []string{"string"},
  1680  							Format:      "",
  1681  						},
  1682  					},
  1683  					"dryRun": {
  1684  						SchemaProps: spec.SchemaProps{
  1685  							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",
  1686  							Type:        []string{"array"},
  1687  							Items: &spec.SchemaOrArray{
  1688  								Schema: &spec.Schema{
  1689  									SchemaProps: spec.SchemaProps{
  1690  										Default: "",
  1691  										Type:    []string{"string"},
  1692  										Format:  "",
  1693  									},
  1694  								},
  1695  							},
  1696  						},
  1697  					},
  1698  					"force": {
  1699  						SchemaProps: spec.SchemaProps{
  1700  							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.",
  1701  							Type:        []string{"boolean"},
  1702  							Format:      "",
  1703  						},
  1704  					},
  1705  					"fieldManager": {
  1706  						SchemaProps: spec.SchemaProps{
  1707  							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).",
  1708  							Type:        []string{"string"},
  1709  							Format:      "",
  1710  						},
  1711  					},
  1712  					"fieldValidation": {
  1713  						SchemaProps: spec.SchemaProps{
  1714  							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.",
  1715  							Type:        []string{"string"},
  1716  							Format:      "",
  1717  						},
  1718  					},
  1719  				},
  1720  			},
  1721  		},
  1722  	}
  1723  }
  1724  
  1725  func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1726  	return common.OpenAPIDefinition{
  1727  		Schema: spec.Schema{
  1728  			SchemaProps: spec.SchemaProps{
  1729  				Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
  1730  				Type:        []string{"object"},
  1731  				Properties: map[string]spec.Schema{
  1732  					"uid": {
  1733  						SchemaProps: spec.SchemaProps{
  1734  							Description: "Specifies the target UID.",
  1735  							Type:        []string{"string"},
  1736  							Format:      "",
  1737  						},
  1738  					},
  1739  					"resourceVersion": {
  1740  						SchemaProps: spec.SchemaProps{
  1741  							Description: "Specifies the target ResourceVersion",
  1742  							Type:        []string{"string"},
  1743  							Format:      "",
  1744  						},
  1745  					},
  1746  				},
  1747  			},
  1748  		},
  1749  	}
  1750  }
  1751  
  1752  func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1753  	return common.OpenAPIDefinition{
  1754  		Schema: spec.Schema{
  1755  			SchemaProps: spec.SchemaProps{
  1756  				Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".",
  1757  				Type:        []string{"object"},
  1758  				Properties: map[string]spec.Schema{
  1759  					"paths": {
  1760  						SchemaProps: spec.SchemaProps{
  1761  							Description: "paths are the paths available at root.",
  1762  							Type:        []string{"array"},
  1763  							Items: &spec.SchemaOrArray{
  1764  								Schema: &spec.Schema{
  1765  									SchemaProps: spec.SchemaProps{
  1766  										Default: "",
  1767  										Type:    []string{"string"},
  1768  										Format:  "",
  1769  									},
  1770  								},
  1771  							},
  1772  						},
  1773  					},
  1774  				},
  1775  				Required: []string{"paths"},
  1776  			},
  1777  		},
  1778  	}
  1779  }
  1780  
  1781  func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1782  	return common.OpenAPIDefinition{
  1783  		Schema: spec.Schema{
  1784  			SchemaProps: spec.SchemaProps{
  1785  				Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
  1786  				Type:        []string{"object"},
  1787  				Properties: map[string]spec.Schema{
  1788  					"clientCIDR": {
  1789  						SchemaProps: spec.SchemaProps{
  1790  							Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.",
  1791  							Default:     "",
  1792  							Type:        []string{"string"},
  1793  							Format:      "",
  1794  						},
  1795  					},
  1796  					"serverAddress": {
  1797  						SchemaProps: spec.SchemaProps{
  1798  							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.",
  1799  							Default:     "",
  1800  							Type:        []string{"string"},
  1801  							Format:      "",
  1802  						},
  1803  					},
  1804  				},
  1805  				Required: []string{"clientCIDR", "serverAddress"},
  1806  			},
  1807  		},
  1808  	}
  1809  }
  1810  
  1811  func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1812  	return common.OpenAPIDefinition{
  1813  		Schema: spec.Schema{
  1814  			SchemaProps: spec.SchemaProps{
  1815  				Description: "Status is a return value for calls that don't return other objects.",
  1816  				Type:        []string{"object"},
  1817  				Properties: map[string]spec.Schema{
  1818  					"kind": {
  1819  						SchemaProps: spec.SchemaProps{
  1820  							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",
  1821  							Type:        []string{"string"},
  1822  							Format:      "",
  1823  						},
  1824  					},
  1825  					"apiVersion": {
  1826  						SchemaProps: spec.SchemaProps{
  1827  							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",
  1828  							Type:        []string{"string"},
  1829  							Format:      "",
  1830  						},
  1831  					},
  1832  					"metadata": {
  1833  						SchemaProps: spec.SchemaProps{
  1834  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1835  							Default:     map[string]interface{}{},
  1836  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1837  						},
  1838  					},
  1839  					"status": {
  1840  						SchemaProps: spec.SchemaProps{
  1841  							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",
  1842  							Type:        []string{"string"},
  1843  							Format:      "",
  1844  						},
  1845  					},
  1846  					"message": {
  1847  						SchemaProps: spec.SchemaProps{
  1848  							Description: "A human-readable description of the status of this operation.",
  1849  							Type:        []string{"string"},
  1850  							Format:      "",
  1851  						},
  1852  					},
  1853  					"reason": {
  1854  						SchemaProps: spec.SchemaProps{
  1855  							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.",
  1856  							Type:        []string{"string"},
  1857  							Format:      "",
  1858  						},
  1859  					},
  1860  					"details": {
  1861  						SchemaProps: spec.SchemaProps{
  1862  							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.",
  1863  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"),
  1864  						},
  1865  					},
  1866  					"code": {
  1867  						SchemaProps: spec.SchemaProps{
  1868  							Description: "Suggested HTTP return code for this status, 0 if not set.",
  1869  							Type:        []string{"integer"},
  1870  							Format:      "int32",
  1871  						},
  1872  					},
  1873  				},
  1874  			},
  1875  		},
  1876  		Dependencies: []string{
  1877  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"},
  1878  	}
  1879  }
  1880  
  1881  func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1882  	return common.OpenAPIDefinition{
  1883  		Schema: spec.Schema{
  1884  			SchemaProps: spec.SchemaProps{
  1885  				Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
  1886  				Type:        []string{"object"},
  1887  				Properties: map[string]spec.Schema{
  1888  					"reason": {
  1889  						SchemaProps: spec.SchemaProps{
  1890  							Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
  1891  							Type:        []string{"string"},
  1892  							Format:      "",
  1893  						},
  1894  					},
  1895  					"message": {
  1896  						SchemaProps: spec.SchemaProps{
  1897  							Description: "A human-readable description of the cause of the error.  This field may be presented as-is to a reader.",
  1898  							Type:        []string{"string"},
  1899  							Format:      "",
  1900  						},
  1901  					},
  1902  					"field": {
  1903  						SchemaProps: spec.SchemaProps{
  1904  							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\"",
  1905  							Type:        []string{"string"},
  1906  							Format:      "",
  1907  						},
  1908  					},
  1909  				},
  1910  			},
  1911  		},
  1912  	}
  1913  }
  1914  
  1915  func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1916  	return common.OpenAPIDefinition{
  1917  		Schema: spec.Schema{
  1918  			SchemaProps: spec.SchemaProps{
  1919  				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.",
  1920  				Type:        []string{"object"},
  1921  				Properties: map[string]spec.Schema{
  1922  					"name": {
  1923  						SchemaProps: spec.SchemaProps{
  1924  							Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
  1925  							Type:        []string{"string"},
  1926  							Format:      "",
  1927  						},
  1928  					},
  1929  					"group": {
  1930  						SchemaProps: spec.SchemaProps{
  1931  							Description: "The group attribute of the resource associated with the status StatusReason.",
  1932  							Type:        []string{"string"},
  1933  							Format:      "",
  1934  						},
  1935  					},
  1936  					"kind": {
  1937  						SchemaProps: spec.SchemaProps{
  1938  							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",
  1939  							Type:        []string{"string"},
  1940  							Format:      "",
  1941  						},
  1942  					},
  1943  					"uid": {
  1944  						SchemaProps: spec.SchemaProps{
  1945  							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",
  1946  							Type:        []string{"string"},
  1947  							Format:      "",
  1948  						},
  1949  					},
  1950  					"causes": {
  1951  						SchemaProps: spec.SchemaProps{
  1952  							Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
  1953  							Type:        []string{"array"},
  1954  							Items: &spec.SchemaOrArray{
  1955  								Schema: &spec.Schema{
  1956  									SchemaProps: spec.SchemaProps{
  1957  										Default: map[string]interface{}{},
  1958  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"),
  1959  									},
  1960  								},
  1961  							},
  1962  						},
  1963  					},
  1964  					"retryAfterSeconds": {
  1965  						SchemaProps: spec.SchemaProps{
  1966  							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.",
  1967  							Type:        []string{"integer"},
  1968  							Format:      "int32",
  1969  						},
  1970  					},
  1971  				},
  1972  			},
  1973  		},
  1974  		Dependencies: []string{
  1975  			"k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"},
  1976  	}
  1977  }
  1978  
  1979  func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1980  	return common.OpenAPIDefinition{
  1981  		Schema: spec.Schema{
  1982  			SchemaProps: spec.SchemaProps{
  1983  				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.",
  1984  				Type:        []string{"object"},
  1985  				Properties: map[string]spec.Schema{
  1986  					"kind": {
  1987  						SchemaProps: spec.SchemaProps{
  1988  							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",
  1989  							Type:        []string{"string"},
  1990  							Format:      "",
  1991  						},
  1992  					},
  1993  					"apiVersion": {
  1994  						SchemaProps: spec.SchemaProps{
  1995  							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",
  1996  							Type:        []string{"string"},
  1997  							Format:      "",
  1998  						},
  1999  					},
  2000  					"metadata": {
  2001  						SchemaProps: spec.SchemaProps{
  2002  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2003  							Default:     map[string]interface{}{},
  2004  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2005  						},
  2006  					},
  2007  					"columnDefinitions": {
  2008  						SchemaProps: spec.SchemaProps{
  2009  							Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.",
  2010  							Type:        []string{"array"},
  2011  							Items: &spec.SchemaOrArray{
  2012  								Schema: &spec.Schema{
  2013  									SchemaProps: spec.SchemaProps{
  2014  										Default: map[string]interface{}{},
  2015  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"),
  2016  									},
  2017  								},
  2018  							},
  2019  						},
  2020  					},
  2021  					"rows": {
  2022  						SchemaProps: spec.SchemaProps{
  2023  							Description: "rows is the list of items in the table.",
  2024  							Type:        []string{"array"},
  2025  							Items: &spec.SchemaOrArray{
  2026  								Schema: &spec.Schema{
  2027  									SchemaProps: spec.SchemaProps{
  2028  										Default: map[string]interface{}{},
  2029  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"),
  2030  									},
  2031  								},
  2032  							},
  2033  						},
  2034  					},
  2035  				},
  2036  				Required: []string{"columnDefinitions", "rows"},
  2037  			},
  2038  		},
  2039  		Dependencies: []string{
  2040  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"},
  2041  	}
  2042  }
  2043  
  2044  func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2045  	return common.OpenAPIDefinition{
  2046  		Schema: spec.Schema{
  2047  			SchemaProps: spec.SchemaProps{
  2048  				Description: "TableColumnDefinition contains information about a column returned in the Table.",
  2049  				Type:        []string{"object"},
  2050  				Properties: map[string]spec.Schema{
  2051  					"name": {
  2052  						SchemaProps: spec.SchemaProps{
  2053  							Description: "name is a human readable name for the column.",
  2054  							Default:     "",
  2055  							Type:        []string{"string"},
  2056  							Format:      "",
  2057  						},
  2058  					},
  2059  					"type": {
  2060  						SchemaProps: spec.SchemaProps{
  2061  							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.",
  2062  							Default:     "",
  2063  							Type:        []string{"string"},
  2064  							Format:      "",
  2065  						},
  2066  					},
  2067  					"format": {
  2068  						SchemaProps: spec.SchemaProps{
  2069  							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.",
  2070  							Default:     "",
  2071  							Type:        []string{"string"},
  2072  							Format:      "",
  2073  						},
  2074  					},
  2075  					"description": {
  2076  						SchemaProps: spec.SchemaProps{
  2077  							Description: "description is a human readable description of this column.",
  2078  							Default:     "",
  2079  							Type:        []string{"string"},
  2080  							Format:      "",
  2081  						},
  2082  					},
  2083  					"priority": {
  2084  						SchemaProps: spec.SchemaProps{
  2085  							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.",
  2086  							Default:     0,
  2087  							Type:        []string{"integer"},
  2088  							Format:      "int32",
  2089  						},
  2090  					},
  2091  				},
  2092  				Required: []string{"name", "type", "format", "description", "priority"},
  2093  			},
  2094  		},
  2095  	}
  2096  }
  2097  
  2098  func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2099  	return common.OpenAPIDefinition{
  2100  		Schema: spec.Schema{
  2101  			SchemaProps: spec.SchemaProps{
  2102  				Description: "TableOptions are used when a Table is requested by the caller.",
  2103  				Type:        []string{"object"},
  2104  				Properties: map[string]spec.Schema{
  2105  					"kind": {
  2106  						SchemaProps: spec.SchemaProps{
  2107  							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",
  2108  							Type:        []string{"string"},
  2109  							Format:      "",
  2110  						},
  2111  					},
  2112  					"apiVersion": {
  2113  						SchemaProps: spec.SchemaProps{
  2114  							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",
  2115  							Type:        []string{"string"},
  2116  							Format:      "",
  2117  						},
  2118  					},
  2119  					"includeObject": {
  2120  						SchemaProps: spec.SchemaProps{
  2121  							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.",
  2122  							Type:        []string{"string"},
  2123  							Format:      "",
  2124  						},
  2125  					},
  2126  				},
  2127  			},
  2128  		},
  2129  	}
  2130  }
  2131  
  2132  func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2133  	return common.OpenAPIDefinition{
  2134  		Schema: spec.Schema{
  2135  			SchemaProps: spec.SchemaProps{
  2136  				Description: "TableRow is an individual row in a table.",
  2137  				Type:        []string{"object"},
  2138  				Properties: map[string]spec.Schema{
  2139  					"cells": {
  2140  						SchemaProps: spec.SchemaProps{
  2141  							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.",
  2142  							Type:        []string{"array"},
  2143  							Items: &spec.SchemaOrArray{
  2144  								Schema: &spec.Schema{
  2145  									SchemaProps: spec.SchemaProps{
  2146  										Type:   []string{"object"},
  2147  										Format: "",
  2148  									},
  2149  								},
  2150  							},
  2151  						},
  2152  					},
  2153  					"conditions": {
  2154  						SchemaProps: spec.SchemaProps{
  2155  							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.",
  2156  							Type:        []string{"array"},
  2157  							Items: &spec.SchemaOrArray{
  2158  								Schema: &spec.Schema{
  2159  									SchemaProps: spec.SchemaProps{
  2160  										Default: map[string]interface{}{},
  2161  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"),
  2162  									},
  2163  								},
  2164  							},
  2165  						},
  2166  					},
  2167  					"object": {
  2168  						SchemaProps: spec.SchemaProps{
  2169  							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.",
  2170  							Default:     map[string]interface{}{},
  2171  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  2172  						},
  2173  					},
  2174  				},
  2175  				Required: []string{"cells"},
  2176  			},
  2177  		},
  2178  		Dependencies: []string{
  2179  			"k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
  2180  	}
  2181  }
  2182  
  2183  func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2184  	return common.OpenAPIDefinition{
  2185  		Schema: spec.Schema{
  2186  			SchemaProps: spec.SchemaProps{
  2187  				Description: "TableRowCondition allows a row to be marked with additional information.",
  2188  				Type:        []string{"object"},
  2189  				Properties: map[string]spec.Schema{
  2190  					"type": {
  2191  						SchemaProps: spec.SchemaProps{
  2192  							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.",
  2193  							Default:     "",
  2194  							Type:        []string{"string"},
  2195  							Format:      "",
  2196  						},
  2197  					},
  2198  					"status": {
  2199  						SchemaProps: spec.SchemaProps{
  2200  							Description: "Status of the condition, one of True, False, Unknown.",
  2201  							Default:     "",
  2202  							Type:        []string{"string"},
  2203  							Format:      "",
  2204  						},
  2205  					},
  2206  					"reason": {
  2207  						SchemaProps: spec.SchemaProps{
  2208  							Description: "(brief) machine readable reason for the condition's last transition.",
  2209  							Type:        []string{"string"},
  2210  							Format:      "",
  2211  						},
  2212  					},
  2213  					"message": {
  2214  						SchemaProps: spec.SchemaProps{
  2215  							Description: "Human readable message indicating details about last transition.",
  2216  							Type:        []string{"string"},
  2217  							Format:      "",
  2218  						},
  2219  					},
  2220  				},
  2221  				Required: []string{"type", "status"},
  2222  			},
  2223  		},
  2224  	}
  2225  }
  2226  
  2227  func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2228  	return common.OpenAPIDefinition{
  2229  		Schema: spec.Schema{
  2230  			SchemaProps: spec.SchemaProps{
  2231  				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.",
  2232  				Type:        v1.Time{}.OpenAPISchemaType(),
  2233  				Format:      v1.Time{}.OpenAPISchemaFormat(),
  2234  			},
  2235  		},
  2236  	}
  2237  }
  2238  
  2239  func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2240  	return common.OpenAPIDefinition{
  2241  		Schema: spec.Schema{
  2242  			SchemaProps: spec.SchemaProps{
  2243  				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.",
  2244  				Type:        []string{"object"},
  2245  				Properties: map[string]spec.Schema{
  2246  					"seconds": {
  2247  						SchemaProps: spec.SchemaProps{
  2248  							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.",
  2249  							Default:     0,
  2250  							Type:        []string{"integer"},
  2251  							Format:      "int64",
  2252  						},
  2253  					},
  2254  					"nanos": {
  2255  						SchemaProps: spec.SchemaProps{
  2256  							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.",
  2257  							Default:     0,
  2258  							Type:        []string{"integer"},
  2259  							Format:      "int32",
  2260  						},
  2261  					},
  2262  				},
  2263  				Required: []string{"seconds", "nanos"},
  2264  			},
  2265  		},
  2266  	}
  2267  }
  2268  
  2269  func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2270  	return common.OpenAPIDefinition{
  2271  		Schema: spec.Schema{
  2272  			SchemaProps: spec.SchemaProps{
  2273  				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.",
  2274  				Type:        []string{"object"},
  2275  				Properties: map[string]spec.Schema{
  2276  					"kind": {
  2277  						SchemaProps: spec.SchemaProps{
  2278  							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",
  2279  							Type:        []string{"string"},
  2280  							Format:      "",
  2281  						},
  2282  					},
  2283  					"apiVersion": {
  2284  						SchemaProps: spec.SchemaProps{
  2285  							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",
  2286  							Type:        []string{"string"},
  2287  							Format:      "",
  2288  						},
  2289  					},
  2290  				},
  2291  			},
  2292  		},
  2293  	}
  2294  }
  2295  
  2296  func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2297  	return common.OpenAPIDefinition{
  2298  		Schema: spec.Schema{
  2299  			SchemaProps: spec.SchemaProps{
  2300  				Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.",
  2301  				Type:        []string{"object"},
  2302  				Properties: map[string]spec.Schema{
  2303  					"kind": {
  2304  						SchemaProps: spec.SchemaProps{
  2305  							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",
  2306  							Type:        []string{"string"},
  2307  							Format:      "",
  2308  						},
  2309  					},
  2310  					"apiVersion": {
  2311  						SchemaProps: spec.SchemaProps{
  2312  							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",
  2313  							Type:        []string{"string"},
  2314  							Format:      "",
  2315  						},
  2316  					},
  2317  					"dryRun": {
  2318  						SchemaProps: spec.SchemaProps{
  2319  							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",
  2320  							Type:        []string{"array"},
  2321  							Items: &spec.SchemaOrArray{
  2322  								Schema: &spec.Schema{
  2323  									SchemaProps: spec.SchemaProps{
  2324  										Default: "",
  2325  										Type:    []string{"string"},
  2326  										Format:  "",
  2327  									},
  2328  								},
  2329  							},
  2330  						},
  2331  					},
  2332  					"fieldManager": {
  2333  						SchemaProps: spec.SchemaProps{
  2334  							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.",
  2335  							Type:        []string{"string"},
  2336  							Format:      "",
  2337  						},
  2338  					},
  2339  					"fieldValidation": {
  2340  						SchemaProps: spec.SchemaProps{
  2341  							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.",
  2342  							Type:        []string{"string"},
  2343  							Format:      "",
  2344  						},
  2345  					},
  2346  				},
  2347  			},
  2348  		},
  2349  	}
  2350  }
  2351  
  2352  func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2353  	return common.OpenAPIDefinition{
  2354  		Schema: spec.Schema{
  2355  			SchemaProps: spec.SchemaProps{
  2356  				Description: "Event represents a single event to a watched resource.",
  2357  				Type:        []string{"object"},
  2358  				Properties: map[string]spec.Schema{
  2359  					"type": {
  2360  						SchemaProps: spec.SchemaProps{
  2361  							Default: "",
  2362  							Type:    []string{"string"},
  2363  							Format:  "",
  2364  						},
  2365  					},
  2366  					"object": {
  2367  						SchemaProps: spec.SchemaProps{
  2368  							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.",
  2369  							Default:     map[string]interface{}{},
  2370  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  2371  						},
  2372  					},
  2373  				},
  2374  				Required: []string{"type", "object"},
  2375  			},
  2376  		},
  2377  		Dependencies: []string{
  2378  			"k8s.io/apimachinery/pkg/runtime.RawExtension"},
  2379  	}
  2380  }
  2381  
  2382  func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2383  	return common.OpenAPIDefinition{
  2384  		Schema: spec.Schema{
  2385  			SchemaProps: spec.SchemaProps{
  2386  				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  2387  				Type:        []string{"object"},
  2388  			},
  2389  		},
  2390  	}
  2391  }
  2392  
  2393  func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2394  	return common.OpenAPIDefinition{
  2395  		Schema: spec.Schema{
  2396  			SchemaProps: spec.SchemaProps{
  2397  				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  2398  				Type:        []string{"object"},
  2399  				Properties: map[string]spec.Schema{
  2400  					"apiVersion": {
  2401  						SchemaProps: spec.SchemaProps{
  2402  							Type:   []string{"string"},
  2403  							Format: "",
  2404  						},
  2405  					},
  2406  					"kind": {
  2407  						SchemaProps: spec.SchemaProps{
  2408  							Type:   []string{"string"},
  2409  							Format: "",
  2410  						},
  2411  					},
  2412  				},
  2413  			},
  2414  		},
  2415  	}
  2416  }
  2417  
  2418  func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2419  	return common.OpenAPIDefinition{
  2420  		Schema: spec.Schema{
  2421  			SchemaProps: spec.SchemaProps{
  2422  				Description: "Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. metadata and field mutatation.",
  2423  				Type:        []string{"object"},
  2424  				Properties: map[string]spec.Schema{
  2425  					"apiVersion": {
  2426  						SchemaProps: spec.SchemaProps{
  2427  							Type:   []string{"string"},
  2428  							Format: "",
  2429  						},
  2430  					},
  2431  					"kind": {
  2432  						SchemaProps: spec.SchemaProps{
  2433  							Type:   []string{"string"},
  2434  							Format: "",
  2435  						},
  2436  					},
  2437  					"Raw": {
  2438  						SchemaProps: spec.SchemaProps{
  2439  							Description: "Raw will hold the complete serialized object which couldn't be matched with a registered type. Most likely, nothing should be done with this except for passing it through the system.",
  2440  							Type:        []string{"string"},
  2441  							Format:      "byte",
  2442  						},
  2443  					},
  2444  					"ContentEncoding": {
  2445  						SchemaProps: spec.SchemaProps{
  2446  							Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.",
  2447  							Default:     "",
  2448  							Type:        []string{"string"},
  2449  							Format:      "",
  2450  						},
  2451  					},
  2452  					"ContentType": {
  2453  						SchemaProps: spec.SchemaProps{
  2454  							Description: "ContentType  is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.",
  2455  							Default:     "",
  2456  							Type:        []string{"string"},
  2457  							Format:      "",
  2458  						},
  2459  					},
  2460  				},
  2461  				Required: []string{"Raw", "ContentEncoding", "ContentType"},
  2462  			},
  2463  		},
  2464  	}
  2465  }
  2466  
  2467  func schema_k8sio_apimachinery_pkg_version_Info(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2468  	return common.OpenAPIDefinition{
  2469  		Schema: spec.Schema{
  2470  			SchemaProps: spec.SchemaProps{
  2471  				Description: "Info contains versioning information. how we'll want to distribute that information.",
  2472  				Type:        []string{"object"},
  2473  				Properties: map[string]spec.Schema{
  2474  					"major": {
  2475  						SchemaProps: spec.SchemaProps{
  2476  							Default: "",
  2477  							Type:    []string{"string"},
  2478  							Format:  "",
  2479  						},
  2480  					},
  2481  					"minor": {
  2482  						SchemaProps: spec.SchemaProps{
  2483  							Default: "",
  2484  							Type:    []string{"string"},
  2485  							Format:  "",
  2486  						},
  2487  					},
  2488  					"gitVersion": {
  2489  						SchemaProps: spec.SchemaProps{
  2490  							Default: "",
  2491  							Type:    []string{"string"},
  2492  							Format:  "",
  2493  						},
  2494  					},
  2495  					"gitCommit": {
  2496  						SchemaProps: spec.SchemaProps{
  2497  							Default: "",
  2498  							Type:    []string{"string"},
  2499  							Format:  "",
  2500  						},
  2501  					},
  2502  					"gitTreeState": {
  2503  						SchemaProps: spec.SchemaProps{
  2504  							Default: "",
  2505  							Type:    []string{"string"},
  2506  							Format:  "",
  2507  						},
  2508  					},
  2509  					"buildDate": {
  2510  						SchemaProps: spec.SchemaProps{
  2511  							Default: "",
  2512  							Type:    []string{"string"},
  2513  							Format:  "",
  2514  						},
  2515  					},
  2516  					"goVersion": {
  2517  						SchemaProps: spec.SchemaProps{
  2518  							Default: "",
  2519  							Type:    []string{"string"},
  2520  							Format:  "",
  2521  						},
  2522  					},
  2523  					"compiler": {
  2524  						SchemaProps: spec.SchemaProps{
  2525  							Default: "",
  2526  							Type:    []string{"string"},
  2527  							Format:  "",
  2528  						},
  2529  					},
  2530  					"platform": {
  2531  						SchemaProps: spec.SchemaProps{
  2532  							Default: "",
  2533  							Type:    []string{"string"},
  2534  							Format:  "",
  2535  						},
  2536  					},
  2537  				},
  2538  				Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"},
  2539  			},
  2540  		},
  2541  	}
  2542  }
  2543  
  2544  func schema_pkg_apis_batch_v1alpha1_DependsOn(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2545  	return common.OpenAPIDefinition{
  2546  		Schema: spec.Schema{
  2547  			SchemaProps: spec.SchemaProps{
  2548  				Description: "DependsOn represents the tasks that this task depends on and their dependencies",
  2549  				Type:        []string{"object"},
  2550  				Properties: map[string]spec.Schema{
  2551  					"name": {
  2552  						SchemaProps: spec.SchemaProps{
  2553  							Description: "Indicates the name of the tasks that this task depends on, which can depend on multiple tasks",
  2554  							Type:        []string{"array"},
  2555  							Items: &spec.SchemaOrArray{
  2556  								Schema: &spec.Schema{
  2557  									SchemaProps: spec.SchemaProps{
  2558  										Default: "",
  2559  										Type:    []string{"string"},
  2560  										Format:  "",
  2561  									},
  2562  								},
  2563  							},
  2564  						},
  2565  					},
  2566  					"iteration": {
  2567  						SchemaProps: spec.SchemaProps{
  2568  							Description: "This field specifies that when there are multiple dependent tasks, as long as one task becomes the specified state, the task scheduling is triggered or all tasks must be changed to the specified state to trigger the task scheduling",
  2569  							Type:        []string{"string"},
  2570  							Format:      "",
  2571  						},
  2572  					},
  2573  				},
  2574  			},
  2575  		},
  2576  	}
  2577  }
  2578  
  2579  func schema_pkg_apis_batch_v1alpha1_Job(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2580  	return common.OpenAPIDefinition{
  2581  		Schema: spec.Schema{
  2582  			SchemaProps: spec.SchemaProps{
  2583  				Description: "Job defines the volcano job.",
  2584  				Type:        []string{"object"},
  2585  				Properties: map[string]spec.Schema{
  2586  					"kind": {
  2587  						SchemaProps: spec.SchemaProps{
  2588  							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",
  2589  							Type:        []string{"string"},
  2590  							Format:      "",
  2591  						},
  2592  					},
  2593  					"apiVersion": {
  2594  						SchemaProps: spec.SchemaProps{
  2595  							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",
  2596  							Type:        []string{"string"},
  2597  							Format:      "",
  2598  						},
  2599  					},
  2600  					"metadata": {
  2601  						SchemaProps: spec.SchemaProps{
  2602  							Default: map[string]interface{}{},
  2603  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  2604  						},
  2605  					},
  2606  					"spec": {
  2607  						SchemaProps: spec.SchemaProps{
  2608  							Description: "Specification of the desired behavior of the volcano job, including the minAvailable",
  2609  							Default:     map[string]interface{}{},
  2610  							Ref:         ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.JobSpec"),
  2611  						},
  2612  					},
  2613  					"status": {
  2614  						SchemaProps: spec.SchemaProps{
  2615  							Description: "Current status of the volcano Job",
  2616  							Default:     map[string]interface{}{},
  2617  							Ref:         ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.JobStatus"),
  2618  						},
  2619  					},
  2620  				},
  2621  			},
  2622  		},
  2623  		Dependencies: []string{
  2624  			"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "volcano.sh/apis/pkg/apis/batch/v1alpha1.JobSpec", "volcano.sh/apis/pkg/apis/batch/v1alpha1.JobStatus"},
  2625  	}
  2626  }
  2627  
  2628  func schema_pkg_apis_batch_v1alpha1_JobCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2629  	return common.OpenAPIDefinition{
  2630  		Schema: spec.Schema{
  2631  			SchemaProps: spec.SchemaProps{
  2632  				Description: "JobCondition contains details for the current condition of this job.",
  2633  				Type:        []string{"object"},
  2634  				Properties: map[string]spec.Schema{
  2635  					"status": {
  2636  						SchemaProps: spec.SchemaProps{
  2637  							Description: "Status is the new phase of job after performing the state's action.",
  2638  							Default:     "",
  2639  							Type:        []string{"string"},
  2640  							Format:      "",
  2641  						},
  2642  					},
  2643  					"lastTransitionTime": {
  2644  						SchemaProps: spec.SchemaProps{
  2645  							Description: "Last time the condition transitioned from one phase to another.",
  2646  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  2647  						},
  2648  					},
  2649  				},
  2650  				Required: []string{"status"},
  2651  			},
  2652  		},
  2653  		Dependencies: []string{
  2654  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  2655  	}
  2656  }
  2657  
  2658  func schema_pkg_apis_batch_v1alpha1_JobList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2659  	return common.OpenAPIDefinition{
  2660  		Schema: spec.Schema{
  2661  			SchemaProps: spec.SchemaProps{
  2662  				Description: "JobList defines the list of jobs.",
  2663  				Type:        []string{"object"},
  2664  				Properties: map[string]spec.Schema{
  2665  					"kind": {
  2666  						SchemaProps: spec.SchemaProps{
  2667  							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",
  2668  							Type:        []string{"string"},
  2669  							Format:      "",
  2670  						},
  2671  					},
  2672  					"apiVersion": {
  2673  						SchemaProps: spec.SchemaProps{
  2674  							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",
  2675  							Type:        []string{"string"},
  2676  							Format:      "",
  2677  						},
  2678  					},
  2679  					"metadata": {
  2680  						SchemaProps: spec.SchemaProps{
  2681  							Default: map[string]interface{}{},
  2682  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2683  						},
  2684  					},
  2685  					"items": {
  2686  						SchemaProps: spec.SchemaProps{
  2687  							Type: []string{"array"},
  2688  							Items: &spec.SchemaOrArray{
  2689  								Schema: &spec.Schema{
  2690  									SchemaProps: spec.SchemaProps{
  2691  										Default: map[string]interface{}{},
  2692  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.Job"),
  2693  									},
  2694  								},
  2695  							},
  2696  						},
  2697  					},
  2698  				},
  2699  				Required: []string{"items"},
  2700  			},
  2701  		},
  2702  		Dependencies: []string{
  2703  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "volcano.sh/apis/pkg/apis/batch/v1alpha1.Job"},
  2704  	}
  2705  }
  2706  
  2707  func schema_pkg_apis_batch_v1alpha1_JobSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2708  	return common.OpenAPIDefinition{
  2709  		Schema: spec.Schema{
  2710  			SchemaProps: spec.SchemaProps{
  2711  				Description: "JobSpec describes how the job execution will look like and when it will actually run.",
  2712  				Type:        []string{"object"},
  2713  				Properties: map[string]spec.Schema{
  2714  					"schedulerName": {
  2715  						SchemaProps: spec.SchemaProps{
  2716  							Description: "SchedulerName is the default value of `tasks.template.spec.schedulerName`.",
  2717  							Type:        []string{"string"},
  2718  							Format:      "",
  2719  						},
  2720  					},
  2721  					"minAvailable": {
  2722  						SchemaProps: spec.SchemaProps{
  2723  							Description: "The minimal available pods to run for this Job Defaults to the summary of tasks' replicas",
  2724  							Type:        []string{"integer"},
  2725  							Format:      "int32",
  2726  						},
  2727  					},
  2728  					"volumes": {
  2729  						SchemaProps: spec.SchemaProps{
  2730  							Description: "The volumes mount on Job",
  2731  							Type:        []string{"array"},
  2732  							Items: &spec.SchemaOrArray{
  2733  								Schema: &spec.Schema{
  2734  									SchemaProps: spec.SchemaProps{
  2735  										Default: map[string]interface{}{},
  2736  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.VolumeSpec"),
  2737  									},
  2738  								},
  2739  							},
  2740  						},
  2741  					},
  2742  					"tasks": {
  2743  						SchemaProps: spec.SchemaProps{
  2744  							Description: "Tasks specifies the task specification of Job",
  2745  							Type:        []string{"array"},
  2746  							Items: &spec.SchemaOrArray{
  2747  								Schema: &spec.Schema{
  2748  									SchemaProps: spec.SchemaProps{
  2749  										Default: map[string]interface{}{},
  2750  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskSpec"),
  2751  									},
  2752  								},
  2753  							},
  2754  						},
  2755  					},
  2756  					"policies": {
  2757  						SchemaProps: spec.SchemaProps{
  2758  							Description: "Specifies the default lifecycle of tasks",
  2759  							Type:        []string{"array"},
  2760  							Items: &spec.SchemaOrArray{
  2761  								Schema: &spec.Schema{
  2762  									SchemaProps: spec.SchemaProps{
  2763  										Default: map[string]interface{}{},
  2764  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.LifecyclePolicy"),
  2765  									},
  2766  								},
  2767  							},
  2768  						},
  2769  					},
  2770  					"plugins": {
  2771  						SchemaProps: spec.SchemaProps{
  2772  							Description: "Specifies the plugin of job Key is plugin name, value is the arguments of the plugin",
  2773  							Type:        []string{"object"},
  2774  							AdditionalProperties: &spec.SchemaOrBool{
  2775  								Allows: true,
  2776  								Schema: &spec.Schema{
  2777  									SchemaProps: spec.SchemaProps{
  2778  										Type: []string{"array"},
  2779  										Items: &spec.SchemaOrArray{
  2780  											Schema: &spec.Schema{
  2781  												SchemaProps: spec.SchemaProps{
  2782  													Default: "",
  2783  													Type:    []string{"string"},
  2784  													Format:  "",
  2785  												},
  2786  											},
  2787  										},
  2788  									},
  2789  								},
  2790  							},
  2791  						},
  2792  					},
  2793  					"runningEstimate": {
  2794  						SchemaProps: spec.SchemaProps{
  2795  							Description: "Running Estimate is a user running duration estimate for the job Default to nil",
  2796  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
  2797  						},
  2798  					},
  2799  					"queue": {
  2800  						SchemaProps: spec.SchemaProps{
  2801  							Description: "Specifies the queue that will be used in the scheduler, \"default\" queue is used this leaves empty.",
  2802  							Type:        []string{"string"},
  2803  							Format:      "",
  2804  						},
  2805  					},
  2806  					"maxRetry": {
  2807  						SchemaProps: spec.SchemaProps{
  2808  							Description: "Specifies the maximum number of retries before marking this Job failed. Defaults to 3.",
  2809  							Type:        []string{"integer"},
  2810  							Format:      "int32",
  2811  						},
  2812  					},
  2813  					"ttlSecondsAfterFinished": {
  2814  						SchemaProps: spec.SchemaProps{
  2815  							Description: "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Completed or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.",
  2816  							Type:        []string{"integer"},
  2817  							Format:      "int32",
  2818  						},
  2819  					},
  2820  					"priorityClassName": {
  2821  						SchemaProps: spec.SchemaProps{
  2822  							Description: "If specified, indicates the job's priority.",
  2823  							Type:        []string{"string"},
  2824  							Format:      "",
  2825  						},
  2826  					},
  2827  					"minSuccess": {
  2828  						SchemaProps: spec.SchemaProps{
  2829  							Description: "The minimal success pods to run for this Job",
  2830  							Type:        []string{"integer"},
  2831  							Format:      "int32",
  2832  						},
  2833  					},
  2834  				},
  2835  			},
  2836  		},
  2837  		Dependencies: []string{
  2838  			"k8s.io/apimachinery/pkg/apis/meta/v1.Duration", "volcano.sh/apis/pkg/apis/batch/v1alpha1.LifecyclePolicy", "volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskSpec", "volcano.sh/apis/pkg/apis/batch/v1alpha1.VolumeSpec"},
  2839  	}
  2840  }
  2841  
  2842  func schema_pkg_apis_batch_v1alpha1_JobState(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2843  	return common.OpenAPIDefinition{
  2844  		Schema: spec.Schema{
  2845  			SchemaProps: spec.SchemaProps{
  2846  				Description: "JobState contains details for the current state of the job.",
  2847  				Type:        []string{"object"},
  2848  				Properties: map[string]spec.Schema{
  2849  					"phase": {
  2850  						SchemaProps: spec.SchemaProps{
  2851  							Description: "The phase of Job.",
  2852  							Type:        []string{"string"},
  2853  							Format:      "",
  2854  						},
  2855  					},
  2856  					"reason": {
  2857  						SchemaProps: spec.SchemaProps{
  2858  							Description: "Unique, one-word, CamelCase reason for the phase's last transition.",
  2859  							Type:        []string{"string"},
  2860  							Format:      "",
  2861  						},
  2862  					},
  2863  					"message": {
  2864  						SchemaProps: spec.SchemaProps{
  2865  							Description: "Human-readable message indicating details about last transition.",
  2866  							Type:        []string{"string"},
  2867  							Format:      "",
  2868  						},
  2869  					},
  2870  					"lastTransitionTime": {
  2871  						SchemaProps: spec.SchemaProps{
  2872  							Description: "Last time the condition transit from one phase to another.",
  2873  							Default:     map[string]interface{}{},
  2874  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  2875  						},
  2876  					},
  2877  				},
  2878  			},
  2879  		},
  2880  		Dependencies: []string{
  2881  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  2882  	}
  2883  }
  2884  
  2885  func schema_pkg_apis_batch_v1alpha1_JobStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2886  	return common.OpenAPIDefinition{
  2887  		Schema: spec.Schema{
  2888  			SchemaProps: spec.SchemaProps{
  2889  				Description: "JobStatus represents the current status of a Job.",
  2890  				Type:        []string{"object"},
  2891  				Properties: map[string]spec.Schema{
  2892  					"state": {
  2893  						SchemaProps: spec.SchemaProps{
  2894  							Description: "Current state of Job.",
  2895  							Default:     map[string]interface{}{},
  2896  							Ref:         ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.JobState"),
  2897  						},
  2898  					},
  2899  					"minAvailable": {
  2900  						SchemaProps: spec.SchemaProps{
  2901  							Description: "The minimal available pods to run for this Job",
  2902  							Type:        []string{"integer"},
  2903  							Format:      "int32",
  2904  						},
  2905  					},
  2906  					"taskStatusCount": {
  2907  						SchemaProps: spec.SchemaProps{
  2908  							Description: "The status of pods for each task",
  2909  							Type:        []string{"object"},
  2910  							AdditionalProperties: &spec.SchemaOrBool{
  2911  								Allows: true,
  2912  								Schema: &spec.Schema{
  2913  									SchemaProps: spec.SchemaProps{
  2914  										Default: map[string]interface{}{},
  2915  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskState"),
  2916  									},
  2917  								},
  2918  							},
  2919  						},
  2920  					},
  2921  					"pending": {
  2922  						SchemaProps: spec.SchemaProps{
  2923  							Description: "The number of pending pods.",
  2924  							Type:        []string{"integer"},
  2925  							Format:      "int32",
  2926  						},
  2927  					},
  2928  					"running": {
  2929  						SchemaProps: spec.SchemaProps{
  2930  							Description: "The number of running pods.",
  2931  							Type:        []string{"integer"},
  2932  							Format:      "int32",
  2933  						},
  2934  					},
  2935  					"succeeded": {
  2936  						SchemaProps: spec.SchemaProps{
  2937  							Description: "The number of pods which reached phase Succeeded.",
  2938  							Type:        []string{"integer"},
  2939  							Format:      "int32",
  2940  						},
  2941  					},
  2942  					"failed": {
  2943  						SchemaProps: spec.SchemaProps{
  2944  							Description: "The number of pods which reached phase Failed.",
  2945  							Type:        []string{"integer"},
  2946  							Format:      "int32",
  2947  						},
  2948  					},
  2949  					"terminating": {
  2950  						SchemaProps: spec.SchemaProps{
  2951  							Description: "The number of pods which reached phase Terminating.",
  2952  							Type:        []string{"integer"},
  2953  							Format:      "int32",
  2954  						},
  2955  					},
  2956  					"unknown": {
  2957  						SchemaProps: spec.SchemaProps{
  2958  							Description: "The number of pods which reached phase Unknown.",
  2959  							Type:        []string{"integer"},
  2960  							Format:      "int32",
  2961  						},
  2962  					},
  2963  					"version": {
  2964  						SchemaProps: spec.SchemaProps{
  2965  							Description: "Current version of job",
  2966  							Type:        []string{"integer"},
  2967  							Format:      "int32",
  2968  						},
  2969  					},
  2970  					"retryCount": {
  2971  						SchemaProps: spec.SchemaProps{
  2972  							Description: "The number of Job retries.",
  2973  							Type:        []string{"integer"},
  2974  							Format:      "int32",
  2975  						},
  2976  					},
  2977  					"runningDuration": {
  2978  						SchemaProps: spec.SchemaProps{
  2979  							Description: "The job running duration is the length of time from job running to complete.",
  2980  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
  2981  						},
  2982  					},
  2983  					"controlledResources": {
  2984  						SchemaProps: spec.SchemaProps{
  2985  							Description: "The resources that controlled by this job, e.g. Service, ConfigMap",
  2986  							Type:        []string{"object"},
  2987  							AdditionalProperties: &spec.SchemaOrBool{
  2988  								Allows: true,
  2989  								Schema: &spec.Schema{
  2990  									SchemaProps: spec.SchemaProps{
  2991  										Default: "",
  2992  										Type:    []string{"string"},
  2993  										Format:  "",
  2994  									},
  2995  								},
  2996  							},
  2997  						},
  2998  					},
  2999  					"conditions": {
  3000  						VendorExtensible: spec.VendorExtensible{
  3001  							Extensions: spec.Extensions{
  3002  								"x-kubernetes-patch-merge-key": "status",
  3003  								"x-kubernetes-patch-strategy":  "merge",
  3004  							},
  3005  						},
  3006  						SchemaProps: spec.SchemaProps{
  3007  							Description: "Which conditions caused the current job state.",
  3008  							Type:        []string{"array"},
  3009  							Items: &spec.SchemaOrArray{
  3010  								Schema: &spec.Schema{
  3011  									SchemaProps: spec.SchemaProps{
  3012  										Default: map[string]interface{}{},
  3013  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.JobCondition"),
  3014  									},
  3015  								},
  3016  							},
  3017  						},
  3018  					},
  3019  				},
  3020  			},
  3021  		},
  3022  		Dependencies: []string{
  3023  			"k8s.io/apimachinery/pkg/apis/meta/v1.Duration", "volcano.sh/apis/pkg/apis/batch/v1alpha1.JobCondition", "volcano.sh/apis/pkg/apis/batch/v1alpha1.JobState", "volcano.sh/apis/pkg/apis/batch/v1alpha1.TaskState"},
  3024  	}
  3025  }
  3026  
  3027  func schema_pkg_apis_batch_v1alpha1_LifecyclePolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3028  	return common.OpenAPIDefinition{
  3029  		Schema: spec.Schema{
  3030  			SchemaProps: spec.SchemaProps{
  3031  				Description: "LifecyclePolicy specifies the lifecycle and error handling of task and job.",
  3032  				Type:        []string{"object"},
  3033  				Properties: map[string]spec.Schema{
  3034  					"action": {
  3035  						SchemaProps: spec.SchemaProps{
  3036  							Description: "The action that will be taken to the PodGroup according to Event. One of \"Restart\", \"None\". Default to None.",
  3037  							Type:        []string{"string"},
  3038  							Format:      "",
  3039  						},
  3040  					},
  3041  					"event": {
  3042  						SchemaProps: spec.SchemaProps{
  3043  							Description: "The Event recorded by scheduler; the controller takes actions according to this Event.",
  3044  							Type:        []string{"string"},
  3045  							Format:      "",
  3046  						},
  3047  					},
  3048  					"events": {
  3049  						SchemaProps: spec.SchemaProps{
  3050  							Description: "The Events recorded by scheduler; the controller takes actions according to this Events.",
  3051  							Type:        []string{"array"},
  3052  							Items: &spec.SchemaOrArray{
  3053  								Schema: &spec.Schema{
  3054  									SchemaProps: spec.SchemaProps{
  3055  										Default: "",
  3056  										Type:    []string{"string"},
  3057  										Format:  "",
  3058  									},
  3059  								},
  3060  							},
  3061  						},
  3062  					},
  3063  					"exitCode": {
  3064  						SchemaProps: spec.SchemaProps{
  3065  							Description: "The exit code of the pod container, controller will take action according to this code. Note: only one of `Event` or `ExitCode` can be specified.",
  3066  							Type:        []string{"integer"},
  3067  							Format:      "int32",
  3068  						},
  3069  					},
  3070  					"timeout": {
  3071  						SchemaProps: spec.SchemaProps{
  3072  							Description: "Timeout is the grace period for controller to take actions. Default to nil (take action immediately).",
  3073  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
  3074  						},
  3075  					},
  3076  				},
  3077  			},
  3078  		},
  3079  		Dependencies: []string{
  3080  			"k8s.io/apimachinery/pkg/apis/meta/v1.Duration"},
  3081  	}
  3082  }
  3083  
  3084  func schema_pkg_apis_batch_v1alpha1_TaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3085  	return common.OpenAPIDefinition{
  3086  		Schema: spec.Schema{
  3087  			SchemaProps: spec.SchemaProps{
  3088  				Description: "TaskSpec specifies the task specification of Job.",
  3089  				Type:        []string{"object"},
  3090  				Properties: map[string]spec.Schema{
  3091  					"name": {
  3092  						SchemaProps: spec.SchemaProps{
  3093  							Description: "Name specifies the name of tasks",
  3094  							Type:        []string{"string"},
  3095  							Format:      "",
  3096  						},
  3097  					},
  3098  					"replicas": {
  3099  						SchemaProps: spec.SchemaProps{
  3100  							Description: "Replicas specifies the replicas of this TaskSpec in Job",
  3101  							Type:        []string{"integer"},
  3102  							Format:      "int32",
  3103  						},
  3104  					},
  3105  					"minAvailable": {
  3106  						SchemaProps: spec.SchemaProps{
  3107  							Description: "The minimal available pods to run for this Task Defaults to the task replicas",
  3108  							Type:        []string{"integer"},
  3109  							Format:      "int32",
  3110  						},
  3111  					},
  3112  					"template": {
  3113  						SchemaProps: spec.SchemaProps{
  3114  							Description: "Specifies the pod that will be created for this TaskSpec when executing a Job",
  3115  							Default:     map[string]interface{}{},
  3116  							Ref:         ref("k8s.io/api/core/v1.PodTemplateSpec"),
  3117  						},
  3118  					},
  3119  					"policies": {
  3120  						SchemaProps: spec.SchemaProps{
  3121  							Description: "Specifies the lifecycle of task",
  3122  							Type:        []string{"array"},
  3123  							Items: &spec.SchemaOrArray{
  3124  								Schema: &spec.Schema{
  3125  									SchemaProps: spec.SchemaProps{
  3126  										Default: map[string]interface{}{},
  3127  										Ref:     ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.LifecyclePolicy"),
  3128  									},
  3129  								},
  3130  							},
  3131  						},
  3132  					},
  3133  					"topologyPolicy": {
  3134  						SchemaProps: spec.SchemaProps{
  3135  							Description: "Specifies the topology policy of task",
  3136  							Type:        []string{"string"},
  3137  							Format:      "",
  3138  						},
  3139  					},
  3140  					"maxRetry": {
  3141  						SchemaProps: spec.SchemaProps{
  3142  							Description: "Specifies the maximum number of retries before marking this Task failed. Defaults to 3.",
  3143  							Type:        []string{"integer"},
  3144  							Format:      "int32",
  3145  						},
  3146  					},
  3147  					"dependsOn": {
  3148  						SchemaProps: spec.SchemaProps{
  3149  							Description: "Specifies the tasks that this task depends on.",
  3150  							Ref:         ref("volcano.sh/apis/pkg/apis/batch/v1alpha1.DependsOn"),
  3151  						},
  3152  					},
  3153  				},
  3154  			},
  3155  		},
  3156  		Dependencies: []string{
  3157  			"k8s.io/api/core/v1.PodTemplateSpec", "volcano.sh/apis/pkg/apis/batch/v1alpha1.DependsOn", "volcano.sh/apis/pkg/apis/batch/v1alpha1.LifecyclePolicy"},
  3158  	}
  3159  }
  3160  
  3161  func schema_pkg_apis_batch_v1alpha1_TaskState(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3162  	return common.OpenAPIDefinition{
  3163  		Schema: spec.Schema{
  3164  			SchemaProps: spec.SchemaProps{
  3165  				Description: "TaskState contains details for the current state of the task.",
  3166  				Type:        []string{"object"},
  3167  				Properties: map[string]spec.Schema{
  3168  					"phase": {
  3169  						SchemaProps: spec.SchemaProps{
  3170  							Description: "The phase of Task.",
  3171  							Type:        []string{"object"},
  3172  							AdditionalProperties: &spec.SchemaOrBool{
  3173  								Allows: true,
  3174  								Schema: &spec.Schema{
  3175  									SchemaProps: spec.SchemaProps{
  3176  										Default: 0,
  3177  										Type:    []string{"integer"},
  3178  										Format:  "int32",
  3179  									},
  3180  								},
  3181  							},
  3182  						},
  3183  					},
  3184  				},
  3185  			},
  3186  		},
  3187  	}
  3188  }
  3189  
  3190  func schema_pkg_apis_batch_v1alpha1_VolumeSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3191  	return common.OpenAPIDefinition{
  3192  		Schema: spec.Schema{
  3193  			SchemaProps: spec.SchemaProps{
  3194  				Description: "VolumeSpec defines the specification of Volume, e.g. PVC.",
  3195  				Type:        []string{"object"},
  3196  				Properties: map[string]spec.Schema{
  3197  					"mountPath": {
  3198  						SchemaProps: spec.SchemaProps{
  3199  							Description: "Path within the container at which the volume should be mounted.  Must not contain ':'.",
  3200  							Default:     "",
  3201  							Type:        []string{"string"},
  3202  							Format:      "",
  3203  						},
  3204  					},
  3205  					"volumeClaimName": {
  3206  						SchemaProps: spec.SchemaProps{
  3207  							Description: "defined the PVC name",
  3208  							Type:        []string{"string"},
  3209  							Format:      "",
  3210  						},
  3211  					},
  3212  					"volumeClaim": {
  3213  						SchemaProps: spec.SchemaProps{
  3214  							Description: "VolumeClaim defines the PVC used by the VolumeMount.",
  3215  							Ref:         ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"),
  3216  						},
  3217  					},
  3218  				},
  3219  				Required: []string{"mountPath"},
  3220  			},
  3221  		},
  3222  		Dependencies: []string{
  3223  			"k8s.io/api/core/v1.PersistentVolumeClaimSpec"},
  3224  	}
  3225  }
  3226  
  3227  func schema_pkg_apis_scheduling_v1beta1_Affinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3228  	return common.OpenAPIDefinition{
  3229  		Schema: spec.Schema{
  3230  			SchemaProps: spec.SchemaProps{
  3231  				Description: "Affinity is a group of affinity scheduling rules.",
  3232  				Type:        []string{"object"},
  3233  				Properties: map[string]spec.Schema{
  3234  					"nodeGroupAffinity": {
  3235  						SchemaProps: spec.SchemaProps{
  3236  							Description: "Describes nodegroup affinity scheduling rules for the queue(e.g. putting pods of the queue in the nodes of the nodegroup)",
  3237  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAffinity"),
  3238  						},
  3239  					},
  3240  					"nodeGroupAntiAffinity": {
  3241  						SchemaProps: spec.SchemaProps{
  3242  							Description: "Describes nodegroup anti-affinity scheduling rules for the queue(e.g. avoid putting pods of the queue in the nodes of the nodegroup).",
  3243  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAntiAffinity"),
  3244  						},
  3245  					},
  3246  				},
  3247  			},
  3248  		},
  3249  		Dependencies: []string{
  3250  			"volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAffinity", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.NodeGroupAntiAffinity"},
  3251  	}
  3252  }
  3253  
  3254  func schema_pkg_apis_scheduling_v1beta1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3255  	return common.OpenAPIDefinition{
  3256  		Schema: spec.Schema{
  3257  			SchemaProps: spec.SchemaProps{
  3258  				Description: "CluterSpec represents the template of Cluster",
  3259  				Type:        []string{"object"},
  3260  				Properties: map[string]spec.Schema{
  3261  					"name": {
  3262  						SchemaProps: spec.SchemaProps{
  3263  							Type:   []string{"string"},
  3264  							Format: "",
  3265  						},
  3266  					},
  3267  					"weight": {
  3268  						SchemaProps: spec.SchemaProps{
  3269  							Type:   []string{"integer"},
  3270  							Format: "int32",
  3271  						},
  3272  					},
  3273  					"capacity": {
  3274  						SchemaProps: spec.SchemaProps{
  3275  							Type: []string{"object"},
  3276  							AdditionalProperties: &spec.SchemaOrBool{
  3277  								Allows: true,
  3278  								Schema: &spec.Schema{
  3279  									SchemaProps: spec.SchemaProps{
  3280  										Default: map[string]interface{}{},
  3281  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3282  									},
  3283  								},
  3284  							},
  3285  						},
  3286  					},
  3287  				},
  3288  			},
  3289  		},
  3290  		Dependencies: []string{
  3291  			"k8s.io/apimachinery/pkg/api/resource.Quantity"},
  3292  	}
  3293  }
  3294  
  3295  func schema_pkg_apis_scheduling_v1beta1_Guarantee(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3296  	return common.OpenAPIDefinition{
  3297  		Schema: spec.Schema{
  3298  			SchemaProps: spec.SchemaProps{
  3299  				Description: "Guarantee represents configuration of queue resource reservation",
  3300  				Type:        []string{"object"},
  3301  				Properties: map[string]spec.Schema{
  3302  					"resource": {
  3303  						SchemaProps: spec.SchemaProps{
  3304  							Description: "The amount of cluster resource reserved for queue. Just set either `percentage` or `resource`",
  3305  							Type:        []string{"object"},
  3306  							AdditionalProperties: &spec.SchemaOrBool{
  3307  								Allows: true,
  3308  								Schema: &spec.Schema{
  3309  									SchemaProps: spec.SchemaProps{
  3310  										Default: map[string]interface{}{},
  3311  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3312  									},
  3313  								},
  3314  							},
  3315  						},
  3316  					},
  3317  				},
  3318  			},
  3319  		},
  3320  		Dependencies: []string{
  3321  			"k8s.io/apimachinery/pkg/api/resource.Quantity"},
  3322  	}
  3323  }
  3324  
  3325  func schema_pkg_apis_scheduling_v1beta1_NodeGroupAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3326  	return common.OpenAPIDefinition{
  3327  		Schema: spec.Schema{
  3328  			SchemaProps: spec.SchemaProps{
  3329  				Type: []string{"object"},
  3330  				Properties: map[string]spec.Schema{
  3331  					"requiredDuringSchedulingIgnoredDuringExecution": {
  3332  						SchemaProps: spec.SchemaProps{
  3333  							Type: []string{"array"},
  3334  							Items: &spec.SchemaOrArray{
  3335  								Schema: &spec.Schema{
  3336  									SchemaProps: spec.SchemaProps{
  3337  										Default: "",
  3338  										Type:    []string{"string"},
  3339  										Format:  "",
  3340  									},
  3341  								},
  3342  							},
  3343  						},
  3344  					},
  3345  					"preferredDuringSchedulingIgnoredDuringExecution": {
  3346  						SchemaProps: spec.SchemaProps{
  3347  							Type: []string{"array"},
  3348  							Items: &spec.SchemaOrArray{
  3349  								Schema: &spec.Schema{
  3350  									SchemaProps: spec.SchemaProps{
  3351  										Default: "",
  3352  										Type:    []string{"string"},
  3353  										Format:  "",
  3354  									},
  3355  								},
  3356  							},
  3357  						},
  3358  					},
  3359  				},
  3360  			},
  3361  		},
  3362  	}
  3363  }
  3364  
  3365  func schema_pkg_apis_scheduling_v1beta1_NodeGroupAntiAffinity(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3366  	return common.OpenAPIDefinition{
  3367  		Schema: spec.Schema{
  3368  			SchemaProps: spec.SchemaProps{
  3369  				Type: []string{"object"},
  3370  				Properties: map[string]spec.Schema{
  3371  					"requiredDuringSchedulingIgnoredDuringExecution": {
  3372  						SchemaProps: spec.SchemaProps{
  3373  							Type: []string{"array"},
  3374  							Items: &spec.SchemaOrArray{
  3375  								Schema: &spec.Schema{
  3376  									SchemaProps: spec.SchemaProps{
  3377  										Default: "",
  3378  										Type:    []string{"string"},
  3379  										Format:  "",
  3380  									},
  3381  								},
  3382  							},
  3383  						},
  3384  					},
  3385  					"preferredDuringSchedulingIgnoredDuringExecution": {
  3386  						SchemaProps: spec.SchemaProps{
  3387  							Type: []string{"array"},
  3388  							Items: &spec.SchemaOrArray{
  3389  								Schema: &spec.Schema{
  3390  									SchemaProps: spec.SchemaProps{
  3391  										Default: "",
  3392  										Type:    []string{"string"},
  3393  										Format:  "",
  3394  									},
  3395  								},
  3396  							},
  3397  						},
  3398  					},
  3399  				},
  3400  			},
  3401  		},
  3402  	}
  3403  }
  3404  
  3405  func schema_pkg_apis_scheduling_v1beta1_PodGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3406  	return common.OpenAPIDefinition{
  3407  		Schema: spec.Schema{
  3408  			SchemaProps: spec.SchemaProps{
  3409  				Description: "PodGroup is a collection of Pod; used for batch workload.",
  3410  				Type:        []string{"object"},
  3411  				Properties: map[string]spec.Schema{
  3412  					"kind": {
  3413  						SchemaProps: spec.SchemaProps{
  3414  							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",
  3415  							Type:        []string{"string"},
  3416  							Format:      "",
  3417  						},
  3418  					},
  3419  					"apiVersion": {
  3420  						SchemaProps: spec.SchemaProps{
  3421  							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",
  3422  							Type:        []string{"string"},
  3423  							Format:      "",
  3424  						},
  3425  					},
  3426  					"metadata": {
  3427  						SchemaProps: spec.SchemaProps{
  3428  							Default: map[string]interface{}{},
  3429  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3430  						},
  3431  					},
  3432  					"spec": {
  3433  						SchemaProps: spec.SchemaProps{
  3434  							Description: "Specification of the desired behavior of the pod group. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
  3435  							Default:     map[string]interface{}{},
  3436  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupSpec"),
  3437  						},
  3438  					},
  3439  					"status": {
  3440  						SchemaProps: spec.SchemaProps{
  3441  							Description: "Status represents the current information about a pod group. This data may not be up to date.",
  3442  							Default:     map[string]interface{}{},
  3443  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupStatus"),
  3444  						},
  3445  					},
  3446  				},
  3447  			},
  3448  		},
  3449  		Dependencies: []string{
  3450  			"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupSpec", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupStatus"},
  3451  	}
  3452  }
  3453  
  3454  func schema_pkg_apis_scheduling_v1beta1_PodGroupCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3455  	return common.OpenAPIDefinition{
  3456  		Schema: spec.Schema{
  3457  			SchemaProps: spec.SchemaProps{
  3458  				Description: "PodGroupCondition contains details for the current state of this pod group.",
  3459  				Type:        []string{"object"},
  3460  				Properties: map[string]spec.Schema{
  3461  					"type": {
  3462  						SchemaProps: spec.SchemaProps{
  3463  							Description: "Type is the type of the condition",
  3464  							Type:        []string{"string"},
  3465  							Format:      "",
  3466  						},
  3467  					},
  3468  					"status": {
  3469  						SchemaProps: spec.SchemaProps{
  3470  							Description: "Status is the status of the condition.",
  3471  							Type:        []string{"string"},
  3472  							Format:      "",
  3473  						},
  3474  					},
  3475  					"transitionID": {
  3476  						SchemaProps: spec.SchemaProps{
  3477  							Description: "The ID of condition transition.",
  3478  							Type:        []string{"string"},
  3479  							Format:      "",
  3480  						},
  3481  					},
  3482  					"lastTransitionTime": {
  3483  						SchemaProps: spec.SchemaProps{
  3484  							Description: "Last time the phase transitioned from another to current phase.",
  3485  							Default:     map[string]interface{}{},
  3486  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3487  						},
  3488  					},
  3489  					"reason": {
  3490  						SchemaProps: spec.SchemaProps{
  3491  							Description: "Unique, one-word, CamelCase reason for the phase's last transition.",
  3492  							Type:        []string{"string"},
  3493  							Format:      "",
  3494  						},
  3495  					},
  3496  					"message": {
  3497  						SchemaProps: spec.SchemaProps{
  3498  							Description: "Human-readable message indicating details about last transition.",
  3499  							Type:        []string{"string"},
  3500  							Format:      "",
  3501  						},
  3502  					},
  3503  				},
  3504  			},
  3505  		},
  3506  		Dependencies: []string{
  3507  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  3508  	}
  3509  }
  3510  
  3511  func schema_pkg_apis_scheduling_v1beta1_PodGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3512  	return common.OpenAPIDefinition{
  3513  		Schema: spec.Schema{
  3514  			SchemaProps: spec.SchemaProps{
  3515  				Description: "PodGroupList is a collection of pod groups.",
  3516  				Type:        []string{"object"},
  3517  				Properties: map[string]spec.Schema{
  3518  					"kind": {
  3519  						SchemaProps: spec.SchemaProps{
  3520  							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",
  3521  							Type:        []string{"string"},
  3522  							Format:      "",
  3523  						},
  3524  					},
  3525  					"apiVersion": {
  3526  						SchemaProps: spec.SchemaProps{
  3527  							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",
  3528  							Type:        []string{"string"},
  3529  							Format:      "",
  3530  						},
  3531  					},
  3532  					"metadata": {
  3533  						SchemaProps: spec.SchemaProps{
  3534  							Description: "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  3535  							Default:     map[string]interface{}{},
  3536  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3537  						},
  3538  					},
  3539  					"items": {
  3540  						SchemaProps: spec.SchemaProps{
  3541  							Description: "items is the list of PodGroup",
  3542  							Type:        []string{"array"},
  3543  							Items: &spec.SchemaOrArray{
  3544  								Schema: &spec.Schema{
  3545  									SchemaProps: spec.SchemaProps{
  3546  										Default: map[string]interface{}{},
  3547  										Ref:     ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroup"),
  3548  									},
  3549  								},
  3550  							},
  3551  						},
  3552  					},
  3553  				},
  3554  				Required: []string{"items"},
  3555  			},
  3556  		},
  3557  		Dependencies: []string{
  3558  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroup"},
  3559  	}
  3560  }
  3561  
  3562  func schema_pkg_apis_scheduling_v1beta1_PodGroupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3563  	return common.OpenAPIDefinition{
  3564  		Schema: spec.Schema{
  3565  			SchemaProps: spec.SchemaProps{
  3566  				Description: "PodGroupSpec represents the template of a pod group.",
  3567  				Type:        []string{"object"},
  3568  				Properties: map[string]spec.Schema{
  3569  					"minMember": {
  3570  						SchemaProps: spec.SchemaProps{
  3571  							Description: "MinMember defines the minimal number of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone.",
  3572  							Type:        []string{"integer"},
  3573  							Format:      "int32",
  3574  						},
  3575  					},
  3576  					"minTaskMember": {
  3577  						SchemaProps: spec.SchemaProps{
  3578  							Description: "MinTaskMember defines the minimal number of pods to run each task in the pod group; if there's not enough resources to start each task, the scheduler will not start anyone.",
  3579  							Type:        []string{"object"},
  3580  							AdditionalProperties: &spec.SchemaOrBool{
  3581  								Allows: true,
  3582  								Schema: &spec.Schema{
  3583  									SchemaProps: spec.SchemaProps{
  3584  										Default: 0,
  3585  										Type:    []string{"integer"},
  3586  										Format:  "int32",
  3587  									},
  3588  								},
  3589  							},
  3590  						},
  3591  					},
  3592  					"queue": {
  3593  						SchemaProps: spec.SchemaProps{
  3594  							Description: "Queue defines the queue to allocate resource for PodGroup; if queue does not exist, the PodGroup will not be scheduled. Defaults to `default` Queue with the lowest weight.",
  3595  							Type:        []string{"string"},
  3596  							Format:      "",
  3597  						},
  3598  					},
  3599  					"priorityClassName": {
  3600  						SchemaProps: spec.SchemaProps{
  3601  							Description: "If specified, indicates the PodGroup's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the PodGroup priority will be default or zero if there is no default.",
  3602  							Type:        []string{"string"},
  3603  							Format:      "",
  3604  						},
  3605  					},
  3606  					"minResources": {
  3607  						SchemaProps: spec.SchemaProps{
  3608  							Description: "MinResources defines the minimal resource of members/tasks to run the pod group; if there's not enough resources to start all tasks, the scheduler will not start anyone.",
  3609  							Type:        []string{"object"},
  3610  							AdditionalProperties: &spec.SchemaOrBool{
  3611  								Allows: true,
  3612  								Schema: &spec.Schema{
  3613  									SchemaProps: spec.SchemaProps{
  3614  										Default: map[string]interface{}{},
  3615  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3616  									},
  3617  								},
  3618  							},
  3619  						},
  3620  					},
  3621  				},
  3622  			},
  3623  		},
  3624  		Dependencies: []string{
  3625  			"k8s.io/apimachinery/pkg/api/resource.Quantity"},
  3626  	}
  3627  }
  3628  
  3629  func schema_pkg_apis_scheduling_v1beta1_PodGroupStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3630  	return common.OpenAPIDefinition{
  3631  		Schema: spec.Schema{
  3632  			SchemaProps: spec.SchemaProps{
  3633  				Description: "PodGroupStatus represents the current state of a pod group.",
  3634  				Type:        []string{"object"},
  3635  				Properties: map[string]spec.Schema{
  3636  					"phase": {
  3637  						SchemaProps: spec.SchemaProps{
  3638  							Description: "Current phase of PodGroup.",
  3639  							Type:        []string{"string"},
  3640  							Format:      "",
  3641  						},
  3642  					},
  3643  					"conditions": {
  3644  						SchemaProps: spec.SchemaProps{
  3645  							Description: "The conditions of PodGroup.",
  3646  							Type:        []string{"array"},
  3647  							Items: &spec.SchemaOrArray{
  3648  								Schema: &spec.Schema{
  3649  									SchemaProps: spec.SchemaProps{
  3650  										Default: map[string]interface{}{},
  3651  										Ref:     ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupCondition"),
  3652  									},
  3653  								},
  3654  							},
  3655  						},
  3656  					},
  3657  					"running": {
  3658  						SchemaProps: spec.SchemaProps{
  3659  							Description: "The number of actively running pods.",
  3660  							Type:        []string{"integer"},
  3661  							Format:      "int32",
  3662  						},
  3663  					},
  3664  					"succeeded": {
  3665  						SchemaProps: spec.SchemaProps{
  3666  							Description: "The number of pods which reached phase Succeeded.",
  3667  							Type:        []string{"integer"},
  3668  							Format:      "int32",
  3669  						},
  3670  					},
  3671  					"failed": {
  3672  						SchemaProps: spec.SchemaProps{
  3673  							Description: "The number of pods which reached phase Failed.",
  3674  							Type:        []string{"integer"},
  3675  							Format:      "int32",
  3676  						},
  3677  					},
  3678  				},
  3679  			},
  3680  		},
  3681  		Dependencies: []string{
  3682  			"volcano.sh/apis/pkg/apis/scheduling/v1beta1.PodGroupCondition"},
  3683  	}
  3684  }
  3685  
  3686  func schema_pkg_apis_scheduling_v1beta1_Queue(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3687  	return common.OpenAPIDefinition{
  3688  		Schema: spec.Schema{
  3689  			SchemaProps: spec.SchemaProps{
  3690  				Description: "Queue is a queue of PodGroup.",
  3691  				Type:        []string{"object"},
  3692  				Properties: map[string]spec.Schema{
  3693  					"kind": {
  3694  						SchemaProps: spec.SchemaProps{
  3695  							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",
  3696  							Type:        []string{"string"},
  3697  							Format:      "",
  3698  						},
  3699  					},
  3700  					"apiVersion": {
  3701  						SchemaProps: spec.SchemaProps{
  3702  							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",
  3703  							Type:        []string{"string"},
  3704  							Format:      "",
  3705  						},
  3706  					},
  3707  					"metadata": {
  3708  						SchemaProps: spec.SchemaProps{
  3709  							Default: map[string]interface{}{},
  3710  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3711  						},
  3712  					},
  3713  					"spec": {
  3714  						SchemaProps: spec.SchemaProps{
  3715  							Description: "Specification of the desired behavior of the queue. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
  3716  							Default:     map[string]interface{}{},
  3717  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueSpec"),
  3718  						},
  3719  					},
  3720  					"status": {
  3721  						SchemaProps: spec.SchemaProps{
  3722  							Description: "The status of queue.",
  3723  							Default:     map[string]interface{}{},
  3724  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueStatus"),
  3725  						},
  3726  					},
  3727  				},
  3728  			},
  3729  		},
  3730  		Dependencies: []string{
  3731  			"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueSpec", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.QueueStatus"},
  3732  	}
  3733  }
  3734  
  3735  func schema_pkg_apis_scheduling_v1beta1_QueueList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3736  	return common.OpenAPIDefinition{
  3737  		Schema: spec.Schema{
  3738  			SchemaProps: spec.SchemaProps{
  3739  				Description: "QueueList is a collection of queues.",
  3740  				Type:        []string{"object"},
  3741  				Properties: map[string]spec.Schema{
  3742  					"kind": {
  3743  						SchemaProps: spec.SchemaProps{
  3744  							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",
  3745  							Type:        []string{"string"},
  3746  							Format:      "",
  3747  						},
  3748  					},
  3749  					"apiVersion": {
  3750  						SchemaProps: spec.SchemaProps{
  3751  							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",
  3752  							Type:        []string{"string"},
  3753  							Format:      "",
  3754  						},
  3755  					},
  3756  					"metadata": {
  3757  						SchemaProps: spec.SchemaProps{
  3758  							Description: "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  3759  							Default:     map[string]interface{}{},
  3760  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3761  						},
  3762  					},
  3763  					"items": {
  3764  						SchemaProps: spec.SchemaProps{
  3765  							Description: "items is the list of PodGroup",
  3766  							Type:        []string{"array"},
  3767  							Items: &spec.SchemaOrArray{
  3768  								Schema: &spec.Schema{
  3769  									SchemaProps: spec.SchemaProps{
  3770  										Default: map[string]interface{}{},
  3771  										Ref:     ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.Queue"),
  3772  									},
  3773  								},
  3774  							},
  3775  						},
  3776  					},
  3777  				},
  3778  				Required: []string{"items"},
  3779  			},
  3780  		},
  3781  		Dependencies: []string{
  3782  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.Queue"},
  3783  	}
  3784  }
  3785  
  3786  func schema_pkg_apis_scheduling_v1beta1_QueueSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3787  	return common.OpenAPIDefinition{
  3788  		Schema: spec.Schema{
  3789  			SchemaProps: spec.SchemaProps{
  3790  				Description: "QueueSpec represents the template of Queue.",
  3791  				Type:        []string{"object"},
  3792  				Properties: map[string]spec.Schema{
  3793  					"weight": {
  3794  						SchemaProps: spec.SchemaProps{
  3795  							Type:   []string{"integer"},
  3796  							Format: "int32",
  3797  						},
  3798  					},
  3799  					"capability": {
  3800  						SchemaProps: spec.SchemaProps{
  3801  							Type: []string{"object"},
  3802  							AdditionalProperties: &spec.SchemaOrBool{
  3803  								Allows: true,
  3804  								Schema: &spec.Schema{
  3805  									SchemaProps: spec.SchemaProps{
  3806  										Default: map[string]interface{}{},
  3807  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3808  									},
  3809  								},
  3810  							},
  3811  						},
  3812  					},
  3813  					"reclaimable": {
  3814  						SchemaProps: spec.SchemaProps{
  3815  							Description: "Reclaimable indicate whether the queue can be reclaimed by other queue",
  3816  							Type:        []string{"boolean"},
  3817  							Format:      "",
  3818  						},
  3819  					},
  3820  					"extendClusters": {
  3821  						SchemaProps: spec.SchemaProps{
  3822  							Description: "extendCluster indicate the jobs in this Queue will be dispatched to these clusters.",
  3823  							Type:        []string{"array"},
  3824  							Items: &spec.SchemaOrArray{
  3825  								Schema: &spec.Schema{
  3826  									SchemaProps: spec.SchemaProps{
  3827  										Default: map[string]interface{}{},
  3828  										Ref:     ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.Cluster"),
  3829  									},
  3830  								},
  3831  							},
  3832  						},
  3833  					},
  3834  					"guarantee": {
  3835  						SchemaProps: spec.SchemaProps{
  3836  							Description: "Guarantee indicate configuration about resource reservation",
  3837  							Default:     map[string]interface{}{},
  3838  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.Guarantee"),
  3839  						},
  3840  					},
  3841  					"affinity": {
  3842  						SchemaProps: spec.SchemaProps{
  3843  							Description: "If specified, the pod owned by the queue will be scheduled with constraint",
  3844  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.Affinity"),
  3845  						},
  3846  					},
  3847  					"type": {
  3848  						SchemaProps: spec.SchemaProps{
  3849  							Description: "Type define the type of queue",
  3850  							Type:        []string{"string"},
  3851  							Format:      "",
  3852  						},
  3853  					},
  3854  				},
  3855  			},
  3856  		},
  3857  		Dependencies: []string{
  3858  			"k8s.io/apimachinery/pkg/api/resource.Quantity", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.Affinity", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.Cluster", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.Guarantee"},
  3859  	}
  3860  }
  3861  
  3862  func schema_pkg_apis_scheduling_v1beta1_QueueStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3863  	return common.OpenAPIDefinition{
  3864  		Schema: spec.Schema{
  3865  			SchemaProps: spec.SchemaProps{
  3866  				Description: "QueueStatus represents the status of Queue.",
  3867  				Type:        []string{"object"},
  3868  				Properties: map[string]spec.Schema{
  3869  					"state": {
  3870  						SchemaProps: spec.SchemaProps{
  3871  							Description: "State is state of queue",
  3872  							Type:        []string{"string"},
  3873  							Format:      "",
  3874  						},
  3875  					},
  3876  					"unknown": {
  3877  						SchemaProps: spec.SchemaProps{
  3878  							Description: "The number of 'Unknown' PodGroup in this queue.",
  3879  							Type:        []string{"integer"},
  3880  							Format:      "int32",
  3881  						},
  3882  					},
  3883  					"pending": {
  3884  						SchemaProps: spec.SchemaProps{
  3885  							Description: "The number of 'Pending' PodGroup in this queue.",
  3886  							Type:        []string{"integer"},
  3887  							Format:      "int32",
  3888  						},
  3889  					},
  3890  					"running": {
  3891  						SchemaProps: spec.SchemaProps{
  3892  							Description: "The number of 'Running' PodGroup in this queue.",
  3893  							Type:        []string{"integer"},
  3894  							Format:      "int32",
  3895  						},
  3896  					},
  3897  					"inqueue": {
  3898  						SchemaProps: spec.SchemaProps{
  3899  							Description: "The number of `Inqueue` PodGroup in this queue.",
  3900  							Type:        []string{"integer"},
  3901  							Format:      "int32",
  3902  						},
  3903  					},
  3904  					"completed": {
  3905  						SchemaProps: spec.SchemaProps{
  3906  							Description: "The number of `Completed` PodGroup in this queue.",
  3907  							Type:        []string{"integer"},
  3908  							Format:      "int32",
  3909  						},
  3910  					},
  3911  					"reservation": {
  3912  						SchemaProps: spec.SchemaProps{
  3913  							Description: "Reservation is the profile of resource reservation for queue",
  3914  							Default:     map[string]interface{}{},
  3915  							Ref:         ref("volcano.sh/apis/pkg/apis/scheduling/v1beta1.Reservation"),
  3916  						},
  3917  					},
  3918  					"allocated": {
  3919  						SchemaProps: spec.SchemaProps{
  3920  							Description: "Allocated is allocated resources in queue",
  3921  							Type:        []string{"object"},
  3922  							AdditionalProperties: &spec.SchemaOrBool{
  3923  								Allows: true,
  3924  								Schema: &spec.Schema{
  3925  									SchemaProps: spec.SchemaProps{
  3926  										Default: map[string]interface{}{},
  3927  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3928  									},
  3929  								},
  3930  							},
  3931  						},
  3932  					},
  3933  				},
  3934  				Required: []string{"allocated"},
  3935  			},
  3936  		},
  3937  		Dependencies: []string{
  3938  			"k8s.io/apimachinery/pkg/api/resource.Quantity", "volcano.sh/apis/pkg/apis/scheduling/v1beta1.Reservation"},
  3939  	}
  3940  }
  3941  
  3942  func schema_pkg_apis_scheduling_v1beta1_Reservation(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3943  	return common.OpenAPIDefinition{
  3944  		Schema: spec.Schema{
  3945  			SchemaProps: spec.SchemaProps{
  3946  				Description: "Reservation represents current condition about resource reservation",
  3947  				Type:        []string{"object"},
  3948  				Properties: map[string]spec.Schema{
  3949  					"nodes": {
  3950  						SchemaProps: spec.SchemaProps{
  3951  							Description: "Nodes are Locked nodes for queue",
  3952  							Type:        []string{"array"},
  3953  							Items: &spec.SchemaOrArray{
  3954  								Schema: &spec.Schema{
  3955  									SchemaProps: spec.SchemaProps{
  3956  										Default: "",
  3957  										Type:    []string{"string"},
  3958  										Format:  "",
  3959  									},
  3960  								},
  3961  							},
  3962  						},
  3963  					},
  3964  					"resource": {
  3965  						SchemaProps: spec.SchemaProps{
  3966  							Description: "Resource is a list of total idle resource in locked nodes.",
  3967  							Type:        []string{"object"},
  3968  							AdditionalProperties: &spec.SchemaOrBool{
  3969  								Allows: true,
  3970  								Schema: &spec.Schema{
  3971  									SchemaProps: spec.SchemaProps{
  3972  										Default: map[string]interface{}{},
  3973  										Ref:     ref("k8s.io/apimachinery/pkg/api/resource.Quantity"),
  3974  									},
  3975  								},
  3976  							},
  3977  						},
  3978  					},
  3979  				},
  3980  			},
  3981  		},
  3982  		Dependencies: []string{
  3983  			"k8s.io/apimachinery/pkg/api/resource.Quantity"},
  3984  	}
  3985  }