k8s.io/apiserver@v0.31.1/pkg/apis/example2/v1/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 v1
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/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 *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	out.Status = in.Status
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
    39  func (in *ReplicaSet) DeepCopy() *ReplicaSet {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(ReplicaSet)
    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 *ReplicaSet) 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 *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
    58  	*out = *in
    59  	if in.Replicas != nil {
    60  		in, out := &in.Replicas, &out.Replicas
    61  		*out = new(int32)
    62  		**out = **in
    63  	}
    64  	return
    65  }
    66  
    67  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
    68  func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
    69  	if in == nil {
    70  		return nil
    71  	}
    72  	out := new(ReplicaSetSpec)
    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 *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
    79  	*out = *in
    80  	return
    81  }
    82  
    83  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
    84  func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
    85  	if in == nil {
    86  		return nil
    87  	}
    88  	out := new(ReplicaSetStatus)
    89  	in.DeepCopyInto(out)
    90  	return out
    91  }