...

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

Documentation: k8s.io/api/admissionregistration/v1

     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 v1
    23  
    24  import (
    25  	metav1 "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(metav1.LabelSelector)
    83  		(*in).DeepCopyInto(*out)
    84  	}
    85  	if in.ObjectSelector != nil {
    86  		in, out := &in.ObjectSelector, &out.ObjectSelector
    87  		*out = new(metav1.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(metav1.LabelSelector)
   146  		(*in).DeepCopyInto(*out)
   147  	}
   148  	if in.ObjectSelector != nil {
   149  		in, out := &in.ObjectSelector, &out.ObjectSelector
   150  		*out = new(metav1.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(metav1.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  	if in.Port != nil {
   388  		in, out := &in.Port, &out.Port
   389  		*out = new(int32)
   390  		**out = **in
   391  	}
   392  	return
   393  }
   394  
   395  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
   396  func (in *ServiceReference) DeepCopy() *ServiceReference {
   397  	if in == nil {
   398  		return nil
   399  	}
   400  	out := new(ServiceReference)
   401  	in.DeepCopyInto(out)
   402  	return out
   403  }
   404  
   405  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   406  func (in *TypeChecking) DeepCopyInto(out *TypeChecking) {
   407  	*out = *in
   408  	if in.ExpressionWarnings != nil {
   409  		in, out := &in.ExpressionWarnings, &out.ExpressionWarnings
   410  		*out = make([]ExpressionWarning, len(*in))
   411  		copy(*out, *in)
   412  	}
   413  	return
   414  }
   415  
   416  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypeChecking.
   417  func (in *TypeChecking) DeepCopy() *TypeChecking {
   418  	if in == nil {
   419  		return nil
   420  	}
   421  	out := new(TypeChecking)
   422  	in.DeepCopyInto(out)
   423  	return out
   424  }
   425  
   426  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   427  func (in *ValidatingAdmissionPolicy) DeepCopyInto(out *ValidatingAdmissionPolicy) {
   428  	*out = *in
   429  	out.TypeMeta = in.TypeMeta
   430  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   431  	in.Spec.DeepCopyInto(&out.Spec)
   432  	in.Status.DeepCopyInto(&out.Status)
   433  	return
   434  }
   435  
   436  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicy.
   437  func (in *ValidatingAdmissionPolicy) DeepCopy() *ValidatingAdmissionPolicy {
   438  	if in == nil {
   439  		return nil
   440  	}
   441  	out := new(ValidatingAdmissionPolicy)
   442  	in.DeepCopyInto(out)
   443  	return out
   444  }
   445  
   446  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   447  func (in *ValidatingAdmissionPolicy) DeepCopyObject() runtime.Object {
   448  	if c := in.DeepCopy(); c != nil {
   449  		return c
   450  	}
   451  	return nil
   452  }
   453  
   454  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   455  func (in *ValidatingAdmissionPolicyBinding) DeepCopyInto(out *ValidatingAdmissionPolicyBinding) {
   456  	*out = *in
   457  	out.TypeMeta = in.TypeMeta
   458  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   459  	in.Spec.DeepCopyInto(&out.Spec)
   460  	return
   461  }
   462  
   463  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBinding.
   464  func (in *ValidatingAdmissionPolicyBinding) DeepCopy() *ValidatingAdmissionPolicyBinding {
   465  	if in == nil {
   466  		return nil
   467  	}
   468  	out := new(ValidatingAdmissionPolicyBinding)
   469  	in.DeepCopyInto(out)
   470  	return out
   471  }
   472  
   473  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   474  func (in *ValidatingAdmissionPolicyBinding) DeepCopyObject() runtime.Object {
   475  	if c := in.DeepCopy(); c != nil {
   476  		return c
   477  	}
   478  	return nil
   479  }
   480  
   481  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   482  func (in *ValidatingAdmissionPolicyBindingList) DeepCopyInto(out *ValidatingAdmissionPolicyBindingList) {
   483  	*out = *in
   484  	out.TypeMeta = in.TypeMeta
   485  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   486  	if in.Items != nil {
   487  		in, out := &in.Items, &out.Items
   488  		*out = make([]ValidatingAdmissionPolicyBinding, len(*in))
   489  		for i := range *in {
   490  			(*in)[i].DeepCopyInto(&(*out)[i])
   491  		}
   492  	}
   493  	return
   494  }
   495  
   496  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingList.
   497  func (in *ValidatingAdmissionPolicyBindingList) DeepCopy() *ValidatingAdmissionPolicyBindingList {
   498  	if in == nil {
   499  		return nil
   500  	}
   501  	out := new(ValidatingAdmissionPolicyBindingList)
   502  	in.DeepCopyInto(out)
   503  	return out
   504  }
   505  
   506  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   507  func (in *ValidatingAdmissionPolicyBindingList) DeepCopyObject() runtime.Object {
   508  	if c := in.DeepCopy(); c != nil {
   509  		return c
   510  	}
   511  	return nil
   512  }
   513  
   514  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   515  func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopyInto(out *ValidatingAdmissionPolicyBindingSpec) {
   516  	*out = *in
   517  	if in.ParamRef != nil {
   518  		in, out := &in.ParamRef, &out.ParamRef
   519  		*out = new(ParamRef)
   520  		(*in).DeepCopyInto(*out)
   521  	}
   522  	if in.MatchResources != nil {
   523  		in, out := &in.MatchResources, &out.MatchResources
   524  		*out = new(MatchResources)
   525  		(*in).DeepCopyInto(*out)
   526  	}
   527  	if in.ValidationActions != nil {
   528  		in, out := &in.ValidationActions, &out.ValidationActions
   529  		*out = make([]ValidationAction, len(*in))
   530  		copy(*out, *in)
   531  	}
   532  	return
   533  }
   534  
   535  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingSpec.
   536  func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopy() *ValidatingAdmissionPolicyBindingSpec {
   537  	if in == nil {
   538  		return nil
   539  	}
   540  	out := new(ValidatingAdmissionPolicyBindingSpec)
   541  	in.DeepCopyInto(out)
   542  	return out
   543  }
   544  
   545  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   546  func (in *ValidatingAdmissionPolicyList) DeepCopyInto(out *ValidatingAdmissionPolicyList) {
   547  	*out = *in
   548  	out.TypeMeta = in.TypeMeta
   549  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   550  	if in.Items != nil {
   551  		in, out := &in.Items, &out.Items
   552  		*out = make([]ValidatingAdmissionPolicy, len(*in))
   553  		for i := range *in {
   554  			(*in)[i].DeepCopyInto(&(*out)[i])
   555  		}
   556  	}
   557  	return
   558  }
   559  
   560  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyList.
   561  func (in *ValidatingAdmissionPolicyList) DeepCopy() *ValidatingAdmissionPolicyList {
   562  	if in == nil {
   563  		return nil
   564  	}
   565  	out := new(ValidatingAdmissionPolicyList)
   566  	in.DeepCopyInto(out)
   567  	return out
   568  }
   569  
   570  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   571  func (in *ValidatingAdmissionPolicyList) DeepCopyObject() runtime.Object {
   572  	if c := in.DeepCopy(); c != nil {
   573  		return c
   574  	}
   575  	return nil
   576  }
   577  
   578  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   579  func (in *ValidatingAdmissionPolicySpec) DeepCopyInto(out *ValidatingAdmissionPolicySpec) {
   580  	*out = *in
   581  	if in.ParamKind != nil {
   582  		in, out := &in.ParamKind, &out.ParamKind
   583  		*out = new(ParamKind)
   584  		**out = **in
   585  	}
   586  	if in.MatchConstraints != nil {
   587  		in, out := &in.MatchConstraints, &out.MatchConstraints
   588  		*out = new(MatchResources)
   589  		(*in).DeepCopyInto(*out)
   590  	}
   591  	if in.Validations != nil {
   592  		in, out := &in.Validations, &out.Validations
   593  		*out = make([]Validation, len(*in))
   594  		for i := range *in {
   595  			(*in)[i].DeepCopyInto(&(*out)[i])
   596  		}
   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.MatchConditions != nil {
   609  		in, out := &in.MatchConditions, &out.MatchConditions
   610  		*out = make([]MatchCondition, len(*in))
   611  		copy(*out, *in)
   612  	}
   613  	if in.Variables != nil {
   614  		in, out := &in.Variables, &out.Variables
   615  		*out = make([]Variable, len(*in))
   616  		copy(*out, *in)
   617  	}
   618  	return
   619  }
   620  
   621  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicySpec.
   622  func (in *ValidatingAdmissionPolicySpec) DeepCopy() *ValidatingAdmissionPolicySpec {
   623  	if in == nil {
   624  		return nil
   625  	}
   626  	out := new(ValidatingAdmissionPolicySpec)
   627  	in.DeepCopyInto(out)
   628  	return out
   629  }
   630  
   631  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   632  func (in *ValidatingAdmissionPolicyStatus) DeepCopyInto(out *ValidatingAdmissionPolicyStatus) {
   633  	*out = *in
   634  	if in.TypeChecking != nil {
   635  		in, out := &in.TypeChecking, &out.TypeChecking
   636  		*out = new(TypeChecking)
   637  		(*in).DeepCopyInto(*out)
   638  	}
   639  	if in.Conditions != nil {
   640  		in, out := &in.Conditions, &out.Conditions
   641  		*out = make([]metav1.Condition, len(*in))
   642  		for i := range *in {
   643  			(*in)[i].DeepCopyInto(&(*out)[i])
   644  		}
   645  	}
   646  	return
   647  }
   648  
   649  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyStatus.
   650  func (in *ValidatingAdmissionPolicyStatus) DeepCopy() *ValidatingAdmissionPolicyStatus {
   651  	if in == nil {
   652  		return nil
   653  	}
   654  	out := new(ValidatingAdmissionPolicyStatus)
   655  	in.DeepCopyInto(out)
   656  	return out
   657  }
   658  
   659  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   660  func (in *ValidatingWebhook) DeepCopyInto(out *ValidatingWebhook) {
   661  	*out = *in
   662  	in.ClientConfig.DeepCopyInto(&out.ClientConfig)
   663  	if in.Rules != nil {
   664  		in, out := &in.Rules, &out.Rules
   665  		*out = make([]RuleWithOperations, len(*in))
   666  		for i := range *in {
   667  			(*in)[i].DeepCopyInto(&(*out)[i])
   668  		}
   669  	}
   670  	if in.FailurePolicy != nil {
   671  		in, out := &in.FailurePolicy, &out.FailurePolicy
   672  		*out = new(FailurePolicyType)
   673  		**out = **in
   674  	}
   675  	if in.MatchPolicy != nil {
   676  		in, out := &in.MatchPolicy, &out.MatchPolicy
   677  		*out = new(MatchPolicyType)
   678  		**out = **in
   679  	}
   680  	if in.NamespaceSelector != nil {
   681  		in, out := &in.NamespaceSelector, &out.NamespaceSelector
   682  		*out = new(metav1.LabelSelector)
   683  		(*in).DeepCopyInto(*out)
   684  	}
   685  	if in.ObjectSelector != nil {
   686  		in, out := &in.ObjectSelector, &out.ObjectSelector
   687  		*out = new(metav1.LabelSelector)
   688  		(*in).DeepCopyInto(*out)
   689  	}
   690  	if in.SideEffects != nil {
   691  		in, out := &in.SideEffects, &out.SideEffects
   692  		*out = new(SideEffectClass)
   693  		**out = **in
   694  	}
   695  	if in.TimeoutSeconds != nil {
   696  		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
   697  		*out = new(int32)
   698  		**out = **in
   699  	}
   700  	if in.AdmissionReviewVersions != nil {
   701  		in, out := &in.AdmissionReviewVersions, &out.AdmissionReviewVersions
   702  		*out = make([]string, len(*in))
   703  		copy(*out, *in)
   704  	}
   705  	if in.MatchConditions != nil {
   706  		in, out := &in.MatchConditions, &out.MatchConditions
   707  		*out = make([]MatchCondition, len(*in))
   708  		copy(*out, *in)
   709  	}
   710  	return
   711  }
   712  
   713  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhook.
   714  func (in *ValidatingWebhook) DeepCopy() *ValidatingWebhook {
   715  	if in == nil {
   716  		return nil
   717  	}
   718  	out := new(ValidatingWebhook)
   719  	in.DeepCopyInto(out)
   720  	return out
   721  }
   722  
   723  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   724  func (in *ValidatingWebhookConfiguration) DeepCopyInto(out *ValidatingWebhookConfiguration) {
   725  	*out = *in
   726  	out.TypeMeta = in.TypeMeta
   727  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   728  	if in.Webhooks != nil {
   729  		in, out := &in.Webhooks, &out.Webhooks
   730  		*out = make([]ValidatingWebhook, len(*in))
   731  		for i := range *in {
   732  			(*in)[i].DeepCopyInto(&(*out)[i])
   733  		}
   734  	}
   735  	return
   736  }
   737  
   738  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfiguration.
   739  func (in *ValidatingWebhookConfiguration) DeepCopy() *ValidatingWebhookConfiguration {
   740  	if in == nil {
   741  		return nil
   742  	}
   743  	out := new(ValidatingWebhookConfiguration)
   744  	in.DeepCopyInto(out)
   745  	return out
   746  }
   747  
   748  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   749  func (in *ValidatingWebhookConfiguration) DeepCopyObject() runtime.Object {
   750  	if c := in.DeepCopy(); c != nil {
   751  		return c
   752  	}
   753  	return nil
   754  }
   755  
   756  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   757  func (in *ValidatingWebhookConfigurationList) DeepCopyInto(out *ValidatingWebhookConfigurationList) {
   758  	*out = *in
   759  	out.TypeMeta = in.TypeMeta
   760  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   761  	if in.Items != nil {
   762  		in, out := &in.Items, &out.Items
   763  		*out = make([]ValidatingWebhookConfiguration, len(*in))
   764  		for i := range *in {
   765  			(*in)[i].DeepCopyInto(&(*out)[i])
   766  		}
   767  	}
   768  	return
   769  }
   770  
   771  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationList.
   772  func (in *ValidatingWebhookConfigurationList) DeepCopy() *ValidatingWebhookConfigurationList {
   773  	if in == nil {
   774  		return nil
   775  	}
   776  	out := new(ValidatingWebhookConfigurationList)
   777  	in.DeepCopyInto(out)
   778  	return out
   779  }
   780  
   781  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   782  func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
   783  	if c := in.DeepCopy(); c != nil {
   784  		return c
   785  	}
   786  	return nil
   787  }
   788  
   789  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   790  func (in *Validation) DeepCopyInto(out *Validation) {
   791  	*out = *in
   792  	if in.Reason != nil {
   793  		in, out := &in.Reason, &out.Reason
   794  		*out = new(metav1.StatusReason)
   795  		**out = **in
   796  	}
   797  	return
   798  }
   799  
   800  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validation.
   801  func (in *Validation) DeepCopy() *Validation {
   802  	if in == nil {
   803  		return nil
   804  	}
   805  	out := new(Validation)
   806  	in.DeepCopyInto(out)
   807  	return out
   808  }
   809  
   810  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   811  func (in *Variable) DeepCopyInto(out *Variable) {
   812  	*out = *in
   813  	return
   814  }
   815  
   816  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
   817  func (in *Variable) DeepCopy() *Variable {
   818  	if in == nil {
   819  		return nil
   820  	}
   821  	out := new(Variable)
   822  	in.DeepCopyInto(out)
   823  	return out
   824  }
   825  
   826  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   827  func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
   828  	*out = *in
   829  	if in.URL != nil {
   830  		in, out := &in.URL, &out.URL
   831  		*out = new(string)
   832  		**out = **in
   833  	}
   834  	if in.Service != nil {
   835  		in, out := &in.Service, &out.Service
   836  		*out = new(ServiceReference)
   837  		(*in).DeepCopyInto(*out)
   838  	}
   839  	if in.CABundle != nil {
   840  		in, out := &in.CABundle, &out.CABundle
   841  		*out = make([]byte, len(*in))
   842  		copy(*out, *in)
   843  	}
   844  	return
   845  }
   846  
   847  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
   848  func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
   849  	if in == nil {
   850  		return nil
   851  	}
   852  	out := new(WebhookClientConfig)
   853  	in.DeepCopyInto(out)
   854  	return out
   855  }
   856  

View as plain text