halkyon.io/api@v1.0.0-rc.6/component/v1beta1/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 v1beta1 22 23 import ( 24 apiv1beta1 "halkyon.io/api/v1beta1" 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 *BuildConfig) DeepCopyInto(out *BuildConfig) { 30 *out = *in 31 return 32 } 33 34 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfig. 35 func (in *BuildConfig) DeepCopy() *BuildConfig { 36 if in == nil { 37 return nil 38 } 39 out := new(BuildConfig) 40 in.DeepCopyInto(out) 41 return out 42 } 43 44 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 45 func (in *CapabilitiesConfig) DeepCopyInto(out *CapabilitiesConfig) { 46 *out = *in 47 if in.Requires != nil { 48 in, out := &in.Requires, &out.Requires 49 *out = make([]RequiredCapabilityConfig, len(*in)) 50 for i := range *in { 51 (*in)[i].DeepCopyInto(&(*out)[i]) 52 } 53 } 54 if in.Provides != nil { 55 in, out := &in.Provides, &out.Provides 56 *out = make([]CapabilityConfig, len(*in)) 57 for i := range *in { 58 (*in)[i].DeepCopyInto(&(*out)[i]) 59 } 60 } 61 return 62 } 63 64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapabilitiesConfig. 65 func (in *CapabilitiesConfig) DeepCopy() *CapabilitiesConfig { 66 if in == nil { 67 return nil 68 } 69 out := new(CapabilitiesConfig) 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 *CapabilityConfig) DeepCopyInto(out *CapabilityConfig) { 76 *out = *in 77 in.Spec.DeepCopyInto(&out.Spec) 78 return 79 } 80 81 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapabilityConfig. 82 func (in *CapabilityConfig) DeepCopy() *CapabilityConfig { 83 if in == nil { 84 return nil 85 } 86 out := new(CapabilityConfig) 87 in.DeepCopyInto(out) 88 return out 89 } 90 91 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 92 func (in *Component) DeepCopyInto(out *Component) { 93 *out = *in 94 out.TypeMeta = in.TypeMeta 95 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 96 in.Spec.DeepCopyInto(&out.Spec) 97 in.Status.DeepCopyInto(&out.Status) 98 return 99 } 100 101 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component. 102 func (in *Component) DeepCopy() *Component { 103 if in == nil { 104 return nil 105 } 106 out := new(Component) 107 in.DeepCopyInto(out) 108 return out 109 } 110 111 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 112 func (in *Component) DeepCopyObject() runtime.Object { 113 if c := in.DeepCopy(); c != nil { 114 return c 115 } 116 return nil 117 } 118 119 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 120 func (in *ComponentList) DeepCopyInto(out *ComponentList) { 121 *out = *in 122 out.TypeMeta = in.TypeMeta 123 out.ListMeta = in.ListMeta 124 if in.Items != nil { 125 in, out := &in.Items, &out.Items 126 *out = make([]Component, len(*in)) 127 for i := range *in { 128 (*in)[i].DeepCopyInto(&(*out)[i]) 129 } 130 } 131 return 132 } 133 134 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList. 135 func (in *ComponentList) DeepCopy() *ComponentList { 136 if in == nil { 137 return nil 138 } 139 out := new(ComponentList) 140 in.DeepCopyInto(out) 141 return out 142 } 143 144 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 145 func (in *ComponentList) DeepCopyObject() runtime.Object { 146 if c := in.DeepCopy(); c != nil { 147 return c 148 } 149 return nil 150 } 151 152 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 153 func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) { 154 *out = *in 155 out.Storage = in.Storage 156 if in.Envs != nil { 157 in, out := &in.Envs, &out.Envs 158 *out = make([]apiv1beta1.NameValuePair, len(*in)) 159 copy(*out, *in) 160 } 161 out.BuildConfig = in.BuildConfig 162 in.Capabilities.DeepCopyInto(&out.Capabilities) 163 return 164 } 165 166 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec. 167 func (in *ComponentSpec) DeepCopy() *ComponentSpec { 168 if in == nil { 169 return nil 170 } 171 out := new(ComponentSpec) 172 in.DeepCopyInto(out) 173 return out 174 } 175 176 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 177 func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { 178 *out = *in 179 in.Status.DeepCopyInto(&out.Status) 180 return 181 } 182 183 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. 184 func (in *ComponentStatus) DeepCopy() *ComponentStatus { 185 if in == nil { 186 return nil 187 } 188 out := new(ComponentStatus) 189 in.DeepCopyInto(out) 190 return out 191 } 192 193 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 194 func (in *RequiredCapabilityConfig) DeepCopyInto(out *RequiredCapabilityConfig) { 195 *out = *in 196 in.CapabilityConfig.DeepCopyInto(&out.CapabilityConfig) 197 return 198 } 199 200 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredCapabilityConfig. 201 func (in *RequiredCapabilityConfig) DeepCopy() *RequiredCapabilityConfig { 202 if in == nil { 203 return nil 204 } 205 out := new(RequiredCapabilityConfig) 206 in.DeepCopyInto(out) 207 return out 208 } 209 210 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 211 func (in *Storage) DeepCopyInto(out *Storage) { 212 *out = *in 213 return 214 } 215 216 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage. 217 func (in *Storage) DeepCopy() *Storage { 218 if in == nil { 219 return nil 220 } 221 out := new(Storage) 222 in.DeepCopyInto(out) 223 return out 224 }