github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/apis/testapigroup/zz_generated.deepcopy.go (about)

     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 testapigroup
    23  
    24  import (
    25  	runtime "github.com/spotmaxtech/k8s-apimachinery-v0260/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Carp) DeepCopyInto(out *Carp) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	in.Status.DeepCopyInto(&out.Status)
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Carp.
    39  func (in *Carp) DeepCopy() *Carp {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(Carp)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *Carp) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *CarpCondition) DeepCopyInto(out *CarpCondition) {
    58  	*out = *in
    59  	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
    60  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    61  	return
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition.
    65  func (in *CarpCondition) DeepCopy() *CarpCondition {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(CarpCondition)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    75  func (in *CarpList) DeepCopyInto(out *CarpList) {
    76  	*out = *in
    77  	out.TypeMeta = in.TypeMeta
    78  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    79  	if in.Items != nil {
    80  		in, out := &in.Items, &out.Items
    81  		*out = make([]Carp, len(*in))
    82  		for i := range *in {
    83  			(*in)[i].DeepCopyInto(&(*out)[i])
    84  		}
    85  	}
    86  	return
    87  }
    88  
    89  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpList.
    90  func (in *CarpList) DeepCopy() *CarpList {
    91  	if in == nil {
    92  		return nil
    93  	}
    94  	out := new(CarpList)
    95  	in.DeepCopyInto(out)
    96  	return out
    97  }
    98  
    99  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   100  func (in *CarpList) DeepCopyObject() runtime.Object {
   101  	if c := in.DeepCopy(); c != nil {
   102  		return c
   103  	}
   104  	return nil
   105  }
   106  
   107  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   108  func (in *CarpSpec) DeepCopyInto(out *CarpSpec) {
   109  	*out = *in
   110  	if in.TerminationGracePeriodSeconds != nil {
   111  		in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
   112  		*out = new(int64)
   113  		**out = **in
   114  	}
   115  	if in.ActiveDeadlineSeconds != nil {
   116  		in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
   117  		*out = new(int64)
   118  		**out = **in
   119  	}
   120  	if in.NodeSelector != nil {
   121  		in, out := &in.NodeSelector, &out.NodeSelector
   122  		*out = make(map[string]string, len(*in))
   123  		for key, val := range *in {
   124  			(*out)[key] = val
   125  		}
   126  	}
   127  	return
   128  }
   129  
   130  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec.
   131  func (in *CarpSpec) DeepCopy() *CarpSpec {
   132  	if in == nil {
   133  		return nil
   134  	}
   135  	out := new(CarpSpec)
   136  	in.DeepCopyInto(out)
   137  	return out
   138  }
   139  
   140  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   141  func (in *CarpStatus) DeepCopyInto(out *CarpStatus) {
   142  	*out = *in
   143  	if in.Conditions != nil {
   144  		in, out := &in.Conditions, &out.Conditions
   145  		*out = make([]CarpCondition, len(*in))
   146  		for i := range *in {
   147  			(*in)[i].DeepCopyInto(&(*out)[i])
   148  		}
   149  	}
   150  	if in.StartTime != nil {
   151  		in, out := &in.StartTime, &out.StartTime
   152  		*out = (*in).DeepCopy()
   153  	}
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus.
   158  func (in *CarpStatus) DeepCopy() *CarpStatus {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(CarpStatus)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }