...

Source file src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1beta1
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *ConversionRequest) DeepCopyInto(out *ConversionRequest) {
    30  	*out = *in
    31  	if in.Objects != nil {
    32  		in, out := &in.Objects, &out.Objects
    33  		*out = make([]runtime.RawExtension, len(*in))
    34  		for i := range *in {
    35  			(*in)[i].DeepCopyInto(&(*out)[i])
    36  		}
    37  	}
    38  	return
    39  }
    40  
    41  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionRequest.
    42  func (in *ConversionRequest) DeepCopy() *ConversionRequest {
    43  	if in == nil {
    44  		return nil
    45  	}
    46  	out := new(ConversionRequest)
    47  	in.DeepCopyInto(out)
    48  	return out
    49  }
    50  
    51  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    52  func (in *ConversionResponse) DeepCopyInto(out *ConversionResponse) {
    53  	*out = *in
    54  	if in.ConvertedObjects != nil {
    55  		in, out := &in.ConvertedObjects, &out.ConvertedObjects
    56  		*out = make([]runtime.RawExtension, len(*in))
    57  		for i := range *in {
    58  			(*in)[i].DeepCopyInto(&(*out)[i])
    59  		}
    60  	}
    61  	in.Result.DeepCopyInto(&out.Result)
    62  	return
    63  }
    64  
    65  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionResponse.
    66  func (in *ConversionResponse) DeepCopy() *ConversionResponse {
    67  	if in == nil {
    68  		return nil
    69  	}
    70  	out := new(ConversionResponse)
    71  	in.DeepCopyInto(out)
    72  	return out
    73  }
    74  
    75  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    76  func (in *ConversionReview) DeepCopyInto(out *ConversionReview) {
    77  	*out = *in
    78  	out.TypeMeta = in.TypeMeta
    79  	if in.Request != nil {
    80  		in, out := &in.Request, &out.Request
    81  		*out = new(ConversionRequest)
    82  		(*in).DeepCopyInto(*out)
    83  	}
    84  	if in.Response != nil {
    85  		in, out := &in.Response, &out.Response
    86  		*out = new(ConversionResponse)
    87  		(*in).DeepCopyInto(*out)
    88  	}
    89  	return
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionReview.
    93  func (in *ConversionReview) DeepCopy() *ConversionReview {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(ConversionReview)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   103  func (in *ConversionReview) DeepCopyObject() runtime.Object {
   104  	if c := in.DeepCopy(); c != nil {
   105  		return c
   106  	}
   107  	return nil
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *CustomResourceColumnDefinition) DeepCopyInto(out *CustomResourceColumnDefinition) {
   112  	*out = *in
   113  	return
   114  }
   115  
   116  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceColumnDefinition.
   117  func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition {
   118  	if in == nil {
   119  		return nil
   120  	}
   121  	out := new(CustomResourceColumnDefinition)
   122  	in.DeepCopyInto(out)
   123  	return out
   124  }
   125  
   126  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   127  func (in *CustomResourceConversion) DeepCopyInto(out *CustomResourceConversion) {
   128  	*out = *in
   129  	if in.WebhookClientConfig != nil {
   130  		in, out := &in.WebhookClientConfig, &out.WebhookClientConfig
   131  		*out = new(WebhookClientConfig)
   132  		(*in).DeepCopyInto(*out)
   133  	}
   134  	if in.ConversionReviewVersions != nil {
   135  		in, out := &in.ConversionReviewVersions, &out.ConversionReviewVersions
   136  		*out = make([]string, len(*in))
   137  		copy(*out, *in)
   138  	}
   139  	return
   140  }
   141  
   142  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceConversion.
   143  func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion {
   144  	if in == nil {
   145  		return nil
   146  	}
   147  	out := new(CustomResourceConversion)
   148  	in.DeepCopyInto(out)
   149  	return out
   150  }
   151  
   152  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   153  func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) {
   154  	*out = *in
   155  	out.TypeMeta = in.TypeMeta
   156  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   157  	in.Spec.DeepCopyInto(&out.Spec)
   158  	in.Status.DeepCopyInto(&out.Status)
   159  	return
   160  }
   161  
   162  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
   163  func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition {
   164  	if in == nil {
   165  		return nil
   166  	}
   167  	out := new(CustomResourceDefinition)
   168  	in.DeepCopyInto(out)
   169  	return out
   170  }
   171  
   172  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   173  func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object {
   174  	if c := in.DeepCopy(); c != nil {
   175  		return c
   176  	}
   177  	return nil
   178  }
   179  
   180  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   181  func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDefinitionCondition) {
   182  	*out = *in
   183  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   184  	return
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
   188  func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(CustomResourceDefinitionCondition)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   198  func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList) {
   199  	*out = *in
   200  	out.TypeMeta = in.TypeMeta
   201  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   202  	if in.Items != nil {
   203  		in, out := &in.Items, &out.Items
   204  		*out = make([]CustomResourceDefinition, len(*in))
   205  		for i := range *in {
   206  			(*in)[i].DeepCopyInto(&(*out)[i])
   207  		}
   208  	}
   209  	return
   210  }
   211  
   212  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
   213  func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList {
   214  	if in == nil {
   215  		return nil
   216  	}
   217  	out := new(CustomResourceDefinitionList)
   218  	in.DeepCopyInto(out)
   219  	return out
   220  }
   221  
   222  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   223  func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object {
   224  	if c := in.DeepCopy(); c != nil {
   225  		return c
   226  	}
   227  	return nil
   228  }
   229  
   230  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   231  func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinitionNames) {
   232  	*out = *in
   233  	if in.ShortNames != nil {
   234  		in, out := &in.ShortNames, &out.ShortNames
   235  		*out = make([]string, len(*in))
   236  		copy(*out, *in)
   237  	}
   238  	if in.Categories != nil {
   239  		in, out := &in.Categories, &out.Categories
   240  		*out = make([]string, len(*in))
   241  		copy(*out, *in)
   242  	}
   243  	return
   244  }
   245  
   246  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
   247  func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames {
   248  	if in == nil {
   249  		return nil
   250  	}
   251  	out := new(CustomResourceDefinitionNames)
   252  	in.DeepCopyInto(out)
   253  	return out
   254  }
   255  
   256  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   257  func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefinitionSpec) {
   258  	*out = *in
   259  	in.Names.DeepCopyInto(&out.Names)
   260  	if in.Validation != nil {
   261  		in, out := &in.Validation, &out.Validation
   262  		*out = new(CustomResourceValidation)
   263  		(*in).DeepCopyInto(*out)
   264  	}
   265  	if in.Subresources != nil {
   266  		in, out := &in.Subresources, &out.Subresources
   267  		*out = new(CustomResourceSubresources)
   268  		(*in).DeepCopyInto(*out)
   269  	}
   270  	if in.Versions != nil {
   271  		in, out := &in.Versions, &out.Versions
   272  		*out = make([]CustomResourceDefinitionVersion, len(*in))
   273  		for i := range *in {
   274  			(*in)[i].DeepCopyInto(&(*out)[i])
   275  		}
   276  	}
   277  	if in.AdditionalPrinterColumns != nil {
   278  		in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
   279  		*out = make([]CustomResourceColumnDefinition, len(*in))
   280  		copy(*out, *in)
   281  	}
   282  	if in.SelectableFields != nil {
   283  		in, out := &in.SelectableFields, &out.SelectableFields
   284  		*out = make([]SelectableField, len(*in))
   285  		copy(*out, *in)
   286  	}
   287  	if in.Conversion != nil {
   288  		in, out := &in.Conversion, &out.Conversion
   289  		*out = new(CustomResourceConversion)
   290  		(*in).DeepCopyInto(*out)
   291  	}
   292  	if in.PreserveUnknownFields != nil {
   293  		in, out := &in.PreserveUnknownFields, &out.PreserveUnknownFields
   294  		*out = new(bool)
   295  		**out = **in
   296  	}
   297  	return
   298  }
   299  
   300  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
   301  func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec {
   302  	if in == nil {
   303  		return nil
   304  	}
   305  	out := new(CustomResourceDefinitionSpec)
   306  	in.DeepCopyInto(out)
   307  	return out
   308  }
   309  
   310  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   311  func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefinitionStatus) {
   312  	*out = *in
   313  	if in.Conditions != nil {
   314  		in, out := &in.Conditions, &out.Conditions
   315  		*out = make([]CustomResourceDefinitionCondition, len(*in))
   316  		for i := range *in {
   317  			(*in)[i].DeepCopyInto(&(*out)[i])
   318  		}
   319  	}
   320  	in.AcceptedNames.DeepCopyInto(&out.AcceptedNames)
   321  	if in.StoredVersions != nil {
   322  		in, out := &in.StoredVersions, &out.StoredVersions
   323  		*out = make([]string, len(*in))
   324  		copy(*out, *in)
   325  	}
   326  	return
   327  }
   328  
   329  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
   330  func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus {
   331  	if in == nil {
   332  		return nil
   333  	}
   334  	out := new(CustomResourceDefinitionStatus)
   335  	in.DeepCopyInto(out)
   336  	return out
   337  }
   338  
   339  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   340  func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefinitionVersion) {
   341  	*out = *in
   342  	if in.DeprecationWarning != nil {
   343  		in, out := &in.DeprecationWarning, &out.DeprecationWarning
   344  		*out = new(string)
   345  		**out = **in
   346  	}
   347  	if in.Schema != nil {
   348  		in, out := &in.Schema, &out.Schema
   349  		*out = new(CustomResourceValidation)
   350  		(*in).DeepCopyInto(*out)
   351  	}
   352  	if in.Subresources != nil {
   353  		in, out := &in.Subresources, &out.Subresources
   354  		*out = new(CustomResourceSubresources)
   355  		(*in).DeepCopyInto(*out)
   356  	}
   357  	if in.AdditionalPrinterColumns != nil {
   358  		in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
   359  		*out = make([]CustomResourceColumnDefinition, len(*in))
   360  		copy(*out, *in)
   361  	}
   362  	if in.SelectableFields != nil {
   363  		in, out := &in.SelectableFields, &out.SelectableFields
   364  		*out = make([]SelectableField, len(*in))
   365  		copy(*out, *in)
   366  	}
   367  	return
   368  }
   369  
   370  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionVersion.
   371  func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion {
   372  	if in == nil {
   373  		return nil
   374  	}
   375  	out := new(CustomResourceDefinitionVersion)
   376  	in.DeepCopyInto(out)
   377  	return out
   378  }
   379  
   380  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   381  func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubresourceScale) {
   382  	*out = *in
   383  	if in.LabelSelectorPath != nil {
   384  		in, out := &in.LabelSelectorPath, &out.LabelSelectorPath
   385  		*out = new(string)
   386  		**out = **in
   387  	}
   388  	return
   389  }
   390  
   391  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceScale.
   392  func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale {
   393  	if in == nil {
   394  		return nil
   395  	}
   396  	out := new(CustomResourceSubresourceScale)
   397  	in.DeepCopyInto(out)
   398  	return out
   399  }
   400  
   401  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   402  func (in *CustomResourceSubresourceStatus) DeepCopyInto(out *CustomResourceSubresourceStatus) {
   403  	*out = *in
   404  	return
   405  }
   406  
   407  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceStatus.
   408  func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus {
   409  	if in == nil {
   410  		return nil
   411  	}
   412  	out := new(CustomResourceSubresourceStatus)
   413  	in.DeepCopyInto(out)
   414  	return out
   415  }
   416  
   417  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   418  func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresources) {
   419  	*out = *in
   420  	if in.Status != nil {
   421  		in, out := &in.Status, &out.Status
   422  		*out = new(CustomResourceSubresourceStatus)
   423  		**out = **in
   424  	}
   425  	if in.Scale != nil {
   426  		in, out := &in.Scale, &out.Scale
   427  		*out = new(CustomResourceSubresourceScale)
   428  		(*in).DeepCopyInto(*out)
   429  	}
   430  	return
   431  }
   432  
   433  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresources.
   434  func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources {
   435  	if in == nil {
   436  		return nil
   437  	}
   438  	out := new(CustomResourceSubresources)
   439  	in.DeepCopyInto(out)
   440  	return out
   441  }
   442  
   443  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   444  func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation) {
   445  	*out = *in
   446  	if in.OpenAPIV3Schema != nil {
   447  		in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
   448  		*out = (*in).DeepCopy()
   449  	}
   450  	return
   451  }
   452  
   453  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceValidation.
   454  func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation {
   455  	if in == nil {
   456  		return nil
   457  	}
   458  	out := new(CustomResourceValidation)
   459  	in.DeepCopyInto(out)
   460  	return out
   461  }
   462  
   463  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   464  func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation) {
   465  	*out = *in
   466  	return
   467  }
   468  
   469  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentation.
   470  func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation {
   471  	if in == nil {
   472  		return nil
   473  	}
   474  	out := new(ExternalDocumentation)
   475  	in.DeepCopyInto(out)
   476  	return out
   477  }
   478  
   479  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   480  func (in *JSON) DeepCopyInto(out *JSON) {
   481  	*out = *in
   482  	if in.Raw != nil {
   483  		in, out := &in.Raw, &out.Raw
   484  		*out = make([]byte, len(*in))
   485  		copy(*out, *in)
   486  	}
   487  	return
   488  }
   489  
   490  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.
   491  func (in *JSON) DeepCopy() *JSON {
   492  	if in == nil {
   493  		return nil
   494  	}
   495  	out := new(JSON)
   496  	in.DeepCopyInto(out)
   497  	return out
   498  }
   499  
   500  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   501  func (in JSONSchemaDefinitions) DeepCopyInto(out *JSONSchemaDefinitions) {
   502  	{
   503  		in := &in
   504  		*out = make(JSONSchemaDefinitions, len(*in))
   505  		for key, val := range *in {
   506  			(*out)[key] = *val.DeepCopy()
   507  		}
   508  		return
   509  	}
   510  }
   511  
   512  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDefinitions.
   513  func (in JSONSchemaDefinitions) DeepCopy() JSONSchemaDefinitions {
   514  	if in == nil {
   515  		return nil
   516  	}
   517  	out := new(JSONSchemaDefinitions)
   518  	in.DeepCopyInto(out)
   519  	return *out
   520  }
   521  
   522  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   523  func (in JSONSchemaDependencies) DeepCopyInto(out *JSONSchemaDependencies) {
   524  	{
   525  		in := &in
   526  		*out = make(JSONSchemaDependencies, len(*in))
   527  		for key, val := range *in {
   528  			(*out)[key] = *val.DeepCopy()
   529  		}
   530  		return
   531  	}
   532  }
   533  
   534  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDependencies.
   535  func (in JSONSchemaDependencies) DeepCopy() JSONSchemaDependencies {
   536  	if in == nil {
   537  		return nil
   538  	}
   539  	out := new(JSONSchemaDependencies)
   540  	in.DeepCopyInto(out)
   541  	return *out
   542  }
   543  
   544  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   545  func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps) {
   546  	clone := in.DeepCopy()
   547  	*out = *clone
   548  	return
   549  }
   550  
   551  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   552  func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
   553  	*out = *in
   554  	if in.Schema != nil {
   555  		in, out := &in.Schema, &out.Schema
   556  		*out = (*in).DeepCopy()
   557  	}
   558  	if in.JSONSchemas != nil {
   559  		in, out := &in.JSONSchemas, &out.JSONSchemas
   560  		*out = make([]JSONSchemaProps, len(*in))
   561  		for i := range *in {
   562  			(*in)[i].DeepCopyInto(&(*out)[i])
   563  		}
   564  	}
   565  	return
   566  }
   567  
   568  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrArray.
   569  func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray {
   570  	if in == nil {
   571  		return nil
   572  	}
   573  	out := new(JSONSchemaPropsOrArray)
   574  	in.DeepCopyInto(out)
   575  	return out
   576  }
   577  
   578  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   579  func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool) {
   580  	*out = *in
   581  	if in.Schema != nil {
   582  		in, out := &in.Schema, &out.Schema
   583  		*out = (*in).DeepCopy()
   584  	}
   585  	return
   586  }
   587  
   588  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrBool.
   589  func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool {
   590  	if in == nil {
   591  		return nil
   592  	}
   593  	out := new(JSONSchemaPropsOrBool)
   594  	in.DeepCopyInto(out)
   595  	return out
   596  }
   597  
   598  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   599  func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStringArray) {
   600  	*out = *in
   601  	if in.Schema != nil {
   602  		in, out := &in.Schema, &out.Schema
   603  		*out = (*in).DeepCopy()
   604  	}
   605  	if in.Property != nil {
   606  		in, out := &in.Property, &out.Property
   607  		*out = make([]string, len(*in))
   608  		copy(*out, *in)
   609  	}
   610  	return
   611  }
   612  
   613  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrStringArray.
   614  func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray {
   615  	if in == nil {
   616  		return nil
   617  	}
   618  	out := new(JSONSchemaPropsOrStringArray)
   619  	in.DeepCopyInto(out)
   620  	return out
   621  }
   622  
   623  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   624  func (in *SelectableField) DeepCopyInto(out *SelectableField) {
   625  	*out = *in
   626  	return
   627  }
   628  
   629  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectableField.
   630  func (in *SelectableField) DeepCopy() *SelectableField {
   631  	if in == nil {
   632  		return nil
   633  	}
   634  	out := new(SelectableField)
   635  	in.DeepCopyInto(out)
   636  	return out
   637  }
   638  
   639  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   640  func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
   641  	*out = *in
   642  	if in.Path != nil {
   643  		in, out := &in.Path, &out.Path
   644  		*out = new(string)
   645  		**out = **in
   646  	}
   647  	if in.Port != nil {
   648  		in, out := &in.Port, &out.Port
   649  		*out = new(int32)
   650  		**out = **in
   651  	}
   652  	return
   653  }
   654  
   655  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
   656  func (in *ServiceReference) DeepCopy() *ServiceReference {
   657  	if in == nil {
   658  		return nil
   659  	}
   660  	out := new(ServiceReference)
   661  	in.DeepCopyInto(out)
   662  	return out
   663  }
   664  
   665  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   666  func (in *ValidationRule) DeepCopyInto(out *ValidationRule) {
   667  	*out = *in
   668  	if in.Reason != nil {
   669  		in, out := &in.Reason, &out.Reason
   670  		*out = new(FieldValueErrorReason)
   671  		**out = **in
   672  	}
   673  	if in.OptionalOldSelf != nil {
   674  		in, out := &in.OptionalOldSelf, &out.OptionalOldSelf
   675  		*out = new(bool)
   676  		**out = **in
   677  	}
   678  	return
   679  }
   680  
   681  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRule.
   682  func (in *ValidationRule) DeepCopy() *ValidationRule {
   683  	if in == nil {
   684  		return nil
   685  	}
   686  	out := new(ValidationRule)
   687  	in.DeepCopyInto(out)
   688  	return out
   689  }
   690  
   691  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   692  func (in ValidationRules) DeepCopyInto(out *ValidationRules) {
   693  	{
   694  		in := &in
   695  		*out = make(ValidationRules, len(*in))
   696  		for i := range *in {
   697  			(*in)[i].DeepCopyInto(&(*out)[i])
   698  		}
   699  		return
   700  	}
   701  }
   702  
   703  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRules.
   704  func (in ValidationRules) DeepCopy() ValidationRules {
   705  	if in == nil {
   706  		return nil
   707  	}
   708  	out := new(ValidationRules)
   709  	in.DeepCopyInto(out)
   710  	return *out
   711  }
   712  
   713  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   714  func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
   715  	*out = *in
   716  	if in.URL != nil {
   717  		in, out := &in.URL, &out.URL
   718  		*out = new(string)
   719  		**out = **in
   720  	}
   721  	if in.Service != nil {
   722  		in, out := &in.Service, &out.Service
   723  		*out = new(ServiceReference)
   724  		(*in).DeepCopyInto(*out)
   725  	}
   726  	if in.CABundle != nil {
   727  		in, out := &in.CABundle, &out.CABundle
   728  		*out = make([]byte, len(*in))
   729  		copy(*out, *in)
   730  	}
   731  	return
   732  }
   733  
   734  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
   735  func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
   736  	if in == nil {
   737  		return nil
   738  	}
   739  	out := new(WebhookClientConfig)
   740  	in.DeepCopyInto(out)
   741  	return out
   742  }
   743  

View as plain text