github.com/GoogleContainerTools/kpt/porch/api@v0.0.0-20240427025202-5cbd3cbd9237/generated/openapi/zz_generated.openapi.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2023 The kpt Authors
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //      http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // Code generated by openapi-gen. DO NOT EDIT.
    19  
    20  // This file was autogenerated by openapi-gen. Do not edit it manually!
    21  
    22  package openapi
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	common "k8s.io/kube-openapi/pkg/common"
    27  	spec "k8s.io/kube-openapi/pkg/validation/spec"
    28  )
    29  
    30  func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
    31  	return map[string]common.OpenAPIDefinition{
    32  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Condition":                      schema_porch_api_porch_v1alpha1_Condition(ref),
    33  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Field":                          schema_porch_api_porch_v1alpha1_Field(ref),
    34  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.File":                           schema_porch_api_porch_v1alpha1_File(ref),
    35  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Function":                       schema_porch_api_porch_v1alpha1_Function(ref),
    36  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionConfig":                 schema_porch_api_porch_v1alpha1_FunctionConfig(ref),
    37  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionEvalTaskSpec":           schema_porch_api_porch_v1alpha1_FunctionEvalTaskSpec(ref),
    38  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionList":                   schema_porch_api_porch_v1alpha1_FunctionList(ref),
    39  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionRef":                    schema_porch_api_porch_v1alpha1_FunctionRef(ref),
    40  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionSpec":                   schema_porch_api_porch_v1alpha1_FunctionSpec(ref),
    41  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionStatus":                 schema_porch_api_porch_v1alpha1_FunctionStatus(ref),
    42  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitLock":                        schema_porch_api_porch_v1alpha1_GitLock(ref),
    43  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitPackage":                     schema_porch_api_porch_v1alpha1_GitPackage(ref),
    44  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.NameMeta":                       schema_porch_api_porch_v1alpha1_NameMeta(ref),
    45  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.OciPackage":                     schema_porch_api_porch_v1alpha1_OciPackage(ref),
    46  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Package":                        schema_porch_api_porch_v1alpha1_Package(ref),
    47  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageCloneTaskSpec":           schema_porch_api_porch_v1alpha1_PackageCloneTaskSpec(ref),
    48  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageEditTaskSpec":            schema_porch_api_porch_v1alpha1_PackageEditTaskSpec(ref),
    49  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageInitTaskSpec":            schema_porch_api_porch_v1alpha1_PackageInitTaskSpec(ref),
    50  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageList":                    schema_porch_api_porch_v1alpha1_PackageList(ref),
    51  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackagePatchTaskSpec":           schema_porch_api_porch_v1alpha1_PackagePatchTaskSpec(ref),
    52  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevision":                schema_porch_api_porch_v1alpha1_PackageRevision(ref),
    53  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionList":            schema_porch_api_porch_v1alpha1_PackageRevisionList(ref),
    54  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionRef":             schema_porch_api_porch_v1alpha1_PackageRevisionRef(ref),
    55  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResources":       schema_porch_api_porch_v1alpha1_PackageRevisionResources(ref),
    56  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesList":   schema_porch_api_porch_v1alpha1_PackageRevisionResourcesList(ref),
    57  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesSpec":   schema_porch_api_porch_v1alpha1_PackageRevisionResourcesSpec(ref),
    58  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesStatus": schema_porch_api_porch_v1alpha1_PackageRevisionResourcesStatus(ref),
    59  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionSpec":            schema_porch_api_porch_v1alpha1_PackageRevisionSpec(ref),
    60  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionStatus":          schema_porch_api_porch_v1alpha1_PackageRevisionStatus(ref),
    61  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageSpec":                    schema_porch_api_porch_v1alpha1_PackageSpec(ref),
    62  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageStatus":                  schema_porch_api_porch_v1alpha1_PackageStatus(ref),
    63  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageUpdateTaskSpec":          schema_porch_api_porch_v1alpha1_PackageUpdateTaskSpec(ref),
    64  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ParentReference":                schema_porch_api_porch_v1alpha1_ParentReference(ref),
    65  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PatchSpec":                      schema_porch_api_porch_v1alpha1_PatchSpec(ref),
    66  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ReadinessGate":                  schema_porch_api_porch_v1alpha1_ReadinessGate(ref),
    67  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RenderStatus":                   schema_porch_api_porch_v1alpha1_RenderStatus(ref),
    68  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RepositoryRef":                  schema_porch_api_porch_v1alpha1_RepositoryRef(ref),
    69  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResourceIdentifier":             schema_porch_api_porch_v1alpha1_ResourceIdentifier(ref),
    70  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Result":                         schema_porch_api_porch_v1alpha1_Result(ref),
    71  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultItem":                     schema_porch_api_porch_v1alpha1_ResultItem(ref),
    72  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultList":                     schema_porch_api_porch_v1alpha1_ResultList(ref),
    73  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.SecretRef":                      schema_porch_api_porch_v1alpha1_SecretRef(ref),
    74  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Selector":                       schema_porch_api_porch_v1alpha1_Selector(ref),
    75  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Task":                           schema_porch_api_porch_v1alpha1_Task(ref),
    76  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.TaskResult":                     schema_porch_api_porch_v1alpha1_TaskResult(ref),
    77  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamLock":                   schema_porch_api_porch_v1alpha1_UpstreamLock(ref),
    78  		"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamPackage":                schema_porch_api_porch_v1alpha1_UpstreamPackage(ref),
    79  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup":                                               schema_pkg_apis_meta_v1_APIGroup(ref),
    80  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList":                                           schema_pkg_apis_meta_v1_APIGroupList(ref),
    81  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIResource":                                            schema_pkg_apis_meta_v1_APIResource(ref),
    82  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList":                                        schema_pkg_apis_meta_v1_APIResourceList(ref),
    83  		"k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions":                                            schema_pkg_apis_meta_v1_APIVersions(ref),
    84  		"k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions":                                           schema_pkg_apis_meta_v1_ApplyOptions(ref),
    85  		"k8s.io/apimachinery/pkg/apis/meta/v1.Condition":                                              schema_pkg_apis_meta_v1_Condition(ref),
    86  		"k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions":                                          schema_pkg_apis_meta_v1_CreateOptions(ref),
    87  		"k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions":                                          schema_pkg_apis_meta_v1_DeleteOptions(ref),
    88  		"k8s.io/apimachinery/pkg/apis/meta/v1.Duration":                                               schema_pkg_apis_meta_v1_Duration(ref),
    89  		"k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1":                                               schema_pkg_apis_meta_v1_FieldsV1(ref),
    90  		"k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions":                                             schema_pkg_apis_meta_v1_GetOptions(ref),
    91  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind":                                              schema_pkg_apis_meta_v1_GroupKind(ref),
    92  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource":                                          schema_pkg_apis_meta_v1_GroupResource(ref),
    93  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion":                                           schema_pkg_apis_meta_v1_GroupVersion(ref),
    94  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery":                               schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref),
    95  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind":                                       schema_pkg_apis_meta_v1_GroupVersionKind(ref),
    96  		"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource":                                   schema_pkg_apis_meta_v1_GroupVersionResource(ref),
    97  		"k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent":                                          schema_pkg_apis_meta_v1_InternalEvent(ref),
    98  		"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector":                                          schema_pkg_apis_meta_v1_LabelSelector(ref),
    99  		"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement":                               schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref),
   100  		"k8s.io/apimachinery/pkg/apis/meta/v1.List":                                                   schema_pkg_apis_meta_v1_List(ref),
   101  		"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta":                                               schema_pkg_apis_meta_v1_ListMeta(ref),
   102  		"k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions":                                            schema_pkg_apis_meta_v1_ListOptions(ref),
   103  		"k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry":                                     schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref),
   104  		"k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime":                                              schema_pkg_apis_meta_v1_MicroTime(ref),
   105  		"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta":                                             schema_pkg_apis_meta_v1_ObjectMeta(ref),
   106  		"k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference":                                         schema_pkg_apis_meta_v1_OwnerReference(ref),
   107  		"k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata":                                  schema_pkg_apis_meta_v1_PartialObjectMetadata(ref),
   108  		"k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList":                              schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref),
   109  		"k8s.io/apimachinery/pkg/apis/meta/v1.Patch":                                                  schema_pkg_apis_meta_v1_Patch(ref),
   110  		"k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions":                                           schema_pkg_apis_meta_v1_PatchOptions(ref),
   111  		"k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions":                                          schema_pkg_apis_meta_v1_Preconditions(ref),
   112  		"k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths":                                              schema_pkg_apis_meta_v1_RootPaths(ref),
   113  		"k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR":                              schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref),
   114  		"k8s.io/apimachinery/pkg/apis/meta/v1.Status":                                                 schema_pkg_apis_meta_v1_Status(ref),
   115  		"k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause":                                            schema_pkg_apis_meta_v1_StatusCause(ref),
   116  		"k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails":                                          schema_pkg_apis_meta_v1_StatusDetails(ref),
   117  		"k8s.io/apimachinery/pkg/apis/meta/v1.Table":                                                  schema_pkg_apis_meta_v1_Table(ref),
   118  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition":                                  schema_pkg_apis_meta_v1_TableColumnDefinition(ref),
   119  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions":                                           schema_pkg_apis_meta_v1_TableOptions(ref),
   120  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableRow":                                               schema_pkg_apis_meta_v1_TableRow(ref),
   121  		"k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition":                                      schema_pkg_apis_meta_v1_TableRowCondition(ref),
   122  		"k8s.io/apimachinery/pkg/apis/meta/v1.Time":                                                   schema_pkg_apis_meta_v1_Time(ref),
   123  		"k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp":                                              schema_pkg_apis_meta_v1_Timestamp(ref),
   124  		"k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta":                                               schema_pkg_apis_meta_v1_TypeMeta(ref),
   125  		"k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions":                                          schema_pkg_apis_meta_v1_UpdateOptions(ref),
   126  		"k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent":                                             schema_pkg_apis_meta_v1_WatchEvent(ref),
   127  		"k8s.io/apimachinery/pkg/runtime.RawExtension":                                                schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref),
   128  		"k8s.io/apimachinery/pkg/runtime.TypeMeta":                                                    schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref),
   129  		"k8s.io/apimachinery/pkg/runtime.Unknown":                                                     schema_k8sio_apimachinery_pkg_runtime_Unknown(ref),
   130  		"k8s.io/apimachinery/pkg/version.Info":                                                        schema_k8sio_apimachinery_pkg_version_Info(ref),
   131  	}
   132  }
   133  
   134  func schema_porch_api_porch_v1alpha1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
   135  	return common.OpenAPIDefinition{
   136  		Schema: spec.Schema{
   137  			SchemaProps: spec.SchemaProps{
   138  				Type: []string{"object"},
   139  				Properties: map[string]spec.Schema{
   140  					"type": {
   141  						SchemaProps: spec.SchemaProps{
   142  							Default: "",
   143  							Type:    []string{"string"},
   144  							Format:  "",
   145  						},
   146  					},
   147  					"status": {
   148  						SchemaProps: spec.SchemaProps{
   149  							Default: "",
   150  							Type:    []string{"string"},
   151  							Format:  "",
   152  						},
   153  					},
   154  					"reason": {
   155  						SchemaProps: spec.SchemaProps{
   156  							Type:   []string{"string"},
   157  							Format: "",
   158  						},
   159  					},
   160  					"message": {
   161  						SchemaProps: spec.SchemaProps{
   162  							Type:   []string{"string"},
   163  							Format: "",
   164  						},
   165  					},
   166  				},
   167  				Required: []string{"type", "status"},
   168  			},
   169  		},
   170  	}
   171  }
   172  
   173  func schema_porch_api_porch_v1alpha1_Field(ref common.ReferenceCallback) common.OpenAPIDefinition {
   174  	return common.OpenAPIDefinition{
   175  		Schema: spec.Schema{
   176  			SchemaProps: spec.SchemaProps{
   177  				Description: "Field references a field in a resource",
   178  				Type:        []string{"object"},
   179  				Properties: map[string]spec.Schema{
   180  					"path": {
   181  						SchemaProps: spec.SchemaProps{
   182  							Description: "Path is the field path. This field is required.",
   183  							Type:        []string{"string"},
   184  							Format:      "",
   185  						},
   186  					},
   187  					"currentValue": {
   188  						SchemaProps: spec.SchemaProps{
   189  							Description: "CurrentValue is the current field value",
   190  							Type:        []string{"string"},
   191  							Format:      "",
   192  						},
   193  					},
   194  					"proposedValue": {
   195  						SchemaProps: spec.SchemaProps{
   196  							Description: "ProposedValue is the proposed value of the field to fix an issue.",
   197  							Type:        []string{"string"},
   198  							Format:      "",
   199  						},
   200  					},
   201  				},
   202  			},
   203  		},
   204  	}
   205  }
   206  
   207  func schema_porch_api_porch_v1alpha1_File(ref common.ReferenceCallback) common.OpenAPIDefinition {
   208  	return common.OpenAPIDefinition{
   209  		Schema: spec.Schema{
   210  			SchemaProps: spec.SchemaProps{
   211  				Description: "File references a file containing a resource",
   212  				Type:        []string{"object"},
   213  				Properties: map[string]spec.Schema{
   214  					"path": {
   215  						SchemaProps: spec.SchemaProps{
   216  							Description: "Path is relative path to the file containing the resource. This field is required.",
   217  							Type:        []string{"string"},
   218  							Format:      "",
   219  						},
   220  					},
   221  					"index": {
   222  						SchemaProps: spec.SchemaProps{
   223  							Description: "Index is the index into the file containing the resource (i.e. if there are multiple resources in a single file)",
   224  							Type:        []string{"integer"},
   225  							Format:      "int32",
   226  						},
   227  					},
   228  				},
   229  			},
   230  		},
   231  	}
   232  }
   233  
   234  func schema_porch_api_porch_v1alpha1_Function(ref common.ReferenceCallback) common.OpenAPIDefinition {
   235  	return common.OpenAPIDefinition{
   236  		Schema: spec.Schema{
   237  			SchemaProps: spec.SchemaProps{
   238  				Description: "Function represents a kpt function discovered in a repository Function resources are created automatically by discovery in a registered Repository. Function resource names will be computed as <Repository Name>:<Function Name> to ensure uniqueness of names, and will follow formatting of [DNS Subdomain Names](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names).",
   239  				Type:        []string{"object"},
   240  				Properties: map[string]spec.Schema{
   241  					"kind": {
   242  						SchemaProps: spec.SchemaProps{
   243  							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",
   244  							Type:        []string{"string"},
   245  							Format:      "",
   246  						},
   247  					},
   248  					"apiVersion": {
   249  						SchemaProps: spec.SchemaProps{
   250  							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",
   251  							Type:        []string{"string"},
   252  							Format:      "",
   253  						},
   254  					},
   255  					"metadata": {
   256  						SchemaProps: spec.SchemaProps{
   257  							Default: map[string]interface{}{},
   258  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   259  						},
   260  					},
   261  					"spec": {
   262  						SchemaProps: spec.SchemaProps{
   263  							Default: map[string]interface{}{},
   264  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionSpec"),
   265  						},
   266  					},
   267  					"status": {
   268  						SchemaProps: spec.SchemaProps{
   269  							Default: map[string]interface{}{},
   270  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionStatus"),
   271  						},
   272  					},
   273  				},
   274  			},
   275  		},
   276  		Dependencies: []string{
   277  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   278  	}
   279  }
   280  
   281  func schema_porch_api_porch_v1alpha1_FunctionConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
   282  	return common.OpenAPIDefinition{
   283  		Schema: spec.Schema{
   284  			SchemaProps: spec.SchemaProps{
   285  				Description: "FunctionConfig specifies all the valid types of the function config for this function. If unspecified, defaults to v1/ConfigMap. For example, function `set-namespace` accepts both `ConfigMap` and `SetNamespace`",
   286  				Type:        []string{"object"},
   287  				Properties: map[string]spec.Schema{
   288  					"kind": {
   289  						SchemaProps: spec.SchemaProps{
   290  							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",
   291  							Type:        []string{"string"},
   292  							Format:      "",
   293  						},
   294  					},
   295  					"apiVersion": {
   296  						SchemaProps: spec.SchemaProps{
   297  							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",
   298  							Type:        []string{"string"},
   299  							Format:      "",
   300  						},
   301  					},
   302  					"requiredFields": {
   303  						SchemaProps: spec.SchemaProps{
   304  							Description: "Experimental: requiredFields tells necessary fields and is aimed to help users write the FunctionConfig. Otherwise, users can get the required fields info from the function evaluation error message.",
   305  							Type:        []string{"array"},
   306  							Items: &spec.SchemaOrArray{
   307  								Schema: &spec.Schema{
   308  									SchemaProps: spec.SchemaProps{
   309  										Default: "",
   310  										Type:    []string{"string"},
   311  										Format:  "",
   312  									},
   313  								},
   314  							},
   315  						},
   316  					},
   317  				},
   318  			},
   319  		},
   320  	}
   321  }
   322  
   323  func schema_porch_api_porch_v1alpha1_FunctionEvalTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   324  	return common.OpenAPIDefinition{
   325  		Schema: spec.Schema{
   326  			SchemaProps: spec.SchemaProps{
   327  				Type: []string{"object"},
   328  				Properties: map[string]spec.Schema{
   329  					"subpackage": {
   330  						SchemaProps: spec.SchemaProps{
   331  							Description: "`Subpackage` is a directory path to a subpackage in which to evaluate the function.",
   332  							Type:        []string{"string"},
   333  							Format:      "",
   334  						},
   335  					},
   336  					"image": {
   337  						SchemaProps: spec.SchemaProps{
   338  							Description: "`Image` specifies the function image, such as `gcr.io/kpt-fn/gatekeeper:v0.2`. Use of `Image` is mutually exclusive with `FunctionRef`.",
   339  							Type:        []string{"string"},
   340  							Format:      "",
   341  						},
   342  					},
   343  					"functionRef": {
   344  						SchemaProps: spec.SchemaProps{
   345  							Description: "`FunctionRef` specifies the function by reference to a Function resource. Mutually exclusive with `Image`.",
   346  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionRef"),
   347  						},
   348  					},
   349  					"configMap": {
   350  						SchemaProps: spec.SchemaProps{
   351  							Description: "`ConfigMap` specifies the function config (https://kpt.dev/reference/cli/fn/eval/). Mutually exclusive with Config.",
   352  							Type:        []string{"object"},
   353  							AdditionalProperties: &spec.SchemaOrBool{
   354  								Allows: true,
   355  								Schema: &spec.Schema{
   356  									SchemaProps: spec.SchemaProps{
   357  										Default: "",
   358  										Type:    []string{"string"},
   359  										Format:  "",
   360  									},
   361  								},
   362  							},
   363  						},
   364  					},
   365  					"config": {
   366  						SchemaProps: spec.SchemaProps{
   367  							Description: "`Config` specifies the function config, arbitrary KRM resource. Mutually exclusive with ConfigMap.",
   368  							Default:     map[string]interface{}{},
   369  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
   370  						},
   371  					},
   372  					"includeMetaResources": {
   373  						SchemaProps: spec.SchemaProps{
   374  							Description: "If enabled, meta resources (i.e. `Kptfile` and `functionConfig`) are included in the input to the function. By default it is disabled.",
   375  							Type:        []string{"boolean"},
   376  							Format:      "",
   377  						},
   378  					},
   379  					"enableNetwork": {
   380  						SchemaProps: spec.SchemaProps{
   381  							Description: "`EnableNetwork` controls whether the function has access to network. Defaults to `false`.",
   382  							Type:        []string{"boolean"},
   383  							Format:      "",
   384  						},
   385  					},
   386  					"match": {
   387  						SchemaProps: spec.SchemaProps{
   388  							Description: "Match specifies the selection criteria for the function evaluation. Corresponds to `kpt fn eval --match-???` flgs (https://kpt.dev/reference/cli/fn/eval/).",
   389  							Default:     map[string]interface{}{},
   390  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Selector"),
   391  						},
   392  					},
   393  				},
   394  			},
   395  		},
   396  		Dependencies: []string{
   397  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionRef", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Selector", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
   398  	}
   399  }
   400  
   401  func schema_porch_api_porch_v1alpha1_FunctionList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   402  	return common.OpenAPIDefinition{
   403  		Schema: spec.Schema{
   404  			SchemaProps: spec.SchemaProps{
   405  				Description: "FunctionList",
   406  				Type:        []string{"object"},
   407  				Properties: map[string]spec.Schema{
   408  					"kind": {
   409  						SchemaProps: spec.SchemaProps{
   410  							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",
   411  							Type:        []string{"string"},
   412  							Format:      "",
   413  						},
   414  					},
   415  					"apiVersion": {
   416  						SchemaProps: spec.SchemaProps{
   417  							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",
   418  							Type:        []string{"string"},
   419  							Format:      "",
   420  						},
   421  					},
   422  					"metadata": {
   423  						SchemaProps: spec.SchemaProps{
   424  							Default: map[string]interface{}{},
   425  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
   426  						},
   427  					},
   428  					"items": {
   429  						SchemaProps: spec.SchemaProps{
   430  							Type: []string{"array"},
   431  							Items: &spec.SchemaOrArray{
   432  								Schema: &spec.Schema{
   433  									SchemaProps: spec.SchemaProps{
   434  										Default: map[string]interface{}{},
   435  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Function"),
   436  									},
   437  								},
   438  							},
   439  						},
   440  					},
   441  				},
   442  				Required: []string{"items"},
   443  			},
   444  		},
   445  		Dependencies: []string{
   446  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Function", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
   447  	}
   448  }
   449  
   450  func schema_porch_api_porch_v1alpha1_FunctionRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
   451  	return common.OpenAPIDefinition{
   452  		Schema: spec.Schema{
   453  			SchemaProps: spec.SchemaProps{
   454  				Description: "FunctionRef is a reference to a Function resource.",
   455  				Type:        []string{"object"},
   456  				Properties: map[string]spec.Schema{
   457  					"name": {
   458  						SchemaProps: spec.SchemaProps{
   459  							Description: "Name is the name of the Function resource referenced. The resource is expected to be within the same namespace.",
   460  							Default:     "",
   461  							Type:        []string{"string"},
   462  							Format:      "",
   463  						},
   464  					},
   465  				},
   466  				Required: []string{"name"},
   467  			},
   468  		},
   469  	}
   470  }
   471  
   472  func schema_porch_api_porch_v1alpha1_FunctionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   473  	return common.OpenAPIDefinition{
   474  		Schema: spec.Schema{
   475  			SchemaProps: spec.SchemaProps{
   476  				Description: "FunctionSpec defines the desired state of a Function",
   477  				Type:        []string{"object"},
   478  				Properties: map[string]spec.Schema{
   479  					"image": {
   480  						SchemaProps: spec.SchemaProps{
   481  							Description: "Image specifies the function image, such as 'gcr.io/kpt-fn/gatekeeper:v0.2'.",
   482  							Default:     "",
   483  							Type:        []string{"string"},
   484  							Format:      "",
   485  						},
   486  					},
   487  					"repositoryRef": {
   488  						SchemaProps: spec.SchemaProps{
   489  							Description: "RepositoryRef references the repository in which the function is located.",
   490  							Default:     map[string]interface{}{},
   491  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RepositoryRef"),
   492  						},
   493  					},
   494  					"functionTypes": {
   495  						SchemaProps: spec.SchemaProps{
   496  							Description: "FunctionType specifies the function types (mutator, validator or/and others).",
   497  							Type:        []string{"array"},
   498  							Items: &spec.SchemaOrArray{
   499  								Schema: &spec.Schema{
   500  									SchemaProps: spec.SchemaProps{
   501  										Default: "",
   502  										Type:    []string{"string"},
   503  										Format:  "",
   504  									},
   505  								},
   506  							},
   507  						},
   508  					},
   509  					"functionConfigs": {
   510  						SchemaProps: spec.SchemaProps{
   511  							Type: []string{"array"},
   512  							Items: &spec.SchemaOrArray{
   513  								Schema: &spec.Schema{
   514  									SchemaProps: spec.SchemaProps{
   515  										Default: map[string]interface{}{},
   516  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionConfig"),
   517  									},
   518  								},
   519  							},
   520  						},
   521  					},
   522  					"keywords": {
   523  						SchemaProps: spec.SchemaProps{
   524  							Description: "Keywords are used as filters to provide correlation in function discovery.",
   525  							Type:        []string{"array"},
   526  							Items: &spec.SchemaOrArray{
   527  								Schema: &spec.Schema{
   528  									SchemaProps: spec.SchemaProps{
   529  										Default: "",
   530  										Type:    []string{"string"},
   531  										Format:  "",
   532  									},
   533  								},
   534  							},
   535  						},
   536  					},
   537  					"description": {
   538  						SchemaProps: spec.SchemaProps{
   539  							Description: "Description is a short description of the function.",
   540  							Default:     "",
   541  							Type:        []string{"string"},
   542  							Format:      "",
   543  						},
   544  					},
   545  					"documentationUrl": {
   546  						SchemaProps: spec.SchemaProps{
   547  							Description: "`DocumentationUrl specifies the URL of comprehensive function documentation`",
   548  							Type:        []string{"string"},
   549  							Format:      "",
   550  						},
   551  					},
   552  				},
   553  				Required: []string{"image", "repositoryRef", "description"},
   554  			},
   555  		},
   556  		Dependencies: []string{
   557  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionConfig", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RepositoryRef"},
   558  	}
   559  }
   560  
   561  func schema_porch_api_porch_v1alpha1_FunctionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
   562  	return common.OpenAPIDefinition{
   563  		Schema: spec.Schema{
   564  			SchemaProps: spec.SchemaProps{
   565  				Description: "FunctionStatus defines the observed state of Function",
   566  				Type:        []string{"object"},
   567  			},
   568  		},
   569  	}
   570  }
   571  
   572  func schema_porch_api_porch_v1alpha1_GitLock(ref common.ReferenceCallback) common.OpenAPIDefinition {
   573  	return common.OpenAPIDefinition{
   574  		Schema: spec.Schema{
   575  			SchemaProps: spec.SchemaProps{
   576  				Description: "GitLock is the resolved locator for a package on Git.",
   577  				Type:        []string{"object"},
   578  				Properties: map[string]spec.Schema{
   579  					"repo": {
   580  						SchemaProps: spec.SchemaProps{
   581  							Description: "Repo is the git repository that was fetched. e.g. 'https://github.com/kubernetes/examples.git'",
   582  							Type:        []string{"string"},
   583  							Format:      "",
   584  						},
   585  					},
   586  					"directory": {
   587  						SchemaProps: spec.SchemaProps{
   588  							Description: "Directory is the sub directory of the git repository that was fetched. e.g. 'staging/cockroachdb'",
   589  							Type:        []string{"string"},
   590  							Format:      "",
   591  						},
   592  					},
   593  					"ref": {
   594  						SchemaProps: spec.SchemaProps{
   595  							Description: "Ref can be a Git branch, tag, or a commit SHA-1 that was fetched. e.g. 'master'",
   596  							Type:        []string{"string"},
   597  							Format:      "",
   598  						},
   599  					},
   600  					"commit": {
   601  						SchemaProps: spec.SchemaProps{
   602  							Description: "Commit is the SHA-1 for the last fetch of the package. This is set by kpt for bookkeeping purposes.",
   603  							Type:        []string{"string"},
   604  							Format:      "",
   605  						},
   606  					},
   607  				},
   608  			},
   609  		},
   610  	}
   611  }
   612  
   613  func schema_porch_api_porch_v1alpha1_GitPackage(ref common.ReferenceCallback) common.OpenAPIDefinition {
   614  	return common.OpenAPIDefinition{
   615  		Schema: spec.Schema{
   616  			SchemaProps: spec.SchemaProps{
   617  				Type: []string{"object"},
   618  				Properties: map[string]spec.Schema{
   619  					"repo": {
   620  						SchemaProps: spec.SchemaProps{
   621  							Description: "Address of the Git repository, for example:\n  `https://github.com/GoogleCloudPlatform/blueprints.git`",
   622  							Default:     "",
   623  							Type:        []string{"string"},
   624  							Format:      "",
   625  						},
   626  					},
   627  					"ref": {
   628  						SchemaProps: spec.SchemaProps{
   629  							Description: "`Ref` is the git ref containing the package. Ref can be a branch, tag, or commit SHA.",
   630  							Default:     "",
   631  							Type:        []string{"string"},
   632  							Format:      "",
   633  						},
   634  					},
   635  					"directory": {
   636  						SchemaProps: spec.SchemaProps{
   637  							Description: "Directory within the Git repository where the packages are stored. A subdirectory of this directory containing a Kptfile is considered a package.",
   638  							Default:     "",
   639  							Type:        []string{"string"},
   640  							Format:      "",
   641  						},
   642  					},
   643  					"secretRef": {
   644  						SchemaProps: spec.SchemaProps{
   645  							Description: "Reference to secret containing authentication credentials. Optional.",
   646  							Default:     map[string]interface{}{},
   647  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.SecretRef"),
   648  						},
   649  					},
   650  				},
   651  				Required: []string{"repo", "ref", "directory"},
   652  			},
   653  		},
   654  		Dependencies: []string{
   655  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.SecretRef"},
   656  	}
   657  }
   658  
   659  func schema_porch_api_porch_v1alpha1_NameMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
   660  	return common.OpenAPIDefinition{
   661  		Schema: spec.Schema{
   662  			SchemaProps: spec.SchemaProps{
   663  				Description: "NameMeta contains name information.",
   664  				Type:        []string{"object"},
   665  				Properties: map[string]spec.Schema{
   666  					"name": {
   667  						SchemaProps: spec.SchemaProps{
   668  							Description: "Name is the metadata.name field of a Resource",
   669  							Type:        []string{"string"},
   670  							Format:      "",
   671  						},
   672  					},
   673  					"namespace": {
   674  						SchemaProps: spec.SchemaProps{
   675  							Description: "Namespace is the metadata.namespace field of a Resource",
   676  							Type:        []string{"string"},
   677  							Format:      "",
   678  						},
   679  					},
   680  				},
   681  			},
   682  		},
   683  	}
   684  }
   685  
   686  func schema_porch_api_porch_v1alpha1_OciPackage(ref common.ReferenceCallback) common.OpenAPIDefinition {
   687  	return common.OpenAPIDefinition{
   688  		Schema: spec.Schema{
   689  			SchemaProps: spec.SchemaProps{
   690  				Description: "OciPackage describes a repository compatible with the Open Coutainer Registry standard.",
   691  				Type:        []string{"object"},
   692  				Properties: map[string]spec.Schema{
   693  					"image": {
   694  						SchemaProps: spec.SchemaProps{
   695  							Description: "Image is the address of an OCI image.",
   696  							Default:     "",
   697  							Type:        []string{"string"},
   698  							Format:      "",
   699  						},
   700  					},
   701  				},
   702  				Required: []string{"image"},
   703  			},
   704  		},
   705  	}
   706  }
   707  
   708  func schema_porch_api_porch_v1alpha1_Package(ref common.ReferenceCallback) common.OpenAPIDefinition {
   709  	return common.OpenAPIDefinition{
   710  		Schema: spec.Schema{
   711  			SchemaProps: spec.SchemaProps{
   712  				Description: "Package",
   713  				Type:        []string{"object"},
   714  				Properties: map[string]spec.Schema{
   715  					"kind": {
   716  						SchemaProps: spec.SchemaProps{
   717  							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",
   718  							Type:        []string{"string"},
   719  							Format:      "",
   720  						},
   721  					},
   722  					"apiVersion": {
   723  						SchemaProps: spec.SchemaProps{
   724  							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",
   725  							Type:        []string{"string"},
   726  							Format:      "",
   727  						},
   728  					},
   729  					"metadata": {
   730  						SchemaProps: spec.SchemaProps{
   731  							Default: map[string]interface{}{},
   732  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   733  						},
   734  					},
   735  					"spec": {
   736  						SchemaProps: spec.SchemaProps{
   737  							Default: map[string]interface{}{},
   738  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageSpec"),
   739  						},
   740  					},
   741  					"status": {
   742  						SchemaProps: spec.SchemaProps{
   743  							Default: map[string]interface{}{},
   744  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageStatus"),
   745  						},
   746  					},
   747  				},
   748  			},
   749  		},
   750  		Dependencies: []string{
   751  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   752  	}
   753  }
   754  
   755  func schema_porch_api_porch_v1alpha1_PackageCloneTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   756  	return common.OpenAPIDefinition{
   757  		Schema: spec.Schema{
   758  			SchemaProps: spec.SchemaProps{
   759  				Type: []string{"object"},
   760  				Properties: map[string]spec.Schema{
   761  					"upstreamRef": {
   762  						SchemaProps: spec.SchemaProps{
   763  							Description: "`Upstream` is the reference to the upstream package to clone.",
   764  							Default:     map[string]interface{}{},
   765  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamPackage"),
   766  						},
   767  					},
   768  					"strategy": {
   769  						SchemaProps: spec.SchemaProps{
   770  							Description: "\n\tDefines which strategy should be used to update the package. It defaults to 'resource-merge'.\n * resource-merge: Perform a structural comparison of the original /\n   updated resources, and merge the changes into the local package.\n * fast-forward: Fail without updating if the local package was modified\n   since it was fetched.\n * force-delete-replace: Wipe all the local changes to the package and replace\n   it with the remote version.",
   771  							Type:        []string{"string"},
   772  							Format:      "",
   773  						},
   774  					},
   775  				},
   776  			},
   777  		},
   778  		Dependencies: []string{
   779  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamPackage"},
   780  	}
   781  }
   782  
   783  func schema_porch_api_porch_v1alpha1_PackageEditTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   784  	return common.OpenAPIDefinition{
   785  		Schema: spec.Schema{
   786  			SchemaProps: spec.SchemaProps{
   787  				Type: []string{"object"},
   788  				Properties: map[string]spec.Schema{
   789  					"sourceRef": {
   790  						SchemaProps: spec.SchemaProps{
   791  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionRef"),
   792  						},
   793  					},
   794  				},
   795  			},
   796  		},
   797  		Dependencies: []string{
   798  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionRef"},
   799  	}
   800  }
   801  
   802  func schema_porch_api_porch_v1alpha1_PackageInitTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   803  	return common.OpenAPIDefinition{
   804  		Schema: spec.Schema{
   805  			SchemaProps: spec.SchemaProps{
   806  				Description: "PackageInitTaskSpec defines the package initialization task.",
   807  				Type:        []string{"object"},
   808  				Properties: map[string]spec.Schema{
   809  					"subpackage": {
   810  						SchemaProps: spec.SchemaProps{
   811  							Description: "`Subpackage` is a directory path to a subpackage to initialize. If unspecified, the main package will be initialized.",
   812  							Type:        []string{"string"},
   813  							Format:      "",
   814  						},
   815  					},
   816  					"description": {
   817  						SchemaProps: spec.SchemaProps{
   818  							Description: "`Description` is a short description of the package.",
   819  							Type:        []string{"string"},
   820  							Format:      "",
   821  						},
   822  					},
   823  					"keywords": {
   824  						SchemaProps: spec.SchemaProps{
   825  							Description: "`Keywords` is a list of keywords describing the package.",
   826  							Type:        []string{"array"},
   827  							Items: &spec.SchemaOrArray{
   828  								Schema: &spec.Schema{
   829  									SchemaProps: spec.SchemaProps{
   830  										Default: "",
   831  										Type:    []string{"string"},
   832  										Format:  "",
   833  									},
   834  								},
   835  							},
   836  						},
   837  					},
   838  					"site": {
   839  						SchemaProps: spec.SchemaProps{
   840  							Description: "`Site is a link to page with information about the package.",
   841  							Type:        []string{"string"},
   842  							Format:      "",
   843  						},
   844  					},
   845  				},
   846  			},
   847  		},
   848  	}
   849  }
   850  
   851  func schema_porch_api_porch_v1alpha1_PackageList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   852  	return common.OpenAPIDefinition{
   853  		Schema: spec.Schema{
   854  			SchemaProps: spec.SchemaProps{
   855  				Description: "PackageList",
   856  				Type:        []string{"object"},
   857  				Properties: map[string]spec.Schema{
   858  					"kind": {
   859  						SchemaProps: spec.SchemaProps{
   860  							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",
   861  							Type:        []string{"string"},
   862  							Format:      "",
   863  						},
   864  					},
   865  					"apiVersion": {
   866  						SchemaProps: spec.SchemaProps{
   867  							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",
   868  							Type:        []string{"string"},
   869  							Format:      "",
   870  						},
   871  					},
   872  					"metadata": {
   873  						SchemaProps: spec.SchemaProps{
   874  							Default: map[string]interface{}{},
   875  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
   876  						},
   877  					},
   878  					"items": {
   879  						SchemaProps: spec.SchemaProps{
   880  							Type: []string{"array"},
   881  							Items: &spec.SchemaOrArray{
   882  								Schema: &spec.Schema{
   883  									SchemaProps: spec.SchemaProps{
   884  										Default: map[string]interface{}{},
   885  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Package"),
   886  									},
   887  								},
   888  							},
   889  						},
   890  					},
   891  				},
   892  				Required: []string{"items"},
   893  			},
   894  		},
   895  		Dependencies: []string{
   896  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Package", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
   897  	}
   898  }
   899  
   900  func schema_porch_api_porch_v1alpha1_PackagePatchTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   901  	return common.OpenAPIDefinition{
   902  		Schema: spec.Schema{
   903  			SchemaProps: spec.SchemaProps{
   904  				Type: []string{"object"},
   905  				Properties: map[string]spec.Schema{
   906  					"patches": {
   907  						SchemaProps: spec.SchemaProps{
   908  							Description: "Patches is a list of individual patch operations.",
   909  							Type:        []string{"array"},
   910  							Items: &spec.SchemaOrArray{
   911  								Schema: &spec.Schema{
   912  									SchemaProps: spec.SchemaProps{
   913  										Default: map[string]interface{}{},
   914  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PatchSpec"),
   915  									},
   916  								},
   917  							},
   918  						},
   919  					},
   920  				},
   921  			},
   922  		},
   923  		Dependencies: []string{
   924  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PatchSpec"},
   925  	}
   926  }
   927  
   928  func schema_porch_api_porch_v1alpha1_PackageRevision(ref common.ReferenceCallback) common.OpenAPIDefinition {
   929  	return common.OpenAPIDefinition{
   930  		Schema: spec.Schema{
   931  			SchemaProps: spec.SchemaProps{
   932  				Description: "PackageRevision",
   933  				Type:        []string{"object"},
   934  				Properties: map[string]spec.Schema{
   935  					"kind": {
   936  						SchemaProps: spec.SchemaProps{
   937  							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",
   938  							Type:        []string{"string"},
   939  							Format:      "",
   940  						},
   941  					},
   942  					"apiVersion": {
   943  						SchemaProps: spec.SchemaProps{
   944  							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",
   945  							Type:        []string{"string"},
   946  							Format:      "",
   947  						},
   948  					},
   949  					"metadata": {
   950  						SchemaProps: spec.SchemaProps{
   951  							Default: map[string]interface{}{},
   952  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   953  						},
   954  					},
   955  					"spec": {
   956  						SchemaProps: spec.SchemaProps{
   957  							Default: map[string]interface{}{},
   958  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionSpec"),
   959  						},
   960  					},
   961  					"status": {
   962  						SchemaProps: spec.SchemaProps{
   963  							Default: map[string]interface{}{},
   964  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionStatus"),
   965  						},
   966  					},
   967  				},
   968  			},
   969  		},
   970  		Dependencies: []string{
   971  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   972  	}
   973  }
   974  
   975  func schema_porch_api_porch_v1alpha1_PackageRevisionList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   976  	return common.OpenAPIDefinition{
   977  		Schema: spec.Schema{
   978  			SchemaProps: spec.SchemaProps{
   979  				Description: "PackageRevisionList",
   980  				Type:        []string{"object"},
   981  				Properties: map[string]spec.Schema{
   982  					"kind": {
   983  						SchemaProps: spec.SchemaProps{
   984  							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",
   985  							Type:        []string{"string"},
   986  							Format:      "",
   987  						},
   988  					},
   989  					"apiVersion": {
   990  						SchemaProps: spec.SchemaProps{
   991  							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",
   992  							Type:        []string{"string"},
   993  							Format:      "",
   994  						},
   995  					},
   996  					"metadata": {
   997  						SchemaProps: spec.SchemaProps{
   998  							Default: map[string]interface{}{},
   999  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1000  						},
  1001  					},
  1002  					"items": {
  1003  						SchemaProps: spec.SchemaProps{
  1004  							Type: []string{"array"},
  1005  							Items: &spec.SchemaOrArray{
  1006  								Schema: &spec.Schema{
  1007  									SchemaProps: spec.SchemaProps{
  1008  										Default: map[string]interface{}{},
  1009  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevision"),
  1010  									},
  1011  								},
  1012  							},
  1013  						},
  1014  					},
  1015  				},
  1016  				Required: []string{"items"},
  1017  			},
  1018  		},
  1019  		Dependencies: []string{
  1020  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevision", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  1021  	}
  1022  }
  1023  
  1024  func schema_porch_api_porch_v1alpha1_PackageRevisionRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1025  	return common.OpenAPIDefinition{
  1026  		Schema: spec.Schema{
  1027  			SchemaProps: spec.SchemaProps{
  1028  				Description: "PackageRevisionRef is a reference to a package revision.",
  1029  				Type:        []string{"object"},
  1030  				Properties: map[string]spec.Schema{
  1031  					"name": {
  1032  						SchemaProps: spec.SchemaProps{
  1033  							Description: "`Name` is the name of the referenced PackageRevision resource.",
  1034  							Default:     "",
  1035  							Type:        []string{"string"},
  1036  							Format:      "",
  1037  						},
  1038  					},
  1039  				},
  1040  				Required: []string{"name"},
  1041  			},
  1042  		},
  1043  	}
  1044  }
  1045  
  1046  func schema_porch_api_porch_v1alpha1_PackageRevisionResources(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1047  	return common.OpenAPIDefinition{
  1048  		Schema: spec.Schema{
  1049  			SchemaProps: spec.SchemaProps{
  1050  				Description: "PackageRevisionResources",
  1051  				Type:        []string{"object"},
  1052  				Properties: map[string]spec.Schema{
  1053  					"kind": {
  1054  						SchemaProps: spec.SchemaProps{
  1055  							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",
  1056  							Type:        []string{"string"},
  1057  							Format:      "",
  1058  						},
  1059  					},
  1060  					"apiVersion": {
  1061  						SchemaProps: spec.SchemaProps{
  1062  							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",
  1063  							Type:        []string{"string"},
  1064  							Format:      "",
  1065  						},
  1066  					},
  1067  					"metadata": {
  1068  						SchemaProps: spec.SchemaProps{
  1069  							Default: map[string]interface{}{},
  1070  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1071  						},
  1072  					},
  1073  					"spec": {
  1074  						SchemaProps: spec.SchemaProps{
  1075  							Default: map[string]interface{}{},
  1076  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesSpec"),
  1077  						},
  1078  					},
  1079  					"status": {
  1080  						SchemaProps: spec.SchemaProps{
  1081  							Default: map[string]interface{}{},
  1082  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesStatus"),
  1083  						},
  1084  					},
  1085  				},
  1086  			},
  1087  		},
  1088  		Dependencies: []string{
  1089  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResourcesStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1090  	}
  1091  }
  1092  
  1093  func schema_porch_api_porch_v1alpha1_PackageRevisionResourcesList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1094  	return common.OpenAPIDefinition{
  1095  		Schema: spec.Schema{
  1096  			SchemaProps: spec.SchemaProps{
  1097  				Description: "PackageRevisionResourcesList",
  1098  				Type:        []string{"object"},
  1099  				Properties: map[string]spec.Schema{
  1100  					"kind": {
  1101  						SchemaProps: spec.SchemaProps{
  1102  							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",
  1103  							Type:        []string{"string"},
  1104  							Format:      "",
  1105  						},
  1106  					},
  1107  					"apiVersion": {
  1108  						SchemaProps: spec.SchemaProps{
  1109  							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",
  1110  							Type:        []string{"string"},
  1111  							Format:      "",
  1112  						},
  1113  					},
  1114  					"metadata": {
  1115  						SchemaProps: spec.SchemaProps{
  1116  							Default: map[string]interface{}{},
  1117  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1118  						},
  1119  					},
  1120  					"items": {
  1121  						SchemaProps: spec.SchemaProps{
  1122  							Type: []string{"array"},
  1123  							Items: &spec.SchemaOrArray{
  1124  								Schema: &spec.Schema{
  1125  									SchemaProps: spec.SchemaProps{
  1126  										Default: map[string]interface{}{},
  1127  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResources"),
  1128  									},
  1129  								},
  1130  							},
  1131  						},
  1132  					},
  1133  				},
  1134  				Required: []string{"items"},
  1135  			},
  1136  		},
  1137  		Dependencies: []string{
  1138  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionResources", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  1139  	}
  1140  }
  1141  
  1142  func schema_porch_api_porch_v1alpha1_PackageRevisionResourcesSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1143  	return common.OpenAPIDefinition{
  1144  		Schema: spec.Schema{
  1145  			SchemaProps: spec.SchemaProps{
  1146  				Description: "PackageRevisionResourcesSpec represents resources (as ResourceList serialized as yaml string) of the PackageRevision.",
  1147  				Type:        []string{"object"},
  1148  				Properties: map[string]spec.Schema{
  1149  					"packageName": {
  1150  						SchemaProps: spec.SchemaProps{
  1151  							Description: "PackageName identifies the package in the repository.",
  1152  							Type:        []string{"string"},
  1153  							Format:      "",
  1154  						},
  1155  					},
  1156  					"workspaceName": {
  1157  						SchemaProps: spec.SchemaProps{
  1158  							Description: "WorkspaceName identifies the workspace of the package.",
  1159  							Type:        []string{"string"},
  1160  							Format:      "",
  1161  						},
  1162  					},
  1163  					"revision": {
  1164  						SchemaProps: spec.SchemaProps{
  1165  							Description: "Revision identifies the version of the package.",
  1166  							Type:        []string{"string"},
  1167  							Format:      "",
  1168  						},
  1169  					},
  1170  					"repository": {
  1171  						SchemaProps: spec.SchemaProps{
  1172  							Description: "RepositoryName is the name of the Repository object containing this package.",
  1173  							Type:        []string{"string"},
  1174  							Format:      "",
  1175  						},
  1176  					},
  1177  					"resources": {
  1178  						SchemaProps: spec.SchemaProps{
  1179  							Description: "Resources are the content of the package.",
  1180  							Type:        []string{"object"},
  1181  							AdditionalProperties: &spec.SchemaOrBool{
  1182  								Allows: true,
  1183  								Schema: &spec.Schema{
  1184  									SchemaProps: spec.SchemaProps{
  1185  										Default: "",
  1186  										Type:    []string{"string"},
  1187  										Format:  "",
  1188  									},
  1189  								},
  1190  							},
  1191  						},
  1192  					},
  1193  				},
  1194  			},
  1195  		},
  1196  	}
  1197  }
  1198  
  1199  func schema_porch_api_porch_v1alpha1_PackageRevisionResourcesStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1200  	return common.OpenAPIDefinition{
  1201  		Schema: spec.Schema{
  1202  			SchemaProps: spec.SchemaProps{
  1203  				Description: "PackageRevisionResourcesStatus represents state of the rendered package resources.",
  1204  				Type:        []string{"object"},
  1205  				Properties: map[string]spec.Schema{
  1206  					"renderStatus": {
  1207  						SchemaProps: spec.SchemaProps{
  1208  							Description: "RenderStatus contains the result of rendering the package resources.",
  1209  							Default:     map[string]interface{}{},
  1210  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RenderStatus"),
  1211  						},
  1212  					},
  1213  				},
  1214  			},
  1215  		},
  1216  		Dependencies: []string{
  1217  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RenderStatus"},
  1218  	}
  1219  }
  1220  
  1221  func schema_porch_api_porch_v1alpha1_PackageRevisionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1222  	return common.OpenAPIDefinition{
  1223  		Schema: spec.Schema{
  1224  			SchemaProps: spec.SchemaProps{
  1225  				Description: "PackageRevisionSpec defines the desired state of PackageRevision",
  1226  				Type:        []string{"object"},
  1227  				Properties: map[string]spec.Schema{
  1228  					"packageName": {
  1229  						SchemaProps: spec.SchemaProps{
  1230  							Description: "PackageName identifies the package in the repository.",
  1231  							Type:        []string{"string"},
  1232  							Format:      "",
  1233  						},
  1234  					},
  1235  					"repository": {
  1236  						SchemaProps: spec.SchemaProps{
  1237  							Description: "RepositoryName is the name of the Repository object containing this package.",
  1238  							Type:        []string{"string"},
  1239  							Format:      "",
  1240  						},
  1241  					},
  1242  					"workspaceName": {
  1243  						SchemaProps: spec.SchemaProps{
  1244  							Description: "WorkspaceName is a short, unique description of the changes contained in this package revision.",
  1245  							Type:        []string{"string"},
  1246  							Format:      "",
  1247  						},
  1248  					},
  1249  					"revision": {
  1250  						SchemaProps: spec.SchemaProps{
  1251  							Description: "Revision identifies the version of the package.",
  1252  							Type:        []string{"string"},
  1253  							Format:      "",
  1254  						},
  1255  					},
  1256  					"parent": {
  1257  						SchemaProps: spec.SchemaProps{
  1258  							Description: "Parent references a package that provides resources to us",
  1259  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ParentReference"),
  1260  						},
  1261  					},
  1262  					"lifecycle": {
  1263  						SchemaProps: spec.SchemaProps{
  1264  							Type:   []string{"string"},
  1265  							Format: "",
  1266  						},
  1267  					},
  1268  					"tasks": {
  1269  						SchemaProps: spec.SchemaProps{
  1270  							Description: "The task slice holds zero or more tasks that describe the operations performed on the packagerevision. The are essentially a replayable history of the packagerevision,\n\nPackagerevisions that were not created in Porch may have an empty task list.\n\nPackagerevisions created and managed through Porch will always have either an Init, Edit, or a Clone task as the first entry in their task list. This represent packagerevisions created from scratch, based a copy of a different revision in the same package, or a packagerevision cloned from another package. Each change to the packagerevision will result in a correspondig task being added to the list of tasks. It will describe the operation performed and will have a corresponding entry (commit or layer) in git or oci. The task slice describes the history of the packagerevision, so it is an append only list (We might introduce some kind of compaction in the future to keep the number of tasks at a reasonable number).",
  1271  							Type:        []string{"array"},
  1272  							Items: &spec.SchemaOrArray{
  1273  								Schema: &spec.Schema{
  1274  									SchemaProps: spec.SchemaProps{
  1275  										Default: map[string]interface{}{},
  1276  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Task"),
  1277  									},
  1278  								},
  1279  							},
  1280  						},
  1281  					},
  1282  					"readinessGates": {
  1283  						SchemaProps: spec.SchemaProps{
  1284  							Type: []string{"array"},
  1285  							Items: &spec.SchemaOrArray{
  1286  								Schema: &spec.Schema{
  1287  									SchemaProps: spec.SchemaProps{
  1288  										Default: map[string]interface{}{},
  1289  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ReadinessGate"),
  1290  									},
  1291  								},
  1292  							},
  1293  						},
  1294  					},
  1295  				},
  1296  			},
  1297  		},
  1298  		Dependencies: []string{
  1299  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ParentReference", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ReadinessGate", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Task"},
  1300  	}
  1301  }
  1302  
  1303  func schema_porch_api_porch_v1alpha1_PackageRevisionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1304  	return common.OpenAPIDefinition{
  1305  		Schema: spec.Schema{
  1306  			SchemaProps: spec.SchemaProps{
  1307  				Description: "PackageRevisionStatus defines the observed state of PackageRevision",
  1308  				Type:        []string{"object"},
  1309  				Properties: map[string]spec.Schema{
  1310  					"upstreamLock": {
  1311  						SchemaProps: spec.SchemaProps{
  1312  							Description: "UpstreamLock identifies the upstream data for this package.",
  1313  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamLock"),
  1314  						},
  1315  					},
  1316  					"publishedBy": {
  1317  						SchemaProps: spec.SchemaProps{
  1318  							Description: "PublishedBy is the identity of the user who approved the packagerevision.",
  1319  							Type:        []string{"string"},
  1320  							Format:      "",
  1321  						},
  1322  					},
  1323  					"publishTimestamp": {
  1324  						SchemaProps: spec.SchemaProps{
  1325  							Description: "PublishedAt is the time when the packagerevision were approved.",
  1326  							Default:     map[string]interface{}{},
  1327  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1328  						},
  1329  					},
  1330  					"deployment": {
  1331  						SchemaProps: spec.SchemaProps{
  1332  							Description: "Deployment is true if this is a deployment package (in a deployment repository).",
  1333  							Type:        []string{"boolean"},
  1334  							Format:      "",
  1335  						},
  1336  					},
  1337  					"conditions": {
  1338  						SchemaProps: spec.SchemaProps{
  1339  							Type: []string{"array"},
  1340  							Items: &spec.SchemaOrArray{
  1341  								Schema: &spec.Schema{
  1342  									SchemaProps: spec.SchemaProps{
  1343  										Default: map[string]interface{}{},
  1344  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Condition"),
  1345  									},
  1346  								},
  1347  							},
  1348  						},
  1349  					},
  1350  				},
  1351  			},
  1352  		},
  1353  		Dependencies: []string{
  1354  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Condition", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamLock", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  1355  	}
  1356  }
  1357  
  1358  func schema_porch_api_porch_v1alpha1_PackageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1359  	return common.OpenAPIDefinition{
  1360  		Schema: spec.Schema{
  1361  			SchemaProps: spec.SchemaProps{
  1362  				Description: "PackageSpec defines the desired state of Package",
  1363  				Type:        []string{"object"},
  1364  				Properties: map[string]spec.Schema{
  1365  					"packageName": {
  1366  						SchemaProps: spec.SchemaProps{
  1367  							Description: "PackageName identifies the package in the repository.",
  1368  							Type:        []string{"string"},
  1369  							Format:      "",
  1370  						},
  1371  					},
  1372  					"repository": {
  1373  						SchemaProps: spec.SchemaProps{
  1374  							Description: "RepositoryName is the name of the Repository object containing this package.",
  1375  							Type:        []string{"string"},
  1376  							Format:      "",
  1377  						},
  1378  					},
  1379  				},
  1380  			},
  1381  		},
  1382  	}
  1383  }
  1384  
  1385  func schema_porch_api_porch_v1alpha1_PackageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1386  	return common.OpenAPIDefinition{
  1387  		Schema: spec.Schema{
  1388  			SchemaProps: spec.SchemaProps{
  1389  				Description: "PackageStatus defines the observed state of Package",
  1390  				Type:        []string{"object"},
  1391  				Properties: map[string]spec.Schema{
  1392  					"latestRevision": {
  1393  						SchemaProps: spec.SchemaProps{
  1394  							Description: "LatestRevision identifies the package revision that is the latest published package revision belonging to this package",
  1395  							Type:        []string{"string"},
  1396  							Format:      "",
  1397  						},
  1398  					},
  1399  				},
  1400  			},
  1401  		},
  1402  	}
  1403  }
  1404  
  1405  func schema_porch_api_porch_v1alpha1_PackageUpdateTaskSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1406  	return common.OpenAPIDefinition{
  1407  		Schema: spec.Schema{
  1408  			SchemaProps: spec.SchemaProps{
  1409  				Type: []string{"object"},
  1410  				Properties: map[string]spec.Schema{
  1411  					"upstreamRef": {
  1412  						SchemaProps: spec.SchemaProps{
  1413  							Description: "`Upstream` is the reference to the upstream package.",
  1414  							Default:     map[string]interface{}{},
  1415  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamPackage"),
  1416  						},
  1417  					},
  1418  				},
  1419  			},
  1420  		},
  1421  		Dependencies: []string{
  1422  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.UpstreamPackage"},
  1423  	}
  1424  }
  1425  
  1426  func schema_porch_api_porch_v1alpha1_ParentReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1427  	return common.OpenAPIDefinition{
  1428  		Schema: spec.Schema{
  1429  			SchemaProps: spec.SchemaProps{
  1430  				Description: "ParentReference is a reference to a parent package",
  1431  				Type:        []string{"object"},
  1432  				Properties: map[string]spec.Schema{
  1433  					"name": {
  1434  						SchemaProps: spec.SchemaProps{
  1435  							Description: "Name is the name of the parent PackageRevision",
  1436  							Default:     "",
  1437  							Type:        []string{"string"},
  1438  							Format:      "",
  1439  						},
  1440  					},
  1441  				},
  1442  				Required: []string{"name"},
  1443  			},
  1444  		},
  1445  	}
  1446  }
  1447  
  1448  func schema_porch_api_porch_v1alpha1_PatchSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1449  	return common.OpenAPIDefinition{
  1450  		Schema: spec.Schema{
  1451  			SchemaProps: spec.SchemaProps{
  1452  				Type: []string{"object"},
  1453  				Properties: map[string]spec.Schema{
  1454  					"file": {
  1455  						SchemaProps: spec.SchemaProps{
  1456  							Type:   []string{"string"},
  1457  							Format: "",
  1458  						},
  1459  					},
  1460  					"contents": {
  1461  						SchemaProps: spec.SchemaProps{
  1462  							Type:   []string{"string"},
  1463  							Format: "",
  1464  						},
  1465  					},
  1466  					"patchType": {
  1467  						SchemaProps: spec.SchemaProps{
  1468  							Type:   []string{"string"},
  1469  							Format: "",
  1470  						},
  1471  					},
  1472  				},
  1473  			},
  1474  		},
  1475  	}
  1476  }
  1477  
  1478  func schema_porch_api_porch_v1alpha1_ReadinessGate(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1479  	return common.OpenAPIDefinition{
  1480  		Schema: spec.Schema{
  1481  			SchemaProps: spec.SchemaProps{
  1482  				Type: []string{"object"},
  1483  				Properties: map[string]spec.Schema{
  1484  					"conditionType": {
  1485  						SchemaProps: spec.SchemaProps{
  1486  							Type:   []string{"string"},
  1487  							Format: "",
  1488  						},
  1489  					},
  1490  				},
  1491  			},
  1492  		},
  1493  	}
  1494  }
  1495  
  1496  func schema_porch_api_porch_v1alpha1_RenderStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1497  	return common.OpenAPIDefinition{
  1498  		Schema: spec.Schema{
  1499  			SchemaProps: spec.SchemaProps{
  1500  				Description: "RenderStatus represents the result of performing render operation on a package resources.",
  1501  				Type:        []string{"object"},
  1502  				Properties: map[string]spec.Schema{
  1503  					"result": {
  1504  						SchemaProps: spec.SchemaProps{
  1505  							Default: map[string]interface{}{},
  1506  							Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultList"),
  1507  						},
  1508  					},
  1509  					"error": {
  1510  						SchemaProps: spec.SchemaProps{
  1511  							Default: "",
  1512  							Type:    []string{"string"},
  1513  							Format:  "",
  1514  						},
  1515  					},
  1516  				},
  1517  				Required: []string{"error"},
  1518  			},
  1519  		},
  1520  		Dependencies: []string{
  1521  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultList"},
  1522  	}
  1523  }
  1524  
  1525  func schema_porch_api_porch_v1alpha1_RepositoryRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1526  	return common.OpenAPIDefinition{
  1527  		Schema: spec.Schema{
  1528  			SchemaProps: spec.SchemaProps{
  1529  				Description: "RepositoryRef identifies a reference to a Repository resource.",
  1530  				Type:        []string{"object"},
  1531  				Properties: map[string]spec.Schema{
  1532  					"name": {
  1533  						SchemaProps: spec.SchemaProps{
  1534  							Description: "Name of the Repository resource referenced.",
  1535  							Default:     "",
  1536  							Type:        []string{"string"},
  1537  							Format:      "",
  1538  						},
  1539  					},
  1540  				},
  1541  				Required: []string{"name"},
  1542  			},
  1543  		},
  1544  	}
  1545  }
  1546  
  1547  func schema_porch_api_porch_v1alpha1_ResourceIdentifier(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1548  	return common.OpenAPIDefinition{
  1549  		Schema: spec.Schema{
  1550  			SchemaProps: spec.SchemaProps{
  1551  				Description: "ResourceIdentifier contains the information needed to uniquely identify a resource in a cluster.",
  1552  				Type:        []string{"object"},
  1553  				Properties: map[string]spec.Schema{
  1554  					"kind": {
  1555  						SchemaProps: spec.SchemaProps{
  1556  							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",
  1557  							Type:        []string{"string"},
  1558  							Format:      "",
  1559  						},
  1560  					},
  1561  					"apiVersion": {
  1562  						SchemaProps: spec.SchemaProps{
  1563  							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",
  1564  							Type:        []string{"string"},
  1565  							Format:      "",
  1566  						},
  1567  					},
  1568  					"name": {
  1569  						SchemaProps: spec.SchemaProps{
  1570  							Description: "Name is the metadata.name field of a Resource",
  1571  							Type:        []string{"string"},
  1572  							Format:      "",
  1573  						},
  1574  					},
  1575  					"namespace": {
  1576  						SchemaProps: spec.SchemaProps{
  1577  							Description: "Namespace is the metadata.namespace field of a Resource",
  1578  							Type:        []string{"string"},
  1579  							Format:      "",
  1580  						},
  1581  					},
  1582  				},
  1583  			},
  1584  		},
  1585  	}
  1586  }
  1587  
  1588  func schema_porch_api_porch_v1alpha1_Result(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1589  	return common.OpenAPIDefinition{
  1590  		Schema: spec.Schema{
  1591  			SchemaProps: spec.SchemaProps{
  1592  				Description: "Result contains the structured result from an individual function",
  1593  				Type:        []string{"object"},
  1594  				Properties: map[string]spec.Schema{
  1595  					"image": {
  1596  						SchemaProps: spec.SchemaProps{
  1597  							Description: "Image is the full name of the image that generates this result Image and Exec are mutually exclusive",
  1598  							Type:        []string{"string"},
  1599  							Format:      "",
  1600  						},
  1601  					},
  1602  					"exec": {
  1603  						SchemaProps: spec.SchemaProps{
  1604  							Description: "ExecPath is the the absolute os-specific path to the executable file If user provides an executable file with commands, ExecPath should contain the entire input string.",
  1605  							Type:        []string{"string"},
  1606  							Format:      "",
  1607  						},
  1608  					},
  1609  					"stderr": {
  1610  						SchemaProps: spec.SchemaProps{
  1611  							Description: "Enable this once test harness supports filepath based assertions. Pkg is OS specific Absolute path to the package. Pkg string `yaml:\"pkg,omitempty\"` Stderr is the content in function stderr",
  1612  							Type:        []string{"string"},
  1613  							Format:      "",
  1614  						},
  1615  					},
  1616  					"exitCode": {
  1617  						SchemaProps: spec.SchemaProps{
  1618  							Description: "ExitCode is the exit code from running the function",
  1619  							Default:     0,
  1620  							Type:        []string{"integer"},
  1621  							Format:      "int32",
  1622  						},
  1623  					},
  1624  					"results": {
  1625  						SchemaProps: spec.SchemaProps{
  1626  							Description: "Results is the list of results for the function",
  1627  							Type:        []string{"array"},
  1628  							Items: &spec.SchemaOrArray{
  1629  								Schema: &spec.Schema{
  1630  									SchemaProps: spec.SchemaProps{
  1631  										Default: map[string]interface{}{},
  1632  										Ref:     ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultItem"),
  1633  									},
  1634  								},
  1635  							},
  1636  						},
  1637  					},
  1638  				},
  1639  				Required: []string{"exitCode"},
  1640  			},
  1641  		},
  1642  		Dependencies: []string{
  1643  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResultItem"},
  1644  	}
  1645  }
  1646  
  1647  func schema_porch_api_porch_v1alpha1_ResultItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1648  	return common.OpenAPIDefinition{
  1649  		Schema: spec.Schema{
  1650  			SchemaProps: spec.SchemaProps{
  1651  				Description: "ResultItem defines a validation result",
  1652  				Type:        []string{"object"},
  1653  				Properties: map[string]spec.Schema{
  1654  					"message": {
  1655  						SchemaProps: spec.SchemaProps{
  1656  							Description: "Message is a human readable message. This field is required.",
  1657  							Type:        []string{"string"},
  1658  							Format:      "",
  1659  						},
  1660  					},
  1661  					"severity": {
  1662  						SchemaProps: spec.SchemaProps{
  1663  							Description: "Severity is the severity of this result",
  1664  							Type:        []string{"string"},
  1665  							Format:      "",
  1666  						},
  1667  					},
  1668  					"resourceRef": {
  1669  						SchemaProps: spec.SchemaProps{
  1670  							Description: "ResourceRef is a reference to a resource. Required fields: apiVersion, kind, name.",
  1671  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResourceIdentifier"),
  1672  						},
  1673  					},
  1674  					"field": {
  1675  						SchemaProps: spec.SchemaProps{
  1676  							Description: "Field is a reference to the field in a resource this result refers to",
  1677  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Field"),
  1678  						},
  1679  					},
  1680  					"file": {
  1681  						SchemaProps: spec.SchemaProps{
  1682  							Description: "File references a file containing the resource this result refers to",
  1683  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.File"),
  1684  						},
  1685  					},
  1686  					"tags": {
  1687  						SchemaProps: spec.SchemaProps{
  1688  							Description: "Tags is an unstructured key value map stored with a result that may be set by external tools to store and retrieve arbitrary metadata",
  1689  							Type:        []string{"object"},
  1690  							AdditionalProperties: &spec.SchemaOrBool{
  1691  								Allows: true,
  1692  								Schema: &spec.Schema{
  1693  									SchemaProps: spec.SchemaProps{
  1694  										Default: "",
  1695  										Type:    []string{"string"},
  1696  										Format:  "",
  1697  									},
  1698  								},
  1699  							},
  1700  						},
  1701  					},
  1702  				},
  1703  			},
  1704  		},
  1705  		Dependencies: []string{
  1706  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Field", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.File", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.ResourceIdentifier"},
  1707  	}
  1708  }
  1709  
  1710  func schema_porch_api_porch_v1alpha1_ResultList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1711  	return common.OpenAPIDefinition{
  1712  		Schema: spec.Schema{
  1713  			SchemaProps: spec.SchemaProps{
  1714  				Description: "ResultList contains aggregated results from multiple functions",
  1715  				Type:        []string{"object"},
  1716  				Properties: map[string]spec.Schema{
  1717  					"kind": {
  1718  						SchemaProps: spec.SchemaProps{
  1719  							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",
  1720  							Type:        []string{"string"},
  1721  							Format:      "",
  1722  						},
  1723  					},
  1724  					"apiVersion": {
  1725  						SchemaProps: spec.SchemaProps{
  1726  							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",
  1727  							Type:        []string{"string"},
  1728  							Format:      "",
  1729  						},
  1730  					},
  1731  					"metadata": {
  1732  						SchemaProps: spec.SchemaProps{
  1733  							Default: map[string]interface{}{},
  1734  							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1735  						},
  1736  					},
  1737  					"exitCode": {
  1738  						SchemaProps: spec.SchemaProps{
  1739  							Description: "ExitCode is the exit code of kpt command",
  1740  							Default:     0,
  1741  							Type:        []string{"integer"},
  1742  							Format:      "int32",
  1743  						},
  1744  					},
  1745  					"items": {
  1746  						SchemaProps: spec.SchemaProps{
  1747  							Description: "Items contain a list of function result",
  1748  							Type:        []string{"array"},
  1749  							Items: &spec.SchemaOrArray{
  1750  								Schema: &spec.Schema{
  1751  									SchemaProps: spec.SchemaProps{
  1752  										Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Result"),
  1753  									},
  1754  								},
  1755  							},
  1756  						},
  1757  					},
  1758  				},
  1759  				Required: []string{"exitCode"},
  1760  			},
  1761  		},
  1762  		Dependencies: []string{
  1763  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Result", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1764  	}
  1765  }
  1766  
  1767  func schema_porch_api_porch_v1alpha1_SecretRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1768  	return common.OpenAPIDefinition{
  1769  		Schema: spec.Schema{
  1770  			SchemaProps: spec.SchemaProps{
  1771  				Type: []string{"object"},
  1772  				Properties: map[string]spec.Schema{
  1773  					"name": {
  1774  						SchemaProps: spec.SchemaProps{
  1775  							Description: "Name of the secret. The secret is expected to be located in the same namespace as the resource containing the reference.",
  1776  							Default:     "",
  1777  							Type:        []string{"string"},
  1778  							Format:      "",
  1779  						},
  1780  					},
  1781  				},
  1782  				Required: []string{"name"},
  1783  			},
  1784  		},
  1785  	}
  1786  }
  1787  
  1788  func schema_porch_api_porch_v1alpha1_Selector(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1789  	return common.OpenAPIDefinition{
  1790  		Schema: spec.Schema{
  1791  			SchemaProps: spec.SchemaProps{
  1792  				Description: "Selector corresponds to the `--match-???` set of flags of the `kpt fn eval` command: See https://kpt.dev/reference/cli/fn/eval/ for additional information.",
  1793  				Type:        []string{"object"},
  1794  				Properties: map[string]spec.Schema{
  1795  					"apiVersion": {
  1796  						SchemaProps: spec.SchemaProps{
  1797  							Description: "APIVersion of the target resources",
  1798  							Type:        []string{"string"},
  1799  							Format:      "",
  1800  						},
  1801  					},
  1802  					"kind": {
  1803  						SchemaProps: spec.SchemaProps{
  1804  							Description: "Kind of the target resources",
  1805  							Type:        []string{"string"},
  1806  							Format:      "",
  1807  						},
  1808  					},
  1809  					"name": {
  1810  						SchemaProps: spec.SchemaProps{
  1811  							Description: "Name of the target resources",
  1812  							Type:        []string{"string"},
  1813  							Format:      "",
  1814  						},
  1815  					},
  1816  					"namespace": {
  1817  						SchemaProps: spec.SchemaProps{
  1818  							Description: "Namespace of the target resources",
  1819  							Type:        []string{"string"},
  1820  							Format:      "",
  1821  						},
  1822  					},
  1823  				},
  1824  			},
  1825  		},
  1826  	}
  1827  }
  1828  
  1829  func schema_porch_api_porch_v1alpha1_Task(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1830  	return common.OpenAPIDefinition{
  1831  		Schema: spec.Schema{
  1832  			SchemaProps: spec.SchemaProps{
  1833  				Type: []string{"object"},
  1834  				Properties: map[string]spec.Schema{
  1835  					"type": {
  1836  						SchemaProps: spec.SchemaProps{
  1837  							Default: "",
  1838  							Type:    []string{"string"},
  1839  							Format:  "",
  1840  						},
  1841  					},
  1842  					"init": {
  1843  						SchemaProps: spec.SchemaProps{
  1844  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageInitTaskSpec"),
  1845  						},
  1846  					},
  1847  					"clone": {
  1848  						SchemaProps: spec.SchemaProps{
  1849  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageCloneTaskSpec"),
  1850  						},
  1851  					},
  1852  					"patch": {
  1853  						SchemaProps: spec.SchemaProps{
  1854  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackagePatchTaskSpec"),
  1855  						},
  1856  					},
  1857  					"edit": {
  1858  						SchemaProps: spec.SchemaProps{
  1859  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageEditTaskSpec"),
  1860  						},
  1861  					},
  1862  					"eval": {
  1863  						SchemaProps: spec.SchemaProps{
  1864  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionEvalTaskSpec"),
  1865  						},
  1866  					},
  1867  					"update": {
  1868  						SchemaProps: spec.SchemaProps{
  1869  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageUpdateTaskSpec"),
  1870  						},
  1871  					},
  1872  				},
  1873  				Required: []string{"type"},
  1874  			},
  1875  		},
  1876  		Dependencies: []string{
  1877  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.FunctionEvalTaskSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageCloneTaskSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageEditTaskSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageInitTaskSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackagePatchTaskSpec", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageUpdateTaskSpec"},
  1878  	}
  1879  }
  1880  
  1881  func schema_porch_api_porch_v1alpha1_TaskResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1882  	return common.OpenAPIDefinition{
  1883  		Schema: spec.Schema{
  1884  			SchemaProps: spec.SchemaProps{
  1885  				Type: []string{"object"},
  1886  				Properties: map[string]spec.Schema{
  1887  					"task": {
  1888  						SchemaProps: spec.SchemaProps{
  1889  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Task"),
  1890  						},
  1891  					},
  1892  					"renderStatus": {
  1893  						SchemaProps: spec.SchemaProps{
  1894  							Ref: ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RenderStatus"),
  1895  						},
  1896  					},
  1897  				},
  1898  				Required: []string{"task"},
  1899  			},
  1900  		},
  1901  		Dependencies: []string{
  1902  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.RenderStatus", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.Task"},
  1903  	}
  1904  }
  1905  
  1906  func schema_porch_api_porch_v1alpha1_UpstreamLock(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1907  	return common.OpenAPIDefinition{
  1908  		Schema: spec.Schema{
  1909  			SchemaProps: spec.SchemaProps{
  1910  				Description: "UpstreamLock is a resolved locator for the last fetch of the package.",
  1911  				Type:        []string{"object"},
  1912  				Properties: map[string]spec.Schema{
  1913  					"type": {
  1914  						SchemaProps: spec.SchemaProps{
  1915  							Description: "Type is the type of origin.",
  1916  							Type:        []string{"string"},
  1917  							Format:      "",
  1918  						},
  1919  					},
  1920  					"git": {
  1921  						SchemaProps: spec.SchemaProps{
  1922  							Description: "Git is the resolved locator for a package on Git.",
  1923  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitLock"),
  1924  						},
  1925  					},
  1926  				},
  1927  			},
  1928  		},
  1929  		Dependencies: []string{
  1930  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitLock"},
  1931  	}
  1932  }
  1933  
  1934  func schema_porch_api_porch_v1alpha1_UpstreamPackage(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1935  	return common.OpenAPIDefinition{
  1936  		Schema: spec.Schema{
  1937  			SchemaProps: spec.SchemaProps{
  1938  				Description: "UpstreamRepository repository may be specified directly or by referencing another Repository resource.",
  1939  				Type:        []string{"object"},
  1940  				Properties: map[string]spec.Schema{
  1941  					"type": {
  1942  						SchemaProps: spec.SchemaProps{
  1943  							Description: "Type of the repository (i.e. git, OCI). If empty, `upstreamRef` will be used.",
  1944  							Type:        []string{"string"},
  1945  							Format:      "",
  1946  						},
  1947  					},
  1948  					"git": {
  1949  						SchemaProps: spec.SchemaProps{
  1950  							Description: "Git upstream package specification. Required if `type` is `git`. Must be unspecified if `type` is not `git`.",
  1951  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitPackage"),
  1952  						},
  1953  					},
  1954  					"oci": {
  1955  						SchemaProps: spec.SchemaProps{
  1956  							Description: "OCI upstream package specification. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`.",
  1957  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.OciPackage"),
  1958  						},
  1959  					},
  1960  					"upstreamRef": {
  1961  						SchemaProps: spec.SchemaProps{
  1962  							Description: "UpstreamRef is the reference to the package from a registered repository rather than external package.",
  1963  							Ref:         ref("github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionRef"),
  1964  						},
  1965  					},
  1966  				},
  1967  			},
  1968  		},
  1969  		Dependencies: []string{
  1970  			"github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.GitPackage", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.OciPackage", "github.com/GoogleContainerTools/kpt/porch/api/porch/v1alpha1.PackageRevisionRef"},
  1971  	}
  1972  }
  1973  
  1974  func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1975  	return common.OpenAPIDefinition{
  1976  		Schema: spec.Schema{
  1977  			SchemaProps: spec.SchemaProps{
  1978  				Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.",
  1979  				Type:        []string{"object"},
  1980  				Properties: map[string]spec.Schema{
  1981  					"kind": {
  1982  						SchemaProps: spec.SchemaProps{
  1983  							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",
  1984  							Type:        []string{"string"},
  1985  							Format:      "",
  1986  						},
  1987  					},
  1988  					"apiVersion": {
  1989  						SchemaProps: spec.SchemaProps{
  1990  							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",
  1991  							Type:        []string{"string"},
  1992  							Format:      "",
  1993  						},
  1994  					},
  1995  					"name": {
  1996  						SchemaProps: spec.SchemaProps{
  1997  							Description: "name is the name of the group.",
  1998  							Default:     "",
  1999  							Type:        []string{"string"},
  2000  							Format:      "",
  2001  						},
  2002  					},
  2003  					"versions": {
  2004  						SchemaProps: spec.SchemaProps{
  2005  							Description: "versions are the versions supported in this group.",
  2006  							Type:        []string{"array"},
  2007  							Items: &spec.SchemaOrArray{
  2008  								Schema: &spec.Schema{
  2009  									SchemaProps: spec.SchemaProps{
  2010  										Default: map[string]interface{}{},
  2011  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
  2012  									},
  2013  								},
  2014  							},
  2015  						},
  2016  					},
  2017  					"preferredVersion": {
  2018  						SchemaProps: spec.SchemaProps{
  2019  							Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.",
  2020  							Default:     map[string]interface{}{},
  2021  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"),
  2022  						},
  2023  					},
  2024  					"serverAddressByClientCIDRs": {
  2025  						SchemaProps: spec.SchemaProps{
  2026  							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.",
  2027  							Type:        []string{"array"},
  2028  							Items: &spec.SchemaOrArray{
  2029  								Schema: &spec.Schema{
  2030  									SchemaProps: spec.SchemaProps{
  2031  										Default: map[string]interface{}{},
  2032  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
  2033  									},
  2034  								},
  2035  							},
  2036  						},
  2037  					},
  2038  				},
  2039  				Required: []string{"name", "versions"},
  2040  			},
  2041  		},
  2042  		Dependencies: []string{
  2043  			"k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
  2044  	}
  2045  }
  2046  
  2047  func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2048  	return common.OpenAPIDefinition{
  2049  		Schema: spec.Schema{
  2050  			SchemaProps: spec.SchemaProps{
  2051  				Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
  2052  				Type:        []string{"object"},
  2053  				Properties: map[string]spec.Schema{
  2054  					"kind": {
  2055  						SchemaProps: spec.SchemaProps{
  2056  							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",
  2057  							Type:        []string{"string"},
  2058  							Format:      "",
  2059  						},
  2060  					},
  2061  					"apiVersion": {
  2062  						SchemaProps: spec.SchemaProps{
  2063  							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",
  2064  							Type:        []string{"string"},
  2065  							Format:      "",
  2066  						},
  2067  					},
  2068  					"groups": {
  2069  						SchemaProps: spec.SchemaProps{
  2070  							Description: "groups is a list of APIGroup.",
  2071  							Type:        []string{"array"},
  2072  							Items: &spec.SchemaOrArray{
  2073  								Schema: &spec.Schema{
  2074  									SchemaProps: spec.SchemaProps{
  2075  										Default: map[string]interface{}{},
  2076  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"),
  2077  									},
  2078  								},
  2079  							},
  2080  						},
  2081  					},
  2082  				},
  2083  				Required: []string{"groups"},
  2084  			},
  2085  		},
  2086  		Dependencies: []string{
  2087  			"k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"},
  2088  	}
  2089  }
  2090  
  2091  func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2092  	return common.OpenAPIDefinition{
  2093  		Schema: spec.Schema{
  2094  			SchemaProps: spec.SchemaProps{
  2095  				Description: "APIResource specifies the name of a resource and whether it is namespaced.",
  2096  				Type:        []string{"object"},
  2097  				Properties: map[string]spec.Schema{
  2098  					"name": {
  2099  						SchemaProps: spec.SchemaProps{
  2100  							Description: "name is the plural name of the resource.",
  2101  							Default:     "",
  2102  							Type:        []string{"string"},
  2103  							Format:      "",
  2104  						},
  2105  					},
  2106  					"singularName": {
  2107  						SchemaProps: spec.SchemaProps{
  2108  							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.",
  2109  							Default:     "",
  2110  							Type:        []string{"string"},
  2111  							Format:      "",
  2112  						},
  2113  					},
  2114  					"namespaced": {
  2115  						SchemaProps: spec.SchemaProps{
  2116  							Description: "namespaced indicates if a resource is namespaced or not.",
  2117  							Default:     false,
  2118  							Type:        []string{"boolean"},
  2119  							Format:      "",
  2120  						},
  2121  					},
  2122  					"group": {
  2123  						SchemaProps: spec.SchemaProps{
  2124  							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\".",
  2125  							Type:        []string{"string"},
  2126  							Format:      "",
  2127  						},
  2128  					},
  2129  					"version": {
  2130  						SchemaProps: spec.SchemaProps{
  2131  							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)\".",
  2132  							Type:        []string{"string"},
  2133  							Format:      "",
  2134  						},
  2135  					},
  2136  					"kind": {
  2137  						SchemaProps: spec.SchemaProps{
  2138  							Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
  2139  							Default:     "",
  2140  							Type:        []string{"string"},
  2141  							Format:      "",
  2142  						},
  2143  					},
  2144  					"verbs": {
  2145  						SchemaProps: spec.SchemaProps{
  2146  							Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
  2147  							Type:        []string{"array"},
  2148  							Items: &spec.SchemaOrArray{
  2149  								Schema: &spec.Schema{
  2150  									SchemaProps: spec.SchemaProps{
  2151  										Default: "",
  2152  										Type:    []string{"string"},
  2153  										Format:  "",
  2154  									},
  2155  								},
  2156  							},
  2157  						},
  2158  					},
  2159  					"shortNames": {
  2160  						SchemaProps: spec.SchemaProps{
  2161  							Description: "shortNames is a list of suggested short names of the resource.",
  2162  							Type:        []string{"array"},
  2163  							Items: &spec.SchemaOrArray{
  2164  								Schema: &spec.Schema{
  2165  									SchemaProps: spec.SchemaProps{
  2166  										Default: "",
  2167  										Type:    []string{"string"},
  2168  										Format:  "",
  2169  									},
  2170  								},
  2171  							},
  2172  						},
  2173  					},
  2174  					"categories": {
  2175  						SchemaProps: spec.SchemaProps{
  2176  							Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
  2177  							Type:        []string{"array"},
  2178  							Items: &spec.SchemaOrArray{
  2179  								Schema: &spec.Schema{
  2180  									SchemaProps: spec.SchemaProps{
  2181  										Default: "",
  2182  										Type:    []string{"string"},
  2183  										Format:  "",
  2184  									},
  2185  								},
  2186  							},
  2187  						},
  2188  					},
  2189  					"storageVersionHash": {
  2190  						SchemaProps: spec.SchemaProps{
  2191  							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.",
  2192  							Type:        []string{"string"},
  2193  							Format:      "",
  2194  						},
  2195  					},
  2196  				},
  2197  				Required: []string{"name", "singularName", "namespaced", "kind", "verbs"},
  2198  			},
  2199  		},
  2200  	}
  2201  }
  2202  
  2203  func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2204  	return common.OpenAPIDefinition{
  2205  		Schema: spec.Schema{
  2206  			SchemaProps: spec.SchemaProps{
  2207  				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.",
  2208  				Type:        []string{"object"},
  2209  				Properties: map[string]spec.Schema{
  2210  					"kind": {
  2211  						SchemaProps: spec.SchemaProps{
  2212  							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",
  2213  							Type:        []string{"string"},
  2214  							Format:      "",
  2215  						},
  2216  					},
  2217  					"apiVersion": {
  2218  						SchemaProps: spec.SchemaProps{
  2219  							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",
  2220  							Type:        []string{"string"},
  2221  							Format:      "",
  2222  						},
  2223  					},
  2224  					"groupVersion": {
  2225  						SchemaProps: spec.SchemaProps{
  2226  							Description: "groupVersion is the group and version this APIResourceList is for.",
  2227  							Default:     "",
  2228  							Type:        []string{"string"},
  2229  							Format:      "",
  2230  						},
  2231  					},
  2232  					"resources": {
  2233  						SchemaProps: spec.SchemaProps{
  2234  							Description: "resources contains the name of the resources and if they are namespaced.",
  2235  							Type:        []string{"array"},
  2236  							Items: &spec.SchemaOrArray{
  2237  								Schema: &spec.Schema{
  2238  									SchemaProps: spec.SchemaProps{
  2239  										Default: map[string]interface{}{},
  2240  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"),
  2241  									},
  2242  								},
  2243  							},
  2244  						},
  2245  					},
  2246  				},
  2247  				Required: []string{"groupVersion", "resources"},
  2248  			},
  2249  		},
  2250  		Dependencies: []string{
  2251  			"k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"},
  2252  	}
  2253  }
  2254  
  2255  func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2256  	return common.OpenAPIDefinition{
  2257  		Schema: spec.Schema{
  2258  			SchemaProps: spec.SchemaProps{
  2259  				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.",
  2260  				Type:        []string{"object"},
  2261  				Properties: map[string]spec.Schema{
  2262  					"kind": {
  2263  						SchemaProps: spec.SchemaProps{
  2264  							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",
  2265  							Type:        []string{"string"},
  2266  							Format:      "",
  2267  						},
  2268  					},
  2269  					"apiVersion": {
  2270  						SchemaProps: spec.SchemaProps{
  2271  							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",
  2272  							Type:        []string{"string"},
  2273  							Format:      "",
  2274  						},
  2275  					},
  2276  					"versions": {
  2277  						SchemaProps: spec.SchemaProps{
  2278  							Description: "versions are the api versions that are available.",
  2279  							Type:        []string{"array"},
  2280  							Items: &spec.SchemaOrArray{
  2281  								Schema: &spec.Schema{
  2282  									SchemaProps: spec.SchemaProps{
  2283  										Default: "",
  2284  										Type:    []string{"string"},
  2285  										Format:  "",
  2286  									},
  2287  								},
  2288  							},
  2289  						},
  2290  					},
  2291  					"serverAddressByClientCIDRs": {
  2292  						SchemaProps: spec.SchemaProps{
  2293  							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.",
  2294  							Type:        []string{"array"},
  2295  							Items: &spec.SchemaOrArray{
  2296  								Schema: &spec.Schema{
  2297  									SchemaProps: spec.SchemaProps{
  2298  										Default: map[string]interface{}{},
  2299  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"),
  2300  									},
  2301  								},
  2302  							},
  2303  						},
  2304  					},
  2305  				},
  2306  				Required: []string{"versions", "serverAddressByClientCIDRs"},
  2307  			},
  2308  		},
  2309  		Dependencies: []string{
  2310  			"k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"},
  2311  	}
  2312  }
  2313  
  2314  func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2315  	return common.OpenAPIDefinition{
  2316  		Schema: spec.Schema{
  2317  			SchemaProps: spec.SchemaProps{
  2318  				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.",
  2319  				Type:        []string{"object"},
  2320  				Properties: map[string]spec.Schema{
  2321  					"kind": {
  2322  						SchemaProps: spec.SchemaProps{
  2323  							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",
  2324  							Type:        []string{"string"},
  2325  							Format:      "",
  2326  						},
  2327  					},
  2328  					"apiVersion": {
  2329  						SchemaProps: spec.SchemaProps{
  2330  							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",
  2331  							Type:        []string{"string"},
  2332  							Format:      "",
  2333  						},
  2334  					},
  2335  					"dryRun": {
  2336  						SchemaProps: spec.SchemaProps{
  2337  							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",
  2338  							Type:        []string{"array"},
  2339  							Items: &spec.SchemaOrArray{
  2340  								Schema: &spec.Schema{
  2341  									SchemaProps: spec.SchemaProps{
  2342  										Default: "",
  2343  										Type:    []string{"string"},
  2344  										Format:  "",
  2345  									},
  2346  								},
  2347  							},
  2348  						},
  2349  					},
  2350  					"force": {
  2351  						SchemaProps: spec.SchemaProps{
  2352  							Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.",
  2353  							Default:     false,
  2354  							Type:        []string{"boolean"},
  2355  							Format:      "",
  2356  						},
  2357  					},
  2358  					"fieldManager": {
  2359  						SchemaProps: spec.SchemaProps{
  2360  							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.",
  2361  							Default:     "",
  2362  							Type:        []string{"string"},
  2363  							Format:      "",
  2364  						},
  2365  					},
  2366  				},
  2367  				Required: []string{"force", "fieldManager"},
  2368  			},
  2369  		},
  2370  	}
  2371  }
  2372  
  2373  func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2374  	return common.OpenAPIDefinition{
  2375  		Schema: spec.Schema{
  2376  			SchemaProps: spec.SchemaProps{
  2377  				Description: "Condition contains details for one aspect of the current state of this API Resource.",
  2378  				Type:        []string{"object"},
  2379  				Properties: map[string]spec.Schema{
  2380  					"type": {
  2381  						SchemaProps: spec.SchemaProps{
  2382  							Description: "type of condition in CamelCase or in foo.example.com/CamelCase.",
  2383  							Default:     "",
  2384  							Type:        []string{"string"},
  2385  							Format:      "",
  2386  						},
  2387  					},
  2388  					"status": {
  2389  						SchemaProps: spec.SchemaProps{
  2390  							Description: "status of the condition, one of True, False, Unknown.",
  2391  							Default:     "",
  2392  							Type:        []string{"string"},
  2393  							Format:      "",
  2394  						},
  2395  					},
  2396  					"observedGeneration": {
  2397  						SchemaProps: spec.SchemaProps{
  2398  							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.",
  2399  							Type:        []string{"integer"},
  2400  							Format:      "int64",
  2401  						},
  2402  					},
  2403  					"lastTransitionTime": {
  2404  						SchemaProps: spec.SchemaProps{
  2405  							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.",
  2406  							Default:     map[string]interface{}{},
  2407  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  2408  						},
  2409  					},
  2410  					"reason": {
  2411  						SchemaProps: spec.SchemaProps{
  2412  							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.",
  2413  							Default:     "",
  2414  							Type:        []string{"string"},
  2415  							Format:      "",
  2416  						},
  2417  					},
  2418  					"message": {
  2419  						SchemaProps: spec.SchemaProps{
  2420  							Description: "message is a human readable message indicating details about the transition. This may be an empty string.",
  2421  							Default:     "",
  2422  							Type:        []string{"string"},
  2423  							Format:      "",
  2424  						},
  2425  					},
  2426  				},
  2427  				Required: []string{"type", "status", "lastTransitionTime", "reason", "message"},
  2428  			},
  2429  		},
  2430  		Dependencies: []string{
  2431  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  2432  	}
  2433  }
  2434  
  2435  func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2436  	return common.OpenAPIDefinition{
  2437  		Schema: spec.Schema{
  2438  			SchemaProps: spec.SchemaProps{
  2439  				Description: "CreateOptions may be provided when creating an API object.",
  2440  				Type:        []string{"object"},
  2441  				Properties: map[string]spec.Schema{
  2442  					"kind": {
  2443  						SchemaProps: spec.SchemaProps{
  2444  							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",
  2445  							Type:        []string{"string"},
  2446  							Format:      "",
  2447  						},
  2448  					},
  2449  					"apiVersion": {
  2450  						SchemaProps: spec.SchemaProps{
  2451  							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",
  2452  							Type:        []string{"string"},
  2453  							Format:      "",
  2454  						},
  2455  					},
  2456  					"dryRun": {
  2457  						SchemaProps: spec.SchemaProps{
  2458  							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",
  2459  							Type:        []string{"array"},
  2460  							Items: &spec.SchemaOrArray{
  2461  								Schema: &spec.Schema{
  2462  									SchemaProps: spec.SchemaProps{
  2463  										Default: "",
  2464  										Type:    []string{"string"},
  2465  										Format:  "",
  2466  									},
  2467  								},
  2468  							},
  2469  						},
  2470  					},
  2471  					"fieldManager": {
  2472  						SchemaProps: spec.SchemaProps{
  2473  							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.",
  2474  							Type:        []string{"string"},
  2475  							Format:      "",
  2476  						},
  2477  					},
  2478  					"fieldValidation": {
  2479  						SchemaProps: spec.SchemaProps{
  2480  							Description: "fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in  this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.",
  2481  							Type:        []string{"string"},
  2482  							Format:      "",
  2483  						},
  2484  					},
  2485  				},
  2486  			},
  2487  		},
  2488  	}
  2489  }
  2490  
  2491  func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2492  	return common.OpenAPIDefinition{
  2493  		Schema: spec.Schema{
  2494  			SchemaProps: spec.SchemaProps{
  2495  				Description: "DeleteOptions may be provided when deleting an API object.",
  2496  				Type:        []string{"object"},
  2497  				Properties: map[string]spec.Schema{
  2498  					"kind": {
  2499  						SchemaProps: spec.SchemaProps{
  2500  							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",
  2501  							Type:        []string{"string"},
  2502  							Format:      "",
  2503  						},
  2504  					},
  2505  					"apiVersion": {
  2506  						SchemaProps: spec.SchemaProps{
  2507  							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",
  2508  							Type:        []string{"string"},
  2509  							Format:      "",
  2510  						},
  2511  					},
  2512  					"gracePeriodSeconds": {
  2513  						SchemaProps: spec.SchemaProps{
  2514  							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.",
  2515  							Type:        []string{"integer"},
  2516  							Format:      "int64",
  2517  						},
  2518  					},
  2519  					"preconditions": {
  2520  						SchemaProps: spec.SchemaProps{
  2521  							Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.",
  2522  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"),
  2523  						},
  2524  					},
  2525  					"orphanDependents": {
  2526  						SchemaProps: spec.SchemaProps{
  2527  							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.",
  2528  							Type:        []string{"boolean"},
  2529  							Format:      "",
  2530  						},
  2531  					},
  2532  					"propagationPolicy": {
  2533  						SchemaProps: spec.SchemaProps{
  2534  							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.",
  2535  							Type:        []string{"string"},
  2536  							Format:      "",
  2537  						},
  2538  					},
  2539  					"dryRun": {
  2540  						SchemaProps: spec.SchemaProps{
  2541  							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",
  2542  							Type:        []string{"array"},
  2543  							Items: &spec.SchemaOrArray{
  2544  								Schema: &spec.Schema{
  2545  									SchemaProps: spec.SchemaProps{
  2546  										Default: "",
  2547  										Type:    []string{"string"},
  2548  										Format:  "",
  2549  									},
  2550  								},
  2551  							},
  2552  						},
  2553  					},
  2554  				},
  2555  			},
  2556  		},
  2557  		Dependencies: []string{
  2558  			"k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"},
  2559  	}
  2560  }
  2561  
  2562  func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2563  	return common.OpenAPIDefinition{
  2564  		Schema: spec.Schema{
  2565  			SchemaProps: spec.SchemaProps{
  2566  				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.",
  2567  				Type:        v1.Duration{}.OpenAPISchemaType(),
  2568  				Format:      v1.Duration{}.OpenAPISchemaFormat(),
  2569  			},
  2570  		},
  2571  	}
  2572  }
  2573  
  2574  func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2575  	return common.OpenAPIDefinition{
  2576  		Schema: spec.Schema{
  2577  			SchemaProps: spec.SchemaProps{
  2578  				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",
  2579  				Type:        []string{"object"},
  2580  			},
  2581  		},
  2582  	}
  2583  }
  2584  
  2585  func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2586  	return common.OpenAPIDefinition{
  2587  		Schema: spec.Schema{
  2588  			SchemaProps: spec.SchemaProps{
  2589  				Description: "GetOptions is the standard query options to the standard REST get call.",
  2590  				Type:        []string{"object"},
  2591  				Properties: map[string]spec.Schema{
  2592  					"kind": {
  2593  						SchemaProps: spec.SchemaProps{
  2594  							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",
  2595  							Type:        []string{"string"},
  2596  							Format:      "",
  2597  						},
  2598  					},
  2599  					"apiVersion": {
  2600  						SchemaProps: spec.SchemaProps{
  2601  							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",
  2602  							Type:        []string{"string"},
  2603  							Format:      "",
  2604  						},
  2605  					},
  2606  					"resourceVersion": {
  2607  						SchemaProps: spec.SchemaProps{
  2608  							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",
  2609  							Type:        []string{"string"},
  2610  							Format:      "",
  2611  						},
  2612  					},
  2613  				},
  2614  			},
  2615  		},
  2616  	}
  2617  }
  2618  
  2619  func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2620  	return common.OpenAPIDefinition{
  2621  		Schema: spec.Schema{
  2622  			SchemaProps: spec.SchemaProps{
  2623  				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",
  2624  				Type:        []string{"object"},
  2625  				Properties: map[string]spec.Schema{
  2626  					"group": {
  2627  						SchemaProps: spec.SchemaProps{
  2628  							Default: "",
  2629  							Type:    []string{"string"},
  2630  							Format:  "",
  2631  						},
  2632  					},
  2633  					"kind": {
  2634  						SchemaProps: spec.SchemaProps{
  2635  							Default: "",
  2636  							Type:    []string{"string"},
  2637  							Format:  "",
  2638  						},
  2639  					},
  2640  				},
  2641  				Required: []string{"group", "kind"},
  2642  			},
  2643  		},
  2644  	}
  2645  }
  2646  
  2647  func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2648  	return common.OpenAPIDefinition{
  2649  		Schema: spec.Schema{
  2650  			SchemaProps: spec.SchemaProps{
  2651  				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",
  2652  				Type:        []string{"object"},
  2653  				Properties: map[string]spec.Schema{
  2654  					"group": {
  2655  						SchemaProps: spec.SchemaProps{
  2656  							Default: "",
  2657  							Type:    []string{"string"},
  2658  							Format:  "",
  2659  						},
  2660  					},
  2661  					"resource": {
  2662  						SchemaProps: spec.SchemaProps{
  2663  							Default: "",
  2664  							Type:    []string{"string"},
  2665  							Format:  "",
  2666  						},
  2667  					},
  2668  				},
  2669  				Required: []string{"group", "resource"},
  2670  			},
  2671  		},
  2672  	}
  2673  }
  2674  
  2675  func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2676  	return common.OpenAPIDefinition{
  2677  		Schema: spec.Schema{
  2678  			SchemaProps: spec.SchemaProps{
  2679  				Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.",
  2680  				Type:        []string{"object"},
  2681  				Properties: map[string]spec.Schema{
  2682  					"group": {
  2683  						SchemaProps: spec.SchemaProps{
  2684  							Default: "",
  2685  							Type:    []string{"string"},
  2686  							Format:  "",
  2687  						},
  2688  					},
  2689  					"version": {
  2690  						SchemaProps: spec.SchemaProps{
  2691  							Default: "",
  2692  							Type:    []string{"string"},
  2693  							Format:  "",
  2694  						},
  2695  					},
  2696  				},
  2697  				Required: []string{"group", "version"},
  2698  			},
  2699  		},
  2700  	}
  2701  }
  2702  
  2703  func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2704  	return common.OpenAPIDefinition{
  2705  		Schema: spec.Schema{
  2706  			SchemaProps: spec.SchemaProps{
  2707  				Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
  2708  				Type:        []string{"object"},
  2709  				Properties: map[string]spec.Schema{
  2710  					"groupVersion": {
  2711  						SchemaProps: spec.SchemaProps{
  2712  							Description: "groupVersion specifies the API group and version in the form \"group/version\"",
  2713  							Default:     "",
  2714  							Type:        []string{"string"},
  2715  							Format:      "",
  2716  						},
  2717  					},
  2718  					"version": {
  2719  						SchemaProps: spec.SchemaProps{
  2720  							Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
  2721  							Default:     "",
  2722  							Type:        []string{"string"},
  2723  							Format:      "",
  2724  						},
  2725  					},
  2726  				},
  2727  				Required: []string{"groupVersion", "version"},
  2728  			},
  2729  		},
  2730  	}
  2731  }
  2732  
  2733  func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2734  	return common.OpenAPIDefinition{
  2735  		Schema: spec.Schema{
  2736  			SchemaProps: spec.SchemaProps{
  2737  				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",
  2738  				Type:        []string{"object"},
  2739  				Properties: map[string]spec.Schema{
  2740  					"group": {
  2741  						SchemaProps: spec.SchemaProps{
  2742  							Default: "",
  2743  							Type:    []string{"string"},
  2744  							Format:  "",
  2745  						},
  2746  					},
  2747  					"version": {
  2748  						SchemaProps: spec.SchemaProps{
  2749  							Default: "",
  2750  							Type:    []string{"string"},
  2751  							Format:  "",
  2752  						},
  2753  					},
  2754  					"kind": {
  2755  						SchemaProps: spec.SchemaProps{
  2756  							Default: "",
  2757  							Type:    []string{"string"},
  2758  							Format:  "",
  2759  						},
  2760  					},
  2761  				},
  2762  				Required: []string{"group", "version", "kind"},
  2763  			},
  2764  		},
  2765  	}
  2766  }
  2767  
  2768  func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2769  	return common.OpenAPIDefinition{
  2770  		Schema: spec.Schema{
  2771  			SchemaProps: spec.SchemaProps{
  2772  				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",
  2773  				Type:        []string{"object"},
  2774  				Properties: map[string]spec.Schema{
  2775  					"group": {
  2776  						SchemaProps: spec.SchemaProps{
  2777  							Default: "",
  2778  							Type:    []string{"string"},
  2779  							Format:  "",
  2780  						},
  2781  					},
  2782  					"version": {
  2783  						SchemaProps: spec.SchemaProps{
  2784  							Default: "",
  2785  							Type:    []string{"string"},
  2786  							Format:  "",
  2787  						},
  2788  					},
  2789  					"resource": {
  2790  						SchemaProps: spec.SchemaProps{
  2791  							Default: "",
  2792  							Type:    []string{"string"},
  2793  							Format:  "",
  2794  						},
  2795  					},
  2796  				},
  2797  				Required: []string{"group", "version", "resource"},
  2798  			},
  2799  		},
  2800  	}
  2801  }
  2802  
  2803  func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2804  	return common.OpenAPIDefinition{
  2805  		Schema: spec.Schema{
  2806  			SchemaProps: spec.SchemaProps{
  2807  				Description: "InternalEvent makes watch.Event versioned",
  2808  				Type:        []string{"object"},
  2809  				Properties: map[string]spec.Schema{
  2810  					"Type": {
  2811  						SchemaProps: spec.SchemaProps{
  2812  							Default: "",
  2813  							Type:    []string{"string"},
  2814  							Format:  "",
  2815  						},
  2816  					},
  2817  					"Object": {
  2818  						SchemaProps: spec.SchemaProps{
  2819  							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.",
  2820  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.Object"),
  2821  						},
  2822  					},
  2823  				},
  2824  				Required: []string{"Type", "Object"},
  2825  			},
  2826  		},
  2827  		Dependencies: []string{
  2828  			"k8s.io/apimachinery/pkg/runtime.Object"},
  2829  	}
  2830  }
  2831  
  2832  func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2833  	return common.OpenAPIDefinition{
  2834  		Schema: spec.Schema{
  2835  			SchemaProps: spec.SchemaProps{
  2836  				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.",
  2837  				Type:        []string{"object"},
  2838  				Properties: map[string]spec.Schema{
  2839  					"matchLabels": {
  2840  						SchemaProps: spec.SchemaProps{
  2841  							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.",
  2842  							Type:        []string{"object"},
  2843  							AdditionalProperties: &spec.SchemaOrBool{
  2844  								Allows: true,
  2845  								Schema: &spec.Schema{
  2846  									SchemaProps: spec.SchemaProps{
  2847  										Default: "",
  2848  										Type:    []string{"string"},
  2849  										Format:  "",
  2850  									},
  2851  								},
  2852  							},
  2853  						},
  2854  					},
  2855  					"matchExpressions": {
  2856  						SchemaProps: spec.SchemaProps{
  2857  							Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
  2858  							Type:        []string{"array"},
  2859  							Items: &spec.SchemaOrArray{
  2860  								Schema: &spec.Schema{
  2861  									SchemaProps: spec.SchemaProps{
  2862  										Default: map[string]interface{}{},
  2863  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"),
  2864  									},
  2865  								},
  2866  							},
  2867  						},
  2868  					},
  2869  				},
  2870  			},
  2871  			VendorExtensible: spec.VendorExtensible{
  2872  				Extensions: spec.Extensions{
  2873  					"x-kubernetes-map-type": "atomic",
  2874  				},
  2875  			},
  2876  		},
  2877  		Dependencies: []string{
  2878  			"k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"},
  2879  	}
  2880  }
  2881  
  2882  func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2883  	return common.OpenAPIDefinition{
  2884  		Schema: spec.Schema{
  2885  			SchemaProps: spec.SchemaProps{
  2886  				Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
  2887  				Type:        []string{"object"},
  2888  				Properties: map[string]spec.Schema{
  2889  					"key": {
  2890  						VendorExtensible: spec.VendorExtensible{
  2891  							Extensions: spec.Extensions{
  2892  								"x-kubernetes-patch-merge-key": "key",
  2893  								"x-kubernetes-patch-strategy":  "merge",
  2894  							},
  2895  						},
  2896  						SchemaProps: spec.SchemaProps{
  2897  							Description: "key is the label key that the selector applies to.",
  2898  							Default:     "",
  2899  							Type:        []string{"string"},
  2900  							Format:      "",
  2901  						},
  2902  					},
  2903  					"operator": {
  2904  						SchemaProps: spec.SchemaProps{
  2905  							Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
  2906  							Default:     "",
  2907  							Type:        []string{"string"},
  2908  							Format:      "",
  2909  						},
  2910  					},
  2911  					"values": {
  2912  						SchemaProps: spec.SchemaProps{
  2913  							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.",
  2914  							Type:        []string{"array"},
  2915  							Items: &spec.SchemaOrArray{
  2916  								Schema: &spec.Schema{
  2917  									SchemaProps: spec.SchemaProps{
  2918  										Default: "",
  2919  										Type:    []string{"string"},
  2920  										Format:  "",
  2921  									},
  2922  								},
  2923  							},
  2924  						},
  2925  					},
  2926  				},
  2927  				Required: []string{"key", "operator"},
  2928  			},
  2929  		},
  2930  	}
  2931  }
  2932  
  2933  func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2934  	return common.OpenAPIDefinition{
  2935  		Schema: spec.Schema{
  2936  			SchemaProps: spec.SchemaProps{
  2937  				Description: "List holds a list of objects, which may not be known by the server.",
  2938  				Type:        []string{"object"},
  2939  				Properties: map[string]spec.Schema{
  2940  					"kind": {
  2941  						SchemaProps: spec.SchemaProps{
  2942  							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",
  2943  							Type:        []string{"string"},
  2944  							Format:      "",
  2945  						},
  2946  					},
  2947  					"apiVersion": {
  2948  						SchemaProps: spec.SchemaProps{
  2949  							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",
  2950  							Type:        []string{"string"},
  2951  							Format:      "",
  2952  						},
  2953  					},
  2954  					"metadata": {
  2955  						SchemaProps: spec.SchemaProps{
  2956  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2957  							Default:     map[string]interface{}{},
  2958  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2959  						},
  2960  					},
  2961  					"items": {
  2962  						SchemaProps: spec.SchemaProps{
  2963  							Description: "List of objects",
  2964  							Type:        []string{"array"},
  2965  							Items: &spec.SchemaOrArray{
  2966  								Schema: &spec.Schema{
  2967  									SchemaProps: spec.SchemaProps{
  2968  										Default: map[string]interface{}{},
  2969  										Ref:     ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  2970  									},
  2971  								},
  2972  							},
  2973  						},
  2974  					},
  2975  				},
  2976  				Required: []string{"items"},
  2977  			},
  2978  		},
  2979  		Dependencies: []string{
  2980  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
  2981  	}
  2982  }
  2983  
  2984  func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2985  	return common.OpenAPIDefinition{
  2986  		Schema: spec.Schema{
  2987  			SchemaProps: spec.SchemaProps{
  2988  				Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
  2989  				Type:        []string{"object"},
  2990  				Properties: map[string]spec.Schema{
  2991  					"selfLink": {
  2992  						SchemaProps: spec.SchemaProps{
  2993  							Description: "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
  2994  							Type:        []string{"string"},
  2995  							Format:      "",
  2996  						},
  2997  					},
  2998  					"resourceVersion": {
  2999  						SchemaProps: spec.SchemaProps{
  3000  							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",
  3001  							Type:        []string{"string"},
  3002  							Format:      "",
  3003  						},
  3004  					},
  3005  					"continue": {
  3006  						SchemaProps: spec.SchemaProps{
  3007  							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.",
  3008  							Type:        []string{"string"},
  3009  							Format:      "",
  3010  						},
  3011  					},
  3012  					"remainingItemCount": {
  3013  						SchemaProps: spec.SchemaProps{
  3014  							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.",
  3015  							Type:        []string{"integer"},
  3016  							Format:      "int64",
  3017  						},
  3018  					},
  3019  				},
  3020  			},
  3021  		},
  3022  	}
  3023  }
  3024  
  3025  func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3026  	return common.OpenAPIDefinition{
  3027  		Schema: spec.Schema{
  3028  			SchemaProps: spec.SchemaProps{
  3029  				Description: "ListOptions is the query options to a standard REST list call.",
  3030  				Type:        []string{"object"},
  3031  				Properties: map[string]spec.Schema{
  3032  					"kind": {
  3033  						SchemaProps: spec.SchemaProps{
  3034  							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",
  3035  							Type:        []string{"string"},
  3036  							Format:      "",
  3037  						},
  3038  					},
  3039  					"apiVersion": {
  3040  						SchemaProps: spec.SchemaProps{
  3041  							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",
  3042  							Type:        []string{"string"},
  3043  							Format:      "",
  3044  						},
  3045  					},
  3046  					"labelSelector": {
  3047  						SchemaProps: spec.SchemaProps{
  3048  							Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
  3049  							Type:        []string{"string"},
  3050  							Format:      "",
  3051  						},
  3052  					},
  3053  					"fieldSelector": {
  3054  						SchemaProps: spec.SchemaProps{
  3055  							Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
  3056  							Type:        []string{"string"},
  3057  							Format:      "",
  3058  						},
  3059  					},
  3060  					"watch": {
  3061  						SchemaProps: spec.SchemaProps{
  3062  							Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
  3063  							Type:        []string{"boolean"},
  3064  							Format:      "",
  3065  						},
  3066  					},
  3067  					"allowWatchBookmarks": {
  3068  						SchemaProps: spec.SchemaProps{
  3069  							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.",
  3070  							Type:        []string{"boolean"},
  3071  							Format:      "",
  3072  						},
  3073  					},
  3074  					"resourceVersion": {
  3075  						SchemaProps: spec.SchemaProps{
  3076  							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",
  3077  							Type:        []string{"string"},
  3078  							Format:      "",
  3079  						},
  3080  					},
  3081  					"resourceVersionMatch": {
  3082  						SchemaProps: spec.SchemaProps{
  3083  							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",
  3084  							Type:        []string{"string"},
  3085  							Format:      "",
  3086  						},
  3087  					},
  3088  					"timeoutSeconds": {
  3089  						SchemaProps: spec.SchemaProps{
  3090  							Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
  3091  							Type:        []string{"integer"},
  3092  							Format:      "int64",
  3093  						},
  3094  					},
  3095  					"limit": {
  3096  						SchemaProps: spec.SchemaProps{
  3097  							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.",
  3098  							Type:        []string{"integer"},
  3099  							Format:      "int64",
  3100  						},
  3101  					},
  3102  					"continue": {
  3103  						SchemaProps: spec.SchemaProps{
  3104  							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.",
  3105  							Type:        []string{"string"},
  3106  							Format:      "",
  3107  						},
  3108  					},
  3109  				},
  3110  			},
  3111  		},
  3112  	}
  3113  }
  3114  
  3115  func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3116  	return common.OpenAPIDefinition{
  3117  		Schema: spec.Schema{
  3118  			SchemaProps: spec.SchemaProps{
  3119  				Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
  3120  				Type:        []string{"object"},
  3121  				Properties: map[string]spec.Schema{
  3122  					"manager": {
  3123  						SchemaProps: spec.SchemaProps{
  3124  							Description: "Manager is an identifier of the workflow managing these fields.",
  3125  							Type:        []string{"string"},
  3126  							Format:      "",
  3127  						},
  3128  					},
  3129  					"operation": {
  3130  						SchemaProps: spec.SchemaProps{
  3131  							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'.",
  3132  							Type:        []string{"string"},
  3133  							Format:      "",
  3134  						},
  3135  					},
  3136  					"apiVersion": {
  3137  						SchemaProps: spec.SchemaProps{
  3138  							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.",
  3139  							Type:        []string{"string"},
  3140  							Format:      "",
  3141  						},
  3142  					},
  3143  					"time": {
  3144  						SchemaProps: spec.SchemaProps{
  3145  							Description: "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'",
  3146  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3147  						},
  3148  					},
  3149  					"fieldsType": {
  3150  						SchemaProps: spec.SchemaProps{
  3151  							Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
  3152  							Type:        []string{"string"},
  3153  							Format:      "",
  3154  						},
  3155  					},
  3156  					"fieldsV1": {
  3157  						SchemaProps: spec.SchemaProps{
  3158  							Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
  3159  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"),
  3160  						},
  3161  					},
  3162  					"subresource": {
  3163  						SchemaProps: spec.SchemaProps{
  3164  							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.",
  3165  							Type:        []string{"string"},
  3166  							Format:      "",
  3167  						},
  3168  					},
  3169  				},
  3170  			},
  3171  		},
  3172  		Dependencies: []string{
  3173  			"k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  3174  	}
  3175  }
  3176  
  3177  func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3178  	return common.OpenAPIDefinition{
  3179  		Schema: spec.Schema{
  3180  			SchemaProps: spec.SchemaProps{
  3181  				Description: "MicroTime is version of Time with microsecond level precision.",
  3182  				Type:        v1.MicroTime{}.OpenAPISchemaType(),
  3183  				Format:      v1.MicroTime{}.OpenAPISchemaFormat(),
  3184  			},
  3185  		},
  3186  	}
  3187  }
  3188  
  3189  func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3190  	return common.OpenAPIDefinition{
  3191  		Schema: spec.Schema{
  3192  			SchemaProps: spec.SchemaProps{
  3193  				Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
  3194  				Type:        []string{"object"},
  3195  				Properties: map[string]spec.Schema{
  3196  					"name": {
  3197  						SchemaProps: spec.SchemaProps{
  3198  							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",
  3199  							Type:        []string{"string"},
  3200  							Format:      "",
  3201  						},
  3202  					},
  3203  					"generateName": {
  3204  						SchemaProps: spec.SchemaProps{
  3205  							Description: "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
  3206  							Type:        []string{"string"},
  3207  							Format:      "",
  3208  						},
  3209  					},
  3210  					"namespace": {
  3211  						SchemaProps: spec.SchemaProps{
  3212  							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",
  3213  							Type:        []string{"string"},
  3214  							Format:      "",
  3215  						},
  3216  					},
  3217  					"selfLink": {
  3218  						SchemaProps: spec.SchemaProps{
  3219  							Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
  3220  							Type:        []string{"string"},
  3221  							Format:      "",
  3222  						},
  3223  					},
  3224  					"uid": {
  3225  						SchemaProps: spec.SchemaProps{
  3226  							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",
  3227  							Type:        []string{"string"},
  3228  							Format:      "",
  3229  						},
  3230  					},
  3231  					"resourceVersion": {
  3232  						SchemaProps: spec.SchemaProps{
  3233  							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",
  3234  							Type:        []string{"string"},
  3235  							Format:      "",
  3236  						},
  3237  					},
  3238  					"generation": {
  3239  						SchemaProps: spec.SchemaProps{
  3240  							Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
  3241  							Type:        []string{"integer"},
  3242  							Format:      "int64",
  3243  						},
  3244  					},
  3245  					"creationTimestamp": {
  3246  						SchemaProps: spec.SchemaProps{
  3247  							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",
  3248  							Default:     map[string]interface{}{},
  3249  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3250  						},
  3251  					},
  3252  					"deletionTimestamp": {
  3253  						SchemaProps: spec.SchemaProps{
  3254  							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",
  3255  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3256  						},
  3257  					},
  3258  					"deletionGracePeriodSeconds": {
  3259  						SchemaProps: spec.SchemaProps{
  3260  							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.",
  3261  							Type:        []string{"integer"},
  3262  							Format:      "int64",
  3263  						},
  3264  					},
  3265  					"labels": {
  3266  						SchemaProps: spec.SchemaProps{
  3267  							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",
  3268  							Type:        []string{"object"},
  3269  							AdditionalProperties: &spec.SchemaOrBool{
  3270  								Allows: true,
  3271  								Schema: &spec.Schema{
  3272  									SchemaProps: spec.SchemaProps{
  3273  										Default: "",
  3274  										Type:    []string{"string"},
  3275  										Format:  "",
  3276  									},
  3277  								},
  3278  							},
  3279  						},
  3280  					},
  3281  					"annotations": {
  3282  						SchemaProps: spec.SchemaProps{
  3283  							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",
  3284  							Type:        []string{"object"},
  3285  							AdditionalProperties: &spec.SchemaOrBool{
  3286  								Allows: true,
  3287  								Schema: &spec.Schema{
  3288  									SchemaProps: spec.SchemaProps{
  3289  										Default: "",
  3290  										Type:    []string{"string"},
  3291  										Format:  "",
  3292  									},
  3293  								},
  3294  							},
  3295  						},
  3296  					},
  3297  					"ownerReferences": {
  3298  						VendorExtensible: spec.VendorExtensible{
  3299  							Extensions: spec.Extensions{
  3300  								"x-kubernetes-patch-merge-key": "uid",
  3301  								"x-kubernetes-patch-strategy":  "merge",
  3302  							},
  3303  						},
  3304  						SchemaProps: spec.SchemaProps{
  3305  							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.",
  3306  							Type:        []string{"array"},
  3307  							Items: &spec.SchemaOrArray{
  3308  								Schema: &spec.Schema{
  3309  									SchemaProps: spec.SchemaProps{
  3310  										Default: map[string]interface{}{},
  3311  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"),
  3312  									},
  3313  								},
  3314  							},
  3315  						},
  3316  					},
  3317  					"finalizers": {
  3318  						VendorExtensible: spec.VendorExtensible{
  3319  							Extensions: spec.Extensions{
  3320  								"x-kubernetes-patch-strategy": "merge",
  3321  							},
  3322  						},
  3323  						SchemaProps: spec.SchemaProps{
  3324  							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.",
  3325  							Type:        []string{"array"},
  3326  							Items: &spec.SchemaOrArray{
  3327  								Schema: &spec.Schema{
  3328  									SchemaProps: spec.SchemaProps{
  3329  										Default: "",
  3330  										Type:    []string{"string"},
  3331  										Format:  "",
  3332  									},
  3333  								},
  3334  							},
  3335  						},
  3336  					},
  3337  					"clusterName": {
  3338  						SchemaProps: spec.SchemaProps{
  3339  							Description: "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
  3340  							Type:        []string{"string"},
  3341  							Format:      "",
  3342  						},
  3343  					},
  3344  					"managedFields": {
  3345  						SchemaProps: spec.SchemaProps{
  3346  							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.",
  3347  							Type:        []string{"array"},
  3348  							Items: &spec.SchemaOrArray{
  3349  								Schema: &spec.Schema{
  3350  									SchemaProps: spec.SchemaProps{
  3351  										Default: map[string]interface{}{},
  3352  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"),
  3353  									},
  3354  								},
  3355  							},
  3356  						},
  3357  					},
  3358  				},
  3359  			},
  3360  		},
  3361  		Dependencies: []string{
  3362  			"k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  3363  	}
  3364  }
  3365  
  3366  func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3367  	return common.OpenAPIDefinition{
  3368  		Schema: spec.Schema{
  3369  			SchemaProps: spec.SchemaProps{
  3370  				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.",
  3371  				Type:        []string{"object"},
  3372  				Properties: map[string]spec.Schema{
  3373  					"apiVersion": {
  3374  						SchemaProps: spec.SchemaProps{
  3375  							Description: "API version of the referent.",
  3376  							Default:     "",
  3377  							Type:        []string{"string"},
  3378  							Format:      "",
  3379  						},
  3380  					},
  3381  					"kind": {
  3382  						SchemaProps: spec.SchemaProps{
  3383  							Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3384  							Default:     "",
  3385  							Type:        []string{"string"},
  3386  							Format:      "",
  3387  						},
  3388  					},
  3389  					"name": {
  3390  						SchemaProps: spec.SchemaProps{
  3391  							Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
  3392  							Default:     "",
  3393  							Type:        []string{"string"},
  3394  							Format:      "",
  3395  						},
  3396  					},
  3397  					"uid": {
  3398  						SchemaProps: spec.SchemaProps{
  3399  							Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
  3400  							Default:     "",
  3401  							Type:        []string{"string"},
  3402  							Format:      "",
  3403  						},
  3404  					},
  3405  					"controller": {
  3406  						SchemaProps: spec.SchemaProps{
  3407  							Description: "If true, this reference points to the managing controller.",
  3408  							Type:        []string{"boolean"},
  3409  							Format:      "",
  3410  						},
  3411  					},
  3412  					"blockOwnerDeletion": {
  3413  						SchemaProps: spec.SchemaProps{
  3414  							Description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
  3415  							Type:        []string{"boolean"},
  3416  							Format:      "",
  3417  						},
  3418  					},
  3419  				},
  3420  				Required: []string{"apiVersion", "kind", "name", "uid"},
  3421  			},
  3422  			VendorExtensible: spec.VendorExtensible{
  3423  				Extensions: spec.Extensions{
  3424  					"x-kubernetes-map-type": "atomic",
  3425  				},
  3426  			},
  3427  		},
  3428  	}
  3429  }
  3430  
  3431  func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3432  	return common.OpenAPIDefinition{
  3433  		Schema: spec.Schema{
  3434  			SchemaProps: spec.SchemaProps{
  3435  				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.",
  3436  				Type:        []string{"object"},
  3437  				Properties: map[string]spec.Schema{
  3438  					"kind": {
  3439  						SchemaProps: spec.SchemaProps{
  3440  							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",
  3441  							Type:        []string{"string"},
  3442  							Format:      "",
  3443  						},
  3444  					},
  3445  					"apiVersion": {
  3446  						SchemaProps: spec.SchemaProps{
  3447  							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",
  3448  							Type:        []string{"string"},
  3449  							Format:      "",
  3450  						},
  3451  					},
  3452  					"metadata": {
  3453  						SchemaProps: spec.SchemaProps{
  3454  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
  3455  							Default:     map[string]interface{}{},
  3456  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3457  						},
  3458  					},
  3459  				},
  3460  			},
  3461  		},
  3462  		Dependencies: []string{
  3463  			"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  3464  	}
  3465  }
  3466  
  3467  func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3468  	return common.OpenAPIDefinition{
  3469  		Schema: spec.Schema{
  3470  			SchemaProps: spec.SchemaProps{
  3471  				Description: "PartialObjectMetadataList contains a list of objects containing only their metadata",
  3472  				Type:        []string{"object"},
  3473  				Properties: map[string]spec.Schema{
  3474  					"kind": {
  3475  						SchemaProps: spec.SchemaProps{
  3476  							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",
  3477  							Type:        []string{"string"},
  3478  							Format:      "",
  3479  						},
  3480  					},
  3481  					"apiVersion": {
  3482  						SchemaProps: spec.SchemaProps{
  3483  							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",
  3484  							Type:        []string{"string"},
  3485  							Format:      "",
  3486  						},
  3487  					},
  3488  					"metadata": {
  3489  						SchemaProps: spec.SchemaProps{
  3490  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3491  							Default:     map[string]interface{}{},
  3492  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3493  						},
  3494  					},
  3495  					"items": {
  3496  						SchemaProps: spec.SchemaProps{
  3497  							Description: "items contains each of the included items.",
  3498  							Type:        []string{"array"},
  3499  							Items: &spec.SchemaOrArray{
  3500  								Schema: &spec.Schema{
  3501  									SchemaProps: spec.SchemaProps{
  3502  										Default: map[string]interface{}{},
  3503  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"),
  3504  									},
  3505  								},
  3506  							},
  3507  						},
  3508  					},
  3509  				},
  3510  				Required: []string{"items"},
  3511  			},
  3512  		},
  3513  		Dependencies: []string{
  3514  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"},
  3515  	}
  3516  }
  3517  
  3518  func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3519  	return common.OpenAPIDefinition{
  3520  		Schema: spec.Schema{
  3521  			SchemaProps: spec.SchemaProps{
  3522  				Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
  3523  				Type:        []string{"object"},
  3524  			},
  3525  		},
  3526  	}
  3527  }
  3528  
  3529  func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3530  	return common.OpenAPIDefinition{
  3531  		Schema: spec.Schema{
  3532  			SchemaProps: spec.SchemaProps{
  3533  				Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.",
  3534  				Type:        []string{"object"},
  3535  				Properties: map[string]spec.Schema{
  3536  					"kind": {
  3537  						SchemaProps: spec.SchemaProps{
  3538  							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",
  3539  							Type:        []string{"string"},
  3540  							Format:      "",
  3541  						},
  3542  					},
  3543  					"apiVersion": {
  3544  						SchemaProps: spec.SchemaProps{
  3545  							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",
  3546  							Type:        []string{"string"},
  3547  							Format:      "",
  3548  						},
  3549  					},
  3550  					"dryRun": {
  3551  						SchemaProps: spec.SchemaProps{
  3552  							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",
  3553  							Type:        []string{"array"},
  3554  							Items: &spec.SchemaOrArray{
  3555  								Schema: &spec.Schema{
  3556  									SchemaProps: spec.SchemaProps{
  3557  										Default: "",
  3558  										Type:    []string{"string"},
  3559  										Format:  "",
  3560  									},
  3561  								},
  3562  							},
  3563  						},
  3564  					},
  3565  					"force": {
  3566  						SchemaProps: spec.SchemaProps{
  3567  							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.",
  3568  							Type:        []string{"boolean"},
  3569  							Format:      "",
  3570  						},
  3571  					},
  3572  					"fieldManager": {
  3573  						SchemaProps: spec.SchemaProps{
  3574  							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).",
  3575  							Type:        []string{"string"},
  3576  							Format:      "",
  3577  						},
  3578  					},
  3579  					"fieldValidation": {
  3580  						SchemaProps: spec.SchemaProps{
  3581  							Description: "fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in  this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.",
  3582  							Type:        []string{"string"},
  3583  							Format:      "",
  3584  						},
  3585  					},
  3586  				},
  3587  			},
  3588  		},
  3589  	}
  3590  }
  3591  
  3592  func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3593  	return common.OpenAPIDefinition{
  3594  		Schema: spec.Schema{
  3595  			SchemaProps: spec.SchemaProps{
  3596  				Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
  3597  				Type:        []string{"object"},
  3598  				Properties: map[string]spec.Schema{
  3599  					"uid": {
  3600  						SchemaProps: spec.SchemaProps{
  3601  							Description: "Specifies the target UID.",
  3602  							Type:        []string{"string"},
  3603  							Format:      "",
  3604  						},
  3605  					},
  3606  					"resourceVersion": {
  3607  						SchemaProps: spec.SchemaProps{
  3608  							Description: "Specifies the target ResourceVersion",
  3609  							Type:        []string{"string"},
  3610  							Format:      "",
  3611  						},
  3612  					},
  3613  				},
  3614  			},
  3615  		},
  3616  	}
  3617  }
  3618  
  3619  func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3620  	return common.OpenAPIDefinition{
  3621  		Schema: spec.Schema{
  3622  			SchemaProps: spec.SchemaProps{
  3623  				Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".",
  3624  				Type:        []string{"object"},
  3625  				Properties: map[string]spec.Schema{
  3626  					"paths": {
  3627  						SchemaProps: spec.SchemaProps{
  3628  							Description: "paths are the paths available at root.",
  3629  							Type:        []string{"array"},
  3630  							Items: &spec.SchemaOrArray{
  3631  								Schema: &spec.Schema{
  3632  									SchemaProps: spec.SchemaProps{
  3633  										Default: "",
  3634  										Type:    []string{"string"},
  3635  										Format:  "",
  3636  									},
  3637  								},
  3638  							},
  3639  						},
  3640  					},
  3641  				},
  3642  				Required: []string{"paths"},
  3643  			},
  3644  		},
  3645  	}
  3646  }
  3647  
  3648  func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3649  	return common.OpenAPIDefinition{
  3650  		Schema: spec.Schema{
  3651  			SchemaProps: spec.SchemaProps{
  3652  				Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
  3653  				Type:        []string{"object"},
  3654  				Properties: map[string]spec.Schema{
  3655  					"clientCIDR": {
  3656  						SchemaProps: spec.SchemaProps{
  3657  							Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.",
  3658  							Default:     "",
  3659  							Type:        []string{"string"},
  3660  							Format:      "",
  3661  						},
  3662  					},
  3663  					"serverAddress": {
  3664  						SchemaProps: spec.SchemaProps{
  3665  							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.",
  3666  							Default:     "",
  3667  							Type:        []string{"string"},
  3668  							Format:      "",
  3669  						},
  3670  					},
  3671  				},
  3672  				Required: []string{"clientCIDR", "serverAddress"},
  3673  			},
  3674  		},
  3675  	}
  3676  }
  3677  
  3678  func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3679  	return common.OpenAPIDefinition{
  3680  		Schema: spec.Schema{
  3681  			SchemaProps: spec.SchemaProps{
  3682  				Description: "Status is a return value for calls that don't return other objects.",
  3683  				Type:        []string{"object"},
  3684  				Properties: map[string]spec.Schema{
  3685  					"kind": {
  3686  						SchemaProps: spec.SchemaProps{
  3687  							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",
  3688  							Type:        []string{"string"},
  3689  							Format:      "",
  3690  						},
  3691  					},
  3692  					"apiVersion": {
  3693  						SchemaProps: spec.SchemaProps{
  3694  							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",
  3695  							Type:        []string{"string"},
  3696  							Format:      "",
  3697  						},
  3698  					},
  3699  					"metadata": {
  3700  						SchemaProps: spec.SchemaProps{
  3701  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3702  							Default:     map[string]interface{}{},
  3703  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3704  						},
  3705  					},
  3706  					"status": {
  3707  						SchemaProps: spec.SchemaProps{
  3708  							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",
  3709  							Type:        []string{"string"},
  3710  							Format:      "",
  3711  						},
  3712  					},
  3713  					"message": {
  3714  						SchemaProps: spec.SchemaProps{
  3715  							Description: "A human-readable description of the status of this operation.",
  3716  							Type:        []string{"string"},
  3717  							Format:      "",
  3718  						},
  3719  					},
  3720  					"reason": {
  3721  						SchemaProps: spec.SchemaProps{
  3722  							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.",
  3723  							Type:        []string{"string"},
  3724  							Format:      "",
  3725  						},
  3726  					},
  3727  					"details": {
  3728  						SchemaProps: spec.SchemaProps{
  3729  							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.",
  3730  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"),
  3731  						},
  3732  					},
  3733  					"code": {
  3734  						SchemaProps: spec.SchemaProps{
  3735  							Description: "Suggested HTTP return code for this status, 0 if not set.",
  3736  							Type:        []string{"integer"},
  3737  							Format:      "int32",
  3738  						},
  3739  					},
  3740  				},
  3741  			},
  3742  		},
  3743  		Dependencies: []string{
  3744  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"},
  3745  	}
  3746  }
  3747  
  3748  func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3749  	return common.OpenAPIDefinition{
  3750  		Schema: spec.Schema{
  3751  			SchemaProps: spec.SchemaProps{
  3752  				Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
  3753  				Type:        []string{"object"},
  3754  				Properties: map[string]spec.Schema{
  3755  					"reason": {
  3756  						SchemaProps: spec.SchemaProps{
  3757  							Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
  3758  							Type:        []string{"string"},
  3759  							Format:      "",
  3760  						},
  3761  					},
  3762  					"message": {
  3763  						SchemaProps: spec.SchemaProps{
  3764  							Description: "A human-readable description of the cause of the error.  This field may be presented as-is to a reader.",
  3765  							Type:        []string{"string"},
  3766  							Format:      "",
  3767  						},
  3768  					},
  3769  					"field": {
  3770  						SchemaProps: spec.SchemaProps{
  3771  							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\"",
  3772  							Type:        []string{"string"},
  3773  							Format:      "",
  3774  						},
  3775  					},
  3776  				},
  3777  			},
  3778  		},
  3779  	}
  3780  }
  3781  
  3782  func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3783  	return common.OpenAPIDefinition{
  3784  		Schema: spec.Schema{
  3785  			SchemaProps: spec.SchemaProps{
  3786  				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.",
  3787  				Type:        []string{"object"},
  3788  				Properties: map[string]spec.Schema{
  3789  					"name": {
  3790  						SchemaProps: spec.SchemaProps{
  3791  							Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
  3792  							Type:        []string{"string"},
  3793  							Format:      "",
  3794  						},
  3795  					},
  3796  					"group": {
  3797  						SchemaProps: spec.SchemaProps{
  3798  							Description: "The group attribute of the resource associated with the status StatusReason.",
  3799  							Type:        []string{"string"},
  3800  							Format:      "",
  3801  						},
  3802  					},
  3803  					"kind": {
  3804  						SchemaProps: spec.SchemaProps{
  3805  							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",
  3806  							Type:        []string{"string"},
  3807  							Format:      "",
  3808  						},
  3809  					},
  3810  					"uid": {
  3811  						SchemaProps: spec.SchemaProps{
  3812  							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",
  3813  							Type:        []string{"string"},
  3814  							Format:      "",
  3815  						},
  3816  					},
  3817  					"causes": {
  3818  						SchemaProps: spec.SchemaProps{
  3819  							Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
  3820  							Type:        []string{"array"},
  3821  							Items: &spec.SchemaOrArray{
  3822  								Schema: &spec.Schema{
  3823  									SchemaProps: spec.SchemaProps{
  3824  										Default: map[string]interface{}{},
  3825  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"),
  3826  									},
  3827  								},
  3828  							},
  3829  						},
  3830  					},
  3831  					"retryAfterSeconds": {
  3832  						SchemaProps: spec.SchemaProps{
  3833  							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.",
  3834  							Type:        []string{"integer"},
  3835  							Format:      "int32",
  3836  						},
  3837  					},
  3838  				},
  3839  			},
  3840  		},
  3841  		Dependencies: []string{
  3842  			"k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"},
  3843  	}
  3844  }
  3845  
  3846  func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3847  	return common.OpenAPIDefinition{
  3848  		Schema: spec.Schema{
  3849  			SchemaProps: spec.SchemaProps{
  3850  				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.",
  3851  				Type:        []string{"object"},
  3852  				Properties: map[string]spec.Schema{
  3853  					"kind": {
  3854  						SchemaProps: spec.SchemaProps{
  3855  							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",
  3856  							Type:        []string{"string"},
  3857  							Format:      "",
  3858  						},
  3859  					},
  3860  					"apiVersion": {
  3861  						SchemaProps: spec.SchemaProps{
  3862  							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",
  3863  							Type:        []string{"string"},
  3864  							Format:      "",
  3865  						},
  3866  					},
  3867  					"metadata": {
  3868  						SchemaProps: spec.SchemaProps{
  3869  							Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3870  							Default:     map[string]interface{}{},
  3871  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3872  						},
  3873  					},
  3874  					"columnDefinitions": {
  3875  						SchemaProps: spec.SchemaProps{
  3876  							Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.",
  3877  							Type:        []string{"array"},
  3878  							Items: &spec.SchemaOrArray{
  3879  								Schema: &spec.Schema{
  3880  									SchemaProps: spec.SchemaProps{
  3881  										Default: map[string]interface{}{},
  3882  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"),
  3883  									},
  3884  								},
  3885  							},
  3886  						},
  3887  					},
  3888  					"rows": {
  3889  						SchemaProps: spec.SchemaProps{
  3890  							Description: "rows is the list of items in the table.",
  3891  							Type:        []string{"array"},
  3892  							Items: &spec.SchemaOrArray{
  3893  								Schema: &spec.Schema{
  3894  									SchemaProps: spec.SchemaProps{
  3895  										Default: map[string]interface{}{},
  3896  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"),
  3897  									},
  3898  								},
  3899  							},
  3900  						},
  3901  					},
  3902  				},
  3903  				Required: []string{"columnDefinitions", "rows"},
  3904  			},
  3905  		},
  3906  		Dependencies: []string{
  3907  			"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"},
  3908  	}
  3909  }
  3910  
  3911  func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3912  	return common.OpenAPIDefinition{
  3913  		Schema: spec.Schema{
  3914  			SchemaProps: spec.SchemaProps{
  3915  				Description: "TableColumnDefinition contains information about a column returned in the Table.",
  3916  				Type:        []string{"object"},
  3917  				Properties: map[string]spec.Schema{
  3918  					"name": {
  3919  						SchemaProps: spec.SchemaProps{
  3920  							Description: "name is a human readable name for the column.",
  3921  							Default:     "",
  3922  							Type:        []string{"string"},
  3923  							Format:      "",
  3924  						},
  3925  					},
  3926  					"type": {
  3927  						SchemaProps: spec.SchemaProps{
  3928  							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.",
  3929  							Default:     "",
  3930  							Type:        []string{"string"},
  3931  							Format:      "",
  3932  						},
  3933  					},
  3934  					"format": {
  3935  						SchemaProps: spec.SchemaProps{
  3936  							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.",
  3937  							Default:     "",
  3938  							Type:        []string{"string"},
  3939  							Format:      "",
  3940  						},
  3941  					},
  3942  					"description": {
  3943  						SchemaProps: spec.SchemaProps{
  3944  							Description: "description is a human readable description of this column.",
  3945  							Default:     "",
  3946  							Type:        []string{"string"},
  3947  							Format:      "",
  3948  						},
  3949  					},
  3950  					"priority": {
  3951  						SchemaProps: spec.SchemaProps{
  3952  							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.",
  3953  							Default:     0,
  3954  							Type:        []string{"integer"},
  3955  							Format:      "int32",
  3956  						},
  3957  					},
  3958  				},
  3959  				Required: []string{"name", "type", "format", "description", "priority"},
  3960  			},
  3961  		},
  3962  	}
  3963  }
  3964  
  3965  func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3966  	return common.OpenAPIDefinition{
  3967  		Schema: spec.Schema{
  3968  			SchemaProps: spec.SchemaProps{
  3969  				Description: "TableOptions are used when a Table is requested by the caller.",
  3970  				Type:        []string{"object"},
  3971  				Properties: map[string]spec.Schema{
  3972  					"kind": {
  3973  						SchemaProps: spec.SchemaProps{
  3974  							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",
  3975  							Type:        []string{"string"},
  3976  							Format:      "",
  3977  						},
  3978  					},
  3979  					"apiVersion": {
  3980  						SchemaProps: spec.SchemaProps{
  3981  							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",
  3982  							Type:        []string{"string"},
  3983  							Format:      "",
  3984  						},
  3985  					},
  3986  					"includeObject": {
  3987  						SchemaProps: spec.SchemaProps{
  3988  							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.",
  3989  							Type:        []string{"string"},
  3990  							Format:      "",
  3991  						},
  3992  					},
  3993  				},
  3994  			},
  3995  		},
  3996  	}
  3997  }
  3998  
  3999  func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4000  	return common.OpenAPIDefinition{
  4001  		Schema: spec.Schema{
  4002  			SchemaProps: spec.SchemaProps{
  4003  				Description: "TableRow is an individual row in a table.",
  4004  				Type:        []string{"object"},
  4005  				Properties: map[string]spec.Schema{
  4006  					"cells": {
  4007  						SchemaProps: spec.SchemaProps{
  4008  							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.",
  4009  							Type:        []string{"array"},
  4010  							Items: &spec.SchemaOrArray{
  4011  								Schema: &spec.Schema{
  4012  									SchemaProps: spec.SchemaProps{
  4013  										Type:   []string{"object"},
  4014  										Format: "",
  4015  									},
  4016  								},
  4017  							},
  4018  						},
  4019  					},
  4020  					"conditions": {
  4021  						SchemaProps: spec.SchemaProps{
  4022  							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.",
  4023  							Type:        []string{"array"},
  4024  							Items: &spec.SchemaOrArray{
  4025  								Schema: &spec.Schema{
  4026  									SchemaProps: spec.SchemaProps{
  4027  										Default: map[string]interface{}{},
  4028  										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"),
  4029  									},
  4030  								},
  4031  							},
  4032  						},
  4033  					},
  4034  					"object": {
  4035  						SchemaProps: spec.SchemaProps{
  4036  							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.",
  4037  							Default:     map[string]interface{}{},
  4038  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  4039  						},
  4040  					},
  4041  				},
  4042  				Required: []string{"cells"},
  4043  			},
  4044  		},
  4045  		Dependencies: []string{
  4046  			"k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
  4047  	}
  4048  }
  4049  
  4050  func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4051  	return common.OpenAPIDefinition{
  4052  		Schema: spec.Schema{
  4053  			SchemaProps: spec.SchemaProps{
  4054  				Description: "TableRowCondition allows a row to be marked with additional information.",
  4055  				Type:        []string{"object"},
  4056  				Properties: map[string]spec.Schema{
  4057  					"type": {
  4058  						SchemaProps: spec.SchemaProps{
  4059  							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.",
  4060  							Default:     "",
  4061  							Type:        []string{"string"},
  4062  							Format:      "",
  4063  						},
  4064  					},
  4065  					"status": {
  4066  						SchemaProps: spec.SchemaProps{
  4067  							Description: "Status of the condition, one of True, False, Unknown.",
  4068  							Default:     "",
  4069  							Type:        []string{"string"},
  4070  							Format:      "",
  4071  						},
  4072  					},
  4073  					"reason": {
  4074  						SchemaProps: spec.SchemaProps{
  4075  							Description: "(brief) machine readable reason for the condition's last transition.",
  4076  							Type:        []string{"string"},
  4077  							Format:      "",
  4078  						},
  4079  					},
  4080  					"message": {
  4081  						SchemaProps: spec.SchemaProps{
  4082  							Description: "Human readable message indicating details about last transition.",
  4083  							Type:        []string{"string"},
  4084  							Format:      "",
  4085  						},
  4086  					},
  4087  				},
  4088  				Required: []string{"type", "status"},
  4089  			},
  4090  		},
  4091  	}
  4092  }
  4093  
  4094  func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4095  	return common.OpenAPIDefinition{
  4096  		Schema: spec.Schema{
  4097  			SchemaProps: spec.SchemaProps{
  4098  				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.",
  4099  				Type:        v1.Time{}.OpenAPISchemaType(),
  4100  				Format:      v1.Time{}.OpenAPISchemaFormat(),
  4101  			},
  4102  		},
  4103  	}
  4104  }
  4105  
  4106  func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4107  	return common.OpenAPIDefinition{
  4108  		Schema: spec.Schema{
  4109  			SchemaProps: spec.SchemaProps{
  4110  				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.",
  4111  				Type:        []string{"object"},
  4112  				Properties: map[string]spec.Schema{
  4113  					"seconds": {
  4114  						SchemaProps: spec.SchemaProps{
  4115  							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.",
  4116  							Default:     0,
  4117  							Type:        []string{"integer"},
  4118  							Format:      "int64",
  4119  						},
  4120  					},
  4121  					"nanos": {
  4122  						SchemaProps: spec.SchemaProps{
  4123  							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.",
  4124  							Default:     0,
  4125  							Type:        []string{"integer"},
  4126  							Format:      "int32",
  4127  						},
  4128  					},
  4129  				},
  4130  				Required: []string{"seconds", "nanos"},
  4131  			},
  4132  		},
  4133  	}
  4134  }
  4135  
  4136  func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4137  	return common.OpenAPIDefinition{
  4138  		Schema: spec.Schema{
  4139  			SchemaProps: spec.SchemaProps{
  4140  				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.",
  4141  				Type:        []string{"object"},
  4142  				Properties: map[string]spec.Schema{
  4143  					"kind": {
  4144  						SchemaProps: spec.SchemaProps{
  4145  							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",
  4146  							Type:        []string{"string"},
  4147  							Format:      "",
  4148  						},
  4149  					},
  4150  					"apiVersion": {
  4151  						SchemaProps: spec.SchemaProps{
  4152  							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",
  4153  							Type:        []string{"string"},
  4154  							Format:      "",
  4155  						},
  4156  					},
  4157  				},
  4158  			},
  4159  		},
  4160  	}
  4161  }
  4162  
  4163  func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4164  	return common.OpenAPIDefinition{
  4165  		Schema: spec.Schema{
  4166  			SchemaProps: spec.SchemaProps{
  4167  				Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.",
  4168  				Type:        []string{"object"},
  4169  				Properties: map[string]spec.Schema{
  4170  					"kind": {
  4171  						SchemaProps: spec.SchemaProps{
  4172  							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",
  4173  							Type:        []string{"string"},
  4174  							Format:      "",
  4175  						},
  4176  					},
  4177  					"apiVersion": {
  4178  						SchemaProps: spec.SchemaProps{
  4179  							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",
  4180  							Type:        []string{"string"},
  4181  							Format:      "",
  4182  						},
  4183  					},
  4184  					"dryRun": {
  4185  						SchemaProps: spec.SchemaProps{
  4186  							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",
  4187  							Type:        []string{"array"},
  4188  							Items: &spec.SchemaOrArray{
  4189  								Schema: &spec.Schema{
  4190  									SchemaProps: spec.SchemaProps{
  4191  										Default: "",
  4192  										Type:    []string{"string"},
  4193  										Format:  "",
  4194  									},
  4195  								},
  4196  							},
  4197  						},
  4198  					},
  4199  					"fieldManager": {
  4200  						SchemaProps: spec.SchemaProps{
  4201  							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.",
  4202  							Type:        []string{"string"},
  4203  							Format:      "",
  4204  						},
  4205  					},
  4206  					"fieldValidation": {
  4207  						SchemaProps: spec.SchemaProps{
  4208  							Description: "fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in  this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.",
  4209  							Type:        []string{"string"},
  4210  							Format:      "",
  4211  						},
  4212  					},
  4213  				},
  4214  			},
  4215  		},
  4216  	}
  4217  }
  4218  
  4219  func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4220  	return common.OpenAPIDefinition{
  4221  		Schema: spec.Schema{
  4222  			SchemaProps: spec.SchemaProps{
  4223  				Description: "Event represents a single event to a watched resource.",
  4224  				Type:        []string{"object"},
  4225  				Properties: map[string]spec.Schema{
  4226  					"type": {
  4227  						SchemaProps: spec.SchemaProps{
  4228  							Default: "",
  4229  							Type:    []string{"string"},
  4230  							Format:  "",
  4231  						},
  4232  					},
  4233  					"object": {
  4234  						SchemaProps: spec.SchemaProps{
  4235  							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.",
  4236  							Default:     map[string]interface{}{},
  4237  							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
  4238  						},
  4239  					},
  4240  				},
  4241  				Required: []string{"type", "object"},
  4242  			},
  4243  		},
  4244  		Dependencies: []string{
  4245  			"k8s.io/apimachinery/pkg/runtime.RawExtension"},
  4246  	}
  4247  }
  4248  
  4249  func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4250  	return common.OpenAPIDefinition{
  4251  		Schema: spec.Schema{
  4252  			SchemaProps: spec.SchemaProps{
  4253  				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: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\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.)",
  4254  				Type:        []string{"object"},
  4255  			},
  4256  		},
  4257  	}
  4258  }
  4259  
  4260  func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4261  	return common.OpenAPIDefinition{
  4262  		Schema: spec.Schema{
  4263  			SchemaProps: spec.SchemaProps{
  4264  				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (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.",
  4265  				Type:        []string{"object"},
  4266  				Properties: map[string]spec.Schema{
  4267  					"apiVersion": {
  4268  						SchemaProps: spec.SchemaProps{
  4269  							Type:   []string{"string"},
  4270  							Format: "",
  4271  						},
  4272  					},
  4273  					"kind": {
  4274  						SchemaProps: spec.SchemaProps{
  4275  							Type:   []string{"string"},
  4276  							Format: "",
  4277  						},
  4278  					},
  4279  				},
  4280  			},
  4281  		},
  4282  	}
  4283  }
  4284  
  4285  func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4286  	return common.OpenAPIDefinition{
  4287  		Schema: spec.Schema{
  4288  			SchemaProps: spec.SchemaProps{
  4289  				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.",
  4290  				Type:        []string{"object"},
  4291  				Properties: map[string]spec.Schema{
  4292  					"apiVersion": {
  4293  						SchemaProps: spec.SchemaProps{
  4294  							Type:   []string{"string"},
  4295  							Format: "",
  4296  						},
  4297  					},
  4298  					"kind": {
  4299  						SchemaProps: spec.SchemaProps{
  4300  							Type:   []string{"string"},
  4301  							Format: "",
  4302  						},
  4303  					},
  4304  					"Raw": {
  4305  						SchemaProps: spec.SchemaProps{
  4306  							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.",
  4307  							Type:        []string{"string"},
  4308  							Format:      "byte",
  4309  						},
  4310  					},
  4311  					"ContentEncoding": {
  4312  						SchemaProps: spec.SchemaProps{
  4313  							Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.",
  4314  							Default:     "",
  4315  							Type:        []string{"string"},
  4316  							Format:      "",
  4317  						},
  4318  					},
  4319  					"ContentType": {
  4320  						SchemaProps: spec.SchemaProps{
  4321  							Description: "ContentType  is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.",
  4322  							Default:     "",
  4323  							Type:        []string{"string"},
  4324  							Format:      "",
  4325  						},
  4326  					},
  4327  				},
  4328  				Required: []string{"Raw", "ContentEncoding", "ContentType"},
  4329  			},
  4330  		},
  4331  	}
  4332  }
  4333  
  4334  func schema_k8sio_apimachinery_pkg_version_Info(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4335  	return common.OpenAPIDefinition{
  4336  		Schema: spec.Schema{
  4337  			SchemaProps: spec.SchemaProps{
  4338  				Description: "Info contains versioning information. how we'll want to distribute that information.",
  4339  				Type:        []string{"object"},
  4340  				Properties: map[string]spec.Schema{
  4341  					"major": {
  4342  						SchemaProps: spec.SchemaProps{
  4343  							Default: "",
  4344  							Type:    []string{"string"},
  4345  							Format:  "",
  4346  						},
  4347  					},
  4348  					"minor": {
  4349  						SchemaProps: spec.SchemaProps{
  4350  							Default: "",
  4351  							Type:    []string{"string"},
  4352  							Format:  "",
  4353  						},
  4354  					},
  4355  					"gitVersion": {
  4356  						SchemaProps: spec.SchemaProps{
  4357  							Default: "",
  4358  							Type:    []string{"string"},
  4359  							Format:  "",
  4360  						},
  4361  					},
  4362  					"gitCommit": {
  4363  						SchemaProps: spec.SchemaProps{
  4364  							Default: "",
  4365  							Type:    []string{"string"},
  4366  							Format:  "",
  4367  						},
  4368  					},
  4369  					"gitTreeState": {
  4370  						SchemaProps: spec.SchemaProps{
  4371  							Default: "",
  4372  							Type:    []string{"string"},
  4373  							Format:  "",
  4374  						},
  4375  					},
  4376  					"buildDate": {
  4377  						SchemaProps: spec.SchemaProps{
  4378  							Default: "",
  4379  							Type:    []string{"string"},
  4380  							Format:  "",
  4381  						},
  4382  					},
  4383  					"goVersion": {
  4384  						SchemaProps: spec.SchemaProps{
  4385  							Default: "",
  4386  							Type:    []string{"string"},
  4387  							Format:  "",
  4388  						},
  4389  					},
  4390  					"compiler": {
  4391  						SchemaProps: spec.SchemaProps{
  4392  							Default: "",
  4393  							Type:    []string{"string"},
  4394  							Format:  "",
  4395  						},
  4396  					},
  4397  					"platform": {
  4398  						SchemaProps: spec.SchemaProps{
  4399  							Default: "",
  4400  							Type:    []string{"string"},
  4401  							Format:  "",
  4402  						},
  4403  					},
  4404  				},
  4405  				Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"},
  4406  			},
  4407  		},
  4408  	}
  4409  }