Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 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 | runtime "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 *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest) { |
| 29 | *out = *in |
| 30 | out.TypeMeta = in.TypeMeta |
| 31 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 32 | in.Spec.DeepCopyInto(&out.Spec) |
| 33 | in.Status.DeepCopyInto(&out.Status) |
| 34 | return |
| 35 | } |
| 36 | |
| 37 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. |
| 38 | func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { |
| 39 | if in == nil { |
| 40 | return nil |
| 41 | } |
| 42 | out := new(CertificateSigningRequest) |
| 43 | in.DeepCopyInto(out) |
| 44 | return out |
| 45 | } |
| 46 | |
| 47 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 48 | func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object { |
| 49 | if c := in.DeepCopy(); c != nil { |
| 50 | return c |
| 51 | } |
| 52 | return nil |
| 53 | } |
| 54 | |
| 55 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 56 | func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigningRequestCondition) { |
| 57 | *out = *in |
| 58 | in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) |
| 59 | return |
| 60 | } |
| 61 | |
| 62 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. |
| 63 | func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { |
| 64 | if in == nil { |
| 65 | return nil |
| 66 | } |
| 67 | out := new(CertificateSigningRequestCondition) |
| 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 *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) { |
| 74 | *out = *in |
| 75 | out.TypeMeta = in.TypeMeta |
| 76 | out.ListMeta = in.ListMeta |
| 77 | if in.Items != nil { |
| 78 | in, out := &in.Items, &out.Items |
| 79 | *out = make([]CertificateSigningRequest, len(*in)) |
| 80 | for i := range *in { |
| 81 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 82 | } |
| 83 | } |
| 84 | return |
| 85 | } |
| 86 | |
| 87 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. |
| 88 | func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { |
| 89 | if in == nil { |
| 90 | return nil |
| 91 | } |
| 92 | out := new(CertificateSigningRequestList) |
| 93 | in.DeepCopyInto(out) |
| 94 | return out |
| 95 | } |
| 96 | |
| 97 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 98 | func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object { |
| 99 | if c := in.DeepCopy(); c != nil { |
| 100 | return c |
| 101 | } |
| 102 | return nil |
| 103 | } |
| 104 | |
| 105 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 106 | func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) { |
| 107 | *out = *in |
| 108 | if in.Request != nil { |
| 109 | in, out := &in.Request, &out.Request |
| 110 | *out = make([]byte, len(*in)) |
| 111 | copy(*out, *in) |
| 112 | } |
| 113 | if in.Usages != nil { |
| 114 | in, out := &in.Usages, &out.Usages |
| 115 | *out = make([]KeyUsage, len(*in)) |
| 116 | copy(*out, *in) |
| 117 | } |
| 118 | if in.Groups != nil { |
| 119 | in, out := &in.Groups, &out.Groups |
| 120 | *out = make([]string, len(*in)) |
| 121 | copy(*out, *in) |
| 122 | } |
| 123 | if in.Extra != nil { |
| 124 | in, out := &in.Extra, &out.Extra |
| 125 | *out = make(map[string]ExtraValue, len(*in)) |
| 126 | for key, val := range *in { |
| 127 | var outVal []string |
| 128 | if val == nil { |
| 129 | (*out)[key] = nil |
| 130 | } else { |
| 131 | in, out := &val, &outVal |
| 132 | *out = make(ExtraValue, len(*in)) |
| 133 | copy(*out, *in) |
| 134 | } |
| 135 | (*out)[key] = outVal |
| 136 | } |
| 137 | } |
| 138 | return |
| 139 | } |
| 140 | |
| 141 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. |
| 142 | func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { |
| 143 | if in == nil { |
| 144 | return nil |
| 145 | } |
| 146 | out := new(CertificateSigningRequestSpec) |
| 147 | in.DeepCopyInto(out) |
| 148 | return out |
| 149 | } |
| 150 | |
| 151 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 152 | func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) { |
| 153 | *out = *in |
| 154 | if in.Conditions != nil { |
| 155 | in, out := &in.Conditions, &out.Conditions |
| 156 | *out = make([]CertificateSigningRequestCondition, len(*in)) |
| 157 | for i := range *in { |
| 158 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 159 | } |
| 160 | } |
| 161 | if in.Certificate != nil { |
| 162 | in, out := &in.Certificate, &out.Certificate |
| 163 | *out = make([]byte, len(*in)) |
| 164 | copy(*out, *in) |
| 165 | } |
| 166 | return |
| 167 | } |
| 168 | |
| 169 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. |
| 170 | func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { |
| 171 | if in == nil { |
| 172 | return nil |
| 173 | } |
| 174 | out := new(CertificateSigningRequestStatus) |
| 175 | in.DeepCopyInto(out) |
| 176 | return out |
| 177 | } |
| 178 | |
| 179 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 180 | func (in ExtraValue) DeepCopyInto(out *ExtraValue) { |
| 181 | { |
| 182 | in := &in |
| 183 | *out = make(ExtraValue, len(*in)) |
| 184 | copy(*out, *in) |
| 185 | return |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue. |
| 190 | func (in ExtraValue) DeepCopy() ExtraValue { |
| 191 | if in == nil { |
| 192 | return nil |
| 193 | } |
| 194 | out := new(ExtraValue) |
| 195 | in.DeepCopyInto(out) |
| 196 | return *out |
| 197 | } |