k8s.io/client-go@v0.22.2/scale/scheme/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 /* 4 Copyright The Kubernetes Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by deepcopy-gen. DO NOT EDIT. 20 21 package scheme 22 23 import ( 24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 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 *Scale) DeepCopyInto(out *Scale) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 out.Spec = in.Spec 34 in.Status.DeepCopyInto(&out.Status) 35 return 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. 39 func (in *Scale) DeepCopy() *Scale { 40 if in == nil { 41 return nil 42 } 43 out := new(Scale) 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 *Scale) 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 *ScaleSpec) DeepCopyInto(out *ScaleSpec) { 58 *out = *in 59 return 60 } 61 62 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. 63 func (in *ScaleSpec) DeepCopy() *ScaleSpec { 64 if in == nil { 65 return nil 66 } 67 out := new(ScaleSpec) 68 in.DeepCopyInto(out) 69 return out 70 } 71 72 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 73 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { 74 *out = *in 75 if in.Selector != nil { 76 in, out := &in.Selector, &out.Selector 77 *out = new(v1.LabelSelector) 78 (*in).DeepCopyInto(*out) 79 } 80 return 81 } 82 83 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. 84 func (in *ScaleStatus) DeepCopy() *ScaleStatus { 85 if in == nil { 86 return nil 87 } 88 out := new(ScaleStatus) 89 in.DeepCopyInto(out) 90 return out 91 }