kubevirt.io/api@v1.2.0/pool/v1alpha1/deepcopy_generated.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The KubeVirt 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 v1alpha1 23 24 import ( 25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *VirtualMachinePool) DeepCopyInto(out *VirtualMachinePool) { 31 *out = *in 32 out.TypeMeta = in.TypeMeta 33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 34 in.Spec.DeepCopyInto(&out.Spec) 35 in.Status.DeepCopyInto(&out.Status) 36 return 37 } 38 39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePool. 40 func (in *VirtualMachinePool) DeepCopy() *VirtualMachinePool { 41 if in == nil { 42 return nil 43 } 44 out := new(VirtualMachinePool) 45 in.DeepCopyInto(out) 46 return out 47 } 48 49 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 50 func (in *VirtualMachinePool) DeepCopyObject() runtime.Object { 51 if c := in.DeepCopy(); c != nil { 52 return c 53 } 54 return nil 55 } 56 57 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 58 func (in *VirtualMachinePoolCondition) DeepCopyInto(out *VirtualMachinePoolCondition) { 59 *out = *in 60 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 61 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 62 return 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolCondition. 66 func (in *VirtualMachinePoolCondition) DeepCopy() *VirtualMachinePoolCondition { 67 if in == nil { 68 return nil 69 } 70 out := new(VirtualMachinePoolCondition) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 76 func (in *VirtualMachinePoolList) DeepCopyInto(out *VirtualMachinePoolList) { 77 *out = *in 78 out.TypeMeta = in.TypeMeta 79 in.ListMeta.DeepCopyInto(&out.ListMeta) 80 if in.Items != nil { 81 in, out := &in.Items, &out.Items 82 *out = make([]VirtualMachinePool, len(*in)) 83 for i := range *in { 84 (*in)[i].DeepCopyInto(&(*out)[i]) 85 } 86 } 87 return 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolList. 91 func (in *VirtualMachinePoolList) DeepCopy() *VirtualMachinePoolList { 92 if in == nil { 93 return nil 94 } 95 out := new(VirtualMachinePoolList) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 101 func (in *VirtualMachinePoolList) DeepCopyObject() runtime.Object { 102 if c := in.DeepCopy(); c != nil { 103 return c 104 } 105 return nil 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *VirtualMachinePoolSpec) DeepCopyInto(out *VirtualMachinePoolSpec) { 110 *out = *in 111 if in.Replicas != nil { 112 in, out := &in.Replicas, &out.Replicas 113 *out = new(int32) 114 **out = **in 115 } 116 if in.Selector != nil { 117 in, out := &in.Selector, &out.Selector 118 *out = new(v1.LabelSelector) 119 (*in).DeepCopyInto(*out) 120 } 121 if in.VirtualMachineTemplate != nil { 122 in, out := &in.VirtualMachineTemplate, &out.VirtualMachineTemplate 123 *out = new(VirtualMachineTemplateSpec) 124 (*in).DeepCopyInto(*out) 125 } 126 return 127 } 128 129 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolSpec. 130 func (in *VirtualMachinePoolSpec) DeepCopy() *VirtualMachinePoolSpec { 131 if in == nil { 132 return nil 133 } 134 out := new(VirtualMachinePoolSpec) 135 in.DeepCopyInto(out) 136 return out 137 } 138 139 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 140 func (in *VirtualMachinePoolStatus) DeepCopyInto(out *VirtualMachinePoolStatus) { 141 *out = *in 142 if in.Conditions != nil { 143 in, out := &in.Conditions, &out.Conditions 144 *out = make([]VirtualMachinePoolCondition, len(*in)) 145 for i := range *in { 146 (*in)[i].DeepCopyInto(&(*out)[i]) 147 } 148 } 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolStatus. 153 func (in *VirtualMachinePoolStatus) DeepCopy() *VirtualMachinePoolStatus { 154 if in == nil { 155 return nil 156 } 157 out := new(VirtualMachinePoolStatus) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *VirtualMachineTemplateSpec) DeepCopyInto(out *VirtualMachineTemplateSpec) { 164 *out = *in 165 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 166 in.Spec.DeepCopyInto(&out.Spec) 167 return 168 } 169 170 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateSpec. 171 func (in *VirtualMachineTemplateSpec) DeepCopy() *VirtualMachineTemplateSpec { 172 if in == nil { 173 return nil 174 } 175 out := new(VirtualMachineTemplateSpec) 176 in.DeepCopyInto(out) 177 return out 178 }