...

Source file src/k8s.io/kubernetes/pkg/apis/admissionregistration/zz_generated.deepcopy.go

Documentation: k8s.io/kubernetes/pkg/apis/admissionregistration

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

View as plain text