github.com/banzaicloud/operator-tools@v0.28.10/pkg/helm/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright © 2020 Banzai Cloud 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 // Code generated by controller-gen. DO NOT EDIT. 19 20 package helm 21 22 import () 23 24 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 25 func (in *EnvConfigMap) DeepCopyInto(out *EnvConfigMap) { 26 *out = *in 27 in.ConfigMapKeyRef.DeepCopyInto(&out.ConfigMapKeyRef) 28 } 29 30 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvConfigMap. 31 func (in *EnvConfigMap) DeepCopy() *EnvConfigMap { 32 if in == nil { 33 return nil 34 } 35 out := new(EnvConfigMap) 36 in.DeepCopyInto(out) 37 return out 38 } 39 40 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 41 func (in *EnvResourceField) DeepCopyInto(out *EnvResourceField) { 42 *out = *in 43 in.ResourceFieldRef.DeepCopyInto(&out.ResourceFieldRef) 44 } 45 46 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvResourceField. 47 func (in *EnvResourceField) DeepCopy() *EnvResourceField { 48 if in == nil { 49 return nil 50 } 51 out := new(EnvResourceField) 52 in.DeepCopyInto(out) 53 return out 54 } 55 56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 57 func (in *EnvSecret) DeepCopyInto(out *EnvSecret) { 58 *out = *in 59 in.SecretKeyRef.DeepCopyInto(&out.SecretKeyRef) 60 } 61 62 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvSecret. 63 func (in *EnvSecret) DeepCopy() *EnvSecret { 64 if in == nil { 65 return nil 66 } 67 out := new(EnvSecret) 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 *EnvironmentVariables) DeepCopyInto(out *EnvironmentVariables) { 74 *out = *in 75 if in.Env != nil { 76 in, out := &in.Env, &out.Env 77 *out = make(map[string]string, len(*in)) 78 for key, val := range *in { 79 (*out)[key] = val 80 } 81 } 82 if in.EnvSecrets != nil { 83 in, out := &in.EnvSecrets, &out.EnvSecrets 84 *out = make([]EnvSecret, len(*in)) 85 for i := range *in { 86 (*in)[i].DeepCopyInto(&(*out)[i]) 87 } 88 } 89 if in.EnvResourceField != nil { 90 in, out := &in.EnvResourceField, &out.EnvResourceField 91 *out = make([]EnvResourceField, len(*in)) 92 for i := range *in { 93 (*in)[i].DeepCopyInto(&(*out)[i]) 94 } 95 } 96 if in.EnvConfigMap != nil { 97 in, out := &in.EnvConfigMap, &out.EnvConfigMap 98 *out = make([]EnvConfigMap, len(*in)) 99 for i := range *in { 100 (*in)[i].DeepCopyInto(&(*out)[i]) 101 } 102 } 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentVariables. 106 func (in *EnvironmentVariables) DeepCopy() *EnvironmentVariables { 107 if in == nil { 108 return nil 109 } 110 out := new(EnvironmentVariables) 111 in.DeepCopyInto(out) 112 return out 113 } 114 115 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 116 func (in *Image) DeepCopyInto(out *Image) { 117 *out = *in 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image. 121 func (in *Image) DeepCopy() *Image { 122 if in == nil { 123 return nil 124 } 125 out := new(Image) 126 in.DeepCopyInto(out) 127 return out 128 }