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