k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/pkg/apis/open-policy-agent/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright  The Kubermatic Kubernetes Platform contributors.
     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 controller-gen. DO NOT EDIT.
    21  
    22  package openpolicyagent
    23  
    24  import ()
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in *CRD) DeepCopyInto(out *CRD) {
    28  	*out = *in
    29  	in.Spec.DeepCopyInto(&out.Spec)
    30  }
    31  
    32  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRD.
    33  func (in *CRD) DeepCopy() *CRD {
    34  	if in == nil {
    35  		return nil
    36  	}
    37  	out := new(CRD)
    38  	in.DeepCopyInto(out)
    39  	return out
    40  }
    41  
    42  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    43  func (in *CRDSpec) DeepCopyInto(out *CRDSpec) {
    44  	*out = *in
    45  	in.Names.DeepCopyInto(&out.Names)
    46  	if in.Validation != nil {
    47  		in, out := &in.Validation, &out.Validation
    48  		*out = new(Validation)
    49  		(*in).DeepCopyInto(*out)
    50  	}
    51  }
    52  
    53  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDSpec.
    54  func (in *CRDSpec) DeepCopy() *CRDSpec {
    55  	if in == nil {
    56  		return nil
    57  	}
    58  	out := new(CRDSpec)
    59  	in.DeepCopyInto(out)
    60  	return out
    61  }
    62  
    63  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    64  func (in *Names) DeepCopyInto(out *Names) {
    65  	*out = *in
    66  	if in.ShortNames != nil {
    67  		in, out := &in.ShortNames, &out.ShortNames
    68  		*out = make([]string, len(*in))
    69  		copy(*out, *in)
    70  	}
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Names.
    74  func (in *Names) DeepCopy() *Names {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(Names)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    84  func (in *Target) DeepCopyInto(out *Target) {
    85  	*out = *in
    86  	if in.Libs != nil {
    87  		in, out := &in.Libs, &out.Libs
    88  		*out = make([]string, len(*in))
    89  		copy(*out, *in)
    90  	}
    91  }
    92  
    93  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
    94  func (in *Target) DeepCopy() *Target {
    95  	if in == nil {
    96  		return nil
    97  	}
    98  	out := new(Target)
    99  	in.DeepCopyInto(out)
   100  	return out
   101  }
   102  
   103  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   104  func (in *Validation) DeepCopyInto(out *Validation) {
   105  	*out = *in
   106  	if in.OpenAPIV3Schema != nil {
   107  		in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
   108  		*out = (*in).DeepCopy()
   109  	}
   110  	if in.LegacySchema != nil {
   111  		in, out := &in.LegacySchema, &out.LegacySchema
   112  		*out = new(bool)
   113  		**out = **in
   114  	}
   115  }
   116  
   117  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validation.
   118  func (in *Validation) DeepCopy() *Validation {
   119  	if in == nil {
   120  		return nil
   121  	}
   122  	out := new(Validation)
   123  	in.DeepCopyInto(out)
   124  	return out
   125  }