...

Source file src/sigs.k8s.io/controller-runtime/pkg/webhook/conversion/testdata/api/v1/zz_generated.deepcopy.go

Documentation: sigs.k8s.io/controller-runtime/pkg/webhook/conversion/testdata/api/v1

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  
     5  Licensed under the Apache License, Version 2.0 (the "License");
     6  you may not use this file except in compliance with the License.
     7  You may obtain a copy of the License at
     8  
     9      http://www.apache.org/licenses/LICENSE-2.0
    10  
    11  Unless required by applicable law or agreed to in writing, software
    12  distributed under the License is distributed on an "AS IS" BASIS,
    13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  See the License for the specific language governing permissions and
    15  limitations under the License.
    16  */
    17  
    18  // autogenerated by controller-gen object, do not modify manually
    19  
    20  package v1
    21  
    22  import (
    23  	runtime "k8s.io/apimachinery/pkg/runtime"
    24  )
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in *ExternalJob) DeepCopyInto(out *ExternalJob) {
    28  	*out = *in
    29  	out.TypeMeta = in.TypeMeta
    30  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    31  	out.Spec = in.Spec
    32  	out.Status = in.Status
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalJob.
    36  func (in *ExternalJob) DeepCopy() *ExternalJob {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(ExternalJob)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    46  func (in *ExternalJob) DeepCopyObject() runtime.Object {
    47  	if c := in.DeepCopy(); c != nil {
    48  		return c
    49  	}
    50  	return nil
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *ExternalJobList) DeepCopyInto(out *ExternalJobList) {
    55  	*out = *in
    56  	out.TypeMeta = in.TypeMeta
    57  	out.ListMeta = in.ListMeta
    58  	if in.Items != nil {
    59  		in, out := &in.Items, &out.Items
    60  		*out = make([]ExternalJob, len(*in))
    61  		for i := range *in {
    62  			(*in)[i].DeepCopyInto(&(*out)[i])
    63  		}
    64  	}
    65  }
    66  
    67  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalJobList.
    68  func (in *ExternalJobList) DeepCopy() *ExternalJobList {
    69  	if in == nil {
    70  		return nil
    71  	}
    72  	out := new(ExternalJobList)
    73  	in.DeepCopyInto(out)
    74  	return out
    75  }
    76  
    77  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    78  func (in *ExternalJobList) DeepCopyObject() runtime.Object {
    79  	if c := in.DeepCopy(); c != nil {
    80  		return c
    81  	}
    82  	return nil
    83  }
    84  
    85  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    86  func (in *ExternalJobSpec) DeepCopyInto(out *ExternalJobSpec) {
    87  	*out = *in
    88  }
    89  
    90  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalJobSpec.
    91  func (in *ExternalJobSpec) DeepCopy() *ExternalJobSpec {
    92  	if in == nil {
    93  		return nil
    94  	}
    95  	out := new(ExternalJobSpec)
    96  	in.DeepCopyInto(out)
    97  	return out
    98  }
    99  
   100  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   101  func (in *ExternalJobStatus) DeepCopyInto(out *ExternalJobStatus) {
   102  	*out = *in
   103  }
   104  
   105  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalJobStatus.
   106  func (in *ExternalJobStatus) DeepCopy() *ExternalJobStatus {
   107  	if in == nil {
   108  		return nil
   109  	}
   110  	out := new(ExternalJobStatus)
   111  	in.DeepCopyInto(out)
   112  	return out
   113  }
   114  

View as plain text