...

Source file src/k8s.io/api/admissionregistration/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/api/admissionregistration/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  	admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
    26  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	runtime "k8s.io/apimachinery/pkg/runtime"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *AuditAnnotation) DeepCopyInto(out *AuditAnnotation) {
    32  	*out = *in
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditAnnotation.
    37  func (in *AuditAnnotation) DeepCopy() *AuditAnnotation {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(AuditAnnotation)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    47  func (in *ExpressionWarning) DeepCopyInto(out *ExpressionWarning) {
    48  	*out = *in
    49  	return
    50  }
    51  
    52  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressionWarning.
    53  func (in *ExpressionWarning) DeepCopy() *ExpressionWarning {
    54  	if in == nil {
    55  		return nil
    56  	}
    57  	out := new(ExpressionWarning)
    58  	in.DeepCopyInto(out)
    59  	return out
    60  }
    61  
    62  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    63  func (in *MatchCondition) DeepCopyInto(out *MatchCondition) {
    64  	*out = *in
    65  	return
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchCondition.
    69  func (in *MatchCondition) DeepCopy() *MatchCondition {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(MatchCondition)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    79  func (in *MatchResources) DeepCopyInto(out *MatchResources) {
    80  	*out = *in
    81  	if in.NamespaceSelector != nil {
    82  		in, out := &in.NamespaceSelector, &out.NamespaceSelector
    83  		*out = new(v1.LabelSelector)
    84  		(*in).DeepCopyInto(*out)
    85  	}
    86  	if in.ObjectSelector != nil {
    87  		in, out := &in.ObjectSelector, &out.ObjectSelector
    88  		*out = new(v1.LabelSelector)
    89  		(*in).DeepCopyInto(*out)
    90  	}
    91  	if in.ResourceRules != nil {
    92  		in, out := &in.ResourceRules, &out.ResourceRules
    93  		*out = make([]NamedRuleWithOperations, len(*in))
    94  		for i := range *in {
    95  			(*in)[i].DeepCopyInto(&(*out)[i])
    96  		}
    97  	}
    98  	if in.ExcludeResourceRules != nil {
    99  		in, out := &in.ExcludeResourceRules, &out.ExcludeResourceRules
   100  		*out = make([]NamedRuleWithOperations, len(*in))
   101  		for i := range *in {
   102  			(*in)[i].DeepCopyInto(&(*out)[i])
   103  		}
   104  	}
   105  	if in.MatchPolicy != nil {
   106  		in, out := &in.MatchPolicy, &out.MatchPolicy
   107  		*out = new(MatchPolicyType)
   108  		**out = **in
   109  	}
   110  	return
   111  }
   112  
   113  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
   114  func (in *MatchResources) DeepCopy() *MatchResources {
   115  	if in == nil {
   116  		return nil
   117  	}
   118  	out := new(MatchResources)
   119  	in.DeepCopyInto(out)
   120  	return out
   121  }
   122  
   123  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   124  func (in *MutatingWebhook) DeepCopyInto(out *MutatingWebhook) {
   125  	*out = *in
   126  	in.ClientConfig.DeepCopyInto(&out.ClientConfig)
   127  	if in.Rules != nil {
   128  		in, out := &in.Rules, &out.Rules
   129  		*out = make([]admissionregistrationv1.RuleWithOperations, len(*in))
   130  		for i := range *in {
   131  			(*in)[i].DeepCopyInto(&(*out)[i])
   132  		}
   133  	}
   134  	if in.FailurePolicy != nil {
   135  		in, out := &in.FailurePolicy, &out.FailurePolicy
   136  		*out = new(FailurePolicyType)
   137  		**out = **in
   138  	}
   139  	if in.MatchPolicy != nil {
   140  		in, out := &in.MatchPolicy, &out.MatchPolicy
   141  		*out = new(MatchPolicyType)
   142  		**out = **in
   143  	}
   144  	if in.NamespaceSelector != nil {
   145  		in, out := &in.NamespaceSelector, &out.NamespaceSelector
   146  		*out = new(v1.LabelSelector)
   147  		(*in).DeepCopyInto(*out)
   148  	}
   149  	if in.ObjectSelector != nil {
   150  		in, out := &in.ObjectSelector, &out.ObjectSelector
   151  		*out = new(v1.LabelSelector)
   152  		(*in).DeepCopyInto(*out)
   153  	}
   154  	if in.SideEffects != nil {
   155  		in, out := &in.SideEffects, &out.SideEffects
   156  		*out = new(SideEffectClass)
   157  		**out = **in
   158  	}
   159  	if in.TimeoutSeconds != nil {
   160  		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
   161  		*out = new(int32)
   162  		**out = **in
   163  	}
   164  	if in.AdmissionReviewVersions != nil {
   165  		in, out := &in.AdmissionReviewVersions, &out.AdmissionReviewVersions
   166  		*out = make([]string, len(*in))
   167  		copy(*out, *in)
   168  	}
   169  	if in.ReinvocationPolicy != nil {
   170  		in, out := &in.ReinvocationPolicy, &out.ReinvocationPolicy
   171  		*out = new(ReinvocationPolicyType)
   172  		**out = **in
   173  	}
   174  	if in.MatchConditions != nil {
   175  		in, out := &in.MatchConditions, &out.MatchConditions
   176  		*out = make([]MatchCondition, len(*in))
   177  		copy(*out, *in)
   178  	}
   179  	return
   180  }
   181  
   182  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhook.
   183  func (in *MutatingWebhook) DeepCopy() *MutatingWebhook {
   184  	if in == nil {
   185  		return nil
   186  	}
   187  	out := new(MutatingWebhook)
   188  	in.DeepCopyInto(out)
   189  	return out
   190  }
   191  
   192  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   193  func (in *MutatingWebhookConfiguration) DeepCopyInto(out *MutatingWebhookConfiguration) {
   194  	*out = *in
   195  	out.TypeMeta = in.TypeMeta
   196  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   197  	if in.Webhooks != nil {
   198  		in, out := &in.Webhooks, &out.Webhooks
   199  		*out = make([]MutatingWebhook, len(*in))
   200  		for i := range *in {
   201  			(*in)[i].DeepCopyInto(&(*out)[i])
   202  		}
   203  	}
   204  	return
   205  }
   206  
   207  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfiguration.
   208  func (in *MutatingWebhookConfiguration) DeepCopy() *MutatingWebhookConfiguration {
   209  	if in == nil {
   210  		return nil
   211  	}
   212  	out := new(MutatingWebhookConfiguration)
   213  	in.DeepCopyInto(out)
   214  	return out
   215  }
   216  
   217  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   218  func (in *MutatingWebhookConfiguration) DeepCopyObject() runtime.Object {
   219  	if c := in.DeepCopy(); c != nil {
   220  		return c
   221  	}
   222  	return nil
   223  }
   224  
   225  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   226  func (in *MutatingWebhookConfigurationList) DeepCopyInto(out *MutatingWebhookConfigurationList) {
   227  	*out = *in
   228  	out.TypeMeta = in.TypeMeta
   229  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   230  	if in.Items != nil {
   231  		in, out := &in.Items, &out.Items
   232  		*out = make([]MutatingWebhookConfiguration, len(*in))
   233  		for i := range *in {
   234  			(*in)[i].DeepCopyInto(&(*out)[i])
   235  		}
   236  	}
   237  	return
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfigurationList.
   241  func (in *MutatingWebhookConfigurationList) DeepCopy() *MutatingWebhookConfigurationList {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(MutatingWebhookConfigurationList)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   251  func (in *MutatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
   252  	if c := in.DeepCopy(); c != nil {
   253  		return c
   254  	}
   255  	return nil
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *NamedRuleWithOperations) DeepCopyInto(out *NamedRuleWithOperations) {
   260  	*out = *in
   261  	if in.ResourceNames != nil {
   262  		in, out := &in.ResourceNames, &out.ResourceNames
   263  		*out = make([]string, len(*in))
   264  		copy(*out, *in)
   265  	}
   266  	in.RuleWithOperations.DeepCopyInto(&out.RuleWithOperations)
   267  	return
   268  }
   269  
   270  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedRuleWithOperations.
   271  func (in *NamedRuleWithOperations) DeepCopy() *NamedRuleWithOperations {
   272  	if in == nil {
   273  		return nil
   274  	}
   275  	out := new(NamedRuleWithOperations)
   276  	in.DeepCopyInto(out)
   277  	return out
   278  }
   279  
   280  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   281  func (in *ParamKind) DeepCopyInto(out *ParamKind) {
   282  	*out = *in
   283  	return
   284  }
   285  
   286  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamKind.
   287  func (in *ParamKind) DeepCopy() *ParamKind {
   288  	if in == nil {
   289  		return nil
   290  	}
   291  	out := new(ParamKind)
   292  	in.DeepCopyInto(out)
   293  	return out
   294  }
   295  
   296  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   297  func (in *ParamRef) DeepCopyInto(out *ParamRef) {
   298  	*out = *in
   299  	if in.Selector != nil {
   300  		in, out := &in.Selector, &out.Selector
   301  		*out = new(v1.LabelSelector)
   302  		(*in).DeepCopyInto(*out)
   303  	}
   304  	if in.ParameterNotFoundAction != nil {
   305  		in, out := &in.ParameterNotFoundAction, &out.ParameterNotFoundAction
   306  		*out = new(ParameterNotFoundActionType)
   307  		**out = **in
   308  	}
   309  	return
   310  }
   311  
   312  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamRef.
   313  func (in *ParamRef) DeepCopy() *ParamRef {
   314  	if in == nil {
   315  		return nil
   316  	}
   317  	out := new(ParamRef)
   318  	in.DeepCopyInto(out)
   319  	return out
   320  }
   321  
   322  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   323  func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
   324  	*out = *in
   325  	if in.Path != nil {
   326  		in, out := &in.Path, &out.Path
   327  		*out = new(string)
   328  		**out = **in
   329  	}
   330  	if in.Port != nil {
   331  		in, out := &in.Port, &out.Port
   332  		*out = new(int32)
   333  		**out = **in
   334  	}
   335  	return
   336  }
   337  
   338  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
   339  func (in *ServiceReference) DeepCopy() *ServiceReference {
   340  	if in == nil {
   341  		return nil
   342  	}
   343  	out := new(ServiceReference)
   344  	in.DeepCopyInto(out)
   345  	return out
   346  }
   347  
   348  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   349  func (in *TypeChecking) DeepCopyInto(out *TypeChecking) {
   350  	*out = *in
   351  	if in.ExpressionWarnings != nil {
   352  		in, out := &in.ExpressionWarnings, &out.ExpressionWarnings
   353  		*out = make([]ExpressionWarning, len(*in))
   354  		copy(*out, *in)
   355  	}
   356  	return
   357  }
   358  
   359  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypeChecking.
   360  func (in *TypeChecking) DeepCopy() *TypeChecking {
   361  	if in == nil {
   362  		return nil
   363  	}
   364  	out := new(TypeChecking)
   365  	in.DeepCopyInto(out)
   366  	return out
   367  }
   368  
   369  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   370  func (in *ValidatingAdmissionPolicy) DeepCopyInto(out *ValidatingAdmissionPolicy) {
   371  	*out = *in
   372  	out.TypeMeta = in.TypeMeta
   373  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   374  	in.Spec.DeepCopyInto(&out.Spec)
   375  	in.Status.DeepCopyInto(&out.Status)
   376  	return
   377  }
   378  
   379  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicy.
   380  func (in *ValidatingAdmissionPolicy) DeepCopy() *ValidatingAdmissionPolicy {
   381  	if in == nil {
   382  		return nil
   383  	}
   384  	out := new(ValidatingAdmissionPolicy)
   385  	in.DeepCopyInto(out)
   386  	return out
   387  }
   388  
   389  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   390  func (in *ValidatingAdmissionPolicy) DeepCopyObject() runtime.Object {
   391  	if c := in.DeepCopy(); c != nil {
   392  		return c
   393  	}
   394  	return nil
   395  }
   396  
   397  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   398  func (in *ValidatingAdmissionPolicyBinding) DeepCopyInto(out *ValidatingAdmissionPolicyBinding) {
   399  	*out = *in
   400  	out.TypeMeta = in.TypeMeta
   401  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   402  	in.Spec.DeepCopyInto(&out.Spec)
   403  	return
   404  }
   405  
   406  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBinding.
   407  func (in *ValidatingAdmissionPolicyBinding) DeepCopy() *ValidatingAdmissionPolicyBinding {
   408  	if in == nil {
   409  		return nil
   410  	}
   411  	out := new(ValidatingAdmissionPolicyBinding)
   412  	in.DeepCopyInto(out)
   413  	return out
   414  }
   415  
   416  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   417  func (in *ValidatingAdmissionPolicyBinding) DeepCopyObject() runtime.Object {
   418  	if c := in.DeepCopy(); c != nil {
   419  		return c
   420  	}
   421  	return nil
   422  }
   423  
   424  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   425  func (in *ValidatingAdmissionPolicyBindingList) DeepCopyInto(out *ValidatingAdmissionPolicyBindingList) {
   426  	*out = *in
   427  	out.TypeMeta = in.TypeMeta
   428  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   429  	if in.Items != nil {
   430  		in, out := &in.Items, &out.Items
   431  		*out = make([]ValidatingAdmissionPolicyBinding, len(*in))
   432  		for i := range *in {
   433  			(*in)[i].DeepCopyInto(&(*out)[i])
   434  		}
   435  	}
   436  	return
   437  }
   438  
   439  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingList.
   440  func (in *ValidatingAdmissionPolicyBindingList) DeepCopy() *ValidatingAdmissionPolicyBindingList {
   441  	if in == nil {
   442  		return nil
   443  	}
   444  	out := new(ValidatingAdmissionPolicyBindingList)
   445  	in.DeepCopyInto(out)
   446  	return out
   447  }
   448  
   449  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   450  func (in *ValidatingAdmissionPolicyBindingList) DeepCopyObject() runtime.Object {
   451  	if c := in.DeepCopy(); c != nil {
   452  		return c
   453  	}
   454  	return nil
   455  }
   456  
   457  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   458  func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopyInto(out *ValidatingAdmissionPolicyBindingSpec) {
   459  	*out = *in
   460  	if in.ParamRef != nil {
   461  		in, out := &in.ParamRef, &out.ParamRef
   462  		*out = new(ParamRef)
   463  		(*in).DeepCopyInto(*out)
   464  	}
   465  	if in.MatchResources != nil {
   466  		in, out := &in.MatchResources, &out.MatchResources
   467  		*out = new(MatchResources)
   468  		(*in).DeepCopyInto(*out)
   469  	}
   470  	if in.ValidationActions != nil {
   471  		in, out := &in.ValidationActions, &out.ValidationActions
   472  		*out = make([]ValidationAction, len(*in))
   473  		copy(*out, *in)
   474  	}
   475  	return
   476  }
   477  
   478  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingSpec.
   479  func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopy() *ValidatingAdmissionPolicyBindingSpec {
   480  	if in == nil {
   481  		return nil
   482  	}
   483  	out := new(ValidatingAdmissionPolicyBindingSpec)
   484  	in.DeepCopyInto(out)
   485  	return out
   486  }
   487  
   488  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   489  func (in *ValidatingAdmissionPolicyList) DeepCopyInto(out *ValidatingAdmissionPolicyList) {
   490  	*out = *in
   491  	out.TypeMeta = in.TypeMeta
   492  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   493  	if in.Items != nil {
   494  		in, out := &in.Items, &out.Items
   495  		*out = make([]ValidatingAdmissionPolicy, len(*in))
   496  		for i := range *in {
   497  			(*in)[i].DeepCopyInto(&(*out)[i])
   498  		}
   499  	}
   500  	return
   501  }
   502  
   503  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyList.
   504  func (in *ValidatingAdmissionPolicyList) DeepCopy() *ValidatingAdmissionPolicyList {
   505  	if in == nil {
   506  		return nil
   507  	}
   508  	out := new(ValidatingAdmissionPolicyList)
   509  	in.DeepCopyInto(out)
   510  	return out
   511  }
   512  
   513  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   514  func (in *ValidatingAdmissionPolicyList) DeepCopyObject() runtime.Object {
   515  	if c := in.DeepCopy(); c != nil {
   516  		return c
   517  	}
   518  	return nil
   519  }
   520  
   521  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   522  func (in *ValidatingAdmissionPolicySpec) DeepCopyInto(out *ValidatingAdmissionPolicySpec) {
   523  	*out = *in
   524  	if in.ParamKind != nil {
   525  		in, out := &in.ParamKind, &out.ParamKind
   526  		*out = new(ParamKind)
   527  		**out = **in
   528  	}
   529  	if in.MatchConstraints != nil {
   530  		in, out := &in.MatchConstraints, &out.MatchConstraints
   531  		*out = new(MatchResources)
   532  		(*in).DeepCopyInto(*out)
   533  	}
   534  	if in.Validations != nil {
   535  		in, out := &in.Validations, &out.Validations
   536  		*out = make([]Validation, len(*in))
   537  		for i := range *in {
   538  			(*in)[i].DeepCopyInto(&(*out)[i])
   539  		}
   540  	}
   541  	if in.FailurePolicy != nil {
   542  		in, out := &in.FailurePolicy, &out.FailurePolicy
   543  		*out = new(FailurePolicyType)
   544  		**out = **in
   545  	}
   546  	if in.AuditAnnotations != nil {
   547  		in, out := &in.AuditAnnotations, &out.AuditAnnotations
   548  		*out = make([]AuditAnnotation, len(*in))
   549  		copy(*out, *in)
   550  	}
   551  	if in.MatchConditions != nil {
   552  		in, out := &in.MatchConditions, &out.MatchConditions
   553  		*out = make([]MatchCondition, len(*in))
   554  		copy(*out, *in)
   555  	}
   556  	if in.Variables != nil {
   557  		in, out := &in.Variables, &out.Variables
   558  		*out = make([]Variable, len(*in))
   559  		copy(*out, *in)
   560  	}
   561  	return
   562  }
   563  
   564  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicySpec.
   565  func (in *ValidatingAdmissionPolicySpec) DeepCopy() *ValidatingAdmissionPolicySpec {
   566  	if in == nil {
   567  		return nil
   568  	}
   569  	out := new(ValidatingAdmissionPolicySpec)
   570  	in.DeepCopyInto(out)
   571  	return out
   572  }
   573  
   574  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   575  func (in *ValidatingAdmissionPolicyStatus) DeepCopyInto(out *ValidatingAdmissionPolicyStatus) {
   576  	*out = *in
   577  	if in.TypeChecking != nil {
   578  		in, out := &in.TypeChecking, &out.TypeChecking
   579  		*out = new(TypeChecking)
   580  		(*in).DeepCopyInto(*out)
   581  	}
   582  	if in.Conditions != nil {
   583  		in, out := &in.Conditions, &out.Conditions
   584  		*out = make([]v1.Condition, len(*in))
   585  		for i := range *in {
   586  			(*in)[i].DeepCopyInto(&(*out)[i])
   587  		}
   588  	}
   589  	return
   590  }
   591  
   592  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyStatus.
   593  func (in *ValidatingAdmissionPolicyStatus) DeepCopy() *ValidatingAdmissionPolicyStatus {
   594  	if in == nil {
   595  		return nil
   596  	}
   597  	out := new(ValidatingAdmissionPolicyStatus)
   598  	in.DeepCopyInto(out)
   599  	return out
   600  }
   601  
   602  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   603  func (in *ValidatingWebhook) DeepCopyInto(out *ValidatingWebhook) {
   604  	*out = *in
   605  	in.ClientConfig.DeepCopyInto(&out.ClientConfig)
   606  	if in.Rules != nil {
   607  		in, out := &in.Rules, &out.Rules
   608  		*out = make([]admissionregistrationv1.RuleWithOperations, len(*in))
   609  		for i := range *in {
   610  			(*in)[i].DeepCopyInto(&(*out)[i])
   611  		}
   612  	}
   613  	if in.FailurePolicy != nil {
   614  		in, out := &in.FailurePolicy, &out.FailurePolicy
   615  		*out = new(FailurePolicyType)
   616  		**out = **in
   617  	}
   618  	if in.MatchPolicy != nil {
   619  		in, out := &in.MatchPolicy, &out.MatchPolicy
   620  		*out = new(MatchPolicyType)
   621  		**out = **in
   622  	}
   623  	if in.NamespaceSelector != nil {
   624  		in, out := &in.NamespaceSelector, &out.NamespaceSelector
   625  		*out = new(v1.LabelSelector)
   626  		(*in).DeepCopyInto(*out)
   627  	}
   628  	if in.ObjectSelector != nil {
   629  		in, out := &in.ObjectSelector, &out.ObjectSelector
   630  		*out = new(v1.LabelSelector)
   631  		(*in).DeepCopyInto(*out)
   632  	}
   633  	if in.SideEffects != nil {
   634  		in, out := &in.SideEffects, &out.SideEffects
   635  		*out = new(SideEffectClass)
   636  		**out = **in
   637  	}
   638  	if in.TimeoutSeconds != nil {
   639  		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
   640  		*out = new(int32)
   641  		**out = **in
   642  	}
   643  	if in.AdmissionReviewVersions != nil {
   644  		in, out := &in.AdmissionReviewVersions, &out.AdmissionReviewVersions
   645  		*out = make([]string, len(*in))
   646  		copy(*out, *in)
   647  	}
   648  	if in.MatchConditions != nil {
   649  		in, out := &in.MatchConditions, &out.MatchConditions
   650  		*out = make([]MatchCondition, len(*in))
   651  		copy(*out, *in)
   652  	}
   653  	return
   654  }
   655  
   656  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhook.
   657  func (in *ValidatingWebhook) DeepCopy() *ValidatingWebhook {
   658  	if in == nil {
   659  		return nil
   660  	}
   661  	out := new(ValidatingWebhook)
   662  	in.DeepCopyInto(out)
   663  	return out
   664  }
   665  
   666  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   667  func (in *ValidatingWebhookConfiguration) DeepCopyInto(out *ValidatingWebhookConfiguration) {
   668  	*out = *in
   669  	out.TypeMeta = in.TypeMeta
   670  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   671  	if in.Webhooks != nil {
   672  		in, out := &in.Webhooks, &out.Webhooks
   673  		*out = make([]ValidatingWebhook, len(*in))
   674  		for i := range *in {
   675  			(*in)[i].DeepCopyInto(&(*out)[i])
   676  		}
   677  	}
   678  	return
   679  }
   680  
   681  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfiguration.
   682  func (in *ValidatingWebhookConfiguration) DeepCopy() *ValidatingWebhookConfiguration {
   683  	if in == nil {
   684  		return nil
   685  	}
   686  	out := new(ValidatingWebhookConfiguration)
   687  	in.DeepCopyInto(out)
   688  	return out
   689  }
   690  
   691  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   692  func (in *ValidatingWebhookConfiguration) DeepCopyObject() runtime.Object {
   693  	if c := in.DeepCopy(); c != nil {
   694  		return c
   695  	}
   696  	return nil
   697  }
   698  
   699  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   700  func (in *ValidatingWebhookConfigurationList) DeepCopyInto(out *ValidatingWebhookConfigurationList) {
   701  	*out = *in
   702  	out.TypeMeta = in.TypeMeta
   703  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   704  	if in.Items != nil {
   705  		in, out := &in.Items, &out.Items
   706  		*out = make([]ValidatingWebhookConfiguration, len(*in))
   707  		for i := range *in {
   708  			(*in)[i].DeepCopyInto(&(*out)[i])
   709  		}
   710  	}
   711  	return
   712  }
   713  
   714  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationList.
   715  func (in *ValidatingWebhookConfigurationList) DeepCopy() *ValidatingWebhookConfigurationList {
   716  	if in == nil {
   717  		return nil
   718  	}
   719  	out := new(ValidatingWebhookConfigurationList)
   720  	in.DeepCopyInto(out)
   721  	return out
   722  }
   723  
   724  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   725  func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
   726  	if c := in.DeepCopy(); c != nil {
   727  		return c
   728  	}
   729  	return nil
   730  }
   731  
   732  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   733  func (in *Validation) DeepCopyInto(out *Validation) {
   734  	*out = *in
   735  	if in.Reason != nil {
   736  		in, out := &in.Reason, &out.Reason
   737  		*out = new(v1.StatusReason)
   738  		**out = **in
   739  	}
   740  	return
   741  }
   742  
   743  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validation.
   744  func (in *Validation) DeepCopy() *Validation {
   745  	if in == nil {
   746  		return nil
   747  	}
   748  	out := new(Validation)
   749  	in.DeepCopyInto(out)
   750  	return out
   751  }
   752  
   753  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   754  func (in *Variable) DeepCopyInto(out *Variable) {
   755  	*out = *in
   756  	return
   757  }
   758  
   759  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
   760  func (in *Variable) DeepCopy() *Variable {
   761  	if in == nil {
   762  		return nil
   763  	}
   764  	out := new(Variable)
   765  	in.DeepCopyInto(out)
   766  	return out
   767  }
   768  
   769  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   770  func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
   771  	*out = *in
   772  	if in.URL != nil {
   773  		in, out := &in.URL, &out.URL
   774  		*out = new(string)
   775  		**out = **in
   776  	}
   777  	if in.Service != nil {
   778  		in, out := &in.Service, &out.Service
   779  		*out = new(ServiceReference)
   780  		(*in).DeepCopyInto(*out)
   781  	}
   782  	if in.CABundle != nil {
   783  		in, out := &in.CABundle, &out.CABundle
   784  		*out = make([]byte, len(*in))
   785  		copy(*out, *in)
   786  	}
   787  	return
   788  }
   789  
   790  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
   791  func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
   792  	if in == nil {
   793  		return nil
   794  	}
   795  	out := new(WebhookClientConfig)
   796  	in.DeepCopyInto(out)
   797  	return out
   798  }
   799  

View as plain text